/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
BitmapUtils.java | 57 * request is 3. So we round up the sample size to avoid OOM. 118 int width = Math.round(bitmap.getWidth() * scale); 119 int height = Math.round(bitmap.getHeight() * scale); 159 int width = Math.round(scale * bitmap.getWidth()); 160 int height = Math.round(scale * bitmap.getHeight());
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
ScrollBarView.java | 86 mGripPosition = Math.round(r * mContentPosition);
|
/packages/apps/Launcher3/src/com/android/gallery3d/common/ |
BitmapUtils.java | 57 * request is 3. So we round up the sample size to avoid OOM. 118 int width = Math.round(bitmap.getWidth() * scale); 119 int height = Math.round(bitmap.getHeight() * scale); 159 int width = Math.round(scale * bitmap.getWidth()); 160 int height = Math.round(scale * bitmap.getHeight());
|
/packages/apps/Settings/src/com/android/settings/applications/ |
ProcessStatsPreference.java | 48 R.string.percentage, (int) Math.round(percentOfTime));
|
/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);
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/ |
fenv.h | 84 int fesetround(int round);
|
/prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/ |
fenv.h | 84 int fesetround(int round);
|
/prebuilts/ndk/8/platforms/android-14/arch-x86/usr/include/ |
fenv.h | 84 int fesetround(int round);
|
/prebuilts/ndk/8/platforms/android-9/arch-x86/usr/include/ |
fenv.h | 84 int fesetround(int round);
|
/prebuilts/ndk/9/platforms/android-14/arch-x86/usr/include/ |
fenv.h | 83 int fesetround(int round);
|
/prebuilts/ndk/9/platforms/android-18/arch-x86/usr/include/ |
fenv.h | 83 int fesetround(int round);
|
/prebuilts/ndk/9/platforms/android-9/arch-x86/usr/include/ |
fenv.h | 83 int fesetround(int round);
|
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
pymath.h | 11 /* Python provides implementations for copysign, round and hypot in 22 extern double round(double);
|
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
pymath.h | 11 /* Python provides implementations for copysign, round and hypot in 22 extern double round(double);
|
/external/iproute2/ip/ |
ipneigh.c | 387 int round = 0; local 395 while (round < MAX_ROUNDS) { 407 if (round == 0) 410 printf("*** Flush is complete after %d round%s ***\n", round, round>1?"s":""); 415 round++; 419 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);
|
/frameworks/base/graphics/java/android/graphics/ |
RectF.java | 443 public void round(Rect dst) { method in class:RectF 444 dst.set(FastMath.round(left), FastMath.round(top), 445 FastMath.round(right), FastMath.round(bottom));
|
/external/dropbear/libtomcrypt/src/ciphers/safer/ |
safer.c | 258 unsigned int round; local 268 if (SAFER_MAX_NOF_ROUNDS < (round = *key)) round = SAFER_MAX_NOF_ROUNDS; 269 while(round-- > 0) 312 unsigned int round; local 322 if (SAFER_MAX_NOF_ROUNDS < (round = *key)) round = SAFER_MAX_NOF_ROUNDS; 323 key += SAFER_BLOCK_LEN * (1 + 2 * round); 326 while (round--)
|
/external/skia/tools/lua/ |
glyph-usage.lua | 50 function round(x, mul) function 123 local fontID = round(k / 1000) 136 local ave = round(totalCount / strikeCount)
|
/frameworks/base/core/java/android/widget/ |
Scroller.java | 322 mCurrX = mStartX + Math.round(x * mDeltaX); 323 mCurrY = mStartY + Math.round(x * mDeltaY); 341 mCurrX = mStartX + Math.round(distanceCoef * (mFinalX - mStartX)); 346 mCurrY = mStartY + Math.round(distanceCoef * (mFinalY - mStartY)); 475 mFinalX = startX + (int) Math.round(totalDistance * coeffX); 480 mFinalY = startY + (int) Math.round(totalDistance * coeffY);
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
TextReport.java | 77 + Math.round(apiPackage.getCoveragePercentage()) + "% (" 83 + Math.round(apiClass.getCoveragePercentage()) + "% ("
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
LayoutSize.h | 165 return IntSize(s.width().round(), s.height().round());
|
/external/chromium_org/third_party/flot/ |
jquery.flot.crosshair.min.js | 1 (function(b){var a={crosshair:{mode:null,color:"rgba(170, 0, 0, 0.80)",lineWidth:1}};function c(h){var j={x:-1,y:-1,locked:false};h.setCrosshair=function e(l){if(!l){j.x=-1}else{var k=h.p2c(l);j.x=Math.max(0,Math.min(k.left,h.width()));j.y=Math.max(0,Math.min(k.top,h.height()))}h.triggerRedrawOverlay()};h.clearCrosshair=h.setCrosshair;h.lockCrosshair=function f(k){if(k){h.setCrosshair(k)}j.locked=true};h.unlockCrosshair=function g(){j.locked=false};function d(k){if(j.locked){return}if(j.x!=-1){j.x=-1;h.triggerRedrawOverlay()}}function i(k){if(j.locked){return}if(h.getSelection&&h.getSelection()){j.x=-1;return}var l=h.offset();j.x=Math.max(0,Math.min(k.pageX-l.left,h.width()));j.y=Math.max(0,Math.min(k.pageY-l.top,h.height()));h.triggerRedrawOverlay()}h.hooks.bindEvents.push(function(l,k){if(!l.getOptions().crosshair.mode){return}k.mouseout(d);k.mousemove(i)});h.hooks.drawOverlay.push(function(m,k){var n=m.getOptions().crosshair;if(!n.mode){return}var l=m.getPlotOffset();k.save();k.translate(l.left,l.top);if(j.x!=-1){k.strokeStyle=n.color;k.lineWidth=n.lineWidth;k.lineJoin="round";k.beginPath();if(n.mode.indexOf("x")!=-1){k.moveTo(j.x,0);k.lineTo(j.x,m.height())}if(n.mode.inde (…)
|
/external/chromium_org/third_party/re2/util/ |
benchmark.cc | 83 static int round(int n) { function 113 n = round(n);
|
/external/chromium_org/tools/perf/metrics/ |
smoothness.py | 61 avg = round(avg, precision) 81 results.Add('first_paint', 'ms', round(first_paint_secs * 1000, 1))
|