Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/
H A DBluetoothDeviceLayerDrawableTest.java80 assertThat(batteryDrawable.getRadiusRatio()).isWithin(TOLERANCE).of(0f); in testBatteryMeterDrawable_configCorrect()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
H A DBluetoothDeviceLayerDrawable.java128 protected float getRadiusRatio() { in getRadiusRatio() method in BluetoothDeviceLayerDrawable.BatteryMeterDrawable
H A DBatteryMeterDrawableBase.java354 final float radius = getRadiusRatio() * (mFrame.height() + buttonHeight); in draw()
504 protected float getRadiusRatio() { in getRadiusRatio() method in BatteryMeterDrawableBase