FileDocCategorySizeDatePackage
DessertCaseDream.javaAPI DocAndroid 5.1 API1506Thu Mar 12 22:22:42 GMT 2015com.android.systemui

DessertCaseDream

public class DessertCaseDream extends android.service.dreams.DreamService

Fields Summary
private DessertCaseView
mView
private DessertCaseView.RescalingContainer
mContainer
Constructors Summary
Methods Summary
public voidonAttachedToWindow()

        super.onAttachedToWindow();
        setInteractive(false);

        mView = new DessertCaseView(this);

        mContainer = new DessertCaseView.RescalingContainer(this);

        mContainer.setView(mView);

        setContentView(mContainer);
    
public voidonDreamingStarted()

        super.onDreamingStarted();
        mView.postDelayed(new Runnable() {
            public void run() {
                mView.start();
            }
        }, 1000);
    
public voidonDreamingStopped()

        super.onDreamingStopped();
        mView.stop();