Searched refs:targetRect (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/view/ |
D | ScaleSpan.java | 61 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/ |
D | ClipAnimationHelper.java | 129 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()
|
D | RectFSpringAnim.java | 106 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/ |
D | AppToOverviewAnimationProvider.java | 139 Rect targetRect = new Rect(); in createWindowAnimation() local 140 mHelper.getSwipeUpDestinationAndLength(mActivity.getDeviceProfile(), mActivity, targetRect); in createWindowAnimation() local 141 clipHelper.updateTargetRect(targetRect); in createWindowAnimation()
|
D | BaseSwipeUpHandler.java | 372 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/ |
D | IconRecentsView.java | 911 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/ |
D | OptionsPopupView.java | 124 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/ |
D | ImageUtils.java | 851 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/ |
D | OldSpeedDialFragment.java | 412 Uri contactUri, Rect targetRect, CallSpecificAppData callSpecificAppData) { in onContactSelected() argument
|