Searched refs:scaledWidth (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetImageView.java | 97 float scaledWidth = bitmapWidth * scale; in updateDstRectF() local 100 mDstRectF.left = (myWidth - scaledWidth) / 2; in updateDstRectF() 101 mDstRectF.right = (myWidth + scaledWidth) / 2; in updateDstRectF()
|
D | PendingItemDragHelper.java | 168 int scaledWidth = (int) (scaleFactor * preview.getWidth()); in convertPreviewToAlphaBitmap() local 170 Rect dst = new Rect(0, 0, scaledWidth, scaledHeight); in convertPreviewToAlphaBitmap() 173 dst.offset((w - scaledWidth) / 2, (h - scaledHeight) / 2); in convertPreviewToAlphaBitmap()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | DynamicShortcuts.java | 390 final int scaledWidth = sourceWidth / opts.inSampleSize; in decodeStreamForShortcut() local 393 final int targetWidth = Math.min(scaledWidth, iconMaxWidth); in decodeStreamForShortcut() 401 final int prescaledXOffset = ((scaledWidth - targetSize) * opts.inSampleSize) / 2; in decodeStreamForShortcut()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ImageUtils.java | 841 final float scaledWidth = scale * sourceWidth; in scaleCenterCrop() local 846 final float left = (newWidth - scaledWidth) / 2; in scaleCenterCrop() 851 final RectF targetRect = new RectF(left, top, left + scaledWidth, top + scaledHeight); in scaleCenterCrop()
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
D | CallTypeIconsView.java | 353 int scaledWidth = in getScaledBitmap() local 358 Bitmap icon = Bitmap.createBitmap(scaledWidth, scaledHeight, Bitmap.Config.ARGB_8888); in getScaledBitmap()
|