/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncSubstring.java | 70 start = Math.round(start); 77 int end = (int) (Math.round(len) + start) - 1;
|
/packages/apps/Camera/src/com/android/camera/ |
Thumbnail.java | 62 int w = Math.round(scale * width); 63 int h = Math.round(scale * height);
|
/packages/apps/Gallery2/src/com/android/camera/ |
Thumbnail.java | 62 int w = Math.round(scale * width); 63 int h = Math.round(scale * height);
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
XmlReport.java | 70 + Math.round(pkg.getCoveragePercentage()) 83 + Math.round(apiClass.getCoveragePercentage()) 131 + Math.round((float)totalCoveredMethods / totalMethods * 100.0f) + "\" />");
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/grid/ |
AssetTileLoader.java | 42 String modelName = assetPath + "/" + name + "_" + Math.round(location.x) + "_" + Math.round(location.y) + "_" + Math.round(location.z) + ".j3o";
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
fastquant_inline.h | 30 __inline int32 aan_scale(int32 q_value, int32 coeff, int32 round, int32 QPdiv2) 32 q_value = coeff * q_value + round; 83 __inline int32 smlabb(int32 q_value, int32 coeff, int32 round) 85 q_value = coeff * q_value + round; 174 int32 round, int32 QPdiv2) 178 smlabb q_value, coeff, q_value, round 221 __inline int32 smlabb(int32 q_value, int32 coeff, int32 round) 225 smlabb q_value, coeff, q_value, round 269 int32 round, int32 QPdiv2) 273 mla q_value, coeff, q_value, round [all...] |
dct_inline.h | 38 __inline int32 mla392(int32 k0, int32 k14, int32 round) 44 k1 = k0 * 392 + round; 123 __inline int32 mla392(int32 k0, int32 k14, int32 round) 129 smlabt k1, k0, k14, round 187 __inline int32 mla392(int32 k0, int32 k14, int32 round) 194 mla k1, k0, k1, round 285 __inline int32 mla392(int32 k0, int32 k14, int32 round) 290 register int32 cc = (int32)round;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
GeometryMath.java | 138 Rect q = new Rect(Math.round(r.left), Math.round(r.top), Math.round(r.right), 139 Math.round(r.bottom));
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/glrenderer/ |
GLMock.java | 187 return (Math.round(alpha * 255) << 24) | 188 (Math.round(red * 255) << 16) | 189 (Math.round(green * 255) << 8) | 190 Math.round(blue * 255);
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
FaceView.java | 138 mFaceIndicator.setBounds(Math.round(mRect.left), Math.round(mRect.top), 139 Math.round(mRect.right), Math.round(mRect.bottom));
|
/external/icu4c/test/intltest/ |
dcfmtest.cpp | 377 const UnicodeString &round, // rounding mode 394 if (round=="ceiling") { 396 } else if (round=="floor") { 398 } else if (round=="down") { 400 } else if (round=="up") { 402 } else if (round=="halfeven") { 404 } else if (round=="halfdown") { 406 } else if (round=="halfup") { 408 } else if (round=="default") { 410 } else if (round=="unnecessary") [all...] |
/external/clang/test/CodeGen/ |
libcall-declarations.c | 62 double round(double); 85 rint, rintl, rintf, round, roundl, roundf, sin, sinl, sinf, sqrt, sqrtl, 146 // CHECK-NOERRNO: declare double @round(double) [[NUW]] 186 // CHECK-ERRNO: declare double @round(double) [[NUW]]
|
/hardware/invensense/libsensors_iio/software/core/driver/include/ |
mlmath.h | 22 #define round(x)(((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro 58 #define round(x) (((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro
|
/hardware/invensense/mlsdk/platform/include/ |
mlmath.h | 34 #define round(x)(((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro 70 #define round(x) (((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro
|
/external/bluetooth/bluedroid/stack/smp/ |
smp_cmac.c | 39 UINT16 round; member in struct:__anon3521 144 while (i <= cmac_cb.round) 146 smp_xor_128(&cmac_cb.text[(cmac_cb.round - i)*BT_OCTET16_LEN], x); /* Mi' := Mi (+) X */ 148 if (!SMP_Encrypt(key, BT_OCTET16_LEN, &cmac_cb.text[(cmac_cb.round - i)*BT_OCTET16_LEN], BT_OCTET16_LEN, &output)) 194 SMP_TRACE_WARNING2("flag = %d round = %d", flag, cmac_cb.round); 310 cmac_cb.round = n;
|
/external/icu4c/i18n/ |
decContext.c | 68 context->round=DEC_ROUND_HALF_UP; /* 0.5 rises */ 83 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */ 94 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */ 105 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */ 129 return context->round; 188 context->round=newround;
|
/external/v8/tools/ |
generate-ten-powers.scm | 56 (define (round-n-cut n e nb-bits) 58 (define (round n) 59 (case *round* 63 ;; with the -1 it will only round up if the cut off part is 68 ((round) 73 (cut (bit-rshbx (round n) shift)) 77 (round-n-cut n (+fx e 1) nb-bits)))) 80 (case *round* 83 ((round) (let ((tmp (/bx (*bx #z2 x) y))) 126 (round-n-cut n e nb-bits [all...] |
/external/srec/audio/AudioIn/UNIX/src/ |
filter.c | 45 /* bRounded = round(b*2^15); */ 106 pFIR->round = (1 << (scale-1)); 283 accum += pFIR->round; 285 accum -= pFIR->round;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
GestureFloatingPreviewText.java | 137 final float round = mParams.mGesturePreviewRoundRadius; local 139 mGesturePreviewRectangle, round, round, mParams.getBackgroundPaint());
|
/external/valgrind/main/none/tests/mips32/ |
round.stdout.exp | 98 round.w.s 0 0.000000 99 round.w.s 456 456.248962 100 round.w.s 3 3.000000 101 round.w.s -1 -1.000000 102 round.w.s 1385 1384.599976 103 round.w.s -7 -7.294568 104 round.w.s 1000000000 1000000000.000000 105 round.w.s -5786 -5786.470215 106 round.w.s 1752 1752.000000 107 round.w.s 0 0.00245 [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
Color.js | 223 h = Math.round(h); 224 s = Math.round(s*100); 225 l = Math.round(l*100); 247 var r = Math.round(hueToRGB(p, q, tr) * 255); 248 var g = Math.round(hueToRGB(p, q, tg) * 255); 249 var b = Math.round(hueToRGB(p, q, tb) * 255);
|
SummaryBar.js | 151 var percents = segments.map(function(s) { return Math.max(Math.round(100 * s.value / total), 1) }); 249 var segmentWidth = Math.round(w * percents[i] / 100); 259 ctx.moveTo(x + (i * Math.round(w / 20)) + 0.5, y); 260 ctx.lineTo(x + (i * Math.round(w / 20)) + 0.5, y + h); 267 ctx.moveTo(x + (i * Math.round(w / 20)) + 1.5, y); 268 ctx.lineTo(x + (i * Math.round(w / 20)) + 1.5, y + h);
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
transform.c | 130 factQ19 = 16921; // 0.5/sqrt(240) in Q19 is round(.5/sqrt(240)*(2^19)) = 16921 158 WebRtc_Word32 round = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)1, -sh-1); local 160 inre1Q9[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(tmpreQ16[k]+round, -sh); //Q(16+sh) 161 inre2Q9[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(tmpimQ16[k]+round, -sh); //Q(16+sh) 253 WebRtc_Word32 round = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)1, -sh-1); local 255 inreQ7[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(outre1Q16[k]+round, -sh); //Q(16+sh) 256 inimQ7[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(outre2Q16[k]+round, -sh); //Q(16+sh) 285 factQ11 = 31727; // sqrt(240) in Q11 is round(15.49193338482967*2048) = 31727
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
Scroller.java | 266 mCurrX = mStartX + Math.round(x * mDeltaX); 267 mCurrY = mStartY + Math.round(x * mDeltaY); 278 mCurrX = mStartX + Math.round(distanceCoef * (mFinalX - mStartX)); 283 mCurrY = mStartY + Math.round(distanceCoef * (mFinalY - mStartY)); 412 mFinalX = startX + Math.round(totalDistance * coeffX); 417 mFinalY = startY + Math.round(totalDistance * coeffY);
|
/external/compiler-rt/lib/ |
divdf3.c | 168 // code to round them correctly. 173 const bool round = (residual << 1) > bSignificand; local 178 // Round 179 absResult += round;
|