Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DMobileNetworkQCUtils.java106 int numLevels = SignalStrength.NUM_SIGNAL_STRENGTH_BINS; in getSignalStrengthDrawable() local
110 numLevels += 1; in getSignalStrengthDrawable()
112 return createSignalDrawable(context, level, numLevels); in getSignalStrengthDrawable()
115 private static Drawable createSignalDrawable(Context context, int level, int numLevels) { in createSignalDrawable() argument
118 SignalDrawable.getState(level, numLevels, /* cutOut= */ false)); in createSignalDrawable()
/packages/apps/Settings/src/com/android/settings/network/
DSubscriptionsPreferenceController.java317 int numLevels = SignalStrength.NUM_SIGNAL_STRENGTH_BINS; in getIcon() local
321 numLevels = WifiEntry.WIFI_LEVEL_MAX + 1; in getIcon()
324 numLevels += 1; in getIcon()
347 icon = mSubsPrefCtrlInjector.getIcon(mContext, level, numLevels, !isDataEnabled, in getIcon()
610 public Drawable getIcon(Context context, int level, int numLevels, boolean cutOut, in getIcon() argument
612 return MobileNetworkUtils.getSignalStrengthIcon(context, level, numLevels, in getIcon()
DProviderModelSliceHelper.java137 int numLevels = SignalStrength.NUM_SIGNAL_STRENGTH_BINS; in getDrawableWithSignalStrength() local
141 numLevels += 1; in getDrawableWithSignalStrength()
143 return MobileNetworkUtils.getSignalStrengthIcon(mContext, level, numLevels, in getDrawableWithSignalStrength()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkUtils.java645 public static Drawable getSignalStrengthIcon(Context context, int level, int numLevels, in getSignalStrengthIcon() argument
649 carrierNetworkChanged ? SignalDrawable.getCarrierChangeState(numLevels) in getSignalStrengthIcon()
650 : SignalDrawable.getState(level, numLevels, cutOut)); in getSignalStrengthIcon()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DRemoteDevicesTest.java840 private static Object[] getXEventArray(int batteryLevel, int numLevels) { in getXEventArray() argument
844 list.add(numLevels); in getXEventArray()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiManager.java5373 public static int calculateSignalLevel(int rssi, int numLevels) { in calculateSignalLevel() argument
5377 return numLevels - 1; in calculateSignalLevel()
5380 float outputRange = (numLevels - 1); in calculateSignalLevel()