Home
last modified time | relevance | path

Searched refs:mTempRect (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DWorkspaceAccessibilityHelper.java41 private final Rect mTempRect = new Rect(); field in WorkspaceAccessibilityHelper
149 node.getBoundsInParent(mTempRect); in onPopulateNodeForVirtualView()
150 mTempRect.left = mTempCords[0] + (int) (mTempRect.left * scale); in onPopulateNodeForVirtualView()
151 mTempRect.right = mTempCords[0] + (int) (mTempRect.right * scale); in onPopulateNodeForVirtualView()
152 mTempRect.top = mTempCords[1] + (int) (mTempRect.top * scale); in onPopulateNodeForVirtualView()
153 mTempRect.bottom = mTempCords[1] + (int) (mTempRect.bottom * scale); in onPopulateNodeForVirtualView()
154 node.setBoundsInScreen(mTempRect); in onPopulateNodeForVirtualView()
DDragAndDropAccessibilityDelegate.java48 private final Rect mTempRect = new Rect(); field in DragAndDropAccessibilityDelegate
134 mView.cellToRect(cellX, cellY, dragInfo.info.spanX, dragInfo.info.spanY, mTempRect); in getItemBounds()
135 return mTempRect; in getItemBounds()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DLauncherRecentsView.java238 taskView.getThumbnail().getGlobalVisibleRect(mTempRect); in redrawLiveTile()
240 - mTempRect.width()); in redrawLiveTile()
242 - mTempRect.height()); in redrawLiveTile()
244 if (mTempRect.left - offsetX < 0) { in redrawLiveTile()
245 mTempRect.left -= offsetX; in redrawLiveTile()
247 mTempRect.right += offsetX; in redrawLiveTile()
251 mTempRect.top -= offsetY; in redrawLiveTile()
253 mTempRectF.set(mTempRect); in redrawLiveTile()
DRecentsView.java163 protected final Rect mTempRect = new Rect(); field in RecentsView
660 getTaskSize(dp, mTempRect); in setInsets()
661 mTaskWidth = mTempRect.width(); in setInsets()
662 mTaskHeight = mTempRect.height(); in setInsets()
664 mTempRect.top -= mTaskTopMargin; in setInsets()
665 setPadding(mTempRect.left - mInsets.left, mTempRect.top - mInsets.top, in setInsets()
666 dp.widthPx - mInsets.right - mTempRect.right, in setInsets()
667 dp.heightPx - mInsets.bottom - mTempRect.bottom); in setInsets()
1490 mTempRect.set(mInsets.left + getPaddingLeft(), mInsets.top + getPaddingTop(), in maybeDrawEmptyMessage()
1493 canvas.translate(getScrollX() + (mTempRect.left - mTempRect.right) / 2, in maybeDrawEmptyMessage()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java63 private final Rect mTempRect = new Rect(); field in ArrowPopup
240 getTargetObjectLocation(mTempRect); in orientAboutObject()
245 int leftAlignedX = mTempRect.left; in orientAboutObject()
246 int rightAlignedX = mTempRect.right - width; in orientAboutObject()
257 int iconWidth = mTempRect.width(); in orientAboutObject()
277 int iconHeight = mTempRect.height(); in orientAboutObject()
278 int y = mTempRect.top - height; in orientAboutObject()
281 y = mTempRect.top + iconHeight + extraVerticalSpace; in orientAboutObject()
/packages/apps/TV/src/com/android/tv/guide/
DProgramGrid.java86 private final Rect mTempRect = new Rect(); field in ProgramGrid
282 nextFocusedProgram.getGlobalVisibleRect(mTempRect); in focusFind()
305 Rect focusedRect = mTempRect; in updateUpDownFocusState()
337 if (!getGlobalVisibleRect(mTempRect)) { in getRightMostFocusablePosition()
340 return mTempRect.right - GuideUtils.convertMillisToPixel(FOCUS_AREA_RIGHT_MARGIN_MILLIS); in getRightMostFocusablePosition()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DWorkspaceTouchListener.java62 private final Rect mTempRect = new Rect(); field in WorkspaceTouchListener
96 mTempRect.set(insets.left, insets.top, dl.getWidth() - insets.right, in onTouch()
98 mTempRect.inset(dp.edgeMarginPx, dp.edgeMarginPx); in onTouch()
99 handleLongPress = mTempRect.contains((int) ev.getX(), (int) ev.getY()); in onTouch()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherRootView.java25 private final Rect mTempRect = new Rect(); field in LauncherRootView
108 mTempRect.set(insets.getSystemWindowInsetLeft(), insets.getSystemWindowInsetTop(), in onApplyWindowInsets()
110 handleSystemWindowInsets(mTempRect); in onApplyWindowInsets()
115 return insets.replaceSystemWindowInsets(mTempRect); in onApplyWindowInsets()
DCellLayout.java180 private final Rect mTempRect = new Rect(); field in CellLayout
337 mRotationMode.mapRect(left, top, right, bottom, mTempRect); in setPadding()
338 super.setPadding(mTempRect.left, mTempRect.top, mTempRect.right, mTempRect.bottom); in setPadding()
824 mBackground.getPadding(mTempRect); in onLayout()
826 left - mTempRect.left - getPaddingLeft(), in onLayout()
827 top - mTempRect.top - getPaddingTop(), in onLayout()
828 right + mTempRect.right + getPaddingRight(), in onLayout()
829 bottom + mTempRect.bottom + getPaddingBottom()); in onLayout()
DWorkspace.java176 private final Rect mTempRect = new Rect(); field in Workspace
300 rotationMode.mapRect(padding, mTempRect); in setInsets()
301 setPadding(mTempRect.left, mTempRect.top, mTempRect.right, mTempRect.bottom); in setInsets()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DScrimView.java101 private final Rect mTempRect = new Rect(); field in ScrimView
412 mTempRect.set(mDragHandleBounds); in onPopulateNodeForVirtualView()
413 mTempRect.offset(mTempPos[0], mTempPos[1]); in onPopulateNodeForVirtualView()
414 node.setBoundsInScreen(mTempRect); in onPopulateNodeForVirtualView()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java89 private final Rect mTempRect = new Rect(); field in SlotView
111 Rect rect = mLayout.getSlotRect(index, mTempRect); in setCenterIndex()
119 Rect rect = mLayout.getSlotRect(index, mTempRect); in makeSlotVisible()
316 Rect rect = mLayout.getSlotRect(index, mTempRect); in renderItem()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DDragPreviewProvider.java49 private final Rect mTempRect = new Rect(); field in DragPreviewProvider
96 final Rect clipRect = mTempRect; in drawDragView()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java458 final Rect mTempRect = new Rect(); // temp variable used in UI thread
1666 focused.getFocusedRect(mTempRect);
1667 offsetDescendantRectToMyCoords(focused, mTempRect);
1668 offsetRectIntoDescendantCoords(newFocus, mTempRect);
1669 return newFocus.requestFocus(direction, mTempRect);