/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);
|
ResolverDrawerLayout.java | 106 private final Rect mTempRect = new Rect(); 566 mTempRect.set(0, 0, child.getWidth(), child.getHeight()); 567 offsetDescendantRectToMyCoords(child, mTempRect); 592 return mTempRect.bottom > clipEdge; [all...] |
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
AlignedTextView.java | 33 private final Rect mTempRect = new Rect(); 58 paint.getTextBounds(LATIN_CAPITAL_LETTER, 0, 1, mTempRect); 61 (int) Math.ceil(mTempRect.top - paint.ascent()));
|
/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());
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
PreviewImageView.java | 36 private final Rect mTempRect = new Rect(); 65 float scale = mParent.getDescendantRectRelativeToSelf(view, mTempRect); 67 lp.x = mTempRect.left; 68 lp.y = mTempRect.top;
|
/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/java/android/view/ |
WindowInsets.java | 37 private Rect mTempRect; 108 if (mTempRect == null) { 109 mTempRect = new Rect(); 112 mTempRect.set(mSystemWindowInsets); 115 mTempRect.setEmpty(); 117 return 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()
|
AbsSeekBar.java | 44 private final Rect mTempRect = new Rect(); 687 final Rect tempRect = mTempRect; [all...] |
ListPopupWindow.java | 108 private final Rect mTempRect = new Rect(); 511 popupBackground.getPadding(mTempRect); 512 mDropDownWidth = mTempRect.left + mTempRect.right + width; [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/support/design/src/android/support/design/internal/ |
ScrimInsetsFrameLayout.java | 45 private Rect mTempRect = new Rect(); 96 mTempRect.set(0, 0, width, mInsets.top); 97 mInsetForeground.setBounds(mTempRect); 101 mTempRect.set(0, height - mInsets.bottom, width, height); 102 mInsetForeground.setBounds(mTempRect); 106 mTempRect.set(0, mInsets.top, mInsets.left, height - mInsets.bottom); 107 mInsetForeground.setBounds(mTempRect); 111 mTempRect.set(width - mInsets.right, mInsets.top, width, height - mInsets.bottom); 112 mInsetForeground.setBounds(mTempRect);
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
DragAndDropAccessibilityDelegate.java | 47 private final Rect mTempRect = new Rect(); 133 mView.cellToRect(cellX, cellY, dragInfo.info.spanX, dragInfo.info.spanY, mTempRect); 134 return mTempRect;
|
WorkspaceAccessibilityHelper.java | 40 private final Rect mTempRect = new Rect(); 148 node.getBoundsInParent(mTempRect); 149 mTempRect.left = mTempCords[0] + (int) (mTempRect.left * scale); 150 mTempRect.right = mTempCords[0] + (int) (mTempRect.right * scale); 151 mTempRect.top = mTempCords[1] + (int) (mTempRect.top * scale); 152 mTempRect.bottom = mTempCords[1] + (int) (mTempRect.bottom * scale) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
DragPreviewProvider.java | 39 private final Rect mTempRect = new Rect(); 80 final Rect clipRect = mTempRect;
|
/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);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ListPopupWindow.java | 143 private final Rect mTempRect = new Rect(); 550 popupBackground.getPadding(mTempRect); 551 mDropDownWidth = mTempRect.left + mTempRect.right + width; [all...] |
/frameworks/base/core/java/com/android/internal/transition/ |
EpicenterTranslateClipReveal.java | 277 private final Rect mTempRect = new Rect(); 290 final Rect tempRect = mTempRect; 309 final Rect tempRect = mTempRect;
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
KeyguardSecurityViewFlipper.java | 47 private Rect mTempRect = new Rect(); 60 mTempRect.set(0, 0, 0, 0); 64 offsetRectIntoDescendantCoords(child, mTempRect); 65 ev.offsetLocation(mTempRect.left, mTempRect.top); 67 ev.offsetLocation(-mTempRect.left, -mTempRect.top);
|
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/ |
LinkAccessibilityHelper.java | 72 private final Rect mTempRect = new Rect(); 246 getBoundsForSpan(span, mTempRect); 247 if (mTempRect.isEmpty()) { 249 mTempRect.set(0, 0, 1, 1); 251 info.setBoundsInParent(mTempRect);
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
PagerTabStrip.java | 66 private final Rect mTempRect = new Rect(); 282 final Rect r = mTempRect;
|