/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | DragAndDropAccessibilityDelegate.java | 45 protected final Rect mTempRect = new Rect(); field in DragAndDropAccessibilityDelegate 132 mTempRect.left = mTempCords[0] + (int) (itemBounds.left * scale); in onPopulateNodeForVirtualView() 133 mTempRect.right = mTempCords[0] + (int) (itemBounds.right * scale); in onPopulateNodeForVirtualView() 134 mTempRect.top = mTempCords[1] + (int) (itemBounds.top * scale); in onPopulateNodeForVirtualView() 135 mTempRect.bottom = mTempCords[1] + (int) (itemBounds.bottom * scale); in onPopulateNodeForVirtualView() 136 node.setBoundsInScreen(mTempRect); in onPopulateNodeForVirtualView() 163 mView.cellToRect(cellX, cellY, dragInfo.info.spanX, dragInfo.info.spanY, mTempRect); in getItemBounds() 164 return mTempRect; in getItemBounds()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | NavigableAppWidgetHostView.java | 57 private final Rect mTempRect = new Rect(); field in NavigableAppWidgetHostView 234 getWidgetInset(mActivity.getDeviceProfile(), mTempRect); in getWorkspaceVisualDragBounds() local 235 bounds.set(mTempRect.left, mTempRect.top, width - mTempRect.right, in getWorkspaceVisualDragBounds() 236 height - mTempRect.bottom); in getWorkspaceVisualDragBounds()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | DragPreviewProvider.java | 51 private final Rect mTempRect = new Rect(); field in DragPreviewProvider 84 dv.getSourceVisualDragBounds(mTempRect); in drawDragView() 85 destCanvas.translate(blurSizeOutline / 2 - mTempRect.left, in drawDragView() 86 blurSizeOutline / 2 - mTempRect.top); in drawDragView() 107 ((DraggableView) mView).getSourceVisualDragBounds(mTempRect); in createDrawable() 108 width = mTempRect.width(); in createDrawable() 109 height = mTempRect.height(); in createDrawable()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherRootView.java | 22 private final Rect mTempRect = new Rect(); field in LauncherRootView 48 mTempRect.set(insets); in handleSystemWindowInsets() 49 insets = mTempRect; in handleSystemWindowInsets() 64 mTempRect.set(insets.getSystemWindowInsetLeft(), insets.getSystemWindowInsetTop(), in onApplyWindowInsets() 66 handleSystemWindowInsets(mTempRect); in onApplyWindowInsets()
|
D | ShortcutAndWidgetContainer.java | 43 private final Rect mTempRect = new Rect(); field in ShortcutAndWidgetContainer 109 ((LauncherAppWidgetHostView) child).getWidgetInset(profile, mTempRect); in setupLp() 111 profile.appWidgetScale.x, profile.appWidgetScale.y, mBorderSpacing, mTempRect); in setupLp() 133 ((LauncherAppWidgetHostView) child).getWidgetInset(dp, mTempRect); in measureChild() 135 dp.appWidgetScale.x, dp.appWidgetScale.y, mBorderSpacing, mTempRect); in measureChild()
|
D | CellLayout.java | 196 private final Rect mTempRect = new Rect(); field in CellLayout 803 cellToRect(cellX, cellY, 1, 1, mTempRect); in cellToPoint() 804 result[0] = mTempRect.left; in cellToPoint() 805 result[1] = mTempRect.top; in cellToPoint() 829 cellToRect(cellX, cellY, spanX, spanY, mTempRect); in regionToCenterPoint() 830 result[0] = mTempRect.centerX(); in regionToCenterPoint() 831 result[1] = mTempRect.centerY(); in regionToCenterPoint() 907 mBackground.getPadding(mTempRect); in onLayout() 909 left - mTempRect.left - getPaddingLeft(), in onLayout() 910 top - mTempRect.top - getPaddingTop(), in onLayout() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | WorkspaceTouchListener.java | 63 private final Rect mTempRect = new Rect(); field in WorkspaceTouchListener 97 mTempRect.set(insets.left, insets.top, dl.getWidth() - insets.right, in onTouch() 99 mTempRect.inset(dp.edgeMarginPx, dp.edgeMarginPx); in onTouch() 100 handleLongPress = mTempRect.contains((int) ev.getX(), (int) ev.getY()); in onTouch()
|
/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/popup/ |
D | ArrowPopup.java | 100 private final Rect mTempRect = new Rect(); field in ArrowPopup 570 getTargetObjectLocation(mTempRect); in orientAboutObject() 575 int leftAlignedX = mTempRect.left; in orientAboutObject() 576 int rightAlignedX = mTempRect.right - width; in orientAboutObject() 581 int iconWidth = mTempRect.width(); in orientAboutObject() 604 int iconHeight = mTempRect.height(); in orientAboutObject() 605 int y = mTempRect.top - height; in orientAboutObject() 608 y = mTempRect.top + iconHeight + extraVerticalSpace; in orientAboutObject()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarIconController.java | 41 private final Rect mTempRect = new Rect(); field in TaskbarIconController 126 mTaskbarView.mSystemButtonContainer, mTempRect); in updateInsetsTouchability() 127 insetsInfo.touchableRegion.set(mTempRect); in updateInsetsTouchability()
|
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/ |
D | KeyboardDragAndDropView.java | 70 private final Rect mTempRect = new Rect(); field in KeyboardDragAndDropView 231 mCurrentSelection.populate(mTempNodeInfo).getBoundsInScreen(mTempRect); in getNextSelection() 239 int majorAxisWeight = majorAxis.applyAsInt(mTempRect, mTempRect2); in getNextSelection() 244 - minorAxis.applyAsInt(mTempRect); in getNextSelection()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | LauncherDelegate.java | 54 private final Rect mTempRect = new Rect(); field in LauncherDelegate 88 mTempRect.set(lp.x, lp.y, lp.x + lp.width, lp.y + lp.height); in addRectForColorExtraction() 90 mLauncher.getWorkspace().getCurrentPage(), mTempRect, mTempRectF); in addRectForColorExtraction()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | RecentsView.java | 367 protected final Rect mTempRect = new Rect(); field in RecentsView 1331 getTaskSize(mTempRect); in updateSizeAndPadding() 1332 mTaskWidth = mTempRect.width(); in updateSizeAndPadding() 1333 mTaskHeight = mTempRect.height(); in updateSizeAndPadding() 1335 mTempRect.top -= dp.overviewTaskThumbnailTopMarginPx; in updateSizeAndPadding() 1336 setPadding(mTempRect.left - mInsets.left, mTempRect.top - mInsets.top, in updateSizeAndPadding() 1337 dp.widthPx - mInsets.right - mTempRect.right, in updateSizeAndPadding() 1338 dp.heightPx - mInsets.bottom - mTempRect.bottom); in updateSizeAndPadding() 1408 mSizeStrategy.calculateTaskSize(mActivity, mActivity.getDeviceProfile(), mTempRect, in getSelectedTaskSize() 1410 int taskWidth = mTempRect.width(); in getSelectedTaskSize() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | FallbackSwipeHandler.java | 183 private final Rect mTempRect = new Rect(); field in FallbackSwipeHandler.FallbackHomeAnimationFactory 310 currentRect.roundOut(mTempRect); in update() 313 t.setGeometry(mSurfaceControl, null, mTempRect, Surface.ROTATION_0); in update()
|
/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/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);
|