/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);
|
/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 | 70 private final Rect mTempRect = new Rect(); field in class:HorizontalScrollView 344 mTempRect.setEmpty(); 953 mTempRect.left = getScrollX() + width; 957 if (mTempRect.left + width > view.getRight()) { 958 mTempRect.left = view.getRight() - width; 962 mTempRect.left = getScrollX() - width; 963 if (mTempRect.left < 0) { 964 mTempRect.left = 0; 967 mTempRect.right = mTempRect [all...] |
H A D | ScrollView.java | 77 private final Rect mTempRect = new Rect(); field in class:ScrollView 365 mTempRect.setEmpty(); 938 mTempRect.top = getScrollY() + height; 942 if (mTempRect.top + height > view.getBottom()) { 943 mTempRect.top = view.getBottom() - height; 947 mTempRect.top = getScrollY() - height; 948 if (mTempRect.top < 0) { 949 mTempRect.top = 0; 952 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 | 110 private final Rect mTempRect = new Rect(); field in class:Switch 490 mTrackDrawable.getPadding(mTempRect); 493 maxTextWidth * 2 + mThumbTextPadding * 4 + mTempRect.left + mTempRect.right); 531 mThumbDrawable.getPadding(mTempRect); 535 mTempRect.left + mTempRect.right + mTouchSlop; 730 mTrackDrawable.getPadding(mTempRect); 731 int switchInnerLeft = switchLeft + mTempRect.left; 732 int switchInnerTop = switchTop + mTempRect [all...] |
H A D | ListPopupWindow.java | 94 private Rect mTempRect = new Rect(); field in class:ListPopupWindow 458 popupBackground.getPadding(mTempRect); 459 mDropDownWidth = mTempRect.left + mTempRect.right + width; 1083 background.getPadding(mTempRect); 1084 padding = mTempRect.top + mTempRect.bottom; 1089 mDropDownVerticalOffset = -mTempRect.top; 1092 mTempRect.setEmpty(); 1110 (mTempRect [all...] |
H A D | Spinner.java | 85 private Rect mTempRect = new Rect(); field in class:Spinner 693 background.getPadding(mTempRect); 694 width += mTempRect.left + mTempRect.right; 949 background.getPadding(mTempRect); 950 hOffset = isLayoutRtl() ? mTempRect.right : -mTempRect.left; 952 mTempRect.left = mTempRect.right = 0; 962 .getDisplayMetrics().widthPixels - mTempRect [all...] |
H A D | CalendarView.java | 1489 private final Rect mTempRect = new Rect(); field in class:CalendarView.WeekView 1713 mTempRect.top = mWeekSeperatorLineWidth; 1714 mTempRect.bottom = mHeight; 1719 mTempRect.left = 0; 1720 mTempRect.right = mSelectedLeft - 2; 1722 mTempRect.left = mShowWeekNumber ? mWidth / mNumCells : 0; 1723 mTempRect.right = mSelectedLeft - 2; 1725 canvas.drawRect(mTempRect, mDrawPaint); 1728 mTempRect.left = mSelectedRight + 3; 1729 mTempRect [all...] |
H A D | ListView.java | 124 private final Rect mTempRect = new Rect(); field in class:ListView 2376 currentFocus.getFocusedRect(mTempRect); 2377 offsetDescendantRectToMyCoords(currentFocus, mTempRect); 2378 offsetRectIntoDescendantCoords(nextFocus, mTempRect); 2379 if (nextFocus.requestFocus(direction, mTempRect)) { 2812 mTempRect.set(0, ySearchPoint, 0, ySearchPoint); 2822 mTempRect.set(0, ySearchPoint, 0, ySearchPoint); 2824 newFocus = FocusFinder.getInstance().findNextFocusFromRect(this, mTempRect, direction); 2901 newFocus.getDrawingRect(mTempRect); 2902 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 1249 mBackground.getPadding(mTempRect); 1250 returnedHeight -= mTempRect.top + mTempRect.bottom;
|
H A D | Editor.java | 186 private Rect mTempRect; field in class:Editor 1621 if (mTempRect == null) mTempRect = new Rect(); 1622 mCursorDrawable[cursorIndex].getPadding(mTempRect); 1625 final int left = (int) (horizontal) - mTempRect.left; 1626 mCursorDrawable[cursorIndex].setBounds(left, top - mTempRect.top, left + width, 1627 bottom + mTempRect.bottom); 2380 if (mTempRect == null) mTempRect = new Rect(); 2381 popupBackground.getPadding(mTempRect); [all...] |
/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/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardPatternView.java | 87 private Rect mTempRect = new Rect(); field in class:KeyguardPatternView 180 mTempRect.set(0, 0, 0, 0); 181 offsetRectIntoDescendantCoords(mLockPatternView, mTempRect); 182 ev.offsetLocation(mTempRect.left, mTempRect.top); 184 ev.offsetLocation(-mTempRect.left, -mTempRect.top);
|
H A D | KeyguardSecurityViewFlipper.java | 44 private Rect mTempRect = new Rect(); field in class:KeyguardSecurityViewFlipper 57 mTempRect.set(0, 0, 0, 0); 61 offsetRectIntoDescendantCoords(child, mTempRect); 62 ev.offsetLocation(mTempRect.left, mTempRect.top); 64 ev.offsetLocation(-mTempRect.left, -mTempRect.top);
|
H A D | KeyguardHostView.java | 96 private Rect mTempRect = new Rect(); field in class:KeyguardHostView 173 mTempRect.set(0, 0, 0, 0); 174 offsetRectIntoDescendantCoords(mSecurityViewContainer, mTempRect); 175 ev.offsetLocation(mTempRect.left, mTempRect.top); 177 ev.offsetLocation(-mTempRect.left, -mTempRect.top);
|
H A D | MultiPaneChallengeLayout.java | 50 private final Rect mTempRect = new Rect(); field in class:MultiPaneChallengeLayout 326 final Rect padding = 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 277 final Rect r = mTempRect;
|
/frameworks/base/services/java/com/android/server/accessibility/ |
H A D | TouchExplorer.java | 176 private final Rect mTempRect = new Rect(); field in class:TouchExplorer 1240 Rect focusBounds = mTempRect; 1254 Rect activeWindowBounds = mTempRect; 1258 Rect focusBounds = mTempRect; 1428 Rect focusBounds = mTempRect; 1442 Rect activeWindowBounds = mTempRect; 1446 Rect focusBounds = mTempRect;
|
H A D | ScreenMagnifier.java | 898 private final Rect mTempRect = new Rect(); field in class:ScreenMagnifier.DisplayContentObserver 1214 mTempRect.set(args.argi1, args.argi2, args.argi3, args.argi4); 1216 handleOnRectangleOnScreenRequested(mTempRect, immediate); 1250 private final Rect mTempRect = new Rect(); field in class:ScreenMagnifier.MagnificationController 1305 mTempRect.set(mViewport.getBounds()); 1306 mTempRect.offset((int) -mCurrentMagnificationSpec.mScaledOffsetX, 1308 mTempRect.scale(1.0f / mCurrentMagnificationSpec.mScale); 1309 return mTempRect;
|
/frameworks/base/core/java/android/view/ |
H A D | ViewRootImpl.java | 211 final Rect mTempRect; // used in the transaction to not thrash the heap. field in class:ViewRootImpl 358 mTempRect = new Rect(); 865 mTempRect.set(dirty); 866 dirty = mTempRect; 2436 focus.getFocusedRect(mTempRect); 2438 + ": focusRect=" + mTempRect.toShortString()); 2441 focus, mTempRect); 2445 + mTempRect.toShortString() 2448 mTempRect.set(rectangle); 2451 + mTempRect [all...] |