/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); \ 45 extern T##2 __attribute__((overloadable)) clamp(T##2 amount, T##2 low, T##2 high) { \ 47 r.x = amount.x < low.x ? low.x : (amount.x > high.x ? high.x : amount.x); \ 48 r.y = amount.y < low.y ? low.y : (amount.y > high.y ? high.y : amount.y); \ 52 extern T##3 __attribute__((overloadable)) clamp(T##3 amount, T##3 low, T##3 high) { \ 54 r.x = amount.x < low.x ? low.x : (amount.x > high [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, T##3 high) { \ [all...] |
/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, float high) { 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/av/media/libeffects/testlibs/ |
H A D | AudioPeakingFilter.cpp | 103 void AudioPeakingFilter::getBandRange(uint32_t & low, uint32_t & high) const { 109 high = mNiquistFreq; 111 high = static_cast<uint32_t>((static_cast<uint64_t>(mNominalFrequency) * Effects_exp2(halfBW + (16 << 15))) >> 16); 112 if (CC_UNLIKELY(high > mNiquistFreq)) { 113 high = mNiquistFreq;
|
H A D | AudioEqualizer.cpp | 173 uint32_t & high) const { 177 high = mpLowShelf->getFrequency(); 180 high = mSampleRate * 500; 182 mpPeakingFilters[band - 1].getBandRange(low, high); 260 uint32_t high = mpHighShelf->getFrequency(); local 261 if (targetFreq >= high) { 268 high = freq; 274 // Now, low is right below the target and high is right above. See which one 277 high = Effects_log2(high); [all...] |
H A D | AudioEqualizer.h | 29 // The EQ is composed of a low-shelf, zero or more peaking filters and a high 145 // For the low shelf, the low bound is 0 and the high bound is the band 147 // For the high shelf, the low bound is the band frequency and the high 150 void getBandRange(int band, uint32_t & low, uint32_t & high) const; 223 // The high-shelving filter.
|
H A D | AudioPeakingFilter.h | 37 // All is left for this class to do is mapping between high-level parameters to 89 void getBandRange(uint32_t & low, uint32_t & high) const; 144 // A coefficient interpolator, used for mapping the high level parameters to
|
/frameworks/volley/tests/src/com/android/volley/ |
H A D | RequestTest.java | 38 TestRequest high = new TestRequest(Priority.HIGH); 39 high.setSequence(sequence++); 44 assertTrue(low.compareTo(high) > 0); 45 assertTrue(high.compareTo(low) < 0); 48 assertTrue(immediate.compareTo(high) < 0);
|
/frameworks/base/core/java/android/util/ |
H A D | MathUtils.java | 38 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/base/graphics/java/android/graphics/drawable/ |
H A D | LevelListDrawable.java | 67 public void addLevel(int low, int high, Drawable drawable) { argument 69 mLevelListState.addLevel(low, high, drawable); 113 int high = a.getInt( 120 if (high < 0) { 140 mLevelListState.addLevel(low, high, dr); 172 public void addLevel(int low, int high, Drawable drawable) { argument 175 mHighs[pos] = high;
|
/frameworks/native/opengl/libs/ETC1/ |
H A D | etc1.cpp | 201 etc1_uint32 high = (pIn[0] << 24) | (pIn[1] << 16) | (pIn[2] << 8) | pIn[3]; local 204 if (high & 2) { 206 int rBase = high >> 27; 207 int gBase = high >> 19; 208 int bBase = high >> 11; 210 r2 = convertDiff(rBase, high >> 24); 212 g2 = convertDiff(gBase, high >> 16); 214 b2 = convertDiff(bBase, high >> 8); 217 r1 = convert4To8(high >> 28); 218 r2 = convert4To8(high >> 2 234 etc1_uint32 high; member in struct:__anon1364 [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | StaggeredGridDefault.java | 39 // find highest row (.high is biggest) 41 int maxHigh = maxHighRowIndex != -1 ? mRows[maxHighRowIndex].high : Integer.MIN_VALUE; 54 maxHigh = mRows[maxHighRowIndex].high; 56 while (mRows[rowIndex].high < maxHigh) { 64 if (mRows[getMinHighRowIndex()].high >= upTo) {
|
H A D | StaggeredGrid.java | 92 public int high; field in class:StaggeredGrid.Row 219 if (mRows[i].high > mRows[maxHighRowIndex].high) { 229 if (mRows[i].high < mRows[minHighRowIndex].high) { 247 * Append items until the high edge reaches upTo.
|
H A D | GridLayoutManager.java | 691 mRows[i].high = 0; 698 mRows[i].high = Integer.MIN_VALUE; 718 mRows[row].low = mRows[row].high = low; 730 mRows[i].high = firstItemRowPosition; 736 mRows[i].low = mRows[i].high = firstItemRowPosition; 1093 final boolean rowIsEmpty = mRows[rowIndex].high == mRows[rowIndex].low; 1097 start = mRows[rowIndex].high + mMarginPrimary; 1106 start = mRows[lastRow].high + mMarginPrimary; 1114 mRows[rowIndex].high = end; 1136 mRows[rowIndex].high [all...] |
/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; 315 high = guess; 318 if (high == start + len) 320 else if (a[high] == key) 321 return high; 323 return ~high;
|
/frameworks/base/core/java/android/animation/ |
H A D | PathKeyframes.java | 78 int high = numPoints - 1; 80 while (low <= high) { 81 int mid = (low + high) / 2; 85 high = mid - 1; 93 // now high is below the fraction and low is above the fraction 94 return interpolateInRange(fraction, high, low);
|
/frameworks/rs/scriptc/ |
H A D | rs_math.rsh | 61 * Clamp the value amount between low and high. 65 * @param high 67 _RS_RUNTIME uint __attribute__((const, overloadable, always_inline)) rsClamp(uint amount, uint low, uint high); 72 _RS_RUNTIME int __attribute__((const, overloadable, always_inline)) rsClamp(int amount, int low, int high); 76 _RS_RUNTIME ushort __attribute__((const, overloadable, always_inline)) rsClamp(ushort amount, ushort low, ushort high); 80 _RS_RUNTIME short __attribute__((const, overloadable, always_inline)) rsClamp(short amount, short low, short high); 84 _RS_RUNTIME uchar __attribute__((const, overloadable, always_inline)) rsClamp(uchar amount, uchar low, uchar high); 88 _RS_RUNTIME char __attribute__((const, overloadable, always_inline)) rsClamp(char amount, char low, char high);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | omxVCM4P2_DecodePadMV_PVOP.c | 96 OMX_S16 high, low, range; local 134 high = ( 32 * scaleFactor) - 1; 215 if (pDstMVCurMB[iBlk].dx > high) 224 if (pDstMVCurMB[iBlk].dy > high)
|
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedTextSRTSource.cpp | 232 size_t high = mTextVector.size() - 1; local 235 while (low <= high) { 236 mid = low + (high - low)/2; 243 high = mid - 1;
|
/frameworks/base/libs/hwui/ |
H A D | SpotShadow.h | 89 static void quicksortCirc(Vector2* points, int low, int high, const Vector2& center); 90 static void quicksortX(Vector2* points, int low, int high);
|
H A D | SpotShadow.cpp | 382 void SpotShadow::quicksortCirc(Vector2* points, int low, int high, argument 384 int i = low, j = high; 385 int p = low + (high - low) / 2; 402 if (i < high) quicksortCirc(points, i, high, center); 410 * @param high end index 412 void SpotShadow::quicksortX(Vector2* points, int low, int high) { argument 413 int i = low, j = high; 414 int p = low + (high - low) / 2; 431 if (i < high) quicksort [all...] |
/frameworks/base/core/java/android/view/ |
H A D | GhostView.java | 244 int high = overlayViewGroup.getChildCount() - 1; 246 while (low <= high) { 247 int mid = (low + high) / 2; 254 high = mid - 1;
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiScanner.java | 321 /** high signal threshold; more information at {@link ScanResult#level} */ 322 public int high; /* maximum RSSI */ field in class:WifiScanner.BssidInfo 355 dest.writeInt(info.high); 379 info.high = in.readInt(); 494 dest.writeInt(info.high); 514 info.high = in.readInt();
|
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 1011 int high = getLineCount(), low = -1, guess; 1013 while (high - low > 1) { 1014 guess = (high + low) / 2; 1017 high = guess; 1034 int high = getLineCount(), low = -1, guess; 1036 while (high - low > 1) { 1037 guess = (high + low) / 2; 1040 high = guess; 1073 int high = there - 1 + 1, low = here + 1 - 1, guess; 1075 while (high [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ProcessList.java | 176 // These are the high-end OOM level limits. This is appropriate for a 246 int high = mOomMinFreeHigh[i]; 247 mOomMinFree[i] = (int)(low + ((high-low)*scale));
|