/packages/apps/Contacts/src/com/android/contacts/detail/ |
ContactDetailFragmentCarousel.java | 266 final int x = Math.round((1.0f - FRAGMENT_WIDTH_SCREEN_WIDTH_FRACTION) * getWidth());
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
SlotView.java | 577 int absoluteX = Math.round(x) + (WIDE ? mScrollPosition : 0); 578 int absoluteY = Math.round(y) + (WIDE ? 0 : mScrollPosition); 675 Math.round(distance), 0, mLayout.getScrollLimit()); 783 mCurrent = Math.round(mFrom + progress * (mTarget - mFrom));
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
FolderIcon.java | 390 center[0] = (int) Math.round(scaleRelativeToDragLayer * center[0]); 391 center[1] = (int) Math.round(scaleRelativeToDragLayer * center[1]); 481 center[0] = (int) Math.round(offsetX); 482 center[1] = (int) Math.round(offsetY);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
PlayheadView.java | 170 startMs = Math.round(startMs);
|
/external/chromium/chrome/browser/resources/ |
keyboard_overlay.js | 361 var x = Math.round((array[1] + offsetX) * multiplier); 362 var y = Math.round((array[2] + offsetY) * multiplier); 363 var w = Math.round((array[3] - keyMargin) * multiplier); 364 var h = Math.round((array[4] - keyMargin) * multiplier);
|
/external/llvm/test/MC/Mips/ |
mips-fpu-instructions.s | 21 # CHECK: round.w.d $f12, $f14 # encoding: [0x0c,0x73,0x20,0x46] 22 # CHECK: round.w.s $f6, $f7 # encoding: [0x8c,0x39,0x00,0x46] 42 round.w.d $f12,$f14 43 round.w.s $f6,$f7
|
/external/replicaisland/tools/ |
ExtractPoints.js | 239 var normalX = Math.round(tile.centerX + 241 var normalY = Math.round(tile.centerY +
|
/external/v8/test/mjsunit/ |
string-case.js | 56 var c = Math.round(0x7f * Math.random());
|
/external/webkit/Source/WebKit/win/ |
MarshallingHelpers.cpp | 146 return round((date + windowsEpochAbsoluteTime()) * secondsPerDay); 151 return (round(absoluteTime)/secondsPerDay - windowsEpochAbsoluteTime());
|
/frameworks/base/core/java/android/view/ |
WindowOrientationListener.java | 448 final int tiltAngle = (int) Math.round( 474 int orientationAngle = (int) Math.round( [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
Thumbnail.java | 292 int w = Math.round(scale * width); 293 int h = Math.round(scale * height);
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/include/ |
tgmath.h | 157 #define round(x) __TGMATH_REAL(x, round) macro
|
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/include/ |
tgmath.h | 157 #define round(x) __TGMATH_REAL(x, round) macro
|
/external/libvpx/vp8/common/arm/neon/ |
bilinearpredict8x8_neon.asm | 62 vqrshrn.u16 d22, q6, #7 ;shift/round/saturate to u8 91 vqrshrn.u16 d26, q6, #7 ;shift/round/saturate to u8 129 vqrshrn.u16 d2, q1, #7 ;shift/round/saturate to u8
|
bilinearpredict16x16_neon.asm | 93 vqrshrn.u16 d14, q7, #7 ;shift/round/saturate to u8 155 vqrshrn.u16 d10, q9, #7 ;shift/round/saturate to u8 209 vqrshrn.u16 d2, q1, #7 ;shift/round/saturate to u8 278 vqrshrn.u16 d14, q7, #7 ;shift/round/saturate to u8 331 vqrshrn.u16 d2, q1, #7 ;shift/round/saturate to u8
|
sixtappredict4x4_neon.asm | 134 vqrshrun.s16 d27, q7, #7 ;shift/round/saturate to u8 213 vqrshrun.s16 d29, q7, #7 ;shift/round/saturate to u8 257 vqrshrun.s16 d3, q5, #7 ;shift/round/saturate to u8 344 vqrshrun.s16 d27, q7, #7 ;shift/round/saturate to u8 409 vqrshrun.s16 d3, q5, #7 ;shift/round/saturate to u8
|
/external/libvpx/vp8/encoder/arm/neon/ |
vp8_subpixelvariance8x8_neon.asm | 65 vqrshrn.u16 d22, q6, #7 ;shift/round/saturate to u8 94 vqrshrn.u16 d26, q6, #7 ;shift/round/saturate to u8 131 vqrshrn.u16 d22, q1, #7 ;shift/round/saturate to u8
|
vp8_subpixelvariance16x16_neon.asm | 96 vqrshrn.u16 d14, q7, #7 ;shift/round/saturate to u8 158 vqrshrn.u16 d10, q9, #7 ;shift/round/saturate to u8 215 vqrshrn.u16 d2, q1, #7 ;shift/round/saturate to u8 284 vqrshrn.u16 d14, q7, #7 ;shift/round/saturate to u8 340 vqrshrn.u16 d2, q1, #7 ;shift/round/saturate to u8
|
/external/libvpx/vp8/encoder/x86/ |
quantize_sse2.asm | 108 ; x + round 267 movdqa xmm2, XMMWORD PTR[rdi] ;round lo 268 movdqa xmm3, XMMWORD PTR[rdi + 16] ;round hi
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
Key.java | 239 mX = Math.round(keyXPos + horizontalGap / 2); 241 mWidth = Math.round(keyWidth - horizontalGap); 242 mHitBox.set(Math.round(keyXPos), keyYPos, Math.round(keyXPos + keyWidth) + 1, 250 final int visualInsetsLeft = Math.round(ResourceUtils.getDimensionOrFraction(keyAttr, 252 final int visualInsetsRight = Math.round(ResourceUtils.getDimensionOrFraction(keyAttr, [all...] |
/libcore/luni/src/main/java/java/math/ |
BigDecimal.java | 59 * Rounding mode to round towards positive infinity. For positive values 68 * Rounding mode to round towards negative infinity. For positive values 835 return add(augend).round(mc); 845 return add(augend).round(mc); 849 return add(augend).round(mc); 1888 public BigDecimal round(MathContext mc) { method in class:BigDecimal [all...] |
/external/iproute2/ip/ |
ipaddress.c | 814 int round = 0; local 821 while (round < MAX_ROUNDS) { 853 if (round == 0) 856 printf("*** Flush is complete after %d round%s ***\n", round, round>1?"s":""); 861 round++; 866 printf("\n*** Round %d, deleting %d addresses ***\n", round, filter.flushed);
|
/external/webkit/Source/WebCore/html/ |
HTMLInputElement.cpp | 318 parsed = max(round(parsed), 1.0); 322 result = max(round(result), 1.0); 360 newValue = round(newValue * scale) / scale; 363 newValue = round((base + round((newValue - base) / step) * step) * scale) / scale; [all...] |
/external/libvpx/vp8/ |
vp8_cx_iface.c | 767 vpx_codec_pts_t round, delta; local 772 round = 1000000 * ctx->cfg.g_timebase.num / 2 - 1; 778 (dst_time_stamp * ctx->cfg.g_timebase.den + round) 781 (delta * ctx->cfg.g_timebase.den + round) 797 * ctx->cfg.g_timebase.den + round) [all...] |
/packages/apps/Camera/src/com/android/camera/ |
Util.java | 150 return Math.round(sPixelDensity * dp); 214 * request is 3. So we round up the sample size to avoid OOM. 635 rect.left = Math.round(rectF.left); 636 rect.top = Math.round(rectF.top); 637 rect.right = Math.round(rectF.right); 638 rect.bottom = Math.round(rectF.bottom);
|