Home
last modified time | relevance | path

Searched refs:currentRect (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DClipAnimationHelper.java166 if (params.currentRect == null) { in applyTransform()
167 RectF currentRect; in applyTransform() local
170 currentRect = mRectFEvaluator.evaluate(progress, mSourceRect, mTmpRectF); in applyTransform()
171 currentRect.offset(params.offsetX, 0); in applyTransform()
183 params.setCurrentRectAndTargetAlpha(currentRect, 1); in applyTransform()
196 float scale = Math.max(params.currentRect.width(), mTargetRect.width()) / crop.width(); in applyTransform()
200 mTmpMatrix.setRectToRect(mSourceRect, params.currentRect, ScaleToFit.FILL); in applyTransform()
206 scale = params.currentRect.width() / crop.width(); in applyTransform()
239 return params.currentRect; in applyTransform()
382 @Nullable RectF currentRect; field in ClipAnimationHelper.TransformParams
[all …]
DRectFSpringAnim.java238 void onUpdate(RectF currentRect, float progress); in onUpdate() argument
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/view/
DScaleSpan.java65 Rect currentRect = new Rect(); in draw() local
66 paint.getTextBounds(text, start, end, currentRect); in draw()
68 int yShift = (currentRect.height() - targetRect.height()) / 2; in draw()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAttachmentPreview.java252 final Rect currentRect = UiUtils.getMeasuredBoundsOnScreen(leftoverView); in onAttachmentsChanged() local
253 if (!currentRect.isEmpty() && in onAttachmentsChanged()
255 ((MediaPickerMessagePartData) attachment).setStartRect(currentRect); in onAttachmentsChanged()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DLiveTileOverlay.java54 public void update(RectF currentRect, float cornerRadius) { in update() argument
57 mCurrentRect = currentRect; in update()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DBaseSwipeUpHandler.java413 public void onUpdate(RectF currentRect, float progress) { in createWindowAnimationToHome()
418 .setCurrentRectAndTargetAlpha(currentRect, getWindowAlpha(progress)); in createWindowAnimationToHome()
427 ((FloatingIconView) floatingView).update(currentRect, 1f, progress, in createWindowAnimationToHome()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java1178 Rect currentRect = mTempRectStack.pop(); in findNearestArea() local
1179 currentRect.set(x, y, x + xSize, y + ySize); in findNearestArea()
1182 if (r.contains(currentRect)) { in findNearestArea()
1187 validRegions.push(currentRect); in findNearestArea()
1191 currentRect.contains(bestRect)) { in findNearestArea()
1199 bestRect.set(currentRect); in findNearestArea()