/external/arduino/hardware/arduino/cores/arduino/ |
wiring.h | 80 #define round(x) ((x)>=0?(long)((x)+0.5):(long)((x)-0.5)) macro
|
/external/chromium_org/skia/ext/ |
platform_device_mac.cc | 139 rect.round(&irect);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/ |
Decimal.h | 138 Decimal round() const;
|
/external/chromium_org/third_party/skia/src/core/ |
SkScan.cpp | 62 r.round(&ir);
|
/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/libvpx/libvpx/vp8/common/arm/neon/ |
bilinearpredict4x4_neon.asm | 65 vqrshrn.u16 d28, q7, #7 ;shift/round/saturate to u8 93 vqrshrn.u16 d2, q1, #7 ;shift/round/saturate to u8
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_quantize.c | 175 p->zbin, p->round, p->quant, p->quant_shift, 274 x->plane[0].round = cpi->y_round[qindex]; 286 x->plane[i].round = cpi->uv_round[qindex]; 295 x->plane[3].round = cpi->a_round[qindex];
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
MultiplyTimeScaleTrack.java | 31 import static java.lang.Math.round;
|
/external/skia/src/core/ |
SkScan.cpp | 62 r.round(&ir);
|
/external/skia/tools/ |
generate_fir_coeff.py | 72 coeffs_rounded.append(int(round(coverage * target_sum))) 111 print "Adding %d to index %d to force round %f." % (delta, coeff_pkg[i].index, coeffs[coeff_pkg[i].index])
|
/frameworks/base/core/java/android/view/ |
OrientationEventListener.java | 129 orientation = 90 - (int)Math.round(angle);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
FixedRotationFilter.java | 80 switch (((int)Math.round(mRotation / 90f)) % 4) {
|
/frameworks/rs/cpu_ref/ |
rsCpuRuntimeMathFuncs.cpp | 80 IMPORT_F32_FN_F32(round)
|
/libcore/luni/src/test/java/libcore/java/math/ |
BigDecimalTest.java | 64 BigDecimal rounded = bigDecimal.round(new MathContext(2, RoundingMode.FLOOR));
|
/packages/apps/Camera/tests/src/com/android/camera/unittest/ |
CameraUnitTest.java | 104 assertEquals("Array index " + i + " mismatch", expected[i], Math.round(actual[i]));
|
/packages/apps/Camera2/tests/src/com/android/camera/unittest/ |
CameraUnitTest.java | 104 assertEquals("Array index " + i + " mismatch", expected[i], Math.round(actual[i]));
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
DragLayer.java | 338 coord[0] = (int) Math.round(pt[0]); 339 coord[1] = (int) Math.round(pt[1]); 503 toY += Math.round(scale * tv.getPaddingTop()); 505 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2; 511 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2; 513 toY -= (Math.round(scale * (dragView.getHeight() - child.getMeasuredHeight()))) / 2; 514 toX -= (Math.round(scale * (dragView.getMeasuredWidth() 616 int x = (int) (fromLeft + Math.round(((to.left - fromLeft) * motionPercent))); 617 int y = (int) (fromTop + Math.round(((to.top - fromTop) * motionPercent)));
|
SmoothPagedView.java | 178 scrollTo(Math.round(mUnboundedScrollX + dx * e), getScrollY());
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
SmoothPagedView.java | 178 scrollTo(Math.round(mUnboundedScrollX + dx * e), getScrollY());
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/unittest/ |
CameraTest.java | 108 assertEquals("Array index " + i + " mismatch", expected[i], Math.round(actual[i]));
|
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
ImageUtils.java | 106 final Bitmap bitmap = Bitmap.createBitmap(Math.round(scaledWidth), 107 Math.round(scaledHeight), 112 new Rect(0, 0, Math.round(scaledWidth), Math.round(scaledHeight)),
|
/system/core/libpixelflinger/codeflinger/ |
texturing.cpp | 804 const int round = 0; local 837 if (round) 852 if (round) 866 if (round) 900 const int round = 0; local 998 const int round = 0; local [all...] |
/external/libvpx/libvpx/vp8/common/x86/ |
subpixel_mmx.asm | 88 paddsw mm3, [GLOBAL(rd)] ; mm3 += round value 184 paddsw mm3, mm5 ; mm3 += round value 276 paddw mm3, [GLOBAL(rd)] ; xmm3 += round value 317 paddw mm3, [GLOBAL(rd)] ; xmm3 += round value 334 paddw mm3, [GLOBAL(rd)] ; xmm3 += round value 431 paddw mm3, [GLOBAL(rd)] ; xmm3 += round value 472 paddw mm3, [GLOBAL(rd)] ; xmm3 += round value 489 paddw mm3, [GLOBAL(rd)] ; xmm3 += round value 575 paddw mm3, [GLOBAL(rd)] ; xmm3 += round value 599 paddw mm3, [GLOBAL(rd)] ; xmm3 += round valu [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PaintTest.java | 214 p.setStrokeCap(Cap.ROUND); 215 assertEquals(Cap.ROUND, p.getStrokeCap()); 308 p.setStrokeJoin(Join.ROUND); 309 assertEquals(Join.ROUND, p.getStrokeJoin()); 813 assertEquals(Math.round(p.ascent()), fmi.ascent); 814 assertEquals(Math.round(p.descent()), fmi.descent); 818 assertEquals(Math.round(p.ascent()), fmi.ascent); 819 assertEquals(Math.round(p.descent()), fmi.descent); 832 assertEquals(Math.round(p.ascent()), fmi.ascent); 833 assertEquals(Math.round(p.descent()), fmi.descent) [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
TouchTest.java | 111 int textWidth = Math.round(paint.measureText(text)); 114 textWidth = Math.round(paint.measureText(text));
|