Home
last modified time | relevance | path

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

/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/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.java420 Matrix tempMatrix, RectF tempRect, int[] decorLoc) { in setSharedElementState() argument
458 tempRect.set(left, top, right, bottom); in setSharedElementState()
459 tempMatrix.mapRect(tempRect); in setSharedElementState()
461 float leftInParent = tempRect.left; in setSharedElementState()
462 float topInParent = tempRect.top; in setSharedElementState()
465 view.getInverseMatrix().mapRect(tempRect); in setSharedElementState()
466 float width = tempRect.width(); in setSharedElementState()
467 float height = tempRect.height(); in setSharedElementState()
474 tempRect.set(0, 0, width, height); in setSharedElementState()
475 view.getMatrix().mapRect(tempRect); in setSharedElementState()
[all …]
/frameworks/base/core/java/android/widget/
DAbsSeekBar.java515 final Rect tempRect = mTempRect;
516 thumbDrawable.copyBounds(tempRect);
517 tempRect.offset(mPaddingLeft - mThumbOffset, mPaddingTop);
518 tempRect.left += insets.left;
519 tempRect.right -= insets.right;
522 canvas.clipRect(tempRect, Op.DIFFERENCE);