/system/core/libpixelflinger/ |
pixelflinger.cpp | 230 // it is very important to round the iterated value here because 234 const int32_t round = 0x8000; local 235 c->shade.r0 = grad[ 0] + round; 238 c->shade.g0 = grad[ 3] + round; 241 c->shade.b0 = grad[ 6] + round; 244 c->shade.a0 = grad[ 9] + round; 254 const uint32_t round = 0x8000; local 255 c->shade.z0 = grad[0] + round;
|
/external/icu/android_icu4j/src/main/java/android/icu/math/ |
BigDecimal.java | 68 /* 1998.06.04 rework to pass MathContext to finish() and round() */ 69 /* 1998.06.06 change format to use round(); support rounding modes */ 261 * Rounding mode to round to a more positive number. 268 * Rounding mode to round towards zero. 275 * Rounding mode to round to a more negative number. 282 * Rounding mode to round to nearest neighbor, where an equidistant value is rounded down. 289 * Rounding mode to round to nearest neighbor, where an equidistant value is rounded to the nearest even neighbor. 296 * Rounding mode to round to nearest neighbor, where an equidistant value is rounded up. 310 * Rounding mode to round away from zero. 3566 private android.icu.math.BigDecimal round(android.icu.math.MathContext set) { method in class:BigDecimal 3580 private android.icu.math.BigDecimal round(int len, int mode) { method in class:BigDecimal [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/ |
BigDecimal.java | 65 /* 1998.06.04 rework to pass MathContext to finish() and round() */ 66 /* 1998.06.06 change format to use round(); support rounding modes */ 262 * Rounding mode to round to a more positive number. 270 * Rounding mode to round towards zero. 278 * Rounding mode to round to a more negative number. 286 * Rounding mode to round to nearest neighbor, where an equidistant value is rounded down. 294 * Rounding mode to round to nearest neighbor, where an equidistant value is rounded to the nearest even neighbor. 302 * Rounding mode to round to nearest neighbor, where an equidistant value is rounded up. 318 * Rounding mode to round away from zero. 3631 private com.ibm.icu.math.BigDecimal round(com.ibm.icu.math.MathContext set) { method in class:BigDecimal 3645 private com.ibm.icu.math.BigDecimal round(int len, int mode) { method in class:BigDecimal [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/ |
BigDecimal.java | 67 /* 1998.06.04 rework to pass MathContext to finish() and round() */ 68 /* 1998.06.06 change format to use round(); support rounding modes */ 264 * Rounding mode to round to a more positive number. 272 * Rounding mode to round towards zero. 280 * Rounding mode to round to a more negative number. 288 * Rounding mode to round to nearest neighbor, where an equidistant value is rounded down. 296 * Rounding mode to round to nearest neighbor, where an equidistant value is rounded to the nearest even neighbor. 304 * Rounding mode to round to nearest neighbor, where an equidistant value is rounded up. 320 * Rounding mode to round away from zero. 3641 private com.ibm.icu.math.BigDecimal round(com.ibm.icu.math.MathContext set) { method in class:BigDecimal 3655 private com.ibm.icu.math.BigDecimal round(int len, int mode) { method in class:BigDecimal [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
InsetDrawableTest.java | 480 assertEquals(Math.round(origInsetHoriz * approxHalf), halfDrawable.getIntrinsicWidth() 501 // Reproduce imprecise truncated scale down, and back up. Note that we don't round.
|
StateListDrawableTest.java | 235 assertEquals(Math.round(origWidth0 * approxHalf), halfDrawable.getIntrinsicWidth()); 237 assertEquals(Math.round(origWidth1 * approxHalf), halfDrawable.getIntrinsicWidth());
|
VectorDrawableTest.java | 445 assertEquals(Math.round(origWidth * approxHalf), halfDrawable.getIntrinsicWidth());
|
BitmapDrawableTest.java | 592 assertEquals(Math.round(origWidth * scale), scaledDrawable.getIntrinsicWidth()); 593 assertEquals(Math.round(origHeight * scale), scaledDrawable.getIntrinsicHeight());
|
GradientDrawableTest.java | 573 assertEquals(Math.round(origWidth * approxHalf), halfDrawable.getIntrinsicWidth()); 574 assertEquals(Math.round(origHeight * approxHalf), halfDrawable.getIntrinsicHeight()); 607 assertEquals(Math.round(approxDouble * Math.round(origWidth * approxHalf)), 609 assertEquals(Math.round(approxDouble * Math.round(origHeight * approxHalf)),
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
Tnaf.java | 166 public static ZTauElement round(SimpleBigDecimal lambda0, method in class:Tnaf 181 BigInteger f0 = lambda0.round(); 182 BigInteger f1 = lambda1.round(); 299 // round up 634 ZTauElement q = round(lambda0, lambda1, mu);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/utils/ |
Util.java | 391 public static double round(double value) { method in class:Util 392 return Math.round(value * 10000) / 10000.0; 398 public static double round(double value, int precision) { method in class:Util 407 return Math.round(value * factor) / factor;
|
/external/eigen/Eigen/src/Core/ |
MathFunctions.h | 407 * Implementation of round * 416 using std::round; 417 return round(x); 978 inline EIGEN_MATHFUNC_RETVAL(round, Scalar) round(const Scalar& x) function in namespace:Eigen::numext 980 return EIGEN_MATHFUNC_IMPL(round, Scalar)::run(x); [all...] |
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorBase.h | 310 round() const { function in class:Eigen::TensorBase [all...] |
/external/icu/icu4c/source/i18n/ |
decContext.h | 39 /* round -- must be one of the enumerated rounding modes */ 78 DEC_ROUND_CEILING, /* round towards +infinity */ 79 DEC_ROUND_UP, /* round away from 0 */ 83 DEC_ROUND_DOWN, /* round towards 0 (truncate) */ 84 DEC_ROUND_FLOOR, /* round towards -infinity */ 85 DEC_ROUND_05UP, /* round for reround */ 94 enum rounding round; /* rounding mode */ member in struct:__anon19971
|
/external/libvpx/libvpx/vp8/encoder/ |
block.h | 44 short *round; member in struct:block
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_block.h | 42 int16_t *round; member in struct:macroblock_plane
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_math.h | 126 round(double x) function 299 * Round float to nearest int.
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
RegAllocPBQP.cpp | 562 // We need another round if spill intervals were added. 673 unsigned round = 0; local 676 DEBUG(dbgs() << " PBQP Regalloc round " << round << ":\n"); 686 ++round;
|
/external/syslinux/com32/cmenu/libmenu/ |
des.c | 592 int shifts, round; local 662 for (round = 0; round < 16; round++) { 665 shifts += key_shifts[round]; 672 de_keysl[15 - round] = en_keysl[round] = common[0][(t0 >> 21) & 0x7f] 682 de_keysr[15 - round] = en_keysr[round] = common[0][(t0 >> 21) & 0x7f] 691 de_keysl[15 - round] 724 int round; local [all...] |
/frameworks/base/core/java/android/util/ |
Half.java | 546 public static @HalfFloat short round(@HalfFloat short h) { method in class:Half [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/ |
DrawerArrowDrawable.java | 140 // round this because having this floating may cause bad measurements 141 setGapSize(Math.round(a.getDimension(R.styleable.DrawerArrowToggle_gapBetweenBars, 0))); 144 // round this because having this floating may cause bad measurements 145 mBarLength = Math.round(a.getDimension(R.styleable.DrawerArrowToggle_barLength, 0)); 146 // round this because having this floating may cause bad measurements 147 mArrowHeadLength = Math.round(a.getDimension( 352 final float arrowShaftCut = Math.round(lerp(0, mMaxCutForBarSize, mProgress)); 360 final float arrowWidth = Math.round(arrowHeadBarLength * Math.cos(rotation)); 361 final float arrowHeight = Math.round(arrowHeadBarLength * Math.sin(rotation));
|
/prebuilts/ndk/r11/sources/android/support/src/stdio/ |
vfprintf.c | 264 long double round = 8.0; local 274 while (re--) round*=16; 277 y-=round; 278 y+=round; 281 y+=round; 282 y-=round; 368 long double round = CONCAT(0x1p,LDBL_MANT_DIG); local 370 if (*d/i & 1) round += 2; 374 if (pl && *prefix=='-') round*=-1, small*=-1; 376 /* Decide whether to round by probing round+small * [all...] |
/prebuilts/ndk/r13/sources/android/support/src/stdio/ |
vfprintf.c | 264 long double round = 8.0; local 274 while (re--) round*=16; 277 y-=round; 278 y+=round; 281 y+=round; 282 y-=round; 368 long double round = CONCAT(0x1p,LDBL_MANT_DIG); local 370 if (*d/i & 1) round += 2; 374 if (pl && *prefix=='-') round*=-1, small*=-1; 376 /* Decide whether to round by probing round+small * [all...] |
/toolchain/binutils/binutils-2.25/bfd/ |
libecoff.h | 46 bfd_vma round; member in struct:ecoff_backend_data
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
Dfp.java | 527 round((striped[q] - '0')*1000); method 673 /* Note that shiftRight() does not call round() as that round() itself 688 * Align doesn't round, so it will return the last digit destroyed 911 /** Round to nearest integer using the round-half-even method. 912 * That is round to nearest integer unless both are equidistant. 913 * In which case round to the even one. 920 /** Round to an integer using the round floor mode 1330 protected int round(int n) { method in class:Dfp [all...] |