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.java282 public static int getState(int level, int numLevels, boolean cutOut) { in getState() argument
284 | (numLevels << NUM_LEVEL_SHIFT) in getState()
289 public static int getEmptyState(int numLevels) { in getEmptyState() argument
290 return getState(0, numLevels, true); in getEmptyState()
294 public static int getCarrierChangeState(int numLevels) { in getCarrierChangeState() argument
295 return (STATE_CARRIER_CHANGE << STATE_SHIFT) | (numLevels << NUM_LEVEL_SHIFT); in getCarrierChangeState()
/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.java2505 public static int calculateSignalLevel(int rssi, int numLevels) {
2509 return numLevels - 1;
2512 float outputRange = (numLevels - 1);