/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
TextReport.java | 77 + Math.round(apiPackage.getCoveragePercentage()) + "% (" 83 + Math.round(apiClass.getCoveragePercentage()) + "% ("
|
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/ |
ImageResizer.java | 242 final int heightRatio = Math.round((float) height / (float) reqHeight); 243 final int widthRatio = Math.round((float) width / (float) reqWidth);
|
/external/regex-re2/util/ |
benchmark.cc | 83 static int round(int n) { function 113 n = round(n);
|
/external/v8/test/mjsunit/ |
math-round.js | 35 '"' + (test_id++) + '";return Math.round(input)'); 49 // Regression test for a bug where a negative zero coming from Math.round 52 var ret = Math.round(n); 54 ret += Math.round(n);
|
/external/webkit/Source/WebCore/html/ |
BaseDateAndTimeInputType.cpp | 118 ASSERT(round(doubleValue) == doubleValue); 119 ASSERT(round(step) == step);
|
/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/av/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/av/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/ui/ |
AbstractSlotRenderer.java | 74 int w = Math.round(scale * v.getWidth()); 75 int h = Math.round(scale * v.getHeight());
|
TiledScreenNail.java | 81 mWidth = Math.round(scale * width); 82 mHeight = Math.round(scale * height);
|
/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));
|
/external/jmonkeyengine/engine/src/core/com/jme3/cinematic/ |
TimeLine.java | 90 return Math.round(time * keyFramesPerSeconds);
|
/external/libvpx/libvpx/vp8/encoder/ |
block.h | 40 short *round; member in struct:block
|
/external/libvpx/libvpx/vp8/encoder/x86/ |
vp8_enc_stubs_mmx.c | 33 short *round_ptr = b->round;
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowRatingBar.java | 57 setProgress(Math.round(rating * getProgressPerStar()));
|
/frameworks/base/services/java/com/android/server/power/ |
RampAnimator.java | 124 mCurrentValue = Math.round(mAnimatedValue);
|
/libcore/luni/src/main/java/java/lang/ |
StrictMath.java | 347 * 754 rules. The result is {@code x-round(x/p)*p} where {@code round(x/p)} 650 * <li>{@code round(+0.0) = +0.0}</li> 651 * <li>{@code round(-0.0) = +0.0}</li> 652 * <li>{@code round((anything > Long.MAX_VALUE) = Long.MAX_VALUE}</li> 653 * <li>{@code round((anything < Long.MIN_VALUE) = Long.MIN_VALUE}</li> 654 * <li>{@code round(+infinity) = Long.MAX_VALUE}</li> 655 * <li>{@code round(-infinity) = Long.MIN_VALUE}</li> 656 * <li>{@code round(NaN) = +0.0}</li> 663 public static long round(double d) method in class:StrictMath 686 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
|
/libcore/luni/src/test/java/libcore/java/math/ |
BigDecimalTest.java | 64 BigDecimal rounded = bigDecimal.round(new MathContext(2, RoundingMode.FLOOR));
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
SharePopup.java | 191 params.width = Math.round(maxHeight * desiredAspect); 192 params.height = Math.round(maxHeight); 194 params.width = Math.round(maxWidth); 195 params.height = Math.round(maxWidth / desiredAspect);
|
/external/skia/legacy/src/animator/ |
SkDisplayMath.cpp | 60 SK_FUNCTION(round), 97 (SkFunctionParamType) SkType_Float, // round 132 SK_MEMBER_FUNCTION(round, Float), 206 case SK_FUNCTION(round):
|
/external/skia/src/animator/ |
SkDisplayMath.cpp | 60 SK_FUNCTION(round), 97 (SkFunctionParamType) SkType_Float, // round 132 SK_MEMBER_FUNCTION(round, Float), 206 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/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/bcprov/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];
|