/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TaskTapPointerEventListener.java | 39 private final Rect mTmpRect = new Rect(); field in class:TaskTapPointerEventListener 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 [all...] |
H A D | BoundsAnimationController.java | 136 private final Rect mTmpRect = new Rect(); field in class:BoundsAnimationController.BoundsAnimator 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 [all...] |
H A D | TaskPositioner.java | 106 private Rect mTmpRect = new Rect(); field in class:TaskPositioner 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 [all...] |
H A D | DockedStackDividerController.java | 108 private final Rect mTmpRect = new Rect(); field in class:DockedStackDividerController 161 mTmpRect.set(bounds); 162 mDisplayContent.rotateBounds(di.rotation, rotation, mTmpRect); 170 final int dockSide = TaskStack.getDockSideUnchecked(mTmpRect, mTmpRect2, orientation); 171 final int position = DockedDividerUtils.calculatePositionForBounds(mTmpRect, dockSide, 178 DockedDividerUtils.calculateBoundsForPosition(snappedPosition, dockSide, mTmpRect, 182 mService.intersectDisplayInsetBounds(mTmpRect2, mTmpRect3, mTmpRect); 183 minWidth = Math.min(mTmpRect.width(), minWidth); 191 mTmpRect); 197 outBounds.set(0, mTaskHeightInMinimizedMode + dividerSize + mTmpRect [all...] |
H A D | AppTransition.java | 229 private final Rect mTmpRect = new Rect(); field in class:AppTransition 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)); 795 // mTmpRect will contain an area around the launcher icon that was pressed. We will 797 getDefaultNextAppTransitionStartRect(mTmpRect); 801 t = (float) mTmpRect.top / displayFrame.height(); 806 int centerX = mTmpRect [all...] |
H A D | TaskStack.java | 79 private Rect mTmpRect = new Rect(); field in class:TaskStack 255 mDisplayContent.getLogicalDisplayRect(mTmpRect); 260 bounds = mTmpRect; 483 mDisplayContent.getLogicalDisplayRect(mTmpRect); 492 movement = mTmpRect.right - inOutBounds.right; 502 movement = mTmpRect.bottom - inOutBounds.bottom; 699 dc.getLogicalDisplayRect(mTmpRect); 706 getStackDockedModeBounds(mTmpRect, bounds, mStackId, mTmpRect2, 792 mDisplayContent.getLogicalDisplayRect(mTmpRect); 795 getStackDockedModeBounds(mTmpRect, outStackBound [all...] |
H A D | StackWindowController.java | 58 private final Rect mTmpRect = new Rect(); field in class:StackWindowController 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;
|
H A D | PinnedStackController.java | 108 private final Rect mTmpRect = new Rect(); field in class:PinnedStackController 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);
|
H A D | Task.java | 80 private Rect mTmpRect = new Rect(); field in class:Task 290 displayContent.getLogicalDisplayRect(mTmpRect); 294 bounds = mTmpRect; 513 mStack.getBounds(mTmpRect); 514 mTmpRect.intersect(mBounds); 516 out.set(mTmpRect);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | HorizontalHoverCardSwitcher.java | 34 private Rect mTmpRect = new Rect(); field in class:HorizontalHoverCardSwitcher 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/tests/WindowManagerStressTest/src/test/windowmanagerstresstest/ |
H A D | MainActivity.java | 47 private final Rect mTmpRect = new Rect(); field in class:MainActivity 104 window.mSeq, mLayoutParams, -1, -1, View.VISIBLE, 0, mTmpRect, 105 mTmpRect, mTmpRect, mTmpRect, mTmpRect, mTmpRect, mTmpRect,
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | OrientationHelper.java | 45 final Rect mTmpRect = new Rect(); field in class:OrientationHelper 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/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | OrientationHelper.java | 44 final Rect mTmpRect = new Rect(); field in class:OrientationHelper 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;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationTemplateViewWrapper.java | 46 private Rect mTmpRect = new Rect(); field in class:NotificationTemplateViewWrapper 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/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | DataUsageGraph.java | 37 private final RectF mTmpRect = new RectF(); field in class:DataUsageGraph 67 final RectF r = mTmpRect;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskViewTransform.java | 40 private Rect mTmpRect = new Rect(); 49 mTmpRect.set(v.getLeft(), v.getTop(), v.getRight(), v.getBottom()); 50 return mTmpRect;
|
H A D | TaskStackView.java | 214 private Rect mTmpRect = new Rect(); field in class:TaskStackView 894 mTmpRect.set(mLayoutAlgorithm.mFreeformRect); 895 mFreeformWorkspaceBackground.setBounds(mTmpRect); 1273 mLayoutAlgorithm.mSystemInsets.right, mTmpRect); 1274 if (!mTmpRect.equals(mStableStackBounds)) { 1275 mStableStackBounds.set(mTmpRect); 1276 mStackBounds.set(mTmpRect); 1338 mTmpRect.set(mStableLayoutAlgorithm.getTaskRect()); 1339 mTmpRect.union(mLayoutAlgorithm.getTaskRect()); 1341 MeasureSpec.makeMeasureSpec(mTmpRect [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | LockscreenWallpaper.java | 228 private final Rect mTmpRect = new Rect(); field in class:LockscreenWallpaper.WallpaperDrawable 275 mTmpRect.set( 281 super.onBoundsChange(mTmpRect);
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | BackdropFrameRenderer.java | 77 private final Rect mTmpRect = new Rect(); field in class:BackdropFrameRenderer 383 DecorView.getNavigationBarRect(width, height, stableInsets, systemInsets, mTmpRect); 384 mNavigationBarColor.setBounds(mTmpRect);
|
/frameworks/support/core-ui/java/android/support/v4/app/ |
H A D | ActionBarDrawerToggle.java | 544 private final Rect mTmpRect = new Rect(); field in class:ActionBarDrawerToggle.SlideDrawable 581 copyBounds(mTmpRect); 588 final int width = mTmpRect.width();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | BoundsAnimationControllerTests.java | 397 private Rect mTmpRect = new Rect(); field in class:BoundsAnimationControllerTests 585 mTmpRect.set(taskBounds); 586 mTmpRect.offsetTo(stackBounds.left, stackBounds.top); 587 return stackBounds.equals(mTmpRect);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
H A D | TaskStack.java | 285 getMappedRect(expandedTouchDockArea, width, height, mTmpRect); 286 return mTmpRect.contains(x, y); 288 getMappedRect(touchArea, width, height, mTmpRect); 289 updateBoundsWithSystemInsets(mTmpRect, insets); 290 return mTmpRect.contains(x, y); 321 private Rect mTmpRect = new Rect(); field in class:TaskStack.DockState.ViewState 344 mHintTextPaint.getTextBounds(mHintText, 0, mHintText.length(), mTmpRect); 345 mHintTextBounds.set((int) mHintTextPaint.measureText(mHintText), mTmpRect.height()); 437 private static final Rect mTmpRect = new Rect(); field in class:TaskStack.DockState 470 getMappedRect(dockArea, width, height, mTmpRect); [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ClipDrawable.java | 59 private final Rect mTmpRect = new Rect(); field in class:ClipDrawable 180 final Rect r = mTmpRect;
|
H A D | ScaleDrawable.java | 67 private final Rect mTmpRect = new Rect(); field in class:ScaleDrawable 223 final Rect r = mTmpRect;
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CollapsingToolbarLayout.java | 119 private final Rect mTmpRect = new Rect(); field in class:CollapsingToolbarLayout 456 ViewGroupUtils.getDescendantRect(this, mDummyView, mTmpRect); 458 mTmpRect.left + (isRtl 461 mTmpRect.top + maxOffset + mToolbar.getTitleMarginTop(), 462 mTmpRect.right + (isRtl 465 mTmpRect.bottom + maxOffset - mToolbar.getTitleMarginBottom()); 470 mTmpRect.top + mExpandedMarginTop,
|