Searched refs:sTempRect (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/ |
D | PageIndicatorDots.java | 59 private static final RectF sTempRect = new RectF(); field in PageIndicatorDots 279 sTempRect.top = getHeight() * 0.5f - mDotRadius; in getActiveRect() 280 sTempRect.bottom = getHeight() * 0.5f + mDotRadius; in getActiveRect() 281 sTempRect.left = startX + startCircle * circleGap; in getActiveRect() 282 sTempRect.right = sTempRect.left + diameter; in getActiveRect() 286 sTempRect.right += delta * circleGap * 2; in getActiveRect() 289 sTempRect.right += circleGap; in getActiveRect() 292 sTempRect.left += delta * circleGap * 2; in getActiveRect() 296 float rectWidth = sTempRect.width(); in getActiveRect() 297 sTempRect.right = getWidth() - sTempRect.left; in getActiveRect() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | RecyclerViewFastScroller.java | 68 private static final Rect sTempRect = new Rect(); field in RecyclerViewFastScroller 444 getHitRect(sTempRect); in isHitInParent() 446 sTempRect.top += mRv.getScrollBarTop(); in isHitInParent() 449 outOffset.set(sTempRect.left, sTempRect.top); in isHitInParent() 451 return sTempRect.contains((int) x, (int) y); in isHitInParent()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/ |
D | OverviewState.java | 43 protected static final Rect sTempRect = new Rect(); field in OverviewState 74 recentsView.getTaskSize(sTempRect); in getWorkspaceScaleAndTranslation() 75 float scale = (float) sTempRect.width() / workspacePageWidth; in getWorkspaceScaleAndTranslation()
|
/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
D | NotificationItemView.java | 42 private static final Rect sTempRect = new Rect(); field in NotificationItemView 129 sTempRect.set(mRootView.getLeft(), mRootView.getTop(), in onInterceptTouchEvent() 131 mIgnoreTouch = !sTempRect.contains((int) ev.getX(), (int) ev.getY()); in onInterceptTouchEvent()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | TaskMenuView.java | 60 private static final Rect sTempRect = new Rect(); field in TaskMenuView 244 mActivity.getDragLayer().getDescendantRectRelativeToSelf(taskView, sTempRect); 264 setPosition(sTempRect.left - insets.left, sTempRect.top - insets.top, 0);
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | Folder.java | 157 private static final Rect sTempRect = new Rect(); field in Folder 1105 parent.getDescendantRectRelativeToSelf(mFolderIcon, sTempRect); in centerAboutIcon() 1106 int centerX = sTempRect.centerX(); in centerAboutIcon() 1107 int centerY = sTempRect.centerY(); in centerAboutIcon() 1111 sTempRect.set(mActivityContext.getFolderBoundingBox()); in centerAboutIcon() 1112 int left = Utilities.boundToRange(centeredLeft, sTempRect.left, sTempRect.right - width); in centerAboutIcon() 1113 int top = Utilities.boundToRange(centeredTop, sTempRect.top, sTempRect.bottom - height); in centerAboutIcon() 1115 mActivityContext.updateOpenFolderPosition(inOutPosition, sTempRect, width, height); in centerAboutIcon()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | TransformingTouchDelegate.java | 32 private static final Rect sTempRect = new Rect(); field in TransformingTouchDelegate 44 super(sTempRect, delegateView); in TransformingTouchDelegate()
|