Searched defs:mTmpRect (Results 1 - 25 of 35) sorted by relevance

12

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DHorizontalHoverCardSwitcher.java34 private Rect mTmpRect = new Rect(); field in class:HorizontalHoverCardSwitcher
71 mTmpRect.set(0, 0, childView.getWidth(), childView.getHeight());
72 parent.offsetDescendantRectToMyCoords(childView, mTmpRect);
73 mCardLeft = mTmpRect.left - mTmpOffsets[0];
74 mCardRight = mTmpRect.right - mTmpOffsets[0];
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DDataUsageGraph.java37 private final RectF mTmpRect = new RectF(); field in class:DataUsageGraph
67 final RectF r = mTmpRect;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DClipDrawable.java59 private final Rect mTmpRect = new Rect(); field in class:ClipDrawable
180 final Rect r = mTmpRect;
H A DInsetDrawable.java56 private final Rect mTmpRect = new Rect(); field in class:InsetDrawable
211 final Rect r = mTmpRect;
H A DScaleDrawable.java67 private final Rect mTmpRect = new Rect(); field in class:ScaleDrawable
223 final Rect r = mTmpRect;
H A DLayerDrawable.java101 private final Rect mTmpRect = new Rect(); field in class:LayerDrawable
1720 final Rect rect = mTmpRect;
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskTapPointerEventListener.java41 private final Rect mTmpRect = new Rect(); field in class:TaskTapPointerEventListener
97 task.getDimBounds(mTmpRect);
98 if (!mTmpRect.isEmpty() && !mTmpRect.contains(x, y)) {
100 if (x < mTmpRect.left) {
102 (y < mTmpRect.top) ? TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW :
103 (y > mTmpRect.bottom) ? TYPE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW :
105 } else if (x > mTmpRect.right) {
107 (y < mTmpRect.top) ? TYPE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW :
108 (y > mTmpRect
[all...]
H A DBoundsAnimationController.java101 private final Rect mTmpRect = new Rect(); field in class:BoundsAnimationController.BoundsAnimator
151 mTmpRect.left = (int) (mFrom.left * remains + mTo.left * value + 0.5f);
152 mTmpRect.top = (int) (mFrom.top * remains + mTo.top * value + 0.5f);
153 mTmpRect.right = (int) (mFrom.right * remains + mTo.right * value + 0.5f);
154 mTmpRect.bottom = (int) (mFrom.bottom * remains + mTo.bottom * value + 0.5f);
156 + mTmpRect + " from=" + mFrom + " mTo=" + mTo + " value=" + value
159 mTmpTaskBounds.set(mTmpRect.left, mTmpRect.top,
160 mTmpRect.left + mFrozenTaskWidth, mTmpRect
[all...]
H A DTaskPositioner.java99 private Rect mTmpRect = new Rect(); field in class:TaskPositioner
159 mTask.getDimBounds(mTmpRect);
161 if (!mTmpRect.equals(mWindowDragBounds)) {
352 mTask.getBounds(mTmpRect);
359 mTask.getDimBounds(mTmpRect);
363 if (startX < mTmpRect.left) {
366 if (startX > mTmpRect.right) {
369 if (startY < mTmpRect.top) {
372 if (startY > mTmpRect.bottom) {
378 mWindowOriginalBounds.set(mTmpRect);
[all...]
H A DDisplayContent.java105 private final Rect mTmpRect = new Rect(); field in class:DisplayContent
322 stack.getBounds(mTmpRect);
323 if (!mTmpRect.contains(x, y) || stack.isAdjustedForMinimizedDockedStack()) {
338 task.getDimBounds(mTmpRect);
339 if (mTmpRect.contains(x, y)) {
371 task.getDimBounds(mTmpRect);
372 mTmpRect.inset(-delta, -delta);
373 if (mTmpRect.contains(x, y)) {
374 mTmpRect.inset(delta, delta);
375 if (!mTmpRect
[all...]
H A DDockedStackDividerController.java108 private final Rect mTmpRect = new Rect(); field in class:DockedStackDividerController
166 mTmpRect.set(bounds);
167 mDisplayContent.rotateBounds(di.rotation, rotation, mTmpRect);
175 final int dockSide = TaskStack.getDockSideUnchecked(mTmpRect, mTmpRect2, orientation);
176 final int position = DockedDividerUtils.calculatePositionForBounds(mTmpRect, dockSide,
183 DockedDividerUtils.calculateBoundsForPosition(snappedPosition, dockSide, mTmpRect,
187 mService.subtractInsets(mTmpRect2, mTmpRect3, mTmpRect);
188 minWidth = Math.min(mTmpRect.width(), minWidth);
206 mService.mPolicy.getStableInsetsLw(rotation, dw, dh, mTmpRect);
218 config.orientation == ORIENTATION_PORTRAIT, mTmpRect);
[all...]
H A DTask.java86 private Rect mTmpRect = new Rect(); field in class:Task
226 displayContent.getLogicalDisplayRect(mTmpRect);
230 bounds = mTmpRect;
384 mStack.getDimBounds(mTmpRect);
386 if (bounds.left > mTmpRect.left) {
387 bounds.left = mTmpRect.left;
388 bounds.right = mTmpRect.left + mBounds.width();
389 } else if (bounds.right < mTmpRect.right) {
390 bounds.left = mTmpRect.right - mBounds.width();
391 bounds.right = mTmpRect
[all...]
H A DTaskStack.java80 private Rect mTmpRect = new Rect(); field in class:TaskStack
193 task.getBounds(mTmpRect);
194 task.scrollLocked(mTmpRect);
219 mDisplayContent.getLogicalDisplayRect(mTmpRect);
220 return mTmpRect.equals(bounds);
275 mDisplayContent.getLogicalDisplayRect(mTmpRect);
280 bounds = mTmpRect;
439 mDisplayContent.getLogicalDisplayRect(mTmpRect);
448 movement = mTmpRect.right - inOutBounds.right;
458 movement = mTmpRect
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DOrientationHelper.java45 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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLockscreenWallpaper.java222 private final Rect mTmpRect = new Rect(); field in class:LockscreenWallpaper.WallpaperDrawable
269 mTmpRect.set(
275 super.onBoundsChange(mTmpRect);
/frameworks/support/core-ui/java/android/support/v4/app/
H A DActionBarDrawerToggle.java512 private final Rect mTmpRect = new Rect(); field in class:ActionBarDrawerToggle.SlideDrawable
549 copyBounds(mTmpRect);
556 final int width = mTmpRect.width();
/frameworks/support/design/base/android/support/design/widget/
H A DFloatingActionButtonImpl.java72 private final Rect mTmpRect = new Rect(); field in class:FloatingActionButtonImpl
124 Rect rect = mTmpRect;
/frameworks/support/design/src/android/support/design/widget/
H A DFloatingActionButton.java548 private Rect mTmpRect; field in class:FloatingActionButton.Behavior
654 if (mTmpRect == null) {
655 mTmpRect = new Rect();
659 final Rect rect = mTmpRect;
H A DCollapsingToolbarLayout.java118 private final Rect mTmpRect = new Rect(); field in class:CollapsingToolbarLayout
445 ViewGroupUtils.getDescendantRect(this, mDummyView, mTmpRect);
447 mTmpRect.left + (isRtl
450 mTmpRect.top + maxOffset + mToolbar.getTitleMarginTop(),
451 mTmpRect.right + (isRtl
454 mTmpRect.bottom + maxOffset - mToolbar.getTitleMarginBottom());
459 mTmpRect.top + mExpandedMarginTop,
H A DTextInputLayout.java127 private final Rect mTmpRect = new Rect(); field in class:TextInputLayout
1281 final Rect rect = mTmpRect;
/frameworks/base/core/java/android/view/
H A DSurfaceView.java118 final Rect mTmpRect = new Rect(); field in class:SurfaceView
679 mTmpRect.set(mWindowSpaceLeft, mWindowSpaceTop,
683 mTranslator.translateRectInAppWindowToScreen(mTmpRect);
690 mTmpRect.left, mTmpRect.top,
691 mTmpRect.right, mTmpRect.bottom));
692 mSession.repositionChild(mWindow, mTmpRect.left, mTmpRect.top,
693 mTmpRect
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java93 private final Rect mTmpRect; field in class:SlidingTab
457 mTmpRect = new Rect();
525 leftHandle.getHitRect(mTmpRect);
526 boolean leftHit = mTmpRect.contains((int) x, (int) y);
529 rightHandle.getHitRect(mTmpRect);
530 boolean rightHit = mTmpRect.contains((int)x, (int) y);
H A DFloatingToolbar.java351 private final Rect mTmpRect = new Rect(); field in class:FloatingToolbar.FloatingToolbarPopup
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTaskStack.java284 getMappedRect(expandedTouchDockArea, width, height, mTmpRect);
285 return mTmpRect.contains(x, y);
287 getMappedRect(touchArea, width, height, mTmpRect);
288 updateBoundsWithSystemInsets(mTmpRect, insets);
289 return mTmpRect.contains(x, y);
320 private Rect mTmpRect = new Rect(); field in class:TaskStack.DockState.ViewState
343 mHintTextPaint.getTextBounds(mHintText, 0, mHintText.length(), mTmpRect);
344 mHintTextBounds.set((int) mHintTextPaint.measureText(mHintText), mTmpRect.height());
436 private static final Rect mTmpRect = new Rect(); field in class:TaskStack.DockState
469 getMappedRect(dockArea, width, height, mTmpRect);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackView.java207 private Rect mTmpRect = new Rect(); field in class:TaskStackView
875 mTmpRect.set(mLayoutAlgorithm.mFreeformRect);
876 mFreeformWorkspaceBackground.setBounds(mTmpRect);
1249 mLayoutAlgorithm.mSystemInsets.right, mTmpRect);
1250 if (!mTmpRect.equals(mStableStackBounds)) {
1251 mStableStackBounds.set(mTmpRect);
1252 mStackBounds.set(mTmpRect);
1314 mTmpRect.set(mStableLayoutAlgorithm.getTaskRect());
1315 mTmpRect.union(mLayoutAlgorithm.getTaskRect());
1317 MeasureSpec.makeMeasureSpec(mTmpRect
[all...]

Completed in 582 milliseconds

12