/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/tests/src/com/android/gallery3d/ui/ |
GLMock.java | 185 return (Math.round(alpha * 255) << 24) | 186 (Math.round(red * 255) << 16) | 187 (Math.round(green * 255) << 8) | 188 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/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) nounwind readnone 186 // CHECK-ERRNO: declare double @round(double) nounwind readnone
|
/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
|
/sdk/chimpchat/src/com/android/chimpchat/adb/ |
LinearInterpolator.java | 123 callback.step(new Point(Math.round(newX), Math.round(newY)));
|
/external/bluetooth/bluedroid/stack/smp/ |
smp_cmac.c | 39 UINT16 round; member in struct:__anon3000 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 | 34 /* round-for-reround digits */ 77 context->round=DEC_ROUND_HALF_UP; /* 0.5 rises */ 92 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */ 103 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */ 114 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */ 138 return context->round; 197 context->round=newround;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
CropView.java | 358 mCurrentX = Math.round(mStartX + (mTargetX - mStartX) * progress); 359 mCurrentY = Math.round(mStartY + (mTargetY - mStartY) * progress); 387 int centerX = Math.round( 389 int centerY = Math.round( 392 if (Math.round(mImageWidth * scale) > width) { 393 int limitX = Math.round(width * 0.5f / scale); 394 centerX = Math.round( 400 if (Math.round(mImageHeight * scale) > height) { 401 int limitY = Math.round(height * 0.5f / scale); 402 centerY = Math.round( [all...] |
/external/libvpx/vp8/encoder/ |
quantize.c | 28 short *round_ptr = b->round; 74 short *round_ptr = b->round; 113 short *round_ptr = b->round; 186 int round; local 192 round = dq >> 1; 196 x += round; 225 short *round_ptr = b->round;
|
/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;
|
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/ |
TreeViewControls.java | 72 mZoomSlider.setSelection((int) Math.round(TreeViewModel.getModel().getZoom() * 10)); 132 .round(TreeViewModel.getModel().getZoom() * 10)); 149 mZoomSlider.setSelection((int) Math.round(TreeViewModel.getModel().getZoom() * 10));
|
/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);
|
/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);
|
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/ |
ImageResizer.java | 200 inSampleSize = Math.round((float) height / (float) reqHeight); 202 inSampleSize = Math.round((float) width / (float) reqWidth);
|
/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;
|
divsf3.c | 153 // code to round them correctly. 158 const bool round = (residual << 1) > bSignificand; local 163 // Round 164 absResult += round;
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
ProportionalLayout.java | 105 width = Math.round(childHeight * mRatio); 109 height = Math.round(childWidth * mRatio);
|
/frameworks/base/core/java/android/widget/ |
StackView.java | 244 int duration = Math.round(mStackSlider.getDurationForNeutralPosition(mYVelocity)); 264 int duration = Math.round(mStackSlider.getDurationForOffscreenPosition(mYVelocity)); 562 final int newSlideAmount = Math.round(SLIDE_UP_RATIO * getMeasuredHeight()); 565 mSwipeThreshold = Math.round(SWIPE_THRESHOLD_RATIO * newSlideAmount); 781 if (mTouchRect.contains(Math.round(x), Math.round(y))) { 852 duration = Math.round(mStackSlider.getDurationForNeutralPosition()); 854 duration = Math.round(mStackSlider.getDurationForOffscreenPosition()); [all...] |