Home
last modified time | relevance | path

Searched refs:tempRect (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
DBubbleExpandedViewPinController.kt42 private val tempRect: Rect by lazy(LazyThreadSafetyMode.NONE) { Rect() } in <lambda>() constant in com.android.wm.shell.bubbles.bar.BubbleExpandedViewPinController
84 tempRect in updateLocation()
87 width = tempRect.width() in updateLocation()
88 height = tempRect.height() in updateLocation()
90 view.x = tempRect.left.toFloat() in updateLocation()
91 view.y = tempRect.top.toFloat() in updateLocation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/
DTouchableRegionViewController.kt37 private val tempRect = Rect() in <lambda>() constant
45 tempRect.setEmpty() in <lambda>()
46 touchableRegionSetter.invoke(mView, tempRect) in <lambda>()
47 inoutInfo.touchableRegion.set(tempRect) in <lambda>()
/frameworks/base/core/java/com/android/internal/transition/
DEpicenterTranslateClipReveal.java290 final Rect tempRect = mTempRect; in get() local
291 if (!object.getClipBounds(tempRect)) { in get()
292 tempRect.setEmpty(); in get()
297 tempState.lower = tempRect.left + (int) tempState.trans; in get()
298 tempState.upper = tempRect.right + (int) tempState.trans; in get()
301 tempState.lower = tempRect.top + (int) tempState.trans; in get()
302 tempState.upper = tempRect.bottom + (int) tempState.trans; in get()
309 final Rect tempRect = mTempRect; in set() local
310 if (object.getClipBounds(tempRect)) { in set()
312 tempRect.left = value.lower - (int) value.trans; in set()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorHwcLayer.kt71 private val tempRect: Rect = Rect() in <lambda>() constant
239 tempRect.set( in <lambda>()
248 val leftDistance = tempRect.left in <lambda>()
249 val topDistance = tempRect.top in <lambda>()
250 val rightDistance = width - tempRect.right in <lambda>()
251 val bottomDistance = height - tempRect.bottom in <lambda>()
255 transparentRect.left = tempRect.right.coerceAtLeast(transparentRect.left) in <lambda>()
258 transparentRect.top = tempRect.bottom.coerceAtLeast(transparentRect.top) in <lambda>()
261 transparentRect.right = tempRect.left.coerceAtMost(transparentRect.right) in <lambda>()
264 transparentRect.bottom = tempRect.top.coerceAtMost(transparentRect.bottom) in <lambda>()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DGraphicsUtils.java88 Rect tempRect = new Rect(); in getArea() local
89 while (itr.next(tempRect)) { in getArea()
90 area += tempRect.width() * tempRect.height(); in getArea()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DFaceSquareFilter.java84 Rect tempRect = faces[i].rect; in drawBoxes() local
85 int top = (tempRect.top+HEIGHT_OFFSET)*dims[1]/FACE_X_RANGE; in drawBoxes()
86 int bottom = (tempRect.bottom+HEIGHT_OFFSET)*dims[1]/FACE_X_RANGE; in drawBoxes()
87 int left = (tempRect.left+WIDTH_OFFSET)*dims[0]/FACE_X_RANGE; in drawBoxes()
88 int right = (tempRect.right+WIDTH_OFFSET)*dims[0]/FACE_X_RANGE; in drawBoxes()
/frameworks/base/core/java/android/app/
DActivityTransitionCoordinator.java493 Matrix tempMatrix, RectF tempRect, int[] decorLoc) { in setSharedElementState() argument
531 tempRect.set(left, top, right, bottom); in setSharedElementState()
532 tempMatrix.mapRect(tempRect); in setSharedElementState()
534 float leftInParent = tempRect.left; in setSharedElementState()
535 float topInParent = tempRect.top; in setSharedElementState()
538 view.getInverseMatrix().mapRect(tempRect); in setSharedElementState()
539 float width = tempRect.width(); in setSharedElementState()
540 float height = tempRect.height(); in setSharedElementState()
547 tempRect.set(0, 0, width, height); in setSharedElementState()
548 view.getMatrix().mapRect(tempRect); in setSharedElementState()
[all …]
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/
DLinkAccessibilityHelper.java148 private final Rect tempRect = new Rect(); field in LinkAccessibilityHelper.PreOLinkAccessibilityHelper
207 getBoundsForSpan(span, tempRect); in onPopulateNodeForVirtualView()
208 if (tempRect.isEmpty()) { in onPopulateNodeForVirtualView()
210 tempRect.set(0, 0, 1, 1); in onPopulateNodeForVirtualView()
212 info.setBoundsInParent(tempRect); in onPopulateNodeForVirtualView()
/frameworks/base/core/java/android/view/
DWindowLayout.java287 Rect displayFrame, Rect inOutFrame, Rect tempRect) { in extendFrameByCutout() argument
291 tempRect.set(inOutFrame); in extendFrameByCutout()
294 Gravity.applyDisplay(0 /* gravity */, displayCutoutSafe, tempRect); in extendFrameByCutout()
296 if (tempRect.intersect(displayFrame)) { in extendFrameByCutout()
297 inOutFrame.union(tempRect); in extendFrameByCutout()
DViewGroup.java9279 final Rect tempRect = new Rect(); in compareBoundsOfTree() local
9283 view.getBoundsOnScreen(tempRect, true); in compareBoundsOfTree()
9284 return !tempRect.equals(view1Bounds); in compareBoundsOfTree()
9287 view.getBoundsOnScreen(tempRect, true); in compareBoundsOfTree()
9288 return !tempRect.equals(view2Bounds); in compareBoundsOfTree()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationController.java1637 Rect tempRect = new Rect(); in changeMagnificationFrameSize() local
1638 tempRect.set(mMagnificationFrame); in changeMagnificationFrameSize()
1641 tempRect.left += (int) (rightOffset); in changeMagnificationFrameSize()
1642 tempRect.right += (int) (leftOffset); in changeMagnificationFrameSize()
1644 tempRect.right += (int) (rightOffset); in changeMagnificationFrameSize()
1645 tempRect.left += (int) (leftOffset); in changeMagnificationFrameSize()
1647 tempRect.top += (int) (topOffset); in changeMagnificationFrameSize()
1648 tempRect.bottom += (int) (bottomOffset); in changeMagnificationFrameSize()
1650 if (tempRect.width() < initSize || tempRect.height() < initSize in changeMagnificationFrameSize()
1651 || tempRect.width() > maxWidthSize || tempRect.height() > maxHeightSize) { in changeMagnificationFrameSize()
[all …]
/frameworks/base/core/java/android/widget/
DAbsSeekBar.java823 final Rect tempRect = mTempRect;
824 thumbDrawable.copyBounds(tempRect);
825 tempRect.offset(mPaddingLeft - mThumbOffset, mPaddingTop);
826 tempRect.left += insets.left;
827 tempRect.right -= insets.right;
830 canvas.clipRect(tempRect, Op.DIFFERENCE);