Searched defs:low (Results 1 - 20 of 20) sorted by relevance

/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/av/media/libstagefright/webm/
H A DEbmlUtil.cpp55 int32_t low = u; local
56 return low !=0 ? numberOfTrailingZeros32(low)
/frameworks/av/media/libeffects/testlibs/
H A DAudioPeakingFilter.cpp103 void AudioPeakingFilter::getBandRange(uint32_t & low, uint32_t & high) const { argument
107 low = static_cast<uint32_t>((static_cast<uint64_t>(mNominalFrequency) * Effects_exp2(-halfBW + (16 << 15))) >> 16);
H A DAudioEqualizer.cpp172 void AudioEqualizer::getBandRange(int band, uint32_t & low, argument
176 low = 0;
179 low = mpHighShelf->getFrequency();
182 mpPeakingFilters[band - 1].getBandRange(low, high);
256 uint32_t low = mpLowShelf->getFrequency(); local
257 if (targetFreq <= low) {
272 low = freq;
274 // Now, low is right below the target and high is right above. See which one
276 low = Effects_log2(low);
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP.c111 OMX_S16 high, low, range; local
150 low = ( (-32) * scaleFactor);
226 if ( pDstMVCurMB[iBlk].dx < low )
235 if ( pDstMVCurMB[iBlk].dy < 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;
/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/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/base/core/java/android/util/
H A DMathUtils.java38 public static int constrain(int amount, int low, int high) { argument
39 return amount < low ? low : (amount > high ? high : amount);
42 public static long constrain(long amount, long low, long high) { argument
43 return amount < low ? low : (amount > high ? high : amount);
46 public static float constrain(float amount, float low, float high) { argument
47 return amount < low ? low : (amount > high ? high : amount);
/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/base/core/java/com/android/internal/util/
H A DNotificationColorUtil.java252 double low = 0, high = lab[0];
254 for (int i = 0; i < 15 && high - low > 0.00001; i++) {
255 final double l = (low + high) / 2;
262 low = l;
267 return ColorUtilsFromCompat.LABToColor(low, a, b);
627 private static int constrain(int amount, int low, int high) { argument
628 return amount < low ? low : (amount > high ? high : amount);
/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/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvlc_encode.cpp2765 Int low; local
2772 low = -range;
2775 if (diff_vector < low)
/frameworks/base/libs/hwui/
H A DSpotShadow.cpp254 void SpotShadow::quicksortCirc(Vector2* points, int low, int high, argument
256 int i = low, j = high;
257 int p = low + (high - low) / 2;
273 if (low < j) quicksortCirc(points, low, j, center);
/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/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/base/core/java/android/view/
H A DMotionEvent.java736 * The value is normalized to a range from -1.0 (high) to 1.0 (low).
3016 private static final float clamp(float value, float low, float high) { argument
3017 if (value < low) {
3018 return 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/opt/setupwizard/tools/docs/
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...
/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. ...

Completed in 8385 milliseconds