Home
last modified time | relevance | path

Searched refs:targetRect (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/view/
DScaleSpan.java61 Rect targetRect = new Rect(); in draw() local
62 paint.getTextBounds(text, start, end, targetRect); in draw()
68 int yShift = (currentRect.height() - targetRect.height()) / 2; in draw()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DClipAnimationHelper.java129 public void updateTargetRect(Rect targetRect) { in updateTargetRect() argument
133 mTargetRect.set(targetRect); in updateTargetRect()
293 Rect targetRect = new Rect(); in fromTaskThumbnailView() local
294 dl.getDescendantRectRelativeToSelf(ttv, targetRect); in fromTaskThumbnailView()
295 updateTargetRect(targetRect); in fromTaskThumbnailView()
DRectFSpringAnim.java106 public RectFSpringAnim(RectF startRect, RectF targetRect, Resources resources) { in RectFSpringAnim() argument
108 mTargetRect = targetRect; in RectFSpringAnim()
111 mTrackingBottomY = startRect.bottom < targetRect.bottom; in RectFSpringAnim()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DAppToOverviewAnimationProvider.java139 Rect targetRect = new Rect(); in createWindowAnimation() local
140 mHelper.getSwipeUpDestinationAndLength(mActivity.getDeviceProfile(), mActivity, targetRect); in createWindowAnimation() local
141 clipHelper.updateTargetRect(targetRect); in createWindowAnimation()
DBaseSwipeUpHandler.java372 final RectF targetRect = homeAnimationFactory.getWindowTargetRect(); in createWindowAnimationToHome() local
376 RectFSpringAnim anim = new RectFSpringAnim(startRect, targetRect, mContext.getResources()); in createWindowAnimationToHome()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/
DIconRecentsView.java911 private void setViewToRect(View view, RectF origRect, RectF targetRect) { in setViewToRect() argument
912 float dX = targetRect.left - origRect.left; in setViewToRect()
913 float dY = targetRect.top - origRect.top; in setViewToRect()
917 float scaleX = targetRect.width() / origRect.width(); in setViewToRect()
918 float scaleY = targetRect.height() / origRect.height(); in setViewToRect()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DOptionsPopupView.java124 public static void show(Launcher launcher, RectF targetRect, List<OptionItem> items) { in show() argument
127 popup.mTargetRect = targetRect; in show()
/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java851 final RectF targetRect = new RectF(left, top, left + scaledWidth, top + scaledHeight); in scaleCenterCrop() local
857 canvas.drawBitmap(source, null, targetRect, null); in scaleCenterCrop()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DOldSpeedDialFragment.java412 Uri contactUri, Rect targetRect, CallSpecificAppData callSpecificAppData) { in onContactSelected() argument