HomeSort by relevance Sort by last modified time
    Searched refs:mTempRect (Results 1 - 25 of 83) sorted by null

1 2 3 4

  /development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
SkewableTextView.java 34 RectF mTempRect = new RectF();
77 mTempRect.set(0, 0, getRight(), getBottom());
78 matrix.mapRect(mTempRect);
79 mTempRect.offset(getLeft() + getTranslationX(), getTop() + getTranslationY());
80 ((View) getParent()).invalidate((int) mTempRect.left, (int) mTempRect.top,
81 (int) (mTempRect.right +.5f), (int) (mTempRect.bottom + .5f));
  /frameworks/base/core/java/com/android/internal/widget/
LinearLayoutWithDefaultTouchRecepient.java 36 private final Rect mTempRect = new Rect();
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/
ButtonsWithTallTextViewInBetweenTest.java 52 private Rect mTempRect = new Rect();
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;
ShortButtonsTest.java 101 private Rect mTempRect = new Rect();
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/
ScrollingThroughListOfFocusablesTest.java 34 Rect mTempRect = new Rect();
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.bottom < mActivity.getScreenHeight())
    [all...]
  /development/samples/devbytes/animation/Anticipation/src/com/example/android/anticipation/
AnticiButton.java 52 RectF mTempRect = new RectF();
223 mTempRect.set(0, 0, getRight(), getBottom());
224 matrix.mapRect(mTempRect);
225 mTempRect.offset(getLeft() + getTranslationX(), getTop() + getTranslationY());
226 ((View) getParent()).invalidate((int) mTempRect.left, (int) mTempRect.top,
227 (int) (mTempRect.right +.5f), (int) (mTempRect.bottom + .5f));
  /packages/apps/Camera/src/com/android/camera/ui/
Switch.java 92 private final Rect mTempRect = new Rect();
169 mTrackDrawable.getPadding(mTempRect);
173 maxTextWidth * 2 + mThumbTextPadding * 4 + mTempRect.left + mTempRect.right);
213 mThumbDrawable.getPadding(mTempRect);
217 mTempRect.left + mTempRect.right + mTouchSlop;
396 mTrackDrawable.getPadding(mTempRect);
397 int switchInnerLeft = switchLeft + mTempRect.left;
398 int switchInnerTop = switchTop + mTempRect.top
    [all...]
  /packages/apps/Camera2/src/com/android/camera/ui/
Switch.java 85 private final Rect mTempRect = new Rect();
160 mTrackDrawable.getPadding(mTempRect);
164 maxTextWidth * 2 + mThumbTextPadding * 4 + mTempRect.left + mTempRect.right);
204 mThumbDrawable.getPadding(mTempRect);
208 mTempRect.left + mTempRect.right + mTouchSlop;
387 mTrackDrawable.getPadding(mTempRect);
388 int switchInnerLeft = switchLeft + mTempRect.left;
389 int switchInnerTop = switchTop + mTempRect.top
    [all...]
  /frameworks/base/core/java/android/view/
WindowInsets.java 37 private Rect mTempRect;
99 if (mTempRect == null) {
100 mTempRect = new Rect();
103 mTempRect.set(mSystemWindowInsets);
106 mTempRect.setEmpty();
108 return mTempRect;
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
HorizontalGridView.java 51 private Rect mTempRect = new Rect();
325 mTempRect.top = 0;
326 mTempRect.bottom = getHeight();
341 mTempRect.left = 0;
342 mTempRect.right = mLowFadeShaderLength;
344 canvas.drawBitmap(tempBitmap, mTempRect, mTempRect, null);
361 mTempRect.left = 0;
362 mTempRect.right = mHighFadeShaderLength;
364 canvas.drawBitmap(tempBitmap, mTempRect, mTempRect, null)
    [all...]
  /frameworks/base/core/java/android/widget/
AccessibilityIterators.java 121 private final Rect mTempRect = new Rect();
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()
HorizontalScrollView.java 74 private final Rect mTempRect = new Rect();
355 mTempRect.setEmpty();
    [all...]
ScrollView.java 80 private final Rect mTempRect = new Rect();
381 mTempRect.setEmpty();
    [all...]
CalendarViewLegacyDelegate.java     [all...]
ListPopupWindow.java 108 private Rect mTempRect = new Rect();
494 popupBackground.getPadding(mTempRect);
495 mDropDownWidth = mTempRect.left + mTempRect.right + width;
    [all...]
Spinner.java 93 private Rect mTempRect = new Rect();
771 background.getPadding(mTempRect);
772 width += mTempRect.left + mTempRect.right;
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
InternalSelectionView.java 48 private Rect mTempRect = new Rect();
151 mTempRect.set(rectLeft, rectTop, rectRight, rectTop + rowHeight);
152 canvas.drawRect(mTempRect, mPainter);
164 mTempRect.set(rectLeft + 2, rectTop + 2,
166 canvas.drawRect(mTempRect, mPainter);
194 getRectForRow(mTempRect, mSelectedRow);
195 requestRectangleOnScreen(mTempRect);
  /frameworks/base/core/tests/coretests/src/android/util/
InternalSelectionView.java 56 private Rect mTempRect = new Rect();
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);
  /packages/apps/Browser/src/com/android/browser/view/
ScrollerView.java 72 private final Rect mTempRect = new Rect();
411 mTempRect.setEmpty();
    [all...]
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardPatternView.java 81 private Rect mTempRect = new Rect();
161 mTempRect.set(0, 0, 0, 0);
162 offsetRectIntoDescendantCoords(mLockPatternView, mTempRect);
163 ev.offsetLocation(mTempRect.left, mTempRect.top);
165 ev.offsetLocation(-mTempRect.left, -mTempRect.top);
KeyguardSecurityViewFlipper.java 43 private Rect mTempRect = new Rect();
56 mTempRect.set(0, 0, 0, 0);
60 offsetRectIntoDescendantCoords(child, mTempRect);
61 ev.offsetLocation(mTempRect.left, mTempRect.top);
63 ev.offsetLocation(-mTempRect.left, -mTempRect.top);
  /packages/apps/Calculator/src/com/android/calculator2/
CalculatorEditText.java 67 private final Rect mTempRect = new Rect();
183 getPaint().getTextBounds("H", 0, 1, mTempRect);
186 final int paddingOffset = -(fontMetrics.ascent + mTempRect.height());
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/
TabsAdapter.java 48 private final Rect mTempRect = new Rect();
150 mTempRect.set(tab.getLeft(), tab.getTop(), tab.getRight(), tab.getBottom());
151 widget.requestRectangleOnScreen(mTempRect, false);
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
SpinnerCompat.java 89 private Rect mTempRect = new Rect();
675 background.getPadding(mTempRect);
676 width += mTempRect.left + mTempRect.right;
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
ListPopupWindow.java 124 private Rect mTempRect = new Rect();
510 popupBackground.getPadding(mTempRect);
511 mDropDownWidth = mTempRect.left + mTempRect.right + width;
    [all...]

Completed in 729 milliseconds

1 2 3 4