HomeSort by relevance Sort by last modified time
    Searched refs:round (Results 26 - 50 of 355) sorted by null

12 3 4 5 6 7 8 91011>>

  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
ScrollBarView.java 94 mGripPosition = Math.round(r * mContentPosition);
100 int newContentPosition = Math.round(mGripPosition / r);
IconDrawer.java 103 id.width = Math.round(scale * icon.getWidth());
104 id.height = Math.round(scale * icon.getHeight());
125 int w = Math.round(scale * mVideoOverlay.getWidth());
126 int h = Math.round(scale * mVideoOverlay.getHeight());
136 int w = Math.round(scale * mPanoramaBorder.getWidth());
137 int h = Math.round(scale * mPanoramaBorder.getHeight());
CropView.java 355 mCurrentX = Math.round(mStartX + (mTargetX - mStartX) * progress);
356 mCurrentY = Math.round(mStartY + (mTargetY - mStartY) * progress);
384 int centerX = Math.round(
386 int centerY = Math.round(
389 if (Math.round(mImageWidth * scale) > width) {
390 int limitX = Math.round(width * 0.5f / scale);
391 centerX = Math.round(
397 if (Math.round(mImageHeight * scale) > height) {
398 int limitY = Math.round(height * 0.5f / scale);
399 centerY = Math.round(
    [all...]
  /sdk/chimpchat/src/com/android/chimpchat/adb/
LinearInterpolator.java 123 callback.step(new Point(Math.round(newX), Math.round(newY)));
  /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;
  /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;
block.h 40 short *round; member in struct:__anon7455
  /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));
125 .round(TreeViewModel.getModel().getZoom() * 10));
139 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);
  /frameworks/base/core/java/android/widget/
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);
StackView.java 241 int duration = Math.round(mStackSlider.getDurationForNeutralPosition(mYVelocity));
261 int duration = Math.round(mStackSlider.getDurationForOffscreenPosition(mYVelocity));
559 final int newSlideAmount = Math.round(SLIDE_UP_RATIO * getMeasuredHeight());
562 mSwipeThreshold = Math.round(SWIPE_THRESHOLD_RATIO * newSlideAmount);
778 if (mTouchRect.contains(Math.round(x), Math.round(y))) {
849 duration = Math.round(mStackSlider.getDurationForNeutralPosition());
851 duration = Math.round(mStackSlider.getDurationForOffscreenPosition());
    [all...]
  /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
XmlReport.java 64 + Math.round(pkg.getCoveragePercentage())
76 + Math.round(apiClass.getCoveragePercentage())
  /packages/apps/Contacts/src/com/android/contacts/widget/
ProportionalLayout.java 105 width = Math.round(childHeight * mRatio);
109 height = Math.round(childWidth * mRatio);
  /bionic/libm/i387/
fenv.c 334 fesetround(int round)
339 if (round & ~_ROUND_MASK) {
344 control |= round;
349 mxcsr |= round << _SSE_ROUND_SHIFT;
  /bionic/libm/include/i387/
fenv.h 84 int fesetround(int round);
  /external/skia/src/core/
SkScan.cpp 70 r.round(&ir);
  /external/skia/src/images/
SkPageFlipper.cpp 70 rect.round(&r);
  /external/webkit/Source/WebCore/html/
StepRange.cpp 54 clampedValue = minimum + round((clampedValue - minimum) / step) * step;
  /libcore/luni/src/test/java/libcore/java/math/
BigDecimalTest.java 64 BigDecimal rounded = bigDecimal.round(new MathContext(2, RoundingMode.FLOOR));
  /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/valgrind/unittest/
bigtest.cc 224 inline double round(double lf) { function
278 params.NUM_CONTEXTS = round(params.num_contexts);
281 params.NUM_ITERATIONS = round(params.num_iterations_times_runcount / map_of_counts[101]);
513 params.DATA_SIZE = 1 + round(params.data_size_times_runcount / params.EstimateRuncount());
517 params.NUM_CONTEXTS = round(params.num_contexts);
654 int count = round(it->second / nThreads);
692 nThreads = round(nThreads_double);

Completed in 3479 milliseconds

12 3 4 5 6 7 8 91011>>