Home
last modified time | relevance | path

Searched refs:sTempRect (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
DPageIndicatorDots.java59 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/folder/
DFolder.java126 private static final Rect sTempRect = new Rect(); field in Folder
907 parent.getDescendantRectRelativeToSelf(mFolderIcon, sTempRect); in centerAboutIcon()
908 int centerX = sTempRect.centerX(); in centerAboutIcon()
909 int centerY = sTempRect.centerY(); in centerAboutIcon()
915 parent.getDescendantRectRelativeToSelf(mLauncher.getOverviewPanel(), sTempRect); in centerAboutIcon() local
917 mLauncher.getWorkspace().getPageAreaRelativeToDragLayer(sTempRect); in centerAboutIcon()
919 int left = Math.min(Math.max(sTempRect.left, centeredLeft), in centerAboutIcon()
920 sTempRect.right- width); in centerAboutIcon()
921 int top = Math.min(Math.max(sTempRect.top, centeredTop), in centerAboutIcon()
922 sTempRect.bottom - height); in centerAboutIcon()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationItemView.java43 private static final Rect sTempRect = new Rect(); field in NotificationItemView
132 sTempRect.set(mMainView.getLeft(), mMainView.getTop(), in onInterceptTouchEvent()
134 mIgnoreTouch = !sTempRect.contains((int) ev.getX(), (int) ev.getY()); in onInterceptTouchEvent()
184 mIconView.getGlobalVisibleRect(sTempRect); in trimNotifications()
185 mFooter.animateFirstNotificationTo(sTempRect, (newMainNotification) -> { in trimNotifications()
DNotificationFooterLayout.java54 private static final Rect sTempRect = new Rect(); field in NotificationFooterLayout
156 Rect fromBounds = sTempRect; in animateFirstNotificationTo()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DRecyclerViewFastScroller.java52 private static final Rect sTempRect = new Rect(); field in RecyclerViewFastScroller
391 getHitRect(sTempRect); in isHitInParent()
392 sTempRect.top += mRv.getScrollBarTop(); in isHitInParent()
394 outOffset.set(sTempRect.left, sTempRect.top); in isHitInParent()
396 return sTempRect.contains((int) x, (int) y); in isHitInParent()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DTaskMenuView.java57 private static final Rect sTempRect = new Rect(); field in TaskMenuView
219 mActivity.getDragLayer().getDescendantRectRelativeToSelf(taskView, sTempRect); in orientAroundTaskView()
227 setPosition(sTempRect.left - insets.left, sTempRect.top - insets.top); in orientAroundTaskView()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/
DOverviewState.java61 protected static final Rect sTempRect = new Rect(); field in OverviewState
85 recentsView.getTaskSize(sTempRect); in getWorkspaceScaleAndTranslation()
86 float scale = (float) sTempRect.width() / workspacePageWidth; in getWorkspaceScaleAndTranslation()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DTransformingTouchDelegate.java32 private static final Rect sTempRect = new Rect(); field in TransformingTouchDelegate
44 super(sTempRect, delegateView); in TransformingTouchDelegate()