/external/libvpx/libvpx/test/ |
dct32x32_test.cc | 33 static int round(double x) { function in namespace:__anon17873 179 << "Error: 32x32 FDCT/IDCT has an individual round-trip error > 1"; 182 << "Error: 32x32 FDCT/IDCT has average round-trip error > 1 per block"; 289 coeff[j] = static_cast<tran_low_t>(round(out_r[j]));
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
quantize_sse2.c | 62 __m128i round, quant, dequant, shift; local 70 round = _mm_load_si128((const __m128i*)round_ptr); 98 qcoeff0 = _mm_adds_epi16(qcoeff0, round); 99 round = _mm_unpackhi_epi64(round, round); 100 qcoeff1 = _mm_adds_epi16(qcoeff1, round); 175 qcoeff0 = _mm_adds_epi16(qcoeff0, round); 176 qcoeff1 = _mm_adds_epi16(qcoeff1, round);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowRatingBar.java | 57 setProgress(Math.round(rating * getProgressPerStar()));
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
dct.cpp | 42 Int round; local 53 round = 1 << (FDCT_SHIFT - 1); 118 k1 = mla724(k12, k5, round); 119 k0 = mla724(k12, k2, round); 136 k1 = mla392(k0, k14, round); 213 k1 = mla724(k12, k5, round); 214 k0 = mla724(k12, k2, round); 231 k1 = mla392(k0, k14, round); 271 Int round; local 282 round = 1 << (FDCT_SHIFT - 1) 477 Int round; local 656 Int round; local 867 Int round; local 1054 Int round; local [all...] |
fastquant.cpp | 159 Int round = 1 << 15; local 224 coeff = aan_scale(q_value, coeff, round, QPdiv2); 278 Int round = 1 << 15; local 326 q_value = round + (coeff << 12); 383 q_value = smlabb(q_value, coeff, round); 553 Int round = 1 << 15; local 583 q_value = smlabb(q_value, coeff, round); 682 Int round = 1 << 15; local 708 q_value = round + (coeff << 12); 754 /* q_value = coeff*q_value + round */ [all...] |
/system/bt/stack/smp/ |
smp_cmac.c | 39 UINT16 round; member in struct:__anon74403 141 while (i <= cmac_cb.round) 143 smp_xor_128(&cmac_cb.text[(cmac_cb.round - i)*BT_OCTET16_LEN], x); /* Mi' := Mi (+) X */ 145 if (!SMP_Encrypt(key, BT_OCTET16_LEN, &cmac_cb.text[(cmac_cb.round - i)*BT_OCTET16_LEN], BT_OCTET16_LEN, &output)) 191 SMP_TRACE_WARNING("flag = %d round = %d", flag, cmac_cb.round); 306 cmac_cb.round = n;
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
PathAnimations.java | 54 return new Point(Math.round(v.getX()), Math.round(v.getY())); 252 mPoint.set(Math.round(value.x), Math.round(value.y));
|
/external/iproute2/ip/ |
ipneigh.c | 429 int round = 0; local 437 while (round < MAX_ROUNDS) { 449 if (round == 0) 452 printf("*** Flush is complete after %d round%s ***\n", round, round>1?"s":""); 457 round++; 461 printf("\n*** Round %d, deleting %d entries ***\n", round, filter.flushed);
|
tcp_metrics.c | 430 int round = 0; local 449 if (round == 0) { 452 printf("*** Flush is complete after %d round%s ***\n", 453 round, round > 1 ? "s" : ""); 457 round++; 461 printf("\n*** Round %d, deleting %d entries ***\n", 462 round, f.flushed);
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/common/ |
MathUtils.java | 113 return sinLUT[MathUtils.round(x / Settings.SINCOS_LUT_PRECISION) % Settings.SINCOS_LUT_LENGTH]; 174 public static final int round(final float x) { method in class:MathUtils 178 return StrictMath.round(x);
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
MathUtils.java | 308 /** Returns the closest integer to the specified float. This method will only properly round floats from -(2^14) to
310 static public int round (float value) {
method in class:MathUtils 314 /** Returns the closest integer to the specified float. This method will only properly round floats that are positive. */
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
Dialog.java | 211 setPosition(Math.round((stage.getWidth() - getWidth()) / 2), Math.round((stage.getHeight() - getHeight()) / 2));
|
/external/libvncserver/common/ |
d3des.c | 337 register int round; local 359 for( round = 0; round < 8; round++ ) {
|
/external/opencv3/3rdparty/openexr/Half/ |
half.h | 149 // Round to n-bit precision (n should be between 0 and 10). 154 half round (unsigned int n) const; 462 // we have to do is round f's significand to 10 bits and combine 478 // Simple case - round the significand, m, to 10 509 // Round to n-bit precision 513 half::round (unsigned int n) const function in class:half 531 // Round the exponent and significand to the nearest value
|
/frameworks/base/core/java/android/widget/ |
RatingBar.java | 113 // than 0.5 so boundaries round up). 196 setProgress(Math.round(rating * getProgressPerStar()));
|
/frameworks/base/core/tests/coretests/src/android/text/ |
StaticLayoutDirectionsTest.java | 129 b.setWidth(Math.round(width));
|
/libcore/ojluni/src/main/java/java/lang/ |
StrictMath.java | 412 * Otherwise, the sum (twoToThe52 + a ) will properly round 634 public static int round(float a) { method in class:StrictMath 635 return Math.round(a); 658 public static long round(double a) { method in class:StrictMath 659 return Math.round(a); [all...] |
/libcore/ojluni/src/main/java/java/text/ |
DigitList.java | 342 // Handle an underflow to zero when we round something like 347 // If we round 0.0009 to 3 fractional digits, then we have to 367 // Round up if appropriate. 368 round(fixedPoint ? (maximumDigits + decimalAt) : maximumDigits); 372 * Round the representation to the given number of digits. 376 private final void round(int maximumDigits) { method in class:DigitList 378 // Round up if appropriate. 545 if (maximumDigits > 0) round(maximumDigits); 587 round(maximumDigits);
|
/packages/apps/Camera2/src/com/android/camera/ |
CaptureLayoutHelper.java | 358 // Round the rect first to avoid rounding errors later on. 359 round(config.mBottomBarRect); 360 round(config.mPreviewRect); 366 * Round the float coordinates in the given rect, and store the rounded value 369 public static void round(RectF rect) { method in class:CaptureLayoutHelper 373 float left = Math.round(rect.left); 374 float top = Math.round(rect.top); 375 float right = Math.round(rect.right); 376 float bottom = Math.round(rect.bottom);
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
FaceView.java | 138 mFaceIndicator.setBounds(Math.round(mRect.left), Math.round(mRect.top), 139 Math.round(mRect.right), Math.round(mRect.bottom));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
GestureFloatingTextDrawingPreview.java | 146 final float round = mParams.mGesturePreviewRoundRadius; local 148 mGesturePreviewRectangle, round, round, mParams.getBackgroundPaint());
|
/system/core/libpixelflinger/include/private/pixelflinger/ |
ggl_fixed.h | 468 GGLfixed round; local 470 asm("mov %x[round], #1 \n" 471 "lsl %x[round], %x[round], %x[shift] \n" 472 "lsr %x[round], %x[round], #1 \n" 473 "smaddl %x[result], %w[x], %w[y],%x[round] \n" 475 : [round]"=&r"(round), [result]"=&r"(result) \ [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
DigitList.java | 446 // Round up if appropriate. 447 round(fixedPoint ? (maximumDigits + decimalAt) : maximumDigits == 0 ? -1 : maximumDigits); 534 * Round the representation to the given number of digits. 539 public final void round(int maximumDigits) { method in class:DigitList 541 // Round up if appropriate. 641 if (maximumDigits > 0) round(maximumDigits); 673 if (maximumDigits > 0) round(maximumDigits); 744 // Round up if appropriate. 745 // {dlf} Some callers depend on passing '0' to round to mean 'don't round', bu [all...] |
/external/icu/icu4c/source/i18n/ |
decimfmtimpl.cpp | 614 DecimalFormatImpl::round( function in class:DecimalFormatImpl 622 return vf.round(number, status); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
DigitList.java | 445 // Round up if appropriate. 446 round(fixedPoint ? (maximumDigits + decimalAt) : maximumDigits == 0 ? -1 : maximumDigits); 533 * Round the representation to the given number of digits. 538 public final void round(int maximumDigits) { method in class:DigitList 540 // Round up if appropriate. 640 if (maximumDigits > 0) round(maximumDigits); 672 if (maximumDigits > 0) round(maximumDigits); 743 // Round up if appropriate. 744 // {dlf} Some callers depend on passing '0' to round to mean 'don't round', bu [all...] |