/frameworks/support/v4/java/android/support/v4/graphics/ |
H A D | ColorUtils.java | 516 private static float constrain(float amount, float low, float high) { argument 517 return amount < low ? low : (amount > high ? high : amount); 520 private static int constrain(int amount, int low, int high) { argument 521 return amount < low ? low : (amount > high ? high : amount);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SwitchCompat.java | 1424 private static float constrain(float amount, float low, float high) { argument 1425 return amount < low ? low : (amount > high ? high : amount);
|
/frameworks/volley/src/test/java/com/android/volley/ |
H A D | RequestTest.java | 31 TestRequest low = new TestRequest(Priority.LOW); 32 low.setSequence(sequence++); 41 assertTrue(low.compareTo(high) > 0); 42 assertTrue(high.compareTo(low) < 0); 43 assertTrue(low.compareTo(low2) < 0); 44 assertTrue(low.compareTo(immediate) > 0);
|
/frameworks/rs/api/ |
H A D | rs_math.spec | 487 arg: #2#1 max_value, above(min_value), "High bound, must match the type of low." 490 Clamps a value to a specified high and low bound. clamp() returns min_value 2895 ret: #2#1, "Remainder, precise only for the low three bits." 2905 This function is useful for implementing periodic functions. The low three bits of the 3362 arg: #1 low, "Lower bound." 3367 Clamp a value between low and high.
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicInlines.h | 85 static inline int4 clamp(int4 amount, int low, int high) { argument 87 r.x = amount.x < low ? low : (amount.x > high ? high : amount.x); 88 r.y = amount.y < low ? low : (amount.y > high ? high : amount.y); 89 r.z = amount.z < low ? low : (amount.z > high ? high : amount.z); 90 r.w = amount.w < low ? low : (amount.w > high ? high : amount.w); 94 static inline float4 clamp(float4 amount, float low, floa argument 103 clamp(int2 amount, int low, int high) argument 110 clamp(float2 amount, float low, float high) argument 117 clamp(int amount, int low, int high) argument 121 clamp(float amount, float low, float high) argument [all...] |
/frameworks/rs/driver/runtime/arch/ |
H A D | clamp.c | 25 extern T __attribute__((overloadable)) clamp(T amount, T low, T high) { \ 26 return amount < low ? low : (amount > high ? high : amount); \ 46 extern T##2 __attribute__((overloadable)) clamp(T##2 amount, T##2 low, T##2 high) { \ 48 r.x = amount.x < low.x ? low.x : (amount.x > high.x ? high.x : amount.x); \ 49 r.y = amount.y < low.y ? low.y : (amount.y > high.y ? high.y : amount.y); \ 53 extern T##3 __attribute__((overloadable)) clamp(T##3 amount, T##3 low, T##3 high) { \ 55 r.x = amount.x < low [all...] |
H A D | generic.c | 20 extern short __attribute__((overloadable, always_inline)) rsClamp(short amount, short low, short high); 30 extern T __attribute__((overloadable)) clamp(T amount, T low, T high) { \ 31 return amount < low ? low : (amount > high ? high : amount); \ 34 extern T##2 __attribute__((overloadable)) clamp(T##2 amount, T##2 low, T##2 high) { \ 36 r.x = amount.x < low.x ? low.x : (amount.x > high.x ? high.x : amount.x); \ 37 r.y = amount.y < low.y ? low.y : (amount.y > high.y ? high.y : amount.y); \ 41 extern T##3 __attribute__((overloadable)) clamp(T##3 amount, T##3 low, [all...] |
/frameworks/rs/scriptc/ |
H A D | rs_math.rsh | 727 * Clamps a value to a specified high and low bound. clamp() returns min_value 738 * max_value: High bound, must match the type of low. 5716 * This function is useful for implementing periodic functions. The low three bits of the 5729 * Returns: Remainder, precise only for the low three bits. 6470 * Clamp a value between low and high. 6474 * low: Lower bound. 6482 rsClamp(char amount, char low, char high); 6489 rsClamp(uchar amount, uchar low, uchar high); 6496 rsClamp(short amount, short low, short high); 6503 rsClamp(ushort amount, ushort low, ushor [all...] |
/frameworks/support/design/base/android/support/design/widget/ |
H A D | MathUtils.java | 21 static int constrain(int amount, int low, int high) { argument 22 return amount < low ? low : (amount > high ? high : amount); 25 static float constrain(float amount, float low, float high) { argument 26 return amount < low ? low : (amount > high ? high : amount);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
H A D | SupplicantWifiScannerImpl.java | 958 if (rssi < mBssidInfos[i].low) {
|
H A D | WifiScanningServiceImpl.java | 2311 BssidInfo.low = brightest[i].level - threshold; 2316 "low=" + BssidInfo.low + ", high=" + BssidInfo.high);
|
/frameworks/opt/net/wifi/service/jni/ |
H A D | com_android_server_wifi_WifiNative.cpp | 816 params.ap[i].low = helper.getIntField(objAp, "low"); 933 params.ap[i].low = helper.getIntField(objAp, "low"); 936 ALOGD("Added bssid %s, [%04d, %04d]", bssidOut, params.ap[i].low, params.ap[i].high);
|
/frameworks/opt/setupwizard/tools/docs/ |
H A D | jsilver.jar | META-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ... |
/frameworks/native/opengl/libs/ETC1/ |
H A D | etc1.cpp | 168 etc1_uint32 low, bool second, bool flipped) { 188 int offset = ((low >> k) & 1) | ((low >> (k + 15)) & 2); 202 etc1_uint32 low = (pIn[4] << 24) | (pIn[5] << 16) | (pIn[6] << 8) | pIn[7]; local 229 decode_subblock(pOut, r1, g1, b1, tableA, low, false, flipped); 230 decode_subblock(pOut, r2, g2, b2, tableB, low, true, flipped); 235 etc1_uint32 low; member in struct:__anon1511 350 &pCompressed->low, yy + x * 4, pModifierTable); 365 &pCompressed->low, y + xx * 4, pModifierTable); 437 pCompressed->low 167 decode_subblock(etc1_byte* pOut, int r, int g, int b, const int* table, etc1_uint32 low, bool second, bool flipped) argument [all...] |
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ProcessList.java | 186 // These are the low-end OOM level limits. This is appropriate for an 257 int low = mOomMinFreeLow[i]; 264 mOomMinFree[i] = (int)(low + ((high-low)*scale)); 625 * restore from its cached state for running in the background when RAM is low.
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationManagerService.java | 3244 static int clamp(int x, int low, int high) { argument 3245 return (x < low) ? low : ((x > high) ? high : x);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | NetworkPolicyManagerServiceTest.java | 996 final long low = expected - fuzzy; 998 if (actual < low || actual > high) { 999 fail("value " + actual + " is outside [" + low + "," + high + "]");
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | CameraStreamer.java | 1363 int low = range[Camera.Parameters.PREVIEW_FPS_MIN_INDEX]; 1365 if (low <= fpsk && high >= fpsk) { 1366 int diff = (fpsk - low) + (high - fpsk);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | SparseWeakArray.java | 307 int high = start + len, low = start - 1, guess; 309 while (high - low > 1) { 310 guess = (high + low) / 2; 313 low = guess;
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
H A D | IntegralToString.java | 330 int low = (int) (n % 1000000000); // Extract low-order 9 digits 331 int cursor = intIntoCharArray(buf, bufLen, low); 339 * The remaining digits are (n - low) / 1,000,000,000. This 343 n = ((n - low) >>> 9) * 0x8E47CE423A2E9C6DL; 348 * low-order digit, put it in buf, and then call intIntoCharArray
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiScanner.java | 827 /** low signal strength threshold; more information at {@link ScanResult#level} */ 828 public int low; /* minimum RSSI */ field in class:WifiScanner.BssidInfo 862 dest.writeInt(info.low); 886 info.low = in.readInt(); 1010 dest.writeInt(info.low); 1030 info.low = in.readInt();
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/ |
H A D | CameraPairwiseTest.java | 460 int low = supportedPictureSizes.size() - 1; 463 params.setPictureSize(supportedPictureSizes.get(low).width, 464 supportedPictureSizes.get(low).height);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | AssertHelpers.java | 116 * Assert that {@code low <= value <= high} 118 public static void assertInRange(float value, float low, float high) { argument 120 String.format("Value %s must be greater or equal to %s, but was lower", value, low), 121 value >= low);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | LevelListDrawable.java | 68 public void addLevel(int low, int high, Drawable drawable) { argument 70 mLevelListState.addLevel(low, high, drawable); 100 int low = 0; 118 low = a.getInt( 147 mLevelListState.addLevel(low, high, dr); 197 public void addLevel(int low, int high, Drawable drawable) { argument 199 mLows[pos] = low;
|