HomeSort by relevance Sort by last modified time
    Searched refs:round (Results 51 - 75 of 808) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
Color.js 242 var c = Math.round(this._rgba[i] * 255);
263 return Math.round(value * 255);
272 var hex = Math.round(value * 255).toString(16);
282 return (Math.round(value * 255) / 17).toString(16);
298 return String.sprintf("hsl(%d, %d%, %d%)", Math.round(hsl[0] * 360), Math.round(hsl[1] * 100), Math.round(hsl[2] * 100));
301 return String.sprintf("hsla(%d, %d%, %d%, %f)", Math.round(hsla[0] * 360), Math.round(hsla[1] * 100), Math.round(hsla[2] * 100), hsla[3])
    [all...]
  /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/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
HandleView.java 366 mController.updatePosition(this, Math.round(newPosX), Math.round(newPosY));
371 moveTo(x - Math.round(mHotspotX), y - Math.round(mHotspotY));
377 return mPositionX + Math.round(mHotspotX);
383 return mPositionY + Math.round(mHotspotY);
389 return getContainerPositionX() + Math.round(mHotspotX);
395 return getContainerPositionY() + Math.round(mHotspotY);
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
LayoutRect.h 72 int pixelSnappedX() const { return x().round(); }
73 int pixelSnappedY() const { return y().round(); }
76 int pixelSnappedMaxX() const { return (m_location.x() + m_size.width()).round(); }
77 int pixelSnappedMaxY() const { return (m_location.y() + m_size.height()).round(); }
167 // Return a rect that is slightly smaller than the true max rect to allow pixelSnapping to round up to the nearest IntRect without overflowing.
214 return IntRect(left.round(), top.round(), snapSizeToPixel(width, left), snapSizeToPixel(height, top));
219 return IntRect(left.round(), top.round(), snapSizeToPixel(right - left, left), snapSizeToPixel(bottom - top, top));
  /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]]
  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
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;
  /hardware/invensense/60xx/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/60xx/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
  /hardware/invensense/65xx/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
  /external/bluetooth/bluedroid/stack/smp/
smp_cmac.c 39 UINT16 round; member in struct:__anon3977
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/chromium_org/third_party/icu/source/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;
  /external/chromium_org/v8/test/mjsunit/regress/
regress-2451.js 31 assertEquals(-1.0, Math.round(-1.5));
32 assertEquals(-2.0, Math.round(-2.5));
33 assertEquals(-1.0, Math.round(-0.5000000000000001));
  /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/chromium_org/chrome/browser/resources/file_manager/js/image_editor/
viewport.js 236 return Math.round((x - this.imageOnScreen_.left) / this.getScale());
244 return Math.round((y - this.imageOnScreen_.top) / this.getScale());
272 return Math.round(this.imageOnScreen_.left + x * this.getScale());
280 return Math.round(this.imageOnScreen_.top + y * this.getScale());
291 Math.round(this.imageToScreenSize(rect.width)),
292 Math.round(this.imageToScreenSize(rect.height)));
311 var screenCenterX = Math.round(
313 var screenCenterY = Math.round(
341 return Math.round(
351 return Math.round(
    [all...]
  /external/chromium_org/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/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...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_builtin.py     [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_builtin.py     [all...]
  /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/libvpx/libvpx/test/
idct8x8_test.cc 29 static int round(double x) { function in namespace:__anon22932
107 output[i] = round(out2[i]/32);
128 coeff[j] = round(output_r[j]);
  /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 135 final float round = mParams.mGesturePreviewRoundRadius; local
137 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/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);

Completed in 1532 milliseconds

1 23 4 5 6 7 8 91011>>