/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
SunCalculator.java | 83 int minute = (int) Math.round((time - hour) * 60); 92 int minute = (int) Math.round((time - hour) * 60); 101 int minute = (int) Math.round((time - hour) * 60); 112 int minute = (int) Math.round((time - hour) * 60);
|
/external/iproute2/ip/ |
ipneigh.c | 382 int round = 0; local 390 while (round < MAX_ROUNDS) { 402 if (round == 0) 405 printf("*** Flush is complete after %d round%s ***\n", round, round>1?"s":""); 410 round++; 414 printf("\n*** Round %d, deleting %d entries ***\n", round, filter.flushed);
|
/external/openssl/crypto/sha/asm/ |
sha512-x86_64.pl | 79 $round="%rdi"; # zaps $ctx 121 add ($Tbl,$round,$SZ),$T1 # T1+=K[round] 135 lea 1($round),$round # round++ 214 xor $round,$round 233 cmp \$$rounds,$round
|
/frameworks/base/tests/CoreTests/android/core/ |
MathPerformanceTest.java | 220 result = Math.round(sDouble1); 221 result = Math.round(sDouble1); 222 result = Math.round(sDouble1); 223 result = Math.round(sDouble1); 224 result = Math.round(sDouble1); 225 result = Math.round(sDouble1); 226 result = Math.round(sDouble1); 227 result = Math.round(sDouble1); 228 result = Math.round(sDouble1); 229 result = Math.round(sDouble1) [all...] |
/frameworks/base/graphics/java/android/graphics/ |
RectF.java | 386 public void round(Rect dst) { method in class:RectF 387 dst.set(FastMath.round(left), FastMath.round(top), 388 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--)
|
/dalvik/libcore/luni/src/main/java/java/lang/ |
Math.java | 379 * 754 rules. The result is {@code x-round(x/p)*p} where {@code round(x/p)} 738 * <li>{@code round(+0.0) = +0.0}</li> 739 * <li>{@code round(-0.0) = +0.0}</li> 740 * <li>{@code round((anything > Long.MAX_VALUE) = Long.MAX_VALUE}</li> 741 * <li>{@code round((anything < Long.MIN_VALUE) = Long.MIN_VALUE}</li> 742 * <li>{@code round(+infintiy) = Long.MAX_VALUE}</li> 743 * <li>{@code round(-infintiy) = Long.MIN_VALUE}</li> 744 * <li>{@code round(NaN) = +0.0}</li> 751 public static long round(double d) method in class:Math 778 public static int round(float f) { method in class:Math [all...] |
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/common/build/make/ |
local.mk | 65 round.cpp \
|
/external/webkit/WebCore/platform/ |
Length.h | 115 return static_cast<int>(round(maxValue * percent() / 100.0)); 131 return static_cast<int>(round(maxValue * percent() / 100.0));
|
/frameworks/base/awt/java/awt/image/renderable/ |
RenderableImageOp.java | 121 w = Math.round(h * (getWidth() / getHeight())); 125 h = Math.round(w * (getHeight() / getWidth()));
|
/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/skia/include/core/ |
SkSize.h | 86 SkISize round() const { function in struct:SkSize
|
/external/skia/src/effects/ |
Sk2DPathEffect.cpp | 51 tmp.getBounds().round(&ir);
|
/external/skia/tests/ |
TestSize.cpp | 56 REPORTER_ASSERT(reporter, a.round() == ia);
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
HexStringParser.java | 227 round(); method 236 round(); method 266 private void round() { method in class:HexStringParser
|
/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/JavaScriptCore/wtf/ |
MathExtras.h | 102 static double round(double num) function 116 inline long long llround(double num) { return static_cast<long long>(round(num)); } 118 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));
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
HighlightView.java | 106 int d = (int) Math.round(Math.cos(/* 45deg */Math.PI / 4D) * (mDrawRect.width() / 2D)); 321 return new Rect(Math.round(r.left), Math.round(r.top), Math.round(r.right), Math.round(r.bottom));
|
/dalvik/libcore/security/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];
|
/dalvik/libcore/math/src/test/java/org/apache/harmony/math/tests/java/math/ |
BigDecimalArithmeticTest.java | 242 a.round(mc).toString()); 244 b.round(mc).toString()); 246 a.round(mc).add(b.round(mc)).toString()); 442 a.round(mc).subtract(b.round(mc)).toString()); 637 res = a.round(mc).multiply(b.round(mc)); 639 res = res.round(mc); 774 a.round(mc).pow(1000).round(mc).toString()) [all...] |
/external/opencore/codecs_v2/video/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...] |
/external/webkit/WebCore/html/ |
DateComponents.cpp | 486 if (!setMillisecondsSinceEpochForDateInternal(round(ms))) 499 ms = round(ms); 523 if (!setMillisecondsSinceEpochForDateInternal(round(ms))) 537 setMillisecondsSinceMidnightInternal(positiveFmod(round(ms), msPerDay)); 546 months = round(months); 576 ms = round(ms);
|
/external/icu4c/i18n/ |
digitlst.cpp | 459 round(maximumDigits); 516 // If we round 0.0009 to 3 fractional digits, then we have to 523 // Handle an underflow to zero when we round something like 532 // Round up if appropriate. Do NOT round in the special 535 round(fixedPoint ? (maximumDigits + fDecimalAt) : maximumDigits); 547 * Round the representation to the given number of digits. 552 DigitList::round(int32_t maximumDigits) function in class:DigitList 555 // Round up if appropriate.
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
List8.java | 126 int whichPhoto = (int)Math.round(Math.random() * (mPhotoPool.length - 1));
|