/frameworks/base/media/java/android/media/ |
ThumbnailUtils.java | 174 int w = Math.round(scale * width); 175 int h = Math.round(scale * height); 243 * request is 3. So we round up the sample size to avoid OOM.
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
EventSenderImpl.java | 76 return new Point(Math.round(x * mWebView.getScale()) - mWebView.getScrollX(), 77 Math.round(y * mWebView.getScale()) - mWebView.getScrollY());
|
/libcore/luni/src/main/java/java/lang/ |
Math.java | 368 * 754 rules. The result is {@code x-round(x/p)*p} where {@code round(x/p)} 723 * <li>{@code round(+0.0) = +0.0}</li> 724 * <li>{@code round(-0.0) = +0.0}</li> 725 * <li>{@code round((anything > Long.MAX_VALUE) = Long.MAX_VALUE}</li> 726 * <li>{@code round((anything < Long.MIN_VALUE) = Long.MIN_VALUE}</li> 727 * <li>{@code round(+infinity) = Long.MAX_VALUE}</li> 728 * <li>{@code round(-infinity) = Long.MIN_VALUE}</li> 729 * <li>{@code round(NaN) = +0.0}</li> 736 public static long round(double d) method in class:Math 763 public static int round(float f) { method in class:Math [all...] |
/packages/apps/Camera/src/com/android/camera/ |
FocusManager.java | 254 int x = Math.round(e.getX()); 255 int y = Math.round(e.getY());
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
GalleryUtils.java | 86 return Math.round(dpToPixel((float) dp)); 91 return Math.round(dpToPixel(meter * 39.37f * 160));
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
AppWidgetResizeFrame.java | 227 hSpanInc = Math.round(hSpanIncF); 230 vSpanInc = Math.round(vSpanIncF);
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
mathcalls.h | 304 /* Round X to integral value in floating-point format using current 308 /* Round X to nearest integral value, rounding halfway cases away from 310 __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); 312 /* Round X to the integral value in floating-point format nearest but 324 /* Round X to nearest integral value according to current rounding 329 /* Round X to nearest integral value, rounding halfway cases away from
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
tgmath.h | 347 /* Round X to integral valuein floating-point format using current 351 /* Round X to nearest integral value, rounding halfway cases away from 353 #define round(Val) __TGMATH_UNARY_REAL_ONLY (Val, round) macro 355 /* Round X to the integral value in floating-point format nearest but 365 /* Round X to nearest integral value according to current rounding 370 /* Round X to nearest integral value, rounding halfway cases away from
|
/bionic/libm/include/ |
math.h | 281 double round(double);
|
/development/ndk/platforms/android-3/include/ |
math.h | 280 double round(double);
|
/development/ndk/platforms/android-9/include/ |
math.h | 280 double round(double);
|
/external/chromium/chrome/browser/resources/ |
network_menu.js | 21 ctx.lineCap = 'round'; 22 ctx.lineJoin = 'round';
|
/external/libvpx/vp8/common/x86/ |
subpixel_sse2.asm | [all...] |
/external/qemu/target-arm/ |
iwmmxt_helper.c | 318 ((a >> SHR) & 0xff) + ((b >> SHR) & 0xff) + round) >> 1) << SHR) 322 const int round = r; \ 342 ((a >> SHR) & 0xffff) + ((b >> SHR) & 0xffff) + round) >> 1) << SHR) 346 const int round = r; \
|
/external/skia/samplecode/ |
SamplePath.cpp | 61 r.round(&ir);
|
/external/webkit/Source/WebCore/platform/graphics/ |
ContextShadow.cpp | 54 , m_blurDistance(round(radius))
|
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
GraphicsContextCairo.cpp | 765 x = round(x); 766 y = round(y); 781 width = round(width); 787 height = round(height); [all...] |
/frameworks/base/core/tests/coretests/src/android/text/ |
StaticLayoutDirectionsTest.java | 129 b.setWidth(Math.round(width));
|
/frameworks/base/opengl/tests/hwc/ |
hwcTestLib.cpp | 577 pixel = htonl((uint32_t) round((((1 << attrib->c1Size) - 1) * color.c1())) 580 pixel |= htonl((uint32_t) round((((1 << attrib->c2Size) - 1) * color.c2())) 583 pixel |= htonl((uint32_t) round((((1 << attrib->c3Size) - 1) * color.c3())) 587 pixel |= htonl((uint32_t) round((((1 << attrib->aSize) - 1) * alpha)) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmKlaxon.java | 143 int minutes = (int) Math.round(millis / 60000.0);
|
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
SmilRegionElementImpl.java | 264 return (int) Math.round(value);
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/tr1/ |
math.h | 81 using std::tr1::round;
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/ |
math.h | 280 double round(double);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/ |
math.h | 280 double round(double);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/ |
math.h | 280 double round(double);
|