Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java388 float boltPct = (mBoltFrame.bottom - levelTop) / (mBoltFrame.bottom - mBoltFrame.top); in draw() local
389 boltPct = Math.min(Math.max(boltPct, 0), 1); in draw()
390 if (boltPct <= BOLT_LEVEL_THRESHOLD) { in draw()