Searched refs:blurSizeOutline (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | DragPreviewProvider.java | 55 protected final int blurSizeOutline; field in DragPreviewProvider 66 blurSizeOutline = in DragPreviewProvider() 72 previewPadding = blurSizeOutline - bounds.left - bounds.top; in DragPreviewProvider() 74 previewPadding = blurSizeOutline; in DragPreviewProvider() 88 destCanvas.translate(blurSizeOutline / 2 - bounds.left, in drawDragView() 89 blurSizeOutline / 2 - bounds.top); in drawDragView() 104 destCanvas.translate(-mView.getScrollX() + blurSizeOutline / 2, in drawDragView() 105 -mView.getScrollY() + blurSizeOutline / 2); in drawDragView() 137 return BitmapRenderer.createHardwareBitmap(width + blurSizeOutline, in createDragBitmap() 138 height + blurSizeOutline, (c) -> drawDragView(c, scale)); in createDragBitmap() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
D | ShortcutDragPreviewProvider.java | 48 size + blurSizeOutline, in createDragBitmap() 49 size + blurSizeOutline, in createDragBitmap() 53 canvas.translate(blurSizeOutline / 2, blurSizeOutline / 2); in createDragBitmap()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | FloatingIconView.java | 609 int blurSizeOutline = in getOffsetForIconBounds() local 612 Rect bounds = new Rect(0, 0, (int) position.width() + blurSizeOutline, in getOffsetForIconBounds() 613 (int) position.height() + blurSizeOutline); in getOffsetForIconBounds() 614 bounds.inset(blurSizeOutline / 2, blurSizeOutline / 2); in getOffsetForIconBounds()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | PendingItemDragHelper.java | 166 float scaleFactor = Math.min((w - blurSizeOutline) / (float) preview.getWidth(), in convertPreviewToAlphaBitmap() 167 (h - blurSizeOutline) / (float) preview.getHeight()); in convertPreviewToAlphaBitmap()
|