/frameworks/base/core/java/android/webkit/ |
ZoomManager.java | 491 int tx = Math.round(scale * (mInitialScrollX + mZoomCenterX) - mZoomCenterX); 492 tx = -WebViewClassic.pinLoc(tx, mWebView.getViewWidth(), Math.round(mWebView.getContentWidth() 495 int ty = Math.round(scale 499 - titleHeight, mWebView.getViewHeight(), Math.round(mWebView.getContentHeight() 595 int scrollX = mWebView.pinLocX(Math.round(sx)); 596 int scrollY = mWebView.pinLocY(Math.round(sy)); [all...] |
/system/core/libpixelflinger/ |
pixelflinger.cpp | 230 // it is very important to round the iterated value here because 234 const int32_t round = 0x8000; local 235 c->shade.r0 = grad[ 0] + round; 238 c->shade.g0 = grad[ 3] + round; 241 c->shade.b0 = grad[ 6] + round; 244 c->shade.a0 = grad[ 9] + round; 254 const uint32_t round = 0x8000; local 255 c->shade.z0 = grad[0] + round;
|
/external/libvpx/vp8/encoder/x86/ |
x86_csystemdependent.c | 34 short *round_ptr = b->round; 92 short *round_ptr = b->round; 150 b->round,
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
ImageSkia.cpp | 179 // We will always draw in integer sizes, so round the destination rect. 181 destRect.round(&destRectRounded); 191 destRectTransformed.round(&destRectTransformedRounded); 209 destBitmapSubsetTransformed.round(&destBitmapSubsetTransformedRounded); 213 // causes the bounds to be outside of the resized bitmap. We round outward
|
/development/apps/NinePatchLab/src/com/android/ninepatch/ |
NinePatchLab.java | 132 final int gapSize = Math.round(mScale * 8);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
SensorTest.java | 89 diff[i] = Math.round(mScale[i] * (event.values[i] - mPrev[i]) * 0.45f);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
SimpleBigDecimal.java | 159 public BigInteger round() method in class:SimpleBigDecimal
|
Tnaf.java | 166 public static ZTauElement round(SimpleBigDecimal lambda0, method in class:Tnaf 181 BigInteger f0 = lambda0.round(); 182 BigInteger f1 = lambda1.round(); 299 // round up 629 ZTauElement q = round(lambda0, lambda1, mu);
|
/external/doclava/src/com/google/doclava/ |
TodoFile.java | 63 return "" + Math.round((((b - a) / (float) b)) * 100) + "%";
|
/external/guava/guava/src/com/google/common/hash/ |
BloomFilter.java | 196 return Math.max(1, (int) Math.round(m / n * LN2));
|
/external/icu4c/i18n/ |
decContext.h | 36 /* round -- must be one of the enumerated rounding modes */ 75 DEC_ROUND_CEILING, /* round towards +infinity */ 76 DEC_ROUND_UP, /* round away from 0 */ 80 DEC_ROUND_DOWN, /* round towards 0 (truncate) */ 81 DEC_ROUND_FLOOR, /* round towards -infinity */ 82 DEC_ROUND_05UP, /* round for reround */ 91 enum rounding round; /* rounding mode */ member in struct:__anon7421
|
/external/libvpx/vp8/common/arm/neon/ |
bilinearpredict8x4_neon.asm | 65 vqrshrn.u16 d22, q6, #7 ;shift/round/saturate to u8 97 vqrshrn.u16 d2, q1, #7 ;shift/round/saturate to u8
|
/external/qemu/ |
d3des.c | 325 register int round; local 347 for( round = 0; round < 8; round++ ) {
|
/external/skia/samplecode/ |
SampleCull.cpp | 167 fClip.round(&iclip);
|
SampleDitherBitmap.cpp | 50 path.getBounds().round(&bounds);
|
/external/skia/src/effects/ |
Sk2DPathEffect.cpp | 40 tmp.getBounds().round(&ir);
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
crypto-aes.js | 9 * applies Nr rounds (10/12/14) using key schedule w for 'add round key' stage 22 for (var round=1; round<Nr; round++) { 26 state = AddRoundKey(state, w, round, Nb); 75 function AddRoundKey(state, w, rnd, Nb) { // xor Round Key into state S [§5.1.4] 141 // Rcon is Round Constant used for the Key Expansion [1st col is 2^(r-1) in GF(2^8)] [§5.2] 185 // generate key schedule - an expansion of the key into distinct Key Rounds for each round
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
crypto-aes.js | 9 * applies Nr rounds (10/12/14) using key schedule w for 'add round key' stage 22 for (var round=1; round<Nr; round++) { 26 state = AddRoundKey(state, w, round, Nb); 75 function AddRoundKey(state, w, rnd, Nb) { // xor Round Key into state S [§5.1.4] 141 // Rcon is Round Constant used for the Key Expansion [1st col is 2^(r-1) in GF(2^8)] [§5.2] 185 // generate key schedule - an expansion of the key into distinct Key Rounds for each round
|
/external/webkit/Source/WebCore/html/ |
NumberInputType.cpp | 140 double remainder = fabs(doubleValue - step * round(doubleValue / step));
|
/external/webkit/Source/WebCore/inspector/front-end/ |
TimelineGrid.js | 61 var dividerCount = Math.round(this._dividersElement.offsetWidth / 64);
|
/external/webkit/Source/WebCore/platform/ |
Length.h | 139 return static_cast<int>(round(maxValue * percent() / 100.0f));
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
SimpleFontDataLinux.cpp | 237 return round(SkScalarToFloat(width));
|
/external/webkit/Tools/Scripts/webkitpy/tool/commands/data/rebaselineserver/ |
loupe.js | 124 sourceA = Math.round(sourceA * 10)/10;
|
/frameworks/base/core/java/android/widget/ |
RatingBar.java | 111 // than 1 so boundaries round up). 194 setProgress(Math.round(rating * getProgressPerStar()));
|
/frameworks/base/core/java/com/android/internal/widget/ |
DrawableHolder.java | 135 mDrawable.setAlpha((int) Math.round(mAlpha * 255f));
|