HomeSort by relevance Sort by last modified time
    Searched refs:round (Results 201 - 225 of 1425) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/skia/bench/
CoverageBench.cpp 38 fRC.setRect(fPath.getBounds().round());
  /external/skia/src/images/
SkPageFlipper.cpp 63 rect.round(&r);
  /external/v8/test/mjsunit/compiler/
regress-106351.js 30 // Test Math.round with the input reused in the same expression.
32 var v = Math.round(x) - x;
  /external/v8/test/mjsunit/
constant-folding-2.js 174 assertEquals(2, Math.round(1.5));
175 assertEquals(-1, Math.round(-1.5));
176 assertEquals("Infinity", String(Math.round(Infinity)));
177 assertEquals("-Infinity", String(Math.round(-Infinity)));
178 assertEquals("Infinity", String(1 / Math.round(0.0)));
179 assertEquals("-Infinity", String(1 / Math.round(-0.0)));
180 assertEquals("NaN", String(Math.round(NaN)));
181 assertEquals(Math.pow(2, 52) + 1, Math.round(Math.pow(2, 52) + 1));
  /frameworks/av/media/libeffects/loudness/common/core/
math.h 77 // Round to the nearest integer: We need this implementation
78 // since std::round is missing on android.
81 inline T round(const T &x) { function in namespace:std
  /frameworks/base/core/java/android/transition/
Explode.java 135 + Math.round(sceneRoot.getTranslationX());
137 + Math.round(sceneRoot.getTranslationY());
160 outVector[0] = (int) Math.round(maxDistance * xVector);
161 outVector[1] = (int) Math.round(maxDistance * yVector);
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
BitmapUtils.java 56 * request is 3. So we round up the sample size to avoid OOM.
117 int width = Math.round(bitmap.getWidth() * scale);
118 int height = Math.round(bitmap.getHeight() * scale);
158 int width = Math.round(scale * bitmap.getWidth());
159 int height = Math.round(scale * bitmap.getHeight());
  /frameworks/support/design/base/android/support/design/widget/
AnimationUtils.java 43 return startValue + Math.round(fraction * (endValue - startValue));
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/graphics/
ImageLoader.java 36 Math.round(Runtime.getRuntime().maxMemory() / 10));
  /frameworks/support/v7/appcompat/tests/src/android/support/v7/res/content/
AppCompatResourcesTestCase.java 58 Math.round(Color.alpha(colorForegound) * 0.5f));
  /libcore/ojluni/src/main/java/java/lang/
StrictMath.java 412 * Otherwise, the sum (twoToThe52 + a ) will properly round
634 public static int round(float a) { method in class:StrictMath
635 return Math.round(a);
658 public static long round(double a) { method in class:StrictMath
659 return Math.round(a);
    [all...]
  /packages/apps/Camera2/tests/src/com/android/camera/unittest/
CameraUnitTest.java 60 assertEquals("Array index " + i + " mismatch", expected[i], Math.round(actual[i]));
  /packages/apps/Camera2/tests_camera/src/com/android/camera/unittest/
CameraUnitTest.java 60 assertEquals("Array index " + i + " mismatch", expected[i], Math.round(actual[i]));
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
BitmapUtils.java 56 * request is 3. So we round up the sample size to avoid OOM.
117 int width = Math.round(bitmap.getWidth() * scale);
118 int height = Math.round(bitmap.getHeight() * scale);
158 int width = Math.round(scale * bitmap.getWidth());
159 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/launcher3/widget/
WidgetImageView.java 94 mDstRectF.round(rect);
  /prebuilts/gdb/darwin-x86/include/python2.7/
pymath.h 11 /* Python provides implementations for copysign, round and hypot in
22 extern double round(double);
  /prebuilts/gdb/linux-x86/include/python2.7/
pymath.h 11 /* Python provides implementations for copysign, round and hypot in
22 extern double round(double);
  /prebuilts/go/darwin-x86/pkg/bootstrap/src/bootstrap/compile/internal/big/
decimal_test.go 98 d.round(test.n)
100 t.Errorf("round(%d, %d) = %s; want %s", test.x, test.n, got, test.even)
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/big/
decimal_test.go 95 d.round(test.n)
97 t.Errorf("round(%d, %d) = %s; want %s", test.x, test.n, got, test.even)
  /prebuilts/go/darwin-x86/src/math/big/
decimal_test.go 95 d.round(test.n)
97 t.Errorf("round(%d, %d) = %s; want %s", test.x, test.n, got, test.even)
  /prebuilts/go/darwin-x86/src/strconv/
decimal_test.go 48 down, round, up string
81 d.Round(test.nd)
83 if s != test.round {
84 t.Errorf("Decimal %v Round %d = %v, want %v",
  /prebuilts/go/linux-x86/pkg/bootstrap/src/bootstrap/compile/internal/big/
decimal_test.go 98 d.round(test.n)
100 t.Errorf("round(%d, %d) = %s; want %s", test.x, test.n, got, test.even)
  /prebuilts/go/linux-x86/src/cmd/compile/internal/big/
decimal_test.go 95 d.round(test.n)
97 t.Errorf("round(%d, %d) = %s; want %s", test.x, test.n, got, test.even)
  /prebuilts/go/linux-x86/src/math/big/
decimal_test.go 95 d.round(test.n)
97 t.Errorf("round(%d, %d) = %s; want %s", test.x, test.n, got, test.even)

Completed in 1618 milliseconds

1 2 3 4 5 6 7 891011>>