/packages/apps/DeskClock/src/com/android/deskclock/ |
AnimatorUtils.java | 152 animator.setCurrentPlayTime(Math.round(fraction * animator.getDuration()));
|
/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...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
AnimatedStateListDrawableTest.java | 211 assertEquals(Math.round(origWidth[i] * approxHalf), halfDrawable.getIntrinsicWidth());
|
/cts/tests/tests/util/src/android/util/cts/ |
HalfTest.java | 308 public void round() { method in class:HalfTest 309 assertShortEquals(POSITIVE_INFINITY, Half.round(POSITIVE_INFINITY)); 310 assertShortEquals(NEGATIVE_INFINITY, Half.round(NEGATIVE_INFINITY)); 311 assertShortEquals(POSITIVE_ZERO, Half.round(POSITIVE_ZERO)); 312 assertShortEquals(NEGATIVE_ZERO, Half.round(NEGATIVE_ZERO)); 313 assertShortEquals(NaN, Half.round(NaN)); 314 assertShortEquals(LOWEST_VALUE, Half.round(LOWEST_VALUE)); 315 assertShortEquals(POSITIVE_ZERO, Half.round(MIN_VALUE)); 316 assertShortEquals(POSITIVE_ZERO, Half.round((short) 0x200)); 317 assertShortEquals(POSITIVE_ZERO, Half.round((short) 0x3ff)) [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/ |
compat.c | 681 round(long double value)
function 731 fracpart = round((pow10 (max)) * (ufvalue - intpart));
|
/external/eigen/Eigen/src/plugins/ |
ArrayCwiseUnaryOps.h | 365 /** \returns an expression of the coefficient-wise round of *this. 374 round() const function 384 * \sa <a href="group__CoeffwiseMathFunctions.html#cwisetable_floor">Math functions</a>, ceil(), round() 398 * \sa <a href="group__CoeffwiseMathFunctions.html#cwisetable_ceil">Math functions</a>, floor(), round()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
DigitList.java | 401 // Round up if appropriate. 402 round(fixedPoint ? (maximumDigits + decimalAt) : maximumDigits == 0 ? -1 : maximumDigits); 489 * Round the representation to the given number of digits. 494 public final void round(int maximumDigits) { method in class:DigitList 496 // Round up if appropriate. 596 if (maximumDigits > 0) round(maximumDigits); 628 if (maximumDigits > 0) round(maximumDigits); 699 // Round up if appropriate. 700 // {dlf} Some callers depend on passing '0' to round to mean 'don't round', bu [all...] |
/external/icu/icu4c/source/i18n/ |
decimfmtimpl.cpp | 616 DecimalFormatImpl::round( function in class:DecimalFormatImpl 624 return vf.round(number, status); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
DigitList.java | 399 // Round up if appropriate. 400 round(fixedPoint ? (maximumDigits + decimalAt) : maximumDigits == 0 ? -1 : maximumDigits); 487 * Round the representation to the given number of digits. 492 public final void round(int maximumDigits) { method in class:DigitList 494 // Round up if appropriate. 594 if (maximumDigits > 0) round(maximumDigits); 626 if (maximumDigits > 0) round(maximumDigits); 697 // Round up if appropriate. 698 // {dlf} Some callers depend on passing '0' to round to mean 'don't round', bu [all...] |
/external/skia/src/core/ |
SkColorMatrixFilterRowMajor255.cpp | 82 static SkPMColor round(const Sk4f& x) { function 130 return round(swizzle_rb_if_bgra(c4));
|
/libcore/ojluni/src/main/java/java/lang/ |
Math.java | 648 public static int round(float a) { method in class:Math 697 public static long round(double a) { method in class:Math [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.8/lib/gcc/arm-eabi/4.8/include/ |
tgmath.h | 157 #define round(x) __TGMATH_REAL(x, round) macro
|
/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/lib/gcc/i686-apple-darwin10/4.2.1/include/ |
tgmath.h | 168 #define round(x) __TGMATH_REAL(x, round) macro
|
/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/lib/gcc/i686-apple-darwin11/4.2.1/include/ |
tgmath.h | 168 #define round(x) __TGMATH_REAL(x, round) macro
|
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/lib/gcc/arm-eabi/4.8/include/ |
tgmath.h | 157 #define round(x) __TGMATH_REAL(x, round) macro
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/ |
tgmath.h | 354 /* Round X to integral valuein floating-point format using current 358 /* Round X to nearest integral value, rounding halfway cases away from 360 #define round(Val) __TGMATH_UNARY_REAL_ONLY (Val, round) macro 362 /* Round X to the integral value in floating-point format nearest but 372 /* Round X to nearest integral value according to current rounding 377 /* Round X to nearest integral value, rounding halfway cases away from
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
tgmath.h | 354 /* Round X to integral valuein floating-point format using current 358 /* Round X to nearest integral value, rounding halfway cases away from 360 #define round(Val) __TGMATH_UNARY_REAL_ONLY (Val, round) macro 362 /* Round X to the integral value in floating-point format nearest but 372 /* Round X to nearest integral value according to current rounding 377 /* Round X to nearest integral value, rounding halfway cases away from
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/include/ |
tgmath.h | 157 #define round(x) __TGMATH_REAL(x, round) macro
|
/prebuilts/go/darwin-x86/src/math/big/ |
float.go | 38 // with the exception of MantExp), round the numeric result according 178 z.round(0) 292 z.round(sbit) 373 // round rounds z according to z.mode to z.prec bits and sets z.acc accordingly. 375 // have before calling round. z's mantissa must be normalized (with the msb set) 380 // calling round. 381 func (z *Float) round(sbit uint) { func 414 // bits > z.prec: mantissa too large => round 434 // round if result is inexact 437 // by default. Decide if we need to increment, or "round up", the (unsigned [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
stubs.go | 288 // round n up to a multiple of a. a must be a power of 2. 289 func round(n, a uintptr) uintptr { func
|
/prebuilts/go/linux-x86/src/math/big/ |
float.go | 38 // with the exception of MantExp), round the numeric result according 178 z.round(0) 292 z.round(sbit) 373 // round rounds z according to z.mode to z.prec bits and sets z.acc accordingly. 375 // have before calling round. z's mantissa must be normalized (with the msb set) 380 // calling round. 381 func (z *Float) round(sbit uint) { func 414 // bits > z.prec: mantissa too large => round 434 // round if result is inexact 437 // by default. Decide if we need to increment, or "round up", the (unsigned [all...] |
/prebuilts/go/linux-x86/src/runtime/ |
stubs.go | 288 // round n up to a multiple of a. a must be a power of 2. 289 func round(n, a uintptr) uintptr { func
|
/system/core/libpixelflinger/codeflinger/ |
texturing.cpp | 802 const int round = 0; local 835 if (round) 850 if (round) 864 if (round) 896 const int round = 0; local [all...] |