/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | WorkspaceAccessibilityHelper.java | 41 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()
|
D | DragAndDropAccessibilityDelegate.java | 48 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/ |
D | LauncherRecentsView.java | 238 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()
|
D | RecentsView.java | 163 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/ |
D | ArrowPopup.java | 63 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/ |
D | ProgramGrid.java | 86 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/ |
D | WorkspaceTouchListener.java | 62 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/ |
D | LauncherRootView.java | 25 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()
|
D | CellLayout.java | 180 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()
|
D | Workspace.java | 176 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/ |
D | ScrimView.java | 101 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/ |
D | SlotView.java | 89 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/ |
D | DragPreviewProvider.java | 49 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/ |
D | ScrollAdapterView.java | 458 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);
|