Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DSignalDrawable.java441 public static int getState(int level, int numLevels, boolean cutOut) { in getState() argument
443 | (numLevels << NUM_LEVEL_SHIFT) in getState()
447 public static int getCarrierChangeState(int numLevels) { in getCarrierChangeState() argument
448 return (STATE_CARRIER_CHANGE << STATE_SHIFT) | (numLevels << NUM_LEVEL_SHIFT); in getCarrierChangeState()
451 public static int getEmptyState(int numLevels) { in getEmptyState() argument
452 return (STATE_EMPTY << STATE_SHIFT) | (numLevels << NUM_LEVEL_SHIFT); in getEmptyState()
455 public static int getAirplaneModeState(int numLevels) { in getAirplaneModeState() argument
456 return (STATE_AIRPLANE << STATE_SHIFT) | (numLevels << NUM_LEVEL_SHIFT); in getAirplaneModeState()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DBlurStack.java237 int numLevels = MAX_DEPTH - MIN_DEPTH + 1; in computeDiskRadius() local
238 diskRadiusArray = new float[numLevels]; in computeDiskRadius()
/frameworks/native/opengl/libagl/
Dtexture.cpp397 static GLsizei dataSizePalette4(int numLevels, int width, int height, int format) in dataSizePalette4() argument
430 for (int i=0 ; i< numLevels ; i++) { in dataSizePalette4()
1133 const int numLevels = level<0 ? -level : 1; in glCompressedTexImage2D() local
1135 if (dataSizePalette4(numLevels, width, height, format) > imageSize) { in glCompressedTexImage2D()
1140 for (int i=0 ; i<numLevels ; i++) { in glCompressedTexImage2D()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java1854 public static int calculateSignalLevel(int rssi, int numLevels) {
1858 return numLevels - 1;
1861 float outputRange = (numLevels - 1);