Searched refs:mLevels (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryChartView.java | 101 private int[] mLevels; field in BatteryChartView 144 mLevels = null; in setLevels() 148 mLevels = levels.length == mTrapezoidCount + 1 ? levels : null; in setLevels() 151 if (mLevels == null) { in setLevels() 155 for (int index = 0; index < mLevels.length - 1; index++) { in setLevels() 156 if (mLevels[index] != 0 && mLevels[index + 1] != 0) { in setLevels() 329 setLevels(mLevels); in updateClickableState() 466 if (mLevels == null) { in drawTrapezoids() 494 final float leftTop = round(trapezoidBottom - mLevels[index] * unitHeight); in drawTrapezoids() 495 final float rightTop = round(trapezoidBottom - mLevels[index + 1] * unitHeight); in drawTrapezoids() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiLastResortWatchdogTest.java | 73 private int[] mLevels = {-60, -86, -50, -62}; field in WifiLastResortWatchdogTest 183 mBssids, mFrequencies, mCaps, mLevels, mIsEphemeral); in testAvailableNetworkBuffering_ageCullingWorks() 192 Arrays.copyOfRange(mLevels, 0, 2), in testAvailableNetworkBuffering_ageCullingWorks() 223 mBssids, mFrequencies, mCaps, mLevels, mIsEphemeral); in testAvailableNetworkBuffering_emptyBufferWithEmptyScanResults() 232 Arrays.copyOfRange(mLevels, 0, 0), in testAvailableNetworkBuffering_emptyBufferWithEmptyScanResults() 258 Arrays.copyOfRange(mLevels, 0, i), in testAvailableNetworkBuffering_addNewNetworksOverTime() 283 mBssids, mFrequencies, mCaps, mLevels, isEphemeral); in testAvailableNetworkBuffering_multipleNetworksSomeEphemeral() 292 Arrays.copyOfRange(mLevels, 0, 2), in testAvailableNetworkBuffering_multipleNetworksSomeEphemeral() 325 mBssids, mFrequencies, mCaps, mLevels, mIsEphemeral, mHasEverConnected); in testFailureCounting_countFailuresForSingleBssid() 377 mBssids, mFrequencies, mCaps, mLevels, mIsEphemeral, mHasEverConnected); in testFailureCounting_countFailuresForSingleBssidWithEphemeral() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryInfoTest.java | 272 private final byte[] mLevels = {99, 98, 97}; in mockBatteryStatsHistory() 282 record.batteryLevel = mLevels[mCount]; in mockBatteryStatsHistory()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiConfigController2.java | 212 private String[] mLevels; field in WifiConfigController2 257 mLevels = res.getStringArray(R.array.wifi_signal); in initWifiConfigController2() 452 return (level > -1 && level < mLevels.length) ? mLevels[level] : null; in getSignalString()
|
D | WifiConfigController.java | 207 private String[] mLevels; field in WifiConfigController 259 mLevels = res.getStringArray(R.array.wifi_signal); in initWifiConfigController() 473 return (level > -1 && level < mLevels.length) ? mLevels[level] : null; in getSignalString()
|