Searched refs:scaledWidth (Results 1 – 7 of 7) sorted by relevance
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | AttachmentTile.java | 184 final int scaledWidth = width * getResources().getDisplayMetrics().densityDpi in setThumbnail() local 191 final boolean large = width >= maxSize || scaledWidth >= mIcon.getWidth() in setThumbnail() 198 !(scaledWidth >= mIcon.getHeight() * skinnyThresholdRatio in setThumbnail() 200 LogUtils.d(LOG_TAG, "scaledWidth: %d, scaledHeight: %d, large: %b, skinny: %b", scaledWidth, in setThumbnail()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | CallTypeIconsView.java | 213 int scaledWidth = (int) ((float) videoIcon.getWidth() * in Resources() local 216 Bitmap scaled = Bitmap.createScaledBitmap(videoIcon, scaledWidth, scaledHeight, false); in Resources()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ImageUtils.java | 838 final float scaledWidth = scale * sourceWidth; in scaleCenterCrop() local 843 final float left = (newWidth - scaledWidth) / 2; in scaleCenterCrop() 848 final RectF targetRect = new RectF(left, top, left + scaledWidth, top + scaledHeight); in scaleCenterCrop()
|
/packages/apps/Browser/src/com/android/browser/ |
D | Controller.java | 1986 int scaledWidth = width * filter_scale; in createScreenshot() local 1988 if (sThumbnailBitmap == null || sThumbnailBitmap.getWidth() != scaledWidth in createScreenshot() 1995 Bitmap.createBitmap(scaledWidth, scaledHeight, Bitmap.Config.RGB_565); in createScreenshot() 1999 float overviewScale = scaledWidth / (view.getScale() * contentWidth); in createScreenshot()
|
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
D | GlowPadView.java | 383 int scaledWidth = getScaledSuggestedMinimumWidth(); in onMeasure() local 386 computeInsets(computedWidth - scaledWidth, computedHeight - scaledHeight); in onMeasure()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | Workspace.java | 1859 int scaledWidth = (int) (scaleFactor * orig.getWidth()); 1861 Rect dst = new Rect(0, 0, scaledWidth, scaledHeight); 1864 dst.offset((w - scaledWidth) / 2, (h - scaledHeight) / 2);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Workspace.java | 2215 int scaledWidth = (int) (scaleFactor * orig.getWidth()); in createDragOutline() local 2217 Rect dst = new Rect(0, 0, scaledWidth, scaledHeight); in createDragOutline() 2220 dst.offset((w - scaledWidth) / 2, (h - scaledHeight) / 2); in createDragOutline()
|