Searched refs:mPillRect (Results 1 - 3 of 3) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | PillRevealOutlineProvider.java | 34 protected Rect mPillRect; field in class:PillRevealOutlineProvider 44 mPillRect = pillRect; 56 int centerToEdge = Math.max(mCenterX, mPillRect.width() - mCenterX); 59 // Bound the outline to the final pill shape defined by mPillRect. 60 mOutline.left = Math.max(mPillRect.left, mCenterX - currentSize); 61 mOutline.top = Math.max(mPillRect.top, mCenterY - currentSize); 62 mOutline.right = Math.min(mPillRect.right, mCenterX + currentSize); 63 mOutline.bottom = Math.min(mPillRect.bottom, mCenterY + currentSize);
|
H A D | PillWidthRevealOutlineProvider.java | 38 mOutline.left = (int) (progress * mPillRect.left + (1 - progress) * mStartLeft); 39 mOutline.right = (int) (progress * mPillRect.right + (1 - progress) * mStartRight);
|
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
H A D | DeepShortcutView.java | 48 private final Rect mPillRect; field in class:DeepShortcutView 67 mPillRect = new Rect(); 92 mPillRect.set(0, 0, getMeasuredWidth(), getMeasuredHeight()); 137 mPillRect, this, mIconView, isContainerAboveIcon, pivotLeft) 160 mPillRect, this, mIconView, isContainerAboveIcon, pivotLeft) 175 return new PillWidthRevealOutlineProvider(mPillRect,
|
Completed in 761 milliseconds