/frameworks/base/services/core/java/com/android/server/wm/ |
TaskTapPointerEventListener.java | 39 private final Rect mTmpRect = new Rect(); 78 task.getDimBounds(mTmpRect); 79 if (!mTmpRect.isEmpty() && !mTmpRect.contains(x, y)) { 80 if (x < mTmpRect.left) { 82 (y < mTmpRect.top) ? TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW : 83 (y > mTmpRect.bottom) ? TYPE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW : 85 } else if (x > mTmpRect.right) { 87 (y < mTmpRect.top) ? TYPE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW : 88 (y > mTmpRect.bottom) ? TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW [all...] |
BoundsAnimationController.java | 136 private final Rect mTmpRect = new Rect(); 201 mTmpRect.set(mFrom.left, mFrom.top, mFrom.left + mFrozenTaskWidth, 233 mTarget.setPinnedStackSize(mFrom, mTmpRect); 264 mTmpRect.left = (int) (mFrom.left * remains + mTo.left * value + 0.5f); 265 mTmpRect.top = (int) (mFrom.top * remains + mTo.top * value + 0.5f); 266 mTmpRect.right = (int) (mFrom.right * remains + mTo.right * value + 0.5f); 267 mTmpRect.bottom = (int) (mFrom.bottom * remains + mTo.bottom * value + 0.5f); 269 + mTmpRect + " from=" + mFrom + " mTo=" + mTo + " value=" + value 272 mTmpTaskBounds.set(mTmpRect.left, mTmpRect.top [all...] |
InputMonitor.java | 88 private final Rect mTmpRect = new Rect(); 619 mTmpRect.setEmpty(); 620 pipTouchableBounds = mAddPipInputConsumerHandle ? mTmpRect : null;
|
AppTransition.java | 229 private final Rect mTmpRect = new Rect(); 662 getDefaultNextAppTransitionStartRect(mTmpRect); 667 float scaleW = mTmpRect.width() / (float) appWidth; 668 float scaleH = mTmpRect.height() / (float) appHeight; 670 computePivot(mTmpRect.left, scaleW), 671 computePivot(mTmpRect.top, scaleH)); [all...] |
StackWindowController.java | 58 private final Rect mTmpRect = new Rect(); 341 mTmpRect.set(inInsetBounds); 342 mService.intersectDisplayInsetBounds(displayBounds, stableInsets, mTmpRect); 343 int leftInset = mTmpRect.left - inInsetBounds.left; 344 int topInset = mTmpRect.top - inInsetBounds.top; 345 int rightInset = overrideWidth ? 0 : inInsetBounds.right - mTmpRect.right; 346 int bottomInset = overrideHeight ? 0 : inInsetBounds.bottom - mTmpRect.bottom;
|
PinnedStackController.java | 108 private final Rect mTmpRect = new Rect(); 291 mTmpRect.set(targetBounds); 292 final Rect postChangeStackBounds = mTmpRect; 491 mService.getStackBounds(PINNED_STACK_ID, mTmpRect); 492 pw.print(prefix + " movementBounds="); getMovementBounds(mTmpRect).printShortString(pw);
|
Task.java | 80 private Rect mTmpRect = new Rect(); 290 displayContent.getLogicalDisplayRect(mTmpRect); 294 bounds = mTmpRect; 513 mStack.getBounds(mTmpRect); 514 mTmpRect.intersect(mBounds); 516 out.set(mTmpRect);
|
TaskPositioner.java | 106 private Rect mTmpRect = new Rect(); 169 mTask.getDimBounds(mTmpRect); 171 if (!mTmpRect.equals(mWindowDragBounds)) { 202 mTask.getDimBounds(mTmpRect); 205 if (wasResizing && !mTmpRect.equals(mWindowDragBounds)) { 368 mTask.getDimBounds(mTmpRect); 369 startDrag(resize, preserveOrientation, startX, startY, mTmpRect); 426 mTask.mStack.getDimBounds(mTmpRect); 430 if (!mTmpRect.contains(nX, nY)) { 433 nX = Math.min(Math.max(nX, mTmpRect.left), mTmpRect.right) [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
HorizontalHoverCardSwitcher.java | 34 private Rect mTmpRect = new Rect(); 70 mTmpRect.set(0, 0, childView.getWidth(), childView.getHeight()); 71 parent.offsetDescendantRectToMyCoords(childView, mTmpRect); 72 mCardLeft = mTmpRect.left - mTmpOffsets[0]; 73 mCardRight = mTmpRect.right - mTmpOffsets[0];
|
/frameworks/base/core/java/com/android/internal/widget/ |
OrientationHelper.java | 45 final Rect mTmpRect = new Rect(); 304 mLayoutManager.getTransformedBoundingBox(view, true, mTmpRect); 305 return mTmpRect.right; 310 mLayoutManager.getTransformedBoundingBox(view, true, mTmpRect); 311 return mTmpRect.left; 402 mLayoutManager.getTransformedBoundingBox(view, true, mTmpRect); 403 return mTmpRect.bottom; 408 mLayoutManager.getTransformedBoundingBox(view, true, mTmpRect); 409 return mTmpRect.top;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
DataUsageGraph.java | 37 private final RectF mTmpRect = new RectF(); 67 final RectF r = mTmpRect;
|
/frameworks/base/tests/WindowManagerStressTest/src/test/windowmanagerstresstest/ |
MainActivity.java | 47 private final Rect mTmpRect = new Rect(); 104 window.mSeq, mLayoutParams, -1, -1, View.VISIBLE, 0, mTmpRect, 105 mTmpRect, mTmpRect, mTmpRect, mTmpRect, mTmpRect, mTmpRect,
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
OrientationHelper.java | 44 final Rect mTmpRect = new Rect(); 303 mLayoutManager.getTransformedBoundingBox(view, true, mTmpRect); 304 return mTmpRect.right; 309 mLayoutManager.getTransformedBoundingBox(view, true, mTmpRect); 310 return mTmpRect.left; 401 mLayoutManager.getTransformedBoundingBox(view, true, mTmpRect); 402 return mTmpRect.bottom; 407 mLayoutManager.getTransformedBoundingBox(view, true, mTmpRect); 408 return mTmpRect.top;
|
StaggeredGridLayoutManager.java | 192 private final Rect mTmpRect = new Rect(); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
LockscreenWallpaper.java | 228 private final Rect mTmpRect = new Rect(); 275 mTmpRect.set( 281 super.onBoundsChange(mTmpRect);
|
/cts/hostsidetests/services/activityandwindowmanager/util/src/android/server/cts/ |
SurfaceTraceReceiver.java | 45 private Rectangle.Float mTmpRect = new Rectangle.Float(); 144 mTmpRect.setRect(mTmpFloats[0], mTmpFloats[1], mTmpFloats[2]-mTmpFloats[0], 146 mObserver.setCrop(mCurrentWindowName, mTmpRect); 155 mTmpRect.setRect(mTmpFloats[0], mTmpFloats[1], mTmpFloats[2]-mTmpFloats[0], 157 mObserver.setFinalCrop(mCurrentWindowName, mTmpRect);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
BoundsAnimationControllerTests.java | 397 private Rect mTmpRect = new Rect(); 585 mTmpRect.set(taskBounds); 586 mTmpRect.offsetTo(stackBounds.left, stackBounds.top); 587 return stackBounds.equals(mTmpRect);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
ClipDrawable.java | 59 private final Rect mTmpRect = new Rect(); 180 final Rect r = mTmpRect;
|
ScaleDrawable.java | 67 private final Rect mTmpRect = new Rect(); 223 final Rect r = mTmpRect;
|
InsetDrawable.java | 57 private final Rect mTmpRect = new Rect(); 270 final Rect r = mTmpRect;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
NotificationTemplateViewWrapper.java | 46 private Rect mTmpRect = new Rect(); 152 searchView.getHitRect(mTmpRect); 153 x -= mTmpRect.left; 154 y -= mTmpRect.top; 157 view.getHitRect(mTmpRect); 158 return mTmpRect.contains((int) x,(int) y);
|
/frameworks/base/core/java/com/android/internal/policy/ |
BackdropFrameRenderer.java | 77 private final Rect mTmpRect = new Rect(); 383 DecorView.getNavigationBarRect(width, height, stableInsets, systemInsets, mTmpRect); 384 mNavigationBarColor.setBounds(mTmpRect);
|
/frameworks/support/core-ui/java/android/support/v4/app/ |
ActionBarDrawerToggle.java | 544 private final Rect mTmpRect = new Rect(); 581 copyBounds(mTmpRect); 588 final int width = mTmpRect.width();
|
/frameworks/support/design/base/android/support/design/widget/ |
FloatingActionButtonImpl.java | 85 private final Rect mTmpRect = new Rect(); 315 Rect rect = mTmpRect;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
AppWidgetResizeFrame.java | 67 private static Rect mTmpRect = new Rect(); 342 getWidgetSizeRanges(launcher, spanX, spanY, mTmpRect); 343 widgetView.updateAppWidgetSize(null, mTmpRect.left, mTmpRect.top, 344 mTmpRect.right, mTmpRect.bottom);
|