Searched refs:BatterySpecs (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/battery/ |
D | BatterySpecsTest.kt | 21 import com.android.systemui.battery.BatterySpecs.BATTERY_HEIGHT 22 import com.android.systemui.battery.BatterySpecs.BATTERY_HEIGHT_WITH_SHIELD 23 import com.android.systemui.battery.BatterySpecs.BATTERY_WIDTH 24 import com.android.systemui.battery.BatterySpecs.BATTERY_WIDTH_WITH_SHIELD 32 val fullHeight = BatterySpecs.getFullBatteryHeight(56f, displayShield = false) in getFullBatteryHeight_shieldFalse_returnsMainHeight() 40 val fullHeight = BatterySpecs.getFullBatteryHeight(mainHeight, displayShield = true) in getFullBatteryHeight_shieldTrue_returnsMainHeightPlusShield() 50 val fullWidth = BatterySpecs.getFullBatteryWidth(33f, displayShield = false) in getFullBatteryWidth_shieldFalse_returnsMainWidth() 59 val fullWidth = BatterySpecs.getFullBatteryWidth(mainWidth, displayShield = true) in getFullBatteryWidth_shieldTrue_returnsMainWidthPlusShield() 68 val mainHeight = BatterySpecs.getMainBatteryHeight(89f, displayShield = false) in getMainBatteryHeight_shieldFalse_returnsFullHeight() 77 val mainHeight = BatterySpecs.getMainBatteryHeight(fullHeight, displayShield = true) in getMainBatteryHeight_shieldTrue_returnsNotFullHeight() [all …]
|
D | AccessorizedBatteryDrawableTest.kt | 21 import com.android.systemui.battery.BatterySpecs.BATTERY_HEIGHT 22 import com.android.systemui.battery.BatterySpecs.BATTERY_HEIGHT_WITH_SHIELD 23 import com.android.systemui.battery.BatterySpecs.BATTERY_WIDTH 24 import com.android.systemui.battery.BatterySpecs.BATTERY_WIDTH_WITH_SHIELD
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/ |
D | AccessorizedBatteryDrawable.kt | 32 import com.android.systemui.battery.BatterySpecs.BATTERY_HEIGHT in <lambda>() 33 import com.android.systemui.battery.BatterySpecs.BATTERY_HEIGHT_WITH_SHIELD in <lambda>() 34 import com.android.systemui.battery.BatterySpecs.BATTERY_WIDTH in <lambda>() 35 import com.android.systemui.battery.BatterySpecs.BATTERY_WIDTH_WITH_SHIELD in <lambda>() 36 import com.android.systemui.battery.BatterySpecs.SHIELD_LEFT_OFFSET in <lambda>() 37 import com.android.systemui.battery.BatterySpecs.SHIELD_STROKE in <lambda>() 38 import com.android.systemui.battery.BatterySpecs.SHIELD_TOP_OFFSET in <lambda>() 101 val mainWidth = BatterySpecs.getMainBatteryWidth(b.width().toFloat(), displayShield) in <lambda>() 102 val mainHeight = BatterySpecs.getMainBatteryHeight(b.height().toFloat(), displayShield) in <lambda>()
|
D | BatterySpecs.kt | 20 object BatterySpecs { object
|
D | BatteryMeterView.java | 664 BatterySpecs.getFullBatteryHeight(mainBatteryHeight, displayShield); in scaleBatteryMeterViewsLegacy() 666 BatterySpecs.getFullBatteryWidth(mainBatteryWidth, displayShield); in scaleBatteryMeterViewsLegacy()
|