Searched refs:mainHeight (Results 1 – 2 of 2) sorted by relevance
39 val mainHeight = BATTERY_HEIGHT * 5 in getFullBatteryHeight_shieldTrue_returnsMainHeightPlusShield() constant40 val fullHeight = BatterySpecs.getFullBatteryHeight(mainHeight, displayShield = true) in getFullBatteryHeight_shieldTrue_returnsMainHeightPlusShield()68 val mainHeight = BatterySpecs.getMainBatteryHeight(89f, displayShield = false) in getMainBatteryHeight_shieldFalse_returnsFullHeight() constant70 assertThat(mainHeight).isEqualTo(89f) in getMainBatteryHeight_shieldFalse_returnsFullHeight()77 val mainHeight = BatterySpecs.getMainBatteryHeight(fullHeight, displayShield = true) in getMainBatteryHeight_shieldTrue_returnsNotFullHeight() constant81 assertThat(mainHeight).isWithin(.0001f).of(expectedHeight) in getMainBatteryHeight_shieldTrue_returnsNotFullHeight()
102 val mainHeight = BatterySpecs.getMainBatteryHeight(b.height().toFloat(), displayShield) in <lambda>() constant108 /* bottom= */ b.top + mainHeight.toInt() in <lambda>()