/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 | 194 taskView.getThumbnail().getGlobalVisibleRect(mTempRect); in redrawLiveTile() 196 - mTempRect.width()); in redrawLiveTile() 198 - mTempRect.height()); in redrawLiveTile() 200 if (mTempRect.left - offsetX < 0) { in redrawLiveTile() 201 mTempRect.left -= offsetX; in redrawLiveTile() 203 mTempRect.right += offsetX; in redrawLiveTile() 207 mTempRect.top -= offsetY; in redrawLiveTile() 209 mTempRectF.set(mTempRect); in redrawLiveTile()
|
D | RecentsView.java | 162 protected final Rect mTempRect = new Rect(); field in RecentsView 641 getTaskSize(dp, mTempRect); in setInsets() 642 mTaskWidth = mTempRect.width(); in setInsets() 643 mTaskHeight = mTempRect.height(); in setInsets() 645 mTempRect.top -= mTaskTopMargin; in setInsets() 646 setPadding(mTempRect.left - mInsets.left, mTempRect.top - mInsets.top, in setInsets() 647 dp.widthPx - mInsets.right - mTempRect.right, in setInsets() 648 dp.heightPx - mInsets.bottom - mTempRect.bottom); in setInsets() 1436 mTempRect.set(mInsets.left + getPaddingLeft(), mInsets.top + getPaddingTop(), in maybeDrawEmptyMessage() 1439 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 271 nextFocusedProgram.getGlobalVisibleRect(mTempRect); in focusFind() 294 Rect focusedRect = mTempRect; in updateUpDownFocusState() 326 if (!getGlobalVisibleRect(mTempRect)) { in getRightMostFocusablePosition() 329 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 | 178 private final Rect mTempRect = new Rect(); field in Workspace 302 rotationMode.mapRect(padding, mTempRect); in setInsets() 303 setPadding(mTempRect.left, mTempRect.top, mTempRect.right, mTempRect.bottom); in setInsets()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | ScrimView.java | 99 private final Rect mTempRect = new Rect(); field in ScrimView 409 mTempRect.set(mDragHandleBounds); in onPopulateNodeForVirtualView() 410 mTempRect.offset(mTempPos[0], mTempPos[1]); in onPopulateNodeForVirtualView() 411 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 | 48 private final Rect mTempRect = new Rect(); field in DragPreviewProvider 92 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);
|