/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
TileImageView.java | 209 mOffsetX = Math.round(width / 2f + (range.left - centerX) * scale); 210 mOffsetY = Math.round(height / 2f + (range.top - centerY) * scale); 215 mOffsetX = Math.round(width / 2f - centerX * scale); 216 mOffsetY = Math.round(height / 2f - centerY * scale); 391 Math.round(mImageWidth * mScale), 392 Math.round(mImageHeight * mScale));
|
/external/chromium/webkit/glue/media/ |
video_renderer_impl.cc | 224 // After projecting the destination rectangle to local coordinates, round 228 local_dest_rect.round(&local_dest_irect); 229 local_dest_rect.round(&local_dest_irect_saved); 313 transformed_rect.round(dest_rect);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
CropImage.java | 247 Math.round(cropRect.left), Math.round(cropRect.top), 248 Math.round(cropRect.right), Math.round(cropRect.bottom)); 560 outputX = Math.round(scale * outputX); 561 outputY = Math.round(scale * outputY); 580 int rectWidth = Math.round(rect.width() * scaleX); 581 int rectHeight = Math.round(rect.height() * scaleY); 582 dest.set(Math.round((outputX - rectWidth) / 2f), 583 Math.round((outputY - rectHeight) / 2f) [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
Archive.java | 359 sizeStr = String.format("%d KiB", Math.round(size / 1024.0));
362 Math.round(10.0 * size / (1024 * 1024.0))/ 10.0);
365 Math.round(10.0 * size / (1024 * 1024 * 1024.0))/ 10.0);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/experiments/ |
GlitchExperiment.java | 78 int glitches = Math.round(ret[Native.GLITCH_COUNT]);
|
OverflowExperiment.java | 63 int numDeltas = Math.round(ret[0]);
|
/cts/tests/src/android/widget/cts/ |
WidgetTestUtils.java | 110 return Math.round(density * dip);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
List8.java | 126 int whichPhoto = (int)Math.round(Math.random() * (mPhotoPool.length - 1));
|
/external/icu4c/i18n/ |
digitlst.h | 299 * Round the number to the given number of digits. 303 void round(int32_t maximumDigits);
|
/external/libvpx/vp8/common/arm/neon/ |
bilinearpredict4x4_neon.asm | 65 vqrshrn.u16 d28, q7, #7 ;shift/round/saturate to u8 93 vqrshrn.u16 d2, q1, #7 ;shift/round/saturate to u8
|
/external/libvpx/vp8/encoder/ |
asm_enc_offsets.c | 39 DEFINE(vp8_block_round, offsetof(BLOCK, round));
|
/external/skia/src/effects/ |
Sk2DPathEffect.cpp | 51 tmp.getBounds().round(&ir);
|
/external/webkit/Tools/iExploder/iexploder-1.7.2/src/ |
scanner.rb | 63 width = (new_offset_count * 1.61803398).round
|
/frameworks/base/core/java/android/view/ |
OrientationEventListener.java | 129 orientation = 90 - (int)Math.round(angle);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
SharePopup.java | 220 params.width = Math.round(maxHeight * desiredAspect); 221 params.height = Math.round(maxHeight); 223 params.width = Math.round(maxWidth); 224 params.height = Math.round(maxWidth / desiredAspect);
|
/packages/apps/Camera/tests/src/com/android/camera/unittest/ |
CameraTest.java | 108 assertEquals("Array index " + i + " mismatch", expected[i], Math.round(actual[i]));
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
SmoothPagedView.java | 178 scrollTo(Math.round(mUnboundedScrollX + dx * e), mScrollY);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
ImageUtils.java | 106 final Bitmap bitmap = Bitmap.createBitmap(Math.round(scaledWidth), 107 Math.round(scaledHeight), 112 new Rect(0, 0, Math.round(scaledWidth), Math.round(scaledHeight)),
|
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/ |
TreeViewOverview.java | 244 gc.drawImage(sFilteredSelectedImage, node.left, (int) Math.round(node.top)); 246 gc.drawImage(sSelectedImage, node.left, (int) Math.round(node.top)); 248 gc.drawImage(sFilteredImage, node.left, (int) Math.round(node.top)); 250 gc.drawImage(sNotSelectedImage, node.left, (int) Math.round(node.top));
|
/system/core/libpixelflinger/codeflinger/ |
texturing.cpp | 787 const int round = 0; local 820 if (round) 835 if (round) 849 if (round) 883 const int round = 0; local 981 const int round = 0; local [all...] |
/system/media/mca/filterpacks/imageproc/java/ |
FixedRotationFilter.java | 80 switch (((int)Math.round(mRotation / 90f)) % 4) {
|
/external/libvpx/vp8/common/x86/ |
subpixel_mmx.asm | 87 paddsw mm3, [GLOBAL(rd)] ; mm3 += round value 183 paddsw mm3, mm5 ; mm3 += round value 275 paddw mm3, [GLOBAL(rd)] ; xmm3 += round value 316 paddw mm3, [GLOBAL(rd)] ; xmm3 += round value 333 paddw mm3, [GLOBAL(rd)] ; xmm3 += round value 430 paddw mm3, [GLOBAL(rd)] ; xmm3 += round value 471 paddw mm3, [GLOBAL(rd)] ; xmm3 += round value 488 paddw mm3, [GLOBAL(rd)] ; xmm3 += round value 574 paddw mm3, [GLOBAL(rd)] ; xmm3 += round value 598 paddw mm3, [GLOBAL(rd)] ; xmm3 += round valu [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/ |
CalibrateVolumeActivity.java | 125 int progress = (max / 2 * rms) / Math.round(TARGET_RMS); 225 msg.arg1 = Math.round(rms);
|
/cts/tests/tests/text/src/android/text/method/cts/ |
TouchTest.java | 141 int textWidth = Math.round(paint.measureText(text)); 144 textWidth = Math.round(paint.measureText(text));
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ColorPickerDialog.java | 100 int n = java.lang.Math.round(x); 113 return s + java.lang.Math.round(p * (d - s));
|