Home
last modified time | relevance | path

Searched refs:tempRect (Results 1 – 5 of 5) 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.java422 Matrix tempMatrix, RectF tempRect, int[] decorLoc) { in setSharedElementState() argument
460 tempRect.set(left, top, right, bottom); in setSharedElementState()
461 tempMatrix.mapRect(tempRect); in setSharedElementState()
463 float leftInParent = tempRect.left; in setSharedElementState()
464 float topInParent = tempRect.top; in setSharedElementState()
467 view.getInverseMatrix().mapRect(tempRect); in setSharedElementState()
468 float width = tempRect.width(); in setSharedElementState()
469 float height = tempRect.height(); in setSharedElementState()
476 tempRect.set(0, 0, width, height); in setSharedElementState()
477 view.getMatrix().mapRect(tempRect); in setSharedElementState()
[all …]
/frameworks/base/core/java/android/widget/
DAbsSeekBar.java668 final Rect tempRect = mTempRect;
669 thumbDrawable.copyBounds(tempRect);
670 tempRect.offset(mPaddingLeft - mThumbOffset, mPaddingTop);
671 tempRect.left += insets.left;
672 tempRect.right -= insets.right;
675 canvas.clipRect(tempRect, Op.DIFFERENCE);
/frameworks/base/services/core/java/com/android/server/am/
DActivityStackSupervisor.java404 private final Rect tempRect = new Rect(); field in ActivityStackSupervisor
2194 HOME_STACK_ID, tempRect, true /* ignoreVisibility */); in resizeDockedStackLocked()
2197 resizeStackLocked(i, tempRect, tempOtherTaskBounds, in resizeDockedStackLocked()