Searched refs:low (Results 1 - 25 of 43) sorted by last modified time

12

/frameworks/support/v4/java/android/support/v4/graphics/
H A DColorUtils.java516 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 DSwitchCompat.java1424 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 DRequestTest.java31 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 Drs_math.spec487 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 DrsCpuIntrinsicInlines.h85 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 Dclamp.c25 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 Dgeneric.c20 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 Drs_math.rsh727 * 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 DMathUtils.java21 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 DSupplicantWifiScannerImpl.java958 if (rssi < mBssidInfos[i].low) {
H A DWifiScanningServiceImpl.java2311 BssidInfo.low = brightest[i].level - threshold;
2316 "low=" + BssidInfo.low + ", high=" + BssidInfo.high);
/frameworks/opt/net/wifi/service/jni/
H A Dcom_android_server_wifi_WifiNative.cpp816 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 Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp168 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 Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/base/services/core/java/com/android/server/am/
H A DProcessList.java186 // 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 DNotificationManagerService.java3244 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 DNetworkPolicyManagerServiceTest.java996 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 DCameraStreamer.java1363 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 DSparseWeakArray.java307 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 DIntegralToString.java330 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 DWifiScanner.java827 /** 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 DCameraPairwiseTest.java460 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 DAssertHelpers.java116 * 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 DLevelListDrawable.java68 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;

Completed in 1323 milliseconds

12