/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 [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/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/volley/tests/src/com/android/volley/ |
H A D | RequestTest.java | 34 TestRequest low = new TestRequest(Priority.LOW); 35 low.setSequence(sequence++); 44 assertTrue(low.compareTo(high) > 0); 45 assertTrue(high.compareTo(low) < 0); 46 assertTrue(low.compareTo(low2) < 0); 47 assertTrue(low.compareTo(immediate) > 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/av/media/libstagefright/webm/ |
H A D | EbmlUtil.cpp | 53 int32_t low = u; local 54 return low !=0 ? numberOfTrailingZeros32(low)
|
/frameworks/base/core/java/android/text/ |
H A D | AndroidBidi.java | 167 for (int low = i, hi = e - 2; low < hi; low += 2, hi -= 2) { 168 int x = ld[low]; ld[low] = ld[hi]; ld[hi] = x; 169 x = ld[low+1]; ld[low+1] = ld[hi+1]; ld[hi+1] = x;
|
H A D | Layout.java | 1011 int high = getLineCount(), low = -1, guess; 1013 while (high - low > 1) { 1014 guess = (high + low) / 2; 1019 low = guess; 1022 if (low < 0) 1025 return low; 1034 int high = getLineCount(), low = -1, guess; 1036 while (high - low > 1) { 1037 guess = (high + low) / 2; 1042 low [all...] |
/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); 93 int low = 0; 111 low = a.getInt( 140 mLevelListState.addLevel(low, high, dr); 172 public void addLevel(int low, int high, Drawable drawable) { argument 174 mLows[pos] = low;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | StaggeredGridDefault.java | 93 int minLow = minLowRowIndex != -1 ? mRows[minLowRowIndex].low : Integer.MAX_VALUE; 101 minLow = mRows[minLowRowIndex].low; 103 while (mRows[rowIndex].low > minLow) { 111 if (mRows[getMaxLowRowIndex()].low <= downTo) {
|
H A D | StaggeredGrid.java | 88 public int low; field in class:StaggeredGrid.Row 254 if (mRows[i].low > mRows[maxLowRowIndex].low) { 264 if (mRows[i].low < mRows[minLowRowIndex].low) { 297 * Prepend items until the low edge reaches downTo.
|
H A D | GridLayoutManager.java | 690 mRows[i].low = 0; 697 mRows[i].low = Integer.MAX_VALUE; 716 int low = getViewMin(v) + mScrollOffsetPrimary; 717 if (low < mRows[row].low) { 718 mRows[row].low = mRows[row].high = low; 721 int firstItemRowPosition = mRows[mGrid.getLocation(firstIndex).row].low; 727 // subset, so it is meaningless to maintain the low locations. 729 mRows[i].low [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | PathKeyframes.java | 77 int low = 0; 80 while (low <= high) { 81 int mid = (low + high) / 2; 87 low = mid + 1; 93 // now high is below the fraction and low is above the fraction 94 return interpolateInRange(fraction, high, low);
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | AudioEqualizer.cpp | 172 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...] |
H A D | AudioPeakingFilter.cpp | 103 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 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; 221 // The low-shelving filter.
|
H A D | AudioPeakingFilter.h | 89 void getBandRange(uint32_t & low, uint32_t & high) const; 145 // the low-level biquad coefficients.
|
/frameworks/rs/scriptc/ |
H A D | rs_math.rsh | 61 * Clamp the value amount between low and high. 64 * @param low 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 135 low = ( (-32) * scaleFactor); 211 if ( pDstMVCurMB[iBlk].dx < low ) 220 if ( pDstMVCurMB[iBlk].dy < low )
|
/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:__anon1364 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/timedtext/ |
H A D | TimedTextSRTSource.cpp | 231 size_t low = 0; local 235 while (low <= high) { 236 mid = low + (high - low)/2; 241 low = mid + 1;
|
/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/core/java/android/view/ |
H A D | GhostView.java | 243 int low = firstGhost; 246 while (low <= high) { 247 int mid = (low + high) / 2; 252 low = mid + 1; 259 return low;
|
/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; 401 if (low < j) quicksortCirc(points, low, j, center); 409 * @param low start index 412 void SpotShadow::quicksortX(Vector2* points, int low, int high) { argument 413 int i = low, j = high; 414 int p = low [all...] |