Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/widget/
DLinkAccessibilityHelper.java39 private final Rect mTempRect = new Rect(); field in LinkAccessibilityHelper
96 getBoundsForSpan(span, mTempRect); in onPopulateNodeForVirtualView()
97 if (!mTempRect.isEmpty()) { in onPopulateNodeForVirtualView()
98 info.setBoundsInParent(getBoundsForSpan(span, mTempRect)); in onPopulateNodeForVirtualView()
101 mTempRect.set(0, 0, 1, 1); in onPopulateNodeForVirtualView()
102 info.setBoundsInParent(mTempRect); in onPopulateNodeForVirtualView()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DAlignedTextView.java33 private final Rect mTempRect = new Rect(); field in AlignedTextView
58 paint.getTextBounds(LATIN_CAPITAL_LETTER, 0, 1, mTempRect); in onMeasure()
61 (int) Math.ceil(mTempRect.top - paint.ascent())); in onMeasure()
/packages/apps/TV/src/com/android/tv/guide/
DProgramGrid.java92 private final Rect mTempRect = new Rect(); field in ProgramGrid
238 Rect focusableRect = mTempRect; in focusFind()
262 Rect focusableRect = mTempRect; in focusFind()
301 Rect focusedRect = mTempRect; in updateUpDownFocusState()
330 if (!getGlobalVisibleRect(mTempRect)) { in getRightMostFocusablePosition()
333 return mTempRect.right - GuideUtils.convertMillisToPixel(FOCUS_AREA_RIGHT_MARGIN_MILLIS); in getRightMostFocusablePosition()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DDragAndDropAccessibilityDelegate.java47 private final Rect mTempRect = new Rect(); field in DragAndDropAccessibilityDelegate
133 mView.cellToRect(cellX, cellY, dragInfo.info.spanX, dragInfo.info.spanY, mTempRect); in getItemBounds()
134 return mTempRect; in getItemBounds()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DTabsAdapter.java48 private final Rect mTempRect = new Rect(); field in TabsAdapter
142 mTempRect.set(tab.getLeft(), tab.getTop(), tab.getRight(), tab.getBottom()); in onPageSelected()
143 widget.requestRectangleOnScreen(mTempRect, false); in onPageSelected()
/packages/apps/Calculator/src/com/android/calculator2/
DCalculatorEditText.java67 private final Rect mTempRect = new Rect(); field in CalculatorEditText
183 getPaint().getTextBounds("H", 0, 1, mTempRect); in getCompoundPaddingTop()
186 final int paddingOffset = -(fontMetrics.ascent + mTempRect.height()); in getCompoundPaddingTop()
/packages/apps/Music/src/com/android/music/
DTouchInterceptor.java70 private Rect mTempRect = new Rect(); field in TouchInterceptor
99 Rect r = mTempRect; in onInterceptTouchEvent()
167 Rect frame = mTempRect; in myPointToPosition()
307 Rect r = mTempRect; in onTouchEvent()
/packages/apps/Launcher2/src/com/android/launcher2/
DFolder.java95 private Rect mTempRect = new Rect(); field in Folder
802 float scale = parent.getDescendantRectRelativeToSelf(mFolderIcon, mTempRect); in centerAboutIcon()
804 int centerX = (int) (mTempRect.left + mTempRect.width() * scale / 2); in centerAboutIcon()
805 int centerY = (int) (mTempRect.top + mTempRect.height() * scale / 2); in centerAboutIcon()
DBubbleTextView.java50 private final Rect mTempRect = new Rect(); field in BubbleTextView
171 final Rect clipRect = mTempRect; in drawWithPadding()
DWorkspace.java173 private final Rect mTempRect = new Rect(); field in Workspace
1767 final Rect clipRect = mTempRect;
/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/
DCellLayout.java166 private final Rect mTempRect = new Rect(); field in CellLayout
473 mTempRect.set(r); in onDraw()
474 Utilities.scaleRectAboutCenter(mTempRect, getChildrenScale()); in onDraw()
477 canvas.drawBitmap(b, null, mTempRect, paint); in onDraw()
931 mBackground.getPadding(mTempRect); in onSizeChanged()
932 mBackground.setBounds(-mTempRect.left, -mTempRect.top, in onSizeChanged()
933 w + mTempRect.right, h + mTempRect.bottom); in onSizeChanged()
/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);