Home
last modified time | relevance | path

Searched refs:mCurrentRect (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageRedEye.java33 private RectF mCurrentRect = null; field in ImageRedEye
63 mCurrentRect = new RectF(); in onTouchEvent()
64 mCurrentRect.left = ex - mTouchPadding; in onTouchEvent()
65 mCurrentRect.top = ey - mTouchPadding; in onTouchEvent()
68 mCurrentRect.right = ex + mTouchPadding; in onTouchEvent()
69 mCurrentRect.bottom = ey + mTouchPadding; in onTouchEvent()
72 if (mCurrentRect != null) { in onTouchEvent()
78 RectF r = new RectF(mCurrentRect); in onTouchEvent()
80 RectF r2 = new RectF(mCurrentRect); in onTouchEvent()
87 mCurrentRect = null; in onTouchEvent()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/animation/
DPopupTransitionAnimation.java49 private Rect mCurrentRect; field in PopupTransitionAnimation
78 mCurrentRect = new Rect(mStartRect); in PopupTransitionAnimation()
193 mCurrentRect = mRectEvaluator.evaluate(interpolatedTime, mStartRect, mDestRect); in applyTransformation()
267 canvas.translate(mCurrentRect.left, mCurrentRect.top - mPopupRect.top); in initPopupWindow()
272 canvas.scale(mCurrentRect.width() / viewWidth, in initPopupWindow()
273 mCurrentRect.height() / viewHeight); in initPopupWindow()
275 canvas.clipRect(0, 0, mCurrentRect.width(), mCurrentRect.height()); in initPopupWindow()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DLiveTileOverlay.java42 private RectF mCurrentRect; field in LiveTileOverlay
57 mCurrentRect = currentRect; in update()
60 mCurrentRect.roundOut(mBoundsRect); in update()
101 if (mCurrentRect != null && mDrawEnabled) { in draw()
102 canvas.drawRoundRect(mCurrentRect, mCornerRadius, mCornerRadius, mPaint); in draw()
107 canvas.translate(mCurrentRect.centerX() - mIcon.getBounds().width() / 2 * scale, in draw()
108 mCurrentRect.top - mIcon.getBounds().height() / 2 * scale); in draw()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DRectFSpringAnim.java86 private final RectF mCurrentRect = new RectF(); field in RectFSpringAnim
207 mCurrentRect.set(mCurrentCenterX - currentWidth / 2, mCurrentY - currentHeight, in onUpdate()
210 mCurrentRect.set(mCurrentCenterX - currentWidth / 2, mCurrentY, in onUpdate()
214 onUpdateListener.onUpdate(mCurrentRect, mCurrentScaleProgress); in onUpdate()