/packages/apps/Launcher2/src/com/android/launcher2/ |
DragLayer.java | 218 coord[0] = (int) Math.round(pt[0]); 219 coord[1] = (int) Math.round(pt[1]); 374 toY += Math.round(scale * tv.getPaddingTop()); 375 toY -= (dragView.getHeight() - (int) Math.round(scale * d.getIntrinsicHeight())) / 2; 377 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2; 382 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2; 384 toY -= (Math.round(scale * (dragView.getHeight() - child.getMeasuredHeight()))) / 2; 385 toX -= (Math.round(scale * (dragView.getMeasuredWidth() 490 mDropViewPos[0] = from.left + (int) Math.round(((to.left - from.left) * motionPercent)); 491 mDropViewPos[1] = from.top + (int) Math.round(((to.top - from.top) * motionPercent)) [all...] |
/frameworks/base/graphics/java/android/graphics/ |
RectF.java | 417 public void round(Rect dst) { method in class:RectF 418 dst.set(FastMath.round(left), FastMath.round(top), 419 FastMath.round(right), FastMath.round(bottom));
|
/external/dropbear/libtomcrypt/src/ciphers/safer/ |
safer.c | 258 unsigned int round; local 268 if (SAFER_MAX_NOF_ROUNDS < (round = *key)) round = SAFER_MAX_NOF_ROUNDS; 269 while(round-- > 0) 312 unsigned int round; local 322 if (SAFER_MAX_NOF_ROUNDS < (round = *key)) round = SAFER_MAX_NOF_ROUNDS; 323 key += SAFER_BLOCK_LEN * (1 + 2 * round); 326 while (round--)
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
TextReport.java | 77 + Math.round(apiPackage.getCoveragePercentage()) + "% (" 83 + Math.round(apiClass.getCoveragePercentage()) + "% ("
|
/external/webkit/Source/WebCore/html/ |
BaseDateAndTimeInputType.cpp | 118 ASSERT(round(doubleValue) == doubleValue); 119 ASSERT(round(step) == step);
|
DateComponents.cpp | 533 if (!setMillisecondsSinceEpochForDateInternal(round(ms))) 546 ms = round(ms); 570 if (!setMillisecondsSinceEpochForDateInternal(round(ms))) 583 setMillisecondsSinceMidnightInternal(positiveFmod(round(ms), msPerDay)); 592 months = round(months); 622 ms = round(ms);
|
/external/webkit/Source/WebCore/inspector/front-end/ |
HAREntry.js | 180 return typeof startTime !== "number" || startTime === -1 ? -1 : Math.round(timing[end] - startTime); 186 return time === -1 ? -1 : Math.round(time * 1000);
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
Deemph_32_opt.s | 55 MOV r14, r10, ASR #16 @y[0] = round(L_tmp) 66 MOV r14, r10, ASR #16 @y[1] = round(L_tmp)
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/ |
Deemph_32_neon.s | 55 MOV r14, r10, ASR #16 @y[0] = round(L_tmp) 66 MOV r14, r10, ASR #16 @y[1] = round(L_tmp)
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
WidgetConfigure.java | 128 int widgetWidth = Math.round(width * scale); 129 int widgetHeight = Math.round(height * scale);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
HandleView.java | 148 final int deltaX = Math.round((ev.getX() - mStartMoveX)); 190 final int deltaX = Math.round((eventX - mStartMoveX));
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/ |
ResolutionChooserDialog.java | 68 return (int)Math.round(d); 92 if (Math.round(size) == size) {
|
/external/libvpx/vp8/encoder/x86/ |
quantize_ssse3.asm | 36 movdqa xmm2, [rdi] ;round lo 37 movdqa xmm3, [rdi + 16] ;round hi
|
/libcore/luni/src/main/java/java/lang/ |
StrictMath.java | 373 * 754 rules. The result is {@code x-round(x/p)*p} where {@code round(x/p)} 724 * <li>{@code round(+0.0) = +0.0}</li> 725 * <li>{@code round(-0.0) = +0.0}</li> 726 * <li>{@code round((anything > Long.MAX_VALUE) = Long.MAX_VALUE}</li> 727 * <li>{@code round((anything < Long.MIN_VALUE) = Long.MIN_VALUE}</li> 728 * <li>{@code round(+infinity) = Long.MAX_VALUE}</li> 729 * <li>{@code round(-infinity) = Long.MIN_VALUE}</li> 730 * <li>{@code round(NaN) = +0.0}</li> 737 public static long round(double d) method in class:StrictMath 760 public static int round(float f) { method in class:StrictMath [all...] |
HexStringParser.java | 217 round(); method 226 round(); method 256 private void round() { method in class:HexStringParser
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
BitmapUtils.java | 56 * request is 3. So we round up the sample size to avoid OOM. 127 int width = Math.round(bitmap.getWidth() * scale); 128 int height = Math.round(bitmap.getHeight() * scale); 196 int width = Math.round(scale * bitmap.getWidth()); 197 int height = Math.round(scale * bitmap.getHeight());
|
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/ |
RotateAction.java | 100 // Round the current rotation degrees in case rotation tracking has not stopped yet. 110 rotateDegrees = Math.round(rotateDegrees / 90) * 90;
|
/external/skia/src/animator/ |
SkDisplayMath.cpp | 68 SK_FUNCTION(round), 105 (SkFunctionParamType) SkType_Float, // round 140 SK_MEMBER_FUNCTION(round, Float), 214 case SK_FUNCTION(round):
|
/external/webkit/Source/JavaScriptCore/wtf/ |
MathExtras.h | 112 static double round(double num) function 126 inline long long llround(double num) { return static_cast<long long>(round(num)); } 128 inline long lround(double num) { return static_cast<long>(round(num)); }
|
/packages/apps/Email/src/com/android/email/activity/ |
MessageListItemCoordinates.java | 267 coordinates.sendersAscent = Math.round(senders.getPaint().ascent()); 275 coordinates.subjectAscent = Math.round(subject.getPaint().ascent()); 287 coordinates.dateAscent = Math.round(date.getPaint().ascent());
|
/packages/apps/Gallery/src/com/android/camera/ |
HighlightView.java | 113 int d = (int) Math.round(Math.cos(/*45deg*/Math.PI / 4D) 359 return new Rect(Math.round(r.left), Math.round(r.top), 360 Math.round(r.right), Math.round(r.bottom));
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/ |
DESEngine.java | 437 for (int round = 0; round < 8; round++) 442 work ^= wKey[round * 4 + 0]; 447 work = right ^ wKey[round * 4 + 1]; 454 work ^= wKey[round * 4 + 2]; 459 work = left ^ wKey[round * 4 + 3];
|
/external/openssl/crypto/sha/asm/ |
sha512-x86_64.pl | 83 $round="%rdi"; # zaps $ctx 125 add ($Tbl,$round,$SZ),$T1 # T1+=K[round] 139 lea 1($round),$round # round++ 218 xor $round,$round 237 cmp \$$rounds,$round
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
PhotoView.java | 321 int left = Math.round(bounds.left); 322 int right = Math.round(bounds.right); 369 int x = Math.round(mPositionController.getImageBounds().centerX()); 453 int left = Math.round(bounds.left); 454 int right = Math.round(bounds.right); 726 mDrawWidth = Math.round(width * s); 727 mDrawHeight = Math.round(height * s);
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/ |
fastquant.cpp | 159 Int round = 1 << 15; local 224 coeff = aan_scale(q_value, coeff, round, QPdiv2); 278 Int round = 1 << 15; local 326 q_value = round + (coeff << 12); 383 q_value = smlabb(q_value, coeff, round); 553 Int round = 1 << 15; local 583 q_value = smlabb(q_value, coeff, round); 682 Int round = 1 << 15; local 708 q_value = round + (coeff << 12); 754 /* q_value = coeff*q_value + round */ [all...] |