Home
last modified time | relevance | path

Searched refs:dozeParameters (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DDozeParametersTest.java204 TestableDozeParameters dozeParameters = new TestableDozeParameters(getContext()); in test_setControlScreenOffAnimation_setsDozeAfterScreenOff_false() local
205 PowerManager mockedPowerManager = dozeParameters.getPowerManager(); in test_setControlScreenOffAnimation_setsDozeAfterScreenOff_false()
206 dozeParameters.setControlScreenOffAnimation(true); in test_setControlScreenOffAnimation_setsDozeAfterScreenOff_false()
208 dozeParameters.setControlScreenOffAnimation(false); in test_setControlScreenOffAnimation_setsDozeAfterScreenOff_false()
214 TestableDozeParameters dozeParameters = new TestableDozeParameters(getContext()); in test_setControlScreenOffAnimation_setsDozeAfterScreenOff_true() local
215 PowerManager mockedPowerManager = dozeParameters.getPowerManager(); in test_setControlScreenOffAnimation_setsDozeAfterScreenOff_true()
216 dozeParameters.setControlScreenOffAnimation(false); in test_setControlScreenOffAnimation_setsDozeAfterScreenOff_true()
218 dozeParameters.setControlScreenOffAnimation(true); in test_setControlScreenOffAnimation_setsDozeAfterScreenOff_true()
219 verify(dozeParameters.getPowerManager()).setDozeAfterScreenOff(eq(false)); in test_setControlScreenOffAnimation_setsDozeAfterScreenOff_true()
224 TestableDozeParameters dozeParameters = new TestableDozeParameters(getContext()); in test_getWallpaperAodDuration_when_shouldControlScreenOff() local
[all …]
DScrimControllerTest.java650 Consumer<Integer> scrimVisibleListener, DozeParameters dozeParameters, in SynchronousScrimController() argument
653 dozeParameters, alarmManager); in SynchronousScrimController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimState.java188 public void init(ScrimView scrimInFront, ScrimView scrimBehind, DozeParameters dozeParameters) { in init() argument
191 mDozeParameters = dozeParameters; in init()
192 mDisplayRequiresBlanking = dozeParameters.getDisplayNeedsBlanking(); in init()
DDozeScrimController.java82 DozeParameters dozeParameters) { in DozeScrimController() argument
84 mDozeParameters = dozeParameters; in DozeScrimController()
DScrimController.java167 Consumer<Integer> scrimVisibleListener, DozeParameters dozeParameters, in ScrimController() argument
184 mDozeParameters = dozeParameters; in ScrimController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeTriggers.java75 DozeParameters dozeParameters, SensorManager sensorManager, Handler handler, in DozeTriggers() argument
81 mDozeParameters = dozeParameters; in DozeTriggers()
86 mDozeSensors = new DozeSensors(context, alarmManager, mSensorManager, dozeParameters, in DozeTriggers()
88 dozeParameters.getPolicy()); in DozeTriggers()
DDozeSensors.java73 DozeParameters dozeParameters, in DozeSensors() argument
79 mDozeParameters = dozeParameters; in DozeSensors()
89 dozeParameters.getPulseOnSigMotion(), in DozeSensors()
103 dozeParameters.doubleTapReportsTouchCoordinates(), in DozeSensors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIFactory.java110 Consumer<Integer> scrimVisibleListener, DozeParameters dozeParameters, in createScrimController() argument
113 scrimVisibleListener, dozeParameters, alarmManager); in createScrimController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java4016 DozeParameters dozeParameters = DozeParameters.getInstance(mContext);
4017 if (mAmbientState.isFullyDark() && dozeParameters.shouldControlScreenOff()) {