/frameworks/base/media/libstagefright/codecs/aacdec/ |
D | unpack_idx.cpp | 335 Int *max) in unpack_idx() argument 359 if (temp_spec > *max) in unpack_idx() 361 *max = temp_spec; in unpack_idx() 374 if (temp_spec > *max) in unpack_idx() 376 *max = temp_spec; in unpack_idx() 395 if (temp_spec > *max) in unpack_idx() 397 *max = temp_spec; in unpack_idx() 410 if (codeword_indx > *max) in unpack_idx() 412 *max = codeword_indx; in unpack_idx() 425 Int *max) in unpack_idx_sgn() argument [all …]
|
D | imdct_fxp.cpp | 273 Int32 max) in imdct_fxp() argument 298 if (max != 0) in imdct_fxp() 336 shift1 = pv_normalize(max) - 1; /* -1 to leave room for addition */ in imdct_fxp() 338 max = 0; in imdct_fxp() 363 max |= (temp1 >> 31) ^ temp1; in imdct_fxp() 364 max |= (temp2 >> 31) ^ temp2; in imdct_fxp() 386 max |= (temp1 >> 31) ^ temp1; in imdct_fxp() 387 max |= (temp2 >> 31) ^ temp2; in imdct_fxp() 414 max |= (temp1 >> 31) ^ temp1; in imdct_fxp() 415 max |= (temp2 >> 31) ^ temp2; in imdct_fxp() [all …]
|
D | tns_decode_coef.cpp | 314 Int32 max; in tns_decode_coef() local 389 max = tempInt32; in tns_decode_coef() 402 max |= tempInt32; in tns_decode_coef() 412 if (max >= 0x40000000L) in tns_decode_coef() 414 max >>= 1; in tns_decode_coef() 445 while (max > 32767) in tns_decode_coef() 447 max >>= 1; in tns_decode_coef() 456 if (max != 0) in tns_decode_coef() 458 while (max < 16384) in tns_decode_coef() 460 max <<= 1; in tns_decode_coef()
|
D | q_normalize.cpp | 297 Int32 max = 0; in q_normalize() local 336 max |= (tmp1 >> 31) ^ tmp1; in q_normalize() 337 max |= (tmp2 >> 31) ^ tmp2; in q_normalize() 341 max |= (tmp1 >> 31) ^ tmp1; in q_normalize() 342 max |= (tmp2 >> 31) ^ tmp2; in q_normalize() 361 max |= (tmp1 >> 31) ^ tmp1; in q_normalize() 362 max |= (tmp2 >> 31) ^ tmp2; in q_normalize() 369 max |= (tmp1 >> 31) ^ tmp1; in q_normalize() 370 max |= (tmp2 >> 31) ^ tmp2; in q_normalize() 380 abs_max_per_window[win] = max; in q_normalize()
|
D | calc_auto_corr.cpp | 149 int64_t max = 0; in calc_auto_corr_LC() local 184 max |= temp_r01r ^(temp_r01r >> 63); in calc_auto_corr_LC() 185 max |= temp_r02r ^(temp_r02r >> 63); in calc_auto_corr_LC() 186 max |= temp_r11r; in calc_auto_corr_LC() 187 max |= temp_r12r ^(temp_r12r >> 63); in calc_auto_corr_LC() 188 max |= temp_r22r; in calc_auto_corr_LC() 190 if (max) in calc_auto_corr_LC() 192 temp1 = (UInt32)(max >> 32); in calc_auto_corr_LC() 205 temp3 = pv_normalize(((UInt32)max) >> 1) - 2; in calc_auto_corr_LC() 276 int64_t max = 0; in calc_auto_corr() local [all …]
|
D | fft_rx4_short.cpp | 225 Int32 max; in fft_rx4_short() local 231 max = *peak_value; in fft_rx4_short() 234 if (max > 0x008000) in fft_rx4_short() 236 exp = 8 - pv_normalize(max); /* use 24 bits */ in fft_rx4_short() 394 max = 0; in fft_rx4_short() 421 max |= (temp1 >> 31) ^ temp1; in fft_rx4_short() 444 max |= (temp1 >> 31) ^ temp1; in fft_rx4_short() 445 max |= (temp2 >> 31) ^ temp2; in fft_rx4_short() 450 max |= (r1 >> 31) ^ r1; in fft_rx4_short() 451 max |= (s2 >> 31) ^ s2; in fft_rx4_short() [all …]
|
D | pulse_nc.cpp | 228 Int *max) in pulse_nc() argument 279 if (temp > *max) in pulse_nc() 281 *max = temp; in pulse_nc() 288 if (-temp > *max) in pulse_nc() 290 *max = -temp; in pulse_nc()
|
D | fft_rx4_long.cpp | 221 Int32 max; in fft_rx4_long() local 351 max = 0; in fft_rx4_long() 379 max |= (temp1 >> 31) ^ temp1; in fft_rx4_long() 403 max |= (temp1 >> 31) ^ temp1; in fft_rx4_long() 405 max |= (temp2 >> 31) ^ temp2; in fft_rx4_long() 408 max |= (r1 >> 31) ^ r1; in fft_rx4_long() 410 max |= (s2 >> 31) ^ s2; in fft_rx4_long() 412 max |= (s3 >> 31) ^ s3; in fft_rx4_long() 418 max |= (temp1 >> 31) ^ temp1; in fft_rx4_long() 419 max |= (temp2 >> 31) ^ temp2; in fft_rx4_long() [all …]
|
D | huffspec_fxp.cpp | 327 Int max = 0; in huffspec_fxp() local 344 Int *max); in huffspec_fxp() 495 &max); /* unpack idx -> coefs */ in huffspec_fxp() 565 &max); /* add pulse data */ in huffspec_fxp() 588 if ((max < 0) || (max > 8192)) /* (8192>>ORDER) == 1024 is the inverseQuantTable size */ in huffspec_fxp() 595 temp = inverseQuantTable[(max >> ORDER) + 1]; in huffspec_fxp() 606 temp *= max; in huffspec_fxp() 654 max); in huffspec_fxp()
|
D | long_term_synthesis.cpp | 601 UInt32 max; in long_term_synthesis() local 677 max = 0; in long_term_synthesis() 700 max |= tmpInt32 ^(tmpInt32 >> 31); in long_term_synthesis() 708 if (max != 0) in long_term_synthesis() 713 while (max < 0x40000000L) in long_term_synthesis() 715 max <<= 1; in long_term_synthesis() 948 max = 0; in long_term_synthesis() 971 max |= tmpInt32 ^(tmpInt32 >> 31); in long_term_synthesis() 974 if (max != 0) in long_term_synthesis() 981 while (max < 0x40000000L) in long_term_synthesis() [all …]
|
D | long_term_prediction.cpp | 395 Int32 max = 0; in long_term_prediction() local 496 max |= (test >> 31) ^ test; in long_term_prediction() 528 max |= (test >> 31) ^ test; in long_term_prediction() 559 max |= (test >> 31) ^ test; in long_term_prediction() 633 shift = 16 - pv_normalize(max); in long_term_prediction()
|
D | unpack_idx.h | 92 Int *max); 98 Int *max); 104 Int *max);
|
/frameworks/base/core/java/android/os/ |
D | FileUtils.java | 176 public static String readTextFile(File file, int max, String ellipsis) throws IOException { in readTextFile() argument 180 if (max > 0 || (size > 0 && max == 0)) { // "head" mode: read the first N bytes in readTextFile() 181 if (size > 0 && (max == 0 || size < max)) max = (int) size; in readTextFile() 182 byte[] data = new byte[max + 1]; in readTextFile() 185 if (length <= max) return new String(data, 0, length); in readTextFile() 186 if (ellipsis == null) return new String(data, 0, max); in readTextFile() 187 return new String(data, 0, max) + ellipsis; in readTextFile() 188 } else if (max < 0) { // "tail" mode: keep the last N in readTextFile() 195 if (data == null) data = new byte[-max]; in readTextFile()
|
/frameworks/base/core/java/android/speech/srec/ |
D | UlawEncoderInputStream.java | 50 byte[] ulawBuf, int ulawOffset, int length, int max) { in encode() argument 76 if (max <= 0) max = MAX_ULAW; in encode() 78 int coef = MAX_ULAW * (1 << SCALE_BITS) / max; in encode() 121 int max = 0; in maxAbsPcm() local 125 if (pcm > max) max = pcm; in maxAbsPcm() 127 return max; in maxAbsPcm() 135 public UlawEncoderInputStream(InputStream in, int max) { in UlawEncoderInputStream() argument 137 mMax = max; in UlawEncoderInputStream()
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | find_min_max.cpp | 142 register int min, max; in FindMaxMin() local 147 max = min = *input_ptr; in FindMaxMin() 154 if (*input_ptr > max) in FindMaxMin() 156 max = *input_ptr; in FindMaxMin() 169 *max_ptr = max; in FindMaxMin()
|
D | post_proc.h | 35 #define UPDATE_PV_MAXPV_MIN(p,max,min) if ((p) > max) max=(p); else if ((p) < min) min = (p); argument
|
/frameworks/base/core/java/android/widget/ |
D | OverScroller.java | 181 return Math.max(mScrollerX.mDuration, mScrollerY.mDuration); in getDuration() 581 void fling(int start, int velocity, int min, int max) { in fling() argument 598 if (mStart > max) { in fling() 600 mFinal = max; in fling() 615 if (mFinal > max) { in fling() 616 mFinal = max; in fling() 617 mDuration = computeDuration(mStart, max, mVelocity, mDeceleration); in fling() 644 boolean springback(int start, int min, int max) { in springback() argument 655 } else if (start > max) { in springback() 656 startSpringback(start, max, true); in springback() [all …]
|
D | LinearLayout.java | 303 mWeightSum = Math.max(0.0f, weightSum); in setWeightSum() 369 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin); in measureVertical() 396 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + in measureVertical() 400 largestChildHeight = Math.max(childHeight, largestChildHeight); in measureVertical() 434 maxWidth = Math.max(maxWidth, measuredWidth); in measureVertical() 442 weightedMaxWidth = Math.max(weightedMaxWidth, in measureVertical() 445 alternativeMaxWidth = Math.max(alternativeMaxWidth, in measureVertical() 472 mTotalLength = Math.max(totalLength, totalLength + largestChildHeight + in measureVertical() 483 heightSize = Math.max(heightSize, getSuggestedMinimumHeight()); in measureVertical() 539 maxWidth = Math.max(maxWidth, measuredWidth); in measureVertical() [all …]
|
D | AbsSeekBar.java | 141 public synchronized void setMax(int max) { 142 super.setMax(max); 147 setKeyProgressIncrement(Math.max(1, Math.round((float) getMax() / 20))); 195 int max = getMax(); 196 float scale = max > 0 ? (float) getProgress() / (float) max : 0; 271 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth())); 272 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight())); 273 dh = Math.max(thumbHeight, dh); 334 final int max = getMax(); 335 progress += scale * max;
|
D | EdgeGlow.java | 144 mEdgeAlpha = mEdgeAlphaStart = Math.max(PULL_EDGE_BEGIN, Math.min(distance, MAX_ALPHA)); in onPull() 145 mEdgeScaleY = mEdgeScaleYStart = Math.max( in onPull() 161 mGlowScaleY = mGlowScaleYStart = Math.min(MAX_GLOW_HEIGHT, Math.max( in onPull() 202 velocity = Math.max(MIN_VELOCITY, Math.abs(velocity)); in onAbsorb() 218 mEdgeAlphaFinish = Math.max(0, Math.min(velocity * VELOCITY_EDGE_FACTOR, 1)); in onAbsorb() 220 mEdgeScaleYFinish = Math.max( in onAbsorb() 229 mGlowAlphaFinish = Math.max( in onAbsorb() 252 mGlow.setAlpha((int) (Math.max(0, Math.min(mGlowAlpha, 1)) * 255)); in draw() 259 mEdge.setAlpha((int) (Math.max(0, Math.min(mEdgeAlpha, 1)) * 255)); in draw()
|
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
D | cor_h_x2.cpp | 244 Word32 max; in cor_h_x2() local 252 max = 0; in cor_h_x2() 266 if (s > max) in cor_h_x2() 268 max = s; in cor_h_x2() 271 tot = (tot + (max >> 1)); in cor_h_x2()
|
D | hp_max.cpp | 249 Word32 max, t0, t1; in hp_max() local 254 max = MIN_32; in hp_max() 265 if (t0 >= max) in hp_max() 267 max = t0; in hp_max() 300 t016 = norm_l(max); in hp_max() 303 L_temp = L_shl(max, shift1, pOverflow); in hp_max()
|
D | cor_h_x.cpp | 258 Word32 max; in cor_h_x() local 269 max = 0; in cor_h_x() 296 if (s > max) in cor_h_x() 298 max = s; in cor_h_x() 302 tot += (max >> 1); in cor_h_x()
|
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
D | gmed_n.cpp | 189 register Word16 max; in gmed_n() local 201 max = -32767; in gmed_n() 204 if (*(tmp2 + j) >= max) in gmed_n() 206 max = *(tmp2 + j); in gmed_n()
|
/frameworks/base/graphics/java/android/graphics/ |
D | TableMaskFilter.java | 35 public static TableMaskFilter CreateClipTable(int min, int max) { in CreateClipTable() argument 36 return new TableMaskFilter(nativeNewClip(min, max)); in CreateClipTable() 44 private static native int nativeNewClip(int min, int max); in nativeNewClip() argument
|