Searched refs:previewBitmapWidth (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | PinItemDragListener.java | 53 int previewBitmapWidth, int previewViewWidth) { in PinItemDragListener() argument 54 this(request, previewRect, previewBitmapWidth, previewViewWidth, /* previewScale= */ 1f); in PinItemDragListener() 58 int previewBitmapWidth, int previewViewWidth, float previewScale) { in PinItemDragListener() argument 59 super(previewRect, previewBitmapWidth, previewViewWidth); in PinItemDragListener()
|
D | BaseItemDragListener.java | 65 public BaseItemDragListener(Rect previewRect, int previewBitmapWidth, int previewViewWidth) { in BaseItemDragListener() argument 67 mPreviewBitmapWidth = previewBitmapWidth; in BaseItemDragListener()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | PendingItemDragHelper.java | 96 public void startDrag(Rect previewBounds, int previewBitmapWidth, int previewViewWidth, in startDrag() argument 114 … int maxWidth = Math.min((int) (previewBitmapWidth * MAX_WIDGET_SCALE), mEstimatedCellSize[0]); in startDrag() 145 if (previewSizeBeforeScale[0] < previewBitmapWidth) { in startDrag() 147 int padding = (previewBitmapWidth - previewSizeBeforeScale[0]) / 2; in startDrag() 148 if (previewBitmapWidth > previewViewWidth) { in startDrag() 149 padding = padding * previewViewWidth / previewBitmapWidth; in startDrag()
|