/developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/tests/src/com/example/android/swiperefreshlistfragment/tests/ |
SampleTests.java | 78 Math.round(mSwipeRefreshLayout.getHeight() * 0.4f));
|
/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshLayoutBasic/Application/tests/src/com/example/android/swiperefreshlayoutbasic/tests/ |
SampleTests.java | 77 Math.round(mSwipeRefreshLayout.getHeight() * 0.4f));
|
/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshListFragment/Application/tests/src/com/example/android/swiperefreshlistfragment/tests/ |
SampleTests.java | 78 Math.round(mSwipeRefreshLayout.getHeight() * 0.4f));
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
PathAnimations.java | 54 return new Point(Math.round(v.getX()), Math.round(v.getY())); 252 mPoint.set(Math.round(value.x), Math.round(value.y));
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
pymath.h | 11 /* Python provides implementations for copysign, round and hypot in
22 extern double round(double);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/ |
cmptree.py | 38 print mins, "minutes and", round(secs), "seconds"
150 print len(data), "bytes in", round(dt), "seconds",
152 print "i.e.", round(len(data)/dt), "bytes/sec",
198 print size, "bytes in", round(dt), "seconds",
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
pymath.h | 11 /* Python provides implementations for copysign, round and hypot in
22 extern double round(double);
|
/external/deqp/framework/common/ |
tcuFloatFormat.hpp | 63 double round (double d, bool upward) const;
|
/external/icu/icu4c/source/i18n/ |
valueformatter.h | 53 * This function is here only to support the protected round() method 59 DigitList &round(DigitList &value, UErrorCode &status) const;
|
/external/libvpx/libvpx/vp8/encoder/x86/ |
vp8_quantize_sse2.c | 48 __m128i round0 = _mm_load_si128((__m128i *)(b->round)); 49 __m128i round1 = _mm_load_si128((__m128i *)(b->round + 8)); 145 __m128i round0 = _mm_load_si128((__m128i *)(b->round)); 146 __m128i round1 = _mm_load_si128((__m128i *)(b->round + 8)); 168 /* x += round */
|
/external/llvm/test/MC/Mips/ |
mips-reginfo-fp64.s | 49 # round.w.d - Reads $f4 and writes to $f2. 50 round.w.d $f2,$f4
|
/external/llvm/test/Other/ |
opt-bisect-helper.py | 26 count = int(round(start + (end - start)/2))
|
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Types/ |
tFP16_Q0_15.py | 99 assert round(float(out),4) == float(value), log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" % (self.param_name, value, out)) 133 assert round(float(out), 6) == float(value), log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s") % (self.param_name, value, out) 198 assert round(float(out), 6) == float(value), log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" 199 % (self.param_name, value, round(float(out), 5)))
|
/external/python/cpython2/Demo/pdist/ |
cmptree.py | 38 print mins, "minutes and", round(secs), "seconds" 150 print len(data), "bytes in", round(dt), "seconds", 152 print "i.e.", round(len(data)/dt), "bytes/sec", 198 print size, "bytes in", round(dt), "seconds",
|
/external/skia/bench/ |
CoverageBench.cpp | 44 fRC.setRect(fPath.getBounds().round());
|
/external/skqp/bench/ |
CoverageBench.cpp | 44 fRC.setRect(fPath.getBounds().round());
|
/external/syslinux/com32/cmenu/libmenu/ |
des.c | 592 int shifts, round; local 662 for (round = 0; round < 16; round++) { 665 shifts += key_shifts[round]; 672 de_keysl[15 - round] = en_keysl[round] = common[0][(t0 >> 21) & 0x7f] 682 de_keysr[15 - round] = en_keysr[round] = common[0][(t0 >> 21) & 0x7f] 691 de_keysl[15 - round] 724 int round; local [all...] |
/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/SystemUI/src/com/android/systemui/statusbar/ |
KeyboardShortcutAppItemLayout.java | 56 Math.round(availableWidth * MAX_WIDTH_PERCENT_FOR_KEYWORDS));
|
/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/samples/Support7Demos/src/main/java/com/example/android/supportv7/graphics/ |
ImageLoader.java | 36 Math.round(Runtime.getRuntime().maxMemory() / 10));
|
/frameworks/support/transition/src/main/java/androidx/transition/ |
Explode.java | 137 + Math.round(sceneRoot.getTranslationX()); 139 + Math.round(sceneRoot.getTranslationY()); 162 outVector[0] = Math.round(maxDistance * xVector); 163 outVector[1] = Math.round(maxDistance * yVector);
|
/libcore/ojluni/src/main/java/java/lang/ |
StrictMath.java | 431 * Otherwise, the sum (twoToThe52 + a ) will properly round 653 public static int round(float a) { method in class:StrictMath 654 return Math.round(a); 677 public static long round(double a) { method in class:StrictMath 678 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]));
|