Home
last modified time | relevance | path

Searched refs:qsExpandedFraction (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DQsBatteryModeController.kt44 fun getBatteryMode(cutout: DisplayCutout?, qsExpandedFraction: Float): Int? = in getBatteryMode()
46 qsExpandedFraction > fadeInStartFraction -> BatteryMeterView.MODE_ESTIMATE in getBatteryMode()
47 qsExpandedFraction < fadeOutCompleteFraction -> in getBatteryMode()
DShadeHeaderController.kt202 var qsExpandedFraction = -1f in <lambda>() variable
453 qsBatteryModeController.getBatteryMode(cutout, qsExpandedFraction)?.let { in <lambda>()
516 logInstantEvent("updatePosition: $qsExpandedFraction") in <lambda>()
517 header.progress = qsExpandedFraction in <lambda>()
542 if (singleCarrier || qsExpandedFraction < 0.5) { in <lambda>()
575 pw.println("qsExpandedFraction: $qsExpandedFraction") in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DShadeHeaderControllerTest.kt251 shadeHeaderController.qsExpandedFraction = 1.0f in <lambda>()
261 shadeHeaderController.qsExpandedFraction = 0.0f in <lambda>()
400 repeat(times) { shadeHeaderController.qsExpandedFraction = it / (times - 1).toFloat() } in <lambda>()
499 shadeHeaderController.qsExpandedFraction = 0.3f in <lambda>()
509 shadeHeaderController.qsExpandedFraction = 0.3f in <lambda>()