Searched refs:dreamIsFrontmost (Results 1 – 3 of 3) sorted by relevance
281 assertFalse(mDreamController.dreamIsFrontmost()); in setDreamIsObscured_true_dreamIsNotFrontmost()290 assertTrue(mDreamController.dreamIsFrontmost()); in setDreamIsObscured_false_dreamIsFrontmost()297 assertFalse(mDreamController.dreamIsFrontmost()); in setDreamIsObscured_notDreaming_dreamIsNotFrontmost()305 assertTrue(mDreamController.dreamIsFrontmost()); in startDream_dreamIsFrontmost()
258 boolean dreamIsFrontmost() { in dreamIsFrontmost() method in DreamController259 return mCurrentDream != null && mCurrentDream.dreamIsFrontmost(); in dreamIsFrontmost()553 boolean dreamIsFrontmost() { in dreamIsFrontmost() method in DreamController.DreamRecord
431 if (isScreenOn && isDreamingInternal() && dreamIsFrontmost()) { in canStartDreamingInternal()466 private boolean dreamIsFrontmost() { in dreamIsFrontmost() method in DreamManagerService469 return !dreamHandlesBeingObscured() || mController.dreamIsFrontmost(); in dreamIsFrontmost()477 if (isDreamingInternal() && !dreamIsFrontmost() && mController.bringDreamToFront()) { in requestDreamInternal()