Searched refs:blurSizeOutline (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | DragPreviewProvider.java | 51 public final int blurSizeOutline; field in DragPreviewProvider 59 blurSizeOutline = in DragPreviewProvider() 61 previewPadding = blurSizeOutline; in DragPreviewProvider() 75 destCanvas.translate(blurSizeOutline / 2 - mTempRect.left, in drawDragView() 76 blurSizeOutline / 2 - mTempRect.top); in drawDragView() 109 float xInset = (float) blurSizeOutline / (float) (width + blurSizeOutline); in createDrawable() 110 float yInset = (float) blurSizeOutline / (float) (height + blurSizeOutline); in createDrawable() 115 BitmapRenderer.createHardwareBitmap(width + blurSizeOutline, in createDrawable() 116 height + blurSizeOutline, (c) -> drawDragView(c, scale))); in createDrawable()
|
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
D | ShortcutDragPreviewProvider.java | 49 size + blurSizeOutline, in createDrawable() 50 size + blurSizeOutline, in createDrawable() 58 canvas.translate(blurSizeOutline / 2, blurSizeOutline / 2); in drawDragViewOnBackground()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | FloatingIconView.java | 456 int blurSizeOutline = in getOffsetForIconBounds() local 459 Rect bounds = new Rect(0, 0, (int) position.width() + blurSizeOutline, in getOffsetForIconBounds() 460 (int) position.height() + blurSizeOutline); in getOffsetForIconBounds() 461 bounds.inset(blurSizeOutline / 2, blurSizeOutline / 2); in getOffsetForIconBounds()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | PendingItemDragHelper.java | 231 float scaleFactor = Math.min((w - blurSizeOutline) / (float) preview.getWidth(), in convertPreviewToAlphaBitmap() 232 (h - blurSizeOutline) / (float) preview.getHeight()); in convertPreviewToAlphaBitmap()
|