Home
last modified time | relevance | path

Searched refs:scaledWidth (Results 1 – 7 of 7) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAttachmentTile.java184 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/
DCallTypeIconsView.java213 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/
DImageUtils.java838 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/
DController.java1986 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/
DGlowPadView.java383 int scaledWidth = getScaledSuggestedMinimumWidth(); in onMeasure() local
386 computeInsets(computedWidth - scaledWidth, computedHeight - scaledHeight); in onMeasure()
/packages/apps/Launcher2/src/com/android/launcher2/
DWorkspace.java1859 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/
DWorkspace.java2215 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()