Home
last modified time | relevance | path

Searched refs:getBatteryMode (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
H A DQsBatteryModeControllerTest.kt59 controller.getBatteryMode(CENTER_TOP_CUTOUT, QQS_START_FRAME.prevFrameToFraction())
66 assertThat(controller.getBatteryMode(CENTER_TOP_CUTOUT, QS_END_FRAME.nextFrameToFraction()))
75 controller.getBatteryMode(CENTER_TOP_CUTOUT, QQS_START_FRAME.prevFrameToFraction())
84 assertThat(controller.getBatteryMode(CENTER_TOP_CUTOUT, QS_END_FRAME.nextFrameToFraction()))
91 controller.getBatteryMode(CENTER_TOP_CUTOUT, QQS_START_FRAME.nextFrameToFraction())
94 assertThat(controller.getBatteryMode(CENTER_TOP_CUTOUT, QS_END_FRAME.prevFrameToFraction()))
H A DShadeHeaderControllerTest.kt388 whenever(qsBatteryModeController.getBatteryMode(Mockito.same(null), eq(0f)))
390 whenever(qsBatteryModeController.getBatteryMode(Mockito.same(null), eq(1f)))
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
H A DQsBatteryModeController.kt44 fun getBatteryMode(cutout: DisplayCutout?, qsExpandedFraction: Float): Int? = regex
H A DShadeHeaderController.kt434 qsBatteryModeController.getBatteryMode(cutout, qsExpandedFraction)?.let {