/packages/apps/Camera/src/com/android/camera/ |
Thumbnail.java | 25 public static Bitmap createVideoThumbnailBitmap(FileDescriptor fd, int targetWidth) { 26 return createVideoThumbnailBitmap(null, fd, targetWidth); 29 public static Bitmap createVideoThumbnailBitmap(String filePath, int targetWidth) { 30 return createVideoThumbnailBitmap(filePath, null, targetWidth); 34 int targetWidth) { 60 if (width > targetWidth) { 61 float scale = (float) targetWidth / width;
|
/packages/apps/Gallery2/src/com/android/camera/ |
Thumbnail.java | 25 public static Bitmap createVideoThumbnailBitmap(FileDescriptor fd, int targetWidth) { 26 return createVideoThumbnailBitmap(null, fd, targetWidth); 29 public static Bitmap createVideoThumbnailBitmap(String filePath, int targetWidth) { 30 return createVideoThumbnailBitmap(filePath, null, targetWidth); 34 int targetWidth) { 60 if (width > targetWidth) { 61 float scale = (float) targetWidth / width;
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
PhotoDecodeRunnable.java | 149 int targetWidth = mPhotoTask.getTargetWidth(); 178 int wScale = bitmapOptions.outWidth / targetWidth;
|
/frameworks/base/media/java/android/media/ |
ThumbnailUtils.java | 364 int targetWidth, 370 int deltaX = source.getWidth() - targetWidth; 379 Bitmap b2 = Bitmap.createBitmap(targetWidth, targetHeight, 388 deltaXHalf + Math.min(targetWidth, source.getWidth()), 390 int dstX = (targetWidth - src.width()) / 2; 395 targetWidth - dstX, 408 float viewAspect = (float) targetWidth / targetHeight; 418 float scale = targetWidth / bitmapWidthF; 439 int dx1 = Math.max(0, b1.getWidth() - targetWidth); 446 targetWidth, [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
Util.java | 152 int targetWidth, 156 int deltaX = source.getWidth() - targetWidth; 165 Bitmap b2 = Bitmap.createBitmap(targetWidth, targetHeight, 174 deltaXHalf + Math.min(targetWidth, source.getWidth()), 176 int dstX = (targetWidth - src.width()) / 2; 181 targetWidth - dstX, 193 float viewAspect = (float) targetWidth / targetHeight; 203 float scale = targetWidth / bitmapWidthF; 224 int dx1 = Math.max(0, b1.getWidth() - targetWidth); 231 targetWidth, [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
Thumbnail.java | 256 public static Bitmap createVideoThumbnail(FileDescriptor fd, int targetWidth) { 257 return createVideoThumbnail(null, fd, targetWidth); 260 public static Bitmap createVideoThumbnail(String filePath, int targetWidth) { 261 return createVideoThumbnail(filePath, null, targetWidth); 264 private static Bitmap createVideoThumbnail(String filePath, FileDescriptor fd, int targetWidth) { 290 if (width > targetWidth) { 291 float scale = (float) targetWidth / width;
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/ |
MipMapGenerator.java | 48 private static BufferedImage scaleDown(BufferedImage sourceImage, int targetWidth, int targetHeight) { 52 BufferedImage targetImage = new BufferedImage(targetWidth, targetHeight, sourceImage.getType()); 56 g.drawImage(sourceImage, 0, 0, targetWidth, targetHeight, 0, 0, sourceWidth, sourceHeight, null);
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
FullscreenBlur.java | 52 static int targetWidth;
58 targetWidth = w/8;
61 Type renderType = b.setX(targetWidth).setY(targetHeight).create();
69 renderType = b.setX(targetWidth).setY(targetHeight).create();
134 addOffsets(quad, 1.0f / (float)targetWidth);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenuItemView.java | 271 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth) 274 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) { 276 super.onMeasure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY),
|
ActionMenuView.java | 382 final int targetWidth = cellsUsed * cellSize; 383 child.measure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY),
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
ActionMenuItemView.java | 220 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth) 223 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) { 225 super.onMeasure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY),
|
ActionMenuView.java | 408 final int targetWidth = cellsUsed * cellSize; 409 child.measure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY),
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
MediaCacheUtils.java | 106 int targetWidth = Math.round(scale * inBitmap.getWidth()); 108 Bitmap scaled = Bitmap.createScaledBitmap(inBitmap, targetWidth, targetHeight, false);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
ChartView.java | 89 final int targetWidth = (int) (mOptimalWidth + (slack * mOptimalWidthWeight)); 90 widthMeasureSpec = MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY);
|
ChartSweepView.java | 185 final float targetWidth = mSweep.getIntrinsicWidth() - mSweepPadding.left 187 return mSweepPadding.left + (targetWidth / 2) + mSweepOffset.x; 654 final int targetWidth = mSweep.getIntrinsicWidth() - mSweepPadding.left 656 mMargins.left = -(mSweepPadding.left + (targetWidth / 2));
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
HeaderGridView.java | 198 int targetWidth = HeaderGridView.this.getMeasuredWidth() 201 widthMeasureSpec = MeasureSpec.makeMeasureSpec(targetWidth,
|
/frameworks/base/core/java/com/android/internal/widget/ |
SlidingTab.java | 341 final int targetWidth = targetDrawable.getIntrinsicWidth(); 346 final int leftTarget = (int) (THRESHOLD * parentWidth) - targetWidth + handleWidth / 2; 361 target.layout(leftTarget, targetTop, leftTarget + targetWidth, targetBottom); 366 target.layout(rightTarget, targetTop, rightTarget + targetWidth, targetBottom); 372 final int targetLeft = (parentWidth - targetWidth) / 2; 373 final int targetRight = (parentWidth + targetWidth) / 2; [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
CameraOrientationActivity.java | 388 int targetWidth = w; 400 Math.abs(size.width - targetWidth); 403 && size.width <= targetWidth) {
|
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA2/ |
dsa_old.cpp | 528 const TInt targetWidth = HwRect().Size().iWidth; 536 targetPtr += targetWidth * (height - 1); 542 targetPtr -= targetWidth; 553 targetPtr += targetWidth;
|
dsa_new.cpp | 745 const TInt targetWidth = iScanLineWidth >> 2; 820 const TInt targetWidth = iScanLineWidth >> 2; 828 targetPtr += targetWidth * (height - 1); 834 targetPtr -= targetWidth; 845 targetPtr += targetWidth;
|
/frameworks/base/core/java/android/widget/ |
GridLayout.java | [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
GridLayout.java | [all...] |
/sdk/testapps/gridlayoutTest/v7-gridlayout/libs/ |
android-support-v7-gridlayout.jar | |
/build/tools/droiddoc/templates-ds/assets/js/ |
global-libraries-combined.js | [all...] |
/build/tools/droiddoc/templates-sac/assets/js/ |
android_3p-bundle.js | [all...] |