Searched refs:numLevels (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DSignalDrawable.java374 public static int getState(int level, int numLevels, boolean cutOut) { argument
376 | (numLevels << NUM_LEVEL_SHIFT)
380 public static int getCarrierChangeState(int numLevels) { argument
381 return (STATE_CARRIER_CHANGE << STATE_SHIFT) | (numLevels << NUM_LEVEL_SHIFT);
384 public static int getEmptyState(int numLevels) { argument
385 return (STATE_EMPTY << STATE_SHIFT) | (numLevels << NUM_LEVEL_SHIFT);
388 public static int getAirplaneModeState(int numLevels) { argument
389 return (STATE_AIRPLANE << STATE_SHIFT) | (numLevels << NUM_LEVEL_SHIFT);
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A DBlurStack.java237 int numLevels = MAX_DEPTH - MIN_DEPTH + 1;
238 diskRadiusArray = new float[numLevels];
/frameworks/native/opengl/libagl/
H A Dtexture.cpp401 static GLsizei dataSizePalette4(int numLevels, int width, int height, int format) argument
434 for (int i=0 ; i< numLevels ; i++) {
1137 const int numLevels = level<0 ? -level : 1;
1139 if (dataSizePalette4(numLevels, width, height, format) > imageSize) {
1144 for (int i=0 ; i<numLevels ; i++) {
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiManager.java1778 * @param numLevels The number of levels to consider in the calculated
1780 * @return A level of the signal, given in the range of 0 to numLevels-1
1783 public static int calculateSignalLevel(int rssi, int numLevels) { argument
1787 return numLevels - 1;
1790 float outputRange = (numLevels - 1);

Completed in 91 milliseconds