Searched refs:tempRect (Results 1 – 9 of 9) sorted by relevance
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/ |
H A D | TouchableRegionViewController.kt | 37 private val tempRect = Rect() regex 45 tempRect.setEmpty() 46 touchableRegionSetter.invoke(mView, tempRect) 47 inoutInfo.touchableRegion.set(tempRect)
|
/aosp14/frameworks/base/core/java/com/android/internal/transition/ |
H A D | EpicenterTranslateClipReveal.java | 290 final Rect tempRect = mTempRect; in get() local 291 if (!object.getClipBounds(tempRect)) { in get() 292 tempRect.setEmpty(); in get() 301 tempState.lower = tempRect.top + (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() 313 tempRect.right = value.upper - (int) value.trans; in set() 315 tempRect.top = value.lower - (int) value.trans; in set() 316 tempRect.bottom = value.upper - (int) value.trans; in set() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ScreenDecorHwcLayer.kt | 71 private val tempRect: Rect = Rect() 239 tempRect.set( 248 val leftDistance = tempRect.left 249 val topDistance = tempRect.top 250 val rightDistance = width - tempRect.right 251 val bottomDistance = height - tempRect.bottom 255 transparentRect.left = tempRect.right.coerceAtLeast(transparentRect.left) 258 transparentRect.top = tempRect.bottom.coerceAtLeast(transparentRect.top) 261 transparentRect.right = tempRect.left.coerceAtMost(transparentRect.right) 264 transparentRect.bottom = tempRect.top.coerceAtMost(transparentRect.bottom)
|
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | FaceSquareFilter.java | 84 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()
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | ActivityTransitionCoordinator.java | 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() 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() 550 left = leftInParent - tempRect.left; in setSharedElementState() 551 top = topInParent - tempRect.top; in setSharedElementState() [all …]
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | WindowLayout.java | 287 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()
|
H A D | ViewGroup.java | 9302 final Rect tempRect = new Rect(); in compareBoundsOfTree() local 9306 view.getBoundsOnScreen(tempRect, true); in compareBoundsOfTree() 9307 return !tempRect.equals(view1Bounds); in compareBoundsOfTree() 9310 view.getBoundsOnScreen(tempRect, true); in compareBoundsOfTree() 9311 return !tempRect.equals(view2Bounds); in compareBoundsOfTree()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
H A D | WindowMagnificationController.java | 1344 Rect tempRect = new Rect(); in changeMagnificationFrameSize() local 1345 tempRect.set(mMagnificationFrame); in changeMagnificationFrameSize() 1348 tempRect.left += (int) (rightOffset); in changeMagnificationFrameSize() 1349 tempRect.right += (int) (leftOffset); in changeMagnificationFrameSize() 1351 tempRect.right += (int) (rightOffset); in changeMagnificationFrameSize() 1352 tempRect.left += (int) (leftOffset); in changeMagnificationFrameSize() 1354 tempRect.top += (int) (topOffset); in changeMagnificationFrameSize() 1355 tempRect.bottom += (int) (bottomOffset); in changeMagnificationFrameSize() 1357 if (tempRect.width() < initSize || tempRect.height() < initSize in changeMagnificationFrameSize() 1358 || tempRect.width() > maxWidthSize || tempRect.height() > maxHeightSize) { in changeMagnificationFrameSize() [all …]
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | AbsSeekBar.java | 823 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);
|