Searched refs:numLevels (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | MobileNetworkQCUtils.java | 106 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/ |
D | SubscriptionsPreferenceController.java | 317 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()
|
D | ProviderModelSliceHelper.java | 137 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/ |
D | MobileNetworkUtils.java | 645 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/ |
D | RemoteDevicesTest.java | 840 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/ |
D | WifiManager.java | 5373 public static int calculateSignalLevel(int rssi, int numLevels) { in calculateSignalLevel() argument 5377 return numLevels - 1; in calculateSignalLevel() 5380 float outputRange = (numLevels - 1); in calculateSignalLevel()
|