/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LinearLayoutWithDefaultTouchRecepient.java | 36 private final Rect mTempRect = new Rect(); field in class:LinearLayoutWithDefaultTouchRecepient 60 mTempRect.set(0, 0, 0, 0); 61 offsetRectIntoDescendantCoords(mDefaultTouchRecepient, mTempRect); 62 ev.setLocation(ev.getX() + mTempRect.left, ev.getY() + mTempRect.top);
|
H A D | ActionBarView.java | 139 private final Rect mTempRect = new Rect(); field in class:ActionBarView 1158 mTempRect.set(homeLayout.getLeft(), homeLayout.getTop(), 1160 setTouchDelegate(new TouchDelegate(mTempRect, homeLayout));
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/ |
H A D | ButtonsWithTallTextViewInBetweenTest.java | 52 private Rect mTempRect = new Rect(); field in class:ButtonsWithTallTextViewInBetweenTest 55 descendant.getDrawingRect(mTempRect); 56 mScrollView.offsetDescendantRectToMyCoords(descendant, mTempRect); 57 return mTempRect.top; 61 descendant.getDrawingRect(mTempRect); 62 mScrollView.offsetDescendantRectToMyCoords(descendant, mTempRect); 63 return mTempRect.bottom;
|
H A D | ShortButtonsTest.java | 101 private Rect mTempRect = new Rect(); field in class:ShortButtonsTest 103 b.getDrawingRect(mTempRect); 104 mScrollView.offsetDescendantRectToMyCoords(b, mTempRect); 105 return mTempRect.bottom >= mScrollView.getScrollY() 106 && mTempRect.top <= (mScrollView.getScrollY() + mScrollView.getHeight());
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | ScrollingThroughListOfFocusablesTest.java | 34 Rect mTempRect = new Rect(); field in class:ScrollingThroughListOfFocusablesTest 143 view.getRectForRow(mTempRect, mNumRowsPerItem - 1); 144 mListView.offsetDescendantRectToMyCoords(view, mTempRect); 148 mListView.getBottom() - mListView.getVerticalFadingEdgeLength() < mTempRect.bottom); 192 view.getDrawingRect(mTempRect); 193 mListView.offsetDescendantRectToMyCoords(view, mTempRect); 219 internalFocused.getRectForRow(mTempRect, row); 220 mListView.offsetDescendantRectToMyCoords(internalFocused, mTempRect); 223 mTempRect.top >= 0); 225 mTempRect [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | HorizontalScrollView.java | 68 private final Rect mTempRect = new Rect(); field in class:HorizontalScrollView 342 mTempRect.setEmpty(); 940 mTempRect.left = getScrollX() + width; 944 if (mTempRect.left + width > view.getRight()) { 945 mTempRect.left = view.getRight() - width; 949 mTempRect.left = getScrollX() - width; 950 if (mTempRect.left < 0) { 951 mTempRect.left = 0; 954 mTempRect.right = mTempRect [all...] |
H A D | ScrollView.java | 74 private final Rect mTempRect = new Rect(); field in class:ScrollView 362 mTempRect.setEmpty(); 917 mTempRect.top = getScrollY() + height; 921 if (mTempRect.top + height > view.getBottom()) { 922 mTempRect.top = view.getBottom() - height; 926 mTempRect.top = getScrollY() - height; 927 if (mTempRect.top < 0) { 928 mTempRect.top = 0; 931 mTempRect.bottom = mTempRect [all...] |
H A D | AccessibilityIterators.java | 121 private final Rect mTempRect = new Rect(); field in class:AccessibilityIterators.PageTextSegmentIterator 144 if (!mView.getGlobalVisibleRect(mTempRect)) { 152 final int pageHeight = mTempRect.height() - mView.getTotalPaddingTop() 173 if (!mView.getGlobalVisibleRect(mTempRect)) { 181 final int pageHeight = mTempRect.height() - mView.getTotalPaddingTop()
|
H A D | Switch.java | 99 private final Rect mTempRect = new Rect(); field in class:Switch 485 mTrackDrawable.getPadding(mTempRect); 488 maxTextWidth * 2 + mThumbTextPadding * 4 + mTempRect.left + mTempRect.right); 554 mThumbDrawable.getPadding(mTempRect); 558 mTempRect.left + mTempRect.right + mTouchSlop; 732 mTrackDrawable.getPadding(mTempRect); 733 int switchInnerLeft = switchLeft + mTempRect.left; 734 int switchInnerTop = switchTop + mTempRect [all...] |
H A D | ListPopupWindow.java | 91 private Rect mTempRect = new Rect(); field in class:ListPopupWindow 450 popupBackground.getPadding(mTempRect); 451 mDropDownWidth = mTempRect.left + mTempRect.right + width; 1075 background.getPadding(mTempRect); 1076 padding = mTempRect.top + mTempRect.bottom; 1081 mDropDownVerticalOffset = -mTempRect.top; 1084 mTempRect.setEmpty(); 1102 (mTempRect [all...] |
H A D | Spinner.java | 76 private Rect mTempRect = new Rect(); field in class:Spinner 681 background.getPadding(mTempRect); 682 width += mTempRect.left + mTempRect.right; 937 background.getPadding(mTempRect); 938 bgOffset = -mTempRect.left; 940 mTempRect.left = mTempRect.right = 0; 951 .getDisplayMetrics().widthPixels - mTempRect.left - mTempRect [all...] |
H A D | CalendarView.java | 1489 private final Rect mTempRect = new Rect(); field in class:CalendarView.WeekView 1692 mTempRect.top = mWeekSeperatorLineWidth; 1693 mTempRect.bottom = mHeight; 1694 mTempRect.left = mShowWeekNumber ? mWidth / mNumCells : 0; 1695 mTempRect.right = mSelectedLeft - 2; 1696 canvas.drawRect(mTempRect, mDrawPaint); 1698 mTempRect.left = mSelectedRight + 3; 1699 mTempRect.right = mWidth; 1700 canvas.drawRect(mTempRect, mDrawPaint);
|
H A D | ListView.java | 122 private final Rect mTempRect = new Rect(); field in class:ListView 2314 currentFocus.getFocusedRect(mTempRect); 2315 offsetDescendantRectToMyCoords(currentFocus, mTempRect); 2316 offsetRectIntoDescendantCoords(nextFocus, mTempRect); 2317 if (nextFocus.requestFocus(direction, mTempRect)) { 2750 mTempRect.set(0, ySearchPoint, 0, ySearchPoint); 2760 mTempRect.set(0, ySearchPoint, 0, ySearchPoint); 2762 newFocus = FocusFinder.getInstance().findNextFocusFromRect(this, mTempRect, direction); 2839 newFocus.getDrawingRect(mTempRect); 2840 offsetDescendantRectToMyCoords(newFocus, mTempRect); [all...] |
H A D | ZoomButtonsController.java | 131 private final Rect mTempRect = new Rect(); field in class:ZoomButtonsController 617 Rect frame = mTempRect;
|
H A D | PopupWindow.java | 111 private Rect mTempRect = new Rect(); field in class:PopupWindow 1235 mBackground.getPadding(mTempRect); 1236 returnedHeight -= mTempRect.top + mTempRect.bottom;
|
H A D | Editor.java | 187 private Rect mTempRect; field in class:Editor 1615 if (mTempRect == null) mTempRect = new Rect(); 1616 mCursorDrawable[cursorIndex].getPadding(mTempRect); 1619 final int left = (int) (horizontal) - mTempRect.left; 1620 mCursorDrawable[cursorIndex].setBounds(left, top - mTempRect.top, left + width, 1621 bottom + mTempRect.bottom); 2377 if (mTempRect == null) mTempRect = new Rect(); 2378 popupBackground.getPadding(mTempRect); [all...] |
H A D | NumberPicker.java | 2098 private final Rect mTempRect = new Rect(); field in class:NumberPicker.AccessibilityNodeProviderImpl 2468 Rect boundsInParent = mTempRect; 2509 Rect boundsInParent = mTempRect;
|
H A D | GridView.java | 99 private final Rect mTempRect = new Rect(); field in class:GridView 1843 Rect otherRect = mTempRect;
|
H A D | TextView.java | 369 private Rect mTempRect; field in class:TextView 6554 if (mTempRect == null) mTempRect = new Rect(); 6555 mTempRect.set(x - 2, top, x + 2, bottom); 6556 getInterestingRect(mTempRect, line); 6557 mTempRect.offset(mScrollX, mScrollY); 6559 if (requestRectangleOnScreen(mTempRect)) {
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | InternalSelectionView.java | 56 private Rect mTempRect = new Rect(); field in class:InternalSelectionView 157 mTempRect.set(rectLeft, rectTop, rectRight, rectTop + rowHeight); 158 canvas.drawRect(mTempRect, mPainter); 170 mTempRect.set(rectLeft + 2, rectTop + 2, 172 canvas.drawRect(mTempRect, mPainter); 207 getRectForRow(mTempRect, mSelectedRow); 208 requestRectangleOnScreen(mTempRect);
|
/frameworks/opt/mailcommon/java/com/android/mailcommon/ |
H A D | MultiAdapterSpinner.java | 62 private Rect mTempRect = new Rect(); field in class:MultiAdapterSpinner 152 background.getPadding(mTempRect); 153 bgOffset = -mTempRect.left;
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | PagerTabStrip.java | 62 private final Rect mTempRect = new Rect(); field in class:PagerTabStrip 276 final Rect r = mTempRect;
|
H A D | ViewPager.java | 123 private final Rect mTempRect = new Rect(); field in class:ViewPager 2261 final int nextLeft = getChildRectInPagerCoordinates(mTempRect, nextFocused).left; 2262 final int currLeft = getChildRectInPagerCoordinates(mTempRect, currentFocused).left; 2271 final int nextLeft = getChildRectInPagerCoordinates(mTempRect, nextFocused).left; 2272 final int currLeft = getChildRectInPagerCoordinates(mTempRect, currentFocused).left;
|
/frameworks/base/core/java/android/view/ |
H A D | ViewRootImpl.java | 215 final Rect mTempRect; // used in the transaction to not thrash the heap. field in class:ViewRootImpl 378 mTempRect = new Rect(); 876 mTempRect.set(dirty); 877 dirty = mTempRect; 2422 focus.getFocusedRect(mTempRect); 2424 + ": focusRect=" + mTempRect.toShortString()); 2427 focus, mTempRect); 2431 + mTempRect.toShortString() 2434 mTempRect.set(rectangle); 2437 + mTempRect [all...] |
/frameworks/base/services/java/com/android/server/accessibility/ |
H A D | TouchExplorer.java | 171 private final Rect mTempRect = new Rect(); field in class:TouchExplorer 1087 Rect focusBounds = mTempRect; 1101 Rect activeWindowBounds = mTempRect; 1105 Rect focusBounds = mTempRect; 1339 Rect focusBounds = mTempRect; 1353 Rect activeWindowBounds = mTempRect; 1357 Rect focusBounds = mTempRect;
|