Home
last modified time | relevance | path

Searched refs:tempRect (Results 1 – 7 of 7) 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.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/widget/
DAbsSeekBar.java815 final Rect tempRect = mTempRect;
816 thumbDrawable.copyBounds(tempRect);
817 tempRect.offset(mPaddingLeft - mThumbOffset, mPaddingTop);
818 tempRect.left += insets.left;
819 tempRect.right -= insets.right;
822 canvas.clipRect(tempRect, Op.DIFFERENCE);
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStackSupervisor.java351 private final Rect tempRect = new Rect(); field in ActivityStackSupervisor
1671 tempRect /* outStackBounds */, in resizeDockedStackLocked()
1675 !tempRect.isEmpty() ? tempRect : null, in resizeDockedStackLocked()
1716 insetBounds = tempRect; in resizePinnedStackLocked()
/frameworks/base/core/java/android/view/
DViewGroup.java8897 final Rect tempRect = new Rect(); in compareBoundsOfTree() local
8901 view.getBoundsOnScreen(tempRect, true); in compareBoundsOfTree()
8902 return !tempRect.equals(view1Bounds); in compareBoundsOfTree()
8905 view.getBoundsOnScreen(tempRect, true); in compareBoundsOfTree()
8906 return !tempRect.equals(view2Bounds); in compareBoundsOfTree()