/external/skia/tests/ |
MathTest.cpp | 247 assert_float_equal(reporter, "round", x, ix, iix); 295 // round (down) large ints the same as IEEE... 423 int round = (int)floorf(s + 0.5f); local 429 REPORTER_ASSERT(reporter, iround == round);
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/ |
UberColorPickerDialog.java | 574 * Wrap Math.round(). I'm not a Java expert. Is this the only way to avoid writing "(int)Math.round" everywhere? 578 private int round(double x) { method in class:UberColorPickerDialog.ColorPickerView 579 return (int)Math.round(x); 636 return s + round(p * (d - s)); 767 mCoord[0] = round(Math.cos(angle) * radius); 768 mCoord[1] = round(Math.sin(angle) * radius); 875 int y2 = (int)(pin(round(y - PALETTE_POS_Y), PALETTE_DIM)); 882 boolean inSwatchOld = ptInRect(round(x), round(y), mOldSwatchRect) [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_block.h | 77 int16_t *round; member in struct:macroblock_plane
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/ |
vp9_cx_iface.c | 779 vpx_codec_pts_t round, delta; local 796 round = (vpx_codec_pts_t)1000000 * ctx->cfg.g_timebase.num / 2 - 1; 800 (dst_time_stamp * ctx->cfg.g_timebase.den + round) 803 ((delta * ctx->cfg.g_timebase.den + round) 818 * ctx->cfg.g_timebase.den + round) [all...] |
/packages/apps/PackageInstaller/src/android/support/wearable/view/ |
CircledImageView.java | 221 mPaint.setAlpha(Math.round(mPaint.getAlpha() * getAlpha())); 240 mPaint.setAlpha(Math.round(mPaint.getAlpha() * getAlpha())); 260 mPaint.setAlpha(Math.round(mPaint.getAlpha() * getAlpha())); 270 mDrawable.setAlpha(Math.round(getAlpha() * 255)); 360 final int drawableWidth = Math.round(scaleFactor * nativeDrawableWidth); 361 final int drawableHeight = Math.round(scaleFactor * nativeDrawableHeight); 365 + Math.round(mImageHorizontalOffcenterPercentage * drawableWidth);
|
/prebuilts/clang/darwin-x86/host/3.6/lib/clang/3.6/include/ |
tgmath.h | 1140 // round 1148 __tg_round(double __x) {return round(__x);} 1154 #undef round macro 1155 #define round(__x) __tg_round(__tg_promote1((__x))(__x)) macro
|
/prebuilts/clang/host/darwin-x86/3.8/lib/clang/3.8/include/ |
tgmath.h | 1140 // round 1148 __tg_round(double __x) {return round(__x);} 1154 #undef round macro 1155 #define round(__x) __tg_round(__tg_promote1((__x))(__x)) macro
|
/prebuilts/clang/host/darwin-x86/clang-2629532/lib64/clang/3.8/include/ |
tgmath.h | 1140 // round 1148 __tg_round(double __x) {return round(__x);} 1154 #undef round macro 1155 #define round(__x) __tg_round(__tg_promote1((__x))(__x)) macro
|
/prebuilts/clang/host/darwin-x86/clang-2658975/lib64/clang/3.8/include/ |
tgmath.h | 1140 // round 1148 __tg_round(double __x) {return round(__x);} 1154 #undef round macro 1155 #define round(__x) __tg_round(__tg_promote1((__x))(__x)) macro
|
/prebuilts/clang/host/darwin-x86/clang-2690385/lib64/clang/3.8/include/ |
tgmath.h | 1140 // round 1148 __tg_round(double __x) {return round(__x);} 1154 #undef round macro 1155 #define round(__x) __tg_round(__tg_promote1((__x))(__x)) macro
|
/prebuilts/clang/host/linux-x86/3.8/lib/clang/3.8/include/ |
tgmath.h | 1140 // round 1148 __tg_round(double __x) {return round(__x);} 1154 #undef round macro 1155 #define round(__x) __tg_round(__tg_promote1((__x))(__x)) macro
|
/prebuilts/clang/host/linux-x86/clang-2629532/lib64/clang/3.8/include/ |
tgmath.h | 1140 // round 1148 __tg_round(double __x) {return round(__x);} 1154 #undef round macro 1155 #define round(__x) __tg_round(__tg_promote1((__x))(__x)) macro
|
/prebuilts/clang/host/linux-x86/clang-2658975/lib64/clang/3.8/include/ |
tgmath.h | 1140 // round 1148 __tg_round(double __x) {return round(__x);} 1154 #undef round macro 1155 #define round(__x) __tg_round(__tg_promote1((__x))(__x)) macro
|
/prebuilts/clang/host/linux-x86/clang-2690385/lib64/clang/3.8/include/ |
tgmath.h | 1140 // round 1148 __tg_round(double __x) {return round(__x);} 1154 #undef round macro 1155 #define round(__x) __tg_round(__tg_promote1((__x))(__x)) macro
|
/prebuilts/clang/linux-x86/host/3.6/lib/clang/3.6/include/ |
tgmath.h | 1140 // round 1148 __tg_round(double __x) {return round(__x);} 1154 #undef round macro 1155 #define round(__x) __tg_round(__tg_promote1((__x))(__x)) macro
|
/prebuilts/misc/darwin-x86/analyzer/lib/clang/3.3/include/ |
tgmath.h | 1140 // round 1148 __tg_round(double __x) {return round(__x);} 1154 #undef round macro 1155 #define round(__x) __tg_round(__tg_promote1((__x))(__x)) macro
|
/prebuilts/misc/linux-x86/analyzer/lib/clang/3.3/include/ |
tgmath.h | 1140 // round 1148 __tg_round(double __x) {return round(__x);} 1154 #undef round macro 1155 #define round(__x) __tg_round(__tg_promote1((__x))(__x)) macro
|
/prebuilts/sdk/renderscript/clang-include/ |
tgmath.h | 1140 // round 1148 __tg_round(double __x) {return round(__x);} 1154 #undef round macro 1155 #define round(__x) __tg_round(__tg_promote1((__x))(__x)) macro
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PaintTest.java | 244 p.setStrokeCap(Cap.ROUND); 245 assertEquals(Cap.ROUND, p.getStrokeCap()); 367 p.setStrokeJoin(Join.ROUND); 368 assertEquals(Join.ROUND, p.getStrokeJoin()); 964 assertEquals(Math.round(p.ascent()), fmi.ascent); 965 assertEquals(Math.round(p.descent()), fmi.descent); 969 assertEquals(Math.round(p.ascent()), fmi.ascent); 970 assertEquals(Math.round(p.descent()), fmi.descent); 983 assertEquals(Math.round(p.ascent()), fmi.ascent); 984 assertEquals(Math.round(p.descent()), fmi.descent) [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
NinePatchDrawableTest.java | 434 assertEquals(Math.round(origWidth * scale), scaledDrawable.getIntrinsicWidth()); 435 assertEquals(Math.round(origHeight * scale), scaledDrawable.getIntrinsicHeight()); 527 assertEquals(Math.round(origWidth * scale), scaledDrawable.getIntrinsicWidth()); 528 assertEquals(Math.round(origHeight * scale), scaledDrawable.getIntrinsicHeight());
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
FastMath.java | 3766 public static long round(double x) { method in class:FastMath 3774 public static int round(final float x) { method in class:FastMath [all...] |
/external/eigen/unsupported/test/mpreal/ |
mpreal.h | 509 friend const mpreal round(const mpreal& v);
2491 inline const mpreal round(const mpreal& v) function in namespace:mpfr [all...] |
/external/freetype/src/autofit/ |
aflatin.c | 255 /* round segments the overshoot positions. */ 350 FT_Bool round = 0; local 426 /* now check whether the point belongs to a straight or round */ 693 /* now set the `round' flag depending on the segment's kind: */ 699 /* an `off' point, the segment is round, otherwise it is */ 706 round = 0; 708 round = FT_BOOL( 714 if ( round && AF_LATIN_IS_NEUTRAL_BLUE( bs ) ) 717 FT_TRACE5(( " (round, skipped)\n" )); 721 FT_TRACE5(( " (%s)\n", round ? "round" : "flat" )) [all...] |
aflatin2.c | 224 FT_Bool round; local 291 /* now check whether the point belongs to a straight or round */ 336 /* now, set the `round' flag depending on the segment's kind */ 337 round = FT_BOOL( 341 FT_TRACE5(( " (%s)\n", round ? "round" : "flat" )); 344 if ( round ) 579 /* we round up much more often */ 833 /* a segment is round if it doesn't have successive */ [all...] |
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/autofit/ |
aflatin.c | 44 /* needed for computation of round vs. flat segments */ 259 /* round segments the overshoot positions. */ 360 FT_Bool round = 0; local 446 /* now check whether the point belongs to a straight or round */ 713 /* now set the `round' flag depending on the segment's kind: */ 719 /* an `off' point, the segment is round, otherwise it is */ 726 round = 0; 728 round = FT_BOOL( 734 if ( round && AF_LATIN_IS_NEUTRAL_BLUE( bs ) ) 737 FT_TRACE5(( " (round, skipped)\n" )) [all...] |