Lines Matching refs:mTmpRect
205 private final Rect mTmpRect = new Rect();
598 getDefaultNextAppTransitionStartRect(mTmpRect);
603 float scaleW = mTmpRect.width() / (float) appWidth;
604 float scaleH = mTmpRect.height() / (float) appHeight;
606 computePivot(mTmpRect.left, scaleW),
607 computePivot(mTmpRect.right, scaleH));
731 // mTmpRect will contain an area around the launcher icon that was pressed. We will
733 getDefaultNextAppTransitionStartRect(mTmpRect);
737 t = (float) mTmpRect.top / displayFrame.height();
742 int centerX = mTmpRect.centerX();
743 int centerY = mTmpRect.centerY();
744 int halfWidth = mTmpRect.width() / 2;
745 int halfHeight = mTmpRect.height() / 2;
766 clipStartX = appWidth - mTmpRect.width();
774 clipStartX, clipStartX + mTmpRect.width(), 0, appWidth);
784 clipStartY, clipStartY + mTmpRect.height(),
911 getNextAppTransitionStartRect(taskId, mTmpRect);
919 fromX = mTmpRect.left;
920 fromY = mTmpRect.top;
924 toX = mTmpRect.width() / 2 * (scaleW - 1f) + appRect.left;
926 pivotX = mTmpRect.width() / 2;
931 fromX = mTmpRect.left;
932 fromY = mTmpRect.top;
1055 getDefaultNextAppTransitionStartRect(mTmpRect);
1056 final int thumbWidthI = mTmpRect.width();
1058 final int thumbHeightI = mTmpRect.height();
1060 final int thumbStartX = mTmpRect.left - containingFrame.left;
1061 final int thumbStartY = mTmpRect.top - containingFrame.top;
1103 final float targetX = (mTmpRect.left - containingFrame.left);
1106 final float targetY = (mTmpRect.top - containingFrame.top);
1176 getNextAppTransitionStartRect(taskId, mTmpRect);
1177 return createAspectScaledThumbnailFreeformAnimationLocked(mTmpRect, frame, surfaceInsets,
1183 getNextAppTransitionStartRect(taskId, mTmpRect);
1184 return createAspectScaledThumbnailFreeformAnimationLocked(frame, mTmpRect, surfaceInsets,
1244 getDefaultNextAppTransitionStartRect(mTmpRect);
1255 computePivot(mTmpRect.left, 1 / scaleW),
1256 computePivot(mTmpRect.top, 1 / scaleH));
1272 computePivot(mTmpRect.left, 1 / scaleW),
1273 computePivot(mTmpRect.top, 1 / scaleH));
1289 getDefaultNextAppTransitionStartRect(mTmpRect);
1301 computePivot(mTmpRect.left, scaleW),
1302 computePivot(mTmpRect.top, scaleH));
1329 computePivot(mTmpRect.left, scaleW),
1330 computePivot(mTmpRect.top, scaleH));
1880 getDefaultNextAppTransitionStartRect(mTmpRect);
1882 pw.print(mTmpRect.left);
1884 pw.println(mTmpRect.top);
1886 pw.print(mTmpRect.width());
1888 pw.println(mTmpRect.height());