Home
last modified time | relevance | path

Searched refs:mainHeight (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/battery/
DBatterySpecsTest.kt39 val mainHeight = BATTERY_HEIGHT * 5 in getFullBatteryHeight_shieldTrue_returnsMainHeightPlusShield() constant
40 val fullHeight = BatterySpecs.getFullBatteryHeight(mainHeight, displayShield = true) in getFullBatteryHeight_shieldTrue_returnsMainHeightPlusShield()
68 val mainHeight = BatterySpecs.getMainBatteryHeight(89f, displayShield = false) in getMainBatteryHeight_shieldFalse_returnsFullHeight() constant
70 assertThat(mainHeight).isEqualTo(89f) in getMainBatteryHeight_shieldFalse_returnsFullHeight()
77 val mainHeight = BatterySpecs.getMainBatteryHeight(fullHeight, displayShield = true) in getMainBatteryHeight_shieldTrue_returnsNotFullHeight() constant
81 assertThat(mainHeight).isWithin(.0001f).of(expectedHeight) in getMainBatteryHeight_shieldTrue_returnsNotFullHeight()
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/
DAccessorizedBatteryDrawable.kt102 val mainHeight = BatterySpecs.getMainBatteryHeight(b.height().toFloat(), displayShield) in <lambda>() constant
108 /* bottom= */ b.top + mainHeight.toInt() in <lambda>()