/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());
|
/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);
|
/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()
|
ZoomButtonsController.java | 131 private final Rect mTempRect = new Rect(); 617 Rect frame = mTempRect;
|
HorizontalScrollView.java | 70 private final Rect mTempRect = new Rect(); 344 mTempRect.setEmpty(); [all...] |
ListPopupWindow.java | 94 private Rect mTempRect = new Rect(); 458 popupBackground.getPadding(mTempRect); 459 mDropDownWidth = mTempRect.left + mTempRect.right + width; [all...] |
ScrollView.java | 77 private final Rect mTempRect = new Rect(); 365 mTempRect.setEmpty(); [all...] |
/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...] |
/frameworks/opt/mailcommon/java/com/android/mailcommon/ |
MultiAdapterSpinner.java | 62 private Rect mTempRect = new Rect(); 152 background.getPadding(mTempRect); 153 bgOffset = -mTempRect.left;
|
/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/PackageInstaller/src/com/android/packageinstaller/ |
TabsAdapter.java | 48 private final Rect mTempRect = new Rect(); 142 mTempRect.set(tab.getLeft(), tab.getTop(), tab.getRight(), tab.getBottom()); 143 widget.requestRectangleOnScreen(mTempRect, false);
|
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
AccessibilityNodeProviderActivity.java | 79 private final Rect mTempRect = new Rect(); 219 Rect drawingRect = mTempRect;
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
KeyguardSecurityViewFlipper.java | 44 private Rect mTempRect = new Rect(); 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);
|
KeyguardPatternView.java | 87 private Rect mTempRect = new Rect(); 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);
|
MultiPaneChallengeLayout.java | 50 private final Rect mTempRect = new Rect(); 326 final Rect padding = mTempRect;
|
/frameworks/support/v4/java/android/support/v4/view/ |
PagerTabStrip.java | 62 private final Rect mTempRect = new Rect(); 277 final Rect r = mTempRect;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
BubbleTextView.java | 50 private final Rect mTempRect = new Rect(); 168 final Rect clipRect = mTempRect;
|
/packages/apps/Music/src/com/android/music/ |
TouchInterceptor.java | 70 private Rect mTempRect = new Rect(); 99 Rect r = mTempRect; 167 Rect frame = mTempRect; 307 Rect r = mTempRect;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ListPopupWindow.java | 101 private Rect mTempRect = new Rect(); 442 popupBackground.getPadding(mTempRect); 443 mDropDownWidth = mTempRect.left + mTempRect.right + width; [all...] |
/packages/apps/Browser/src/com/android/browser/view/ |
ScrollerView.java | 72 private final Rect mTempRect = new Rect(); 411 mTempRect.setEmpty(); [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
HorizontalScrollView.java | 71 private final Rect mTempRect = new Rect(); 338 mTempRect.setEmpty(); [all...] |