Home
last modified time | relevance | path

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

/packages/apps/Gallery/src/com/android/camera/
DHighlightView.java85 canvas.drawRect(mDrawRect, mOutlinePaint); in draw()
90 float width = mDrawRect.width(); in draw()
91 float height = mDrawRect.height(); in draw()
92 path.addCircle(mDrawRect.left + (width / 2), in draw()
93 mDrawRect.top + (height / 2), in draw()
98 path.addRect(new RectF(mDrawRect), Path.Direction.CW); in draw()
114 * (mDrawRect.width() / 2D)); in draw()
115 int x = mDrawRect.left in draw()
116 + (mDrawRect.width() / 2) + d - width / 2; in draw()
117 int y = mDrawRect.top in draw()
[all …]
DCropImage.java738 Rect r = hv.mDrawRect; in ensureVisible()
757 Rect drawRect = hv.mDrawRect; in centerBasedOnHighlightView()
/packages/apps/Launcher3/src/com/android/launcher3/settings/
DPreferenceHighlighter.java68 private final RectF mDrawRect = new RectF(); field in PreferenceHighlighter
116 mDrawRect.set(0, view.getY(), parent.getWidth(), view.getY() + view.getHeight()); in onDraw()
118 ((HighlightDelegate) mPreference).offsetHighlight(view, mDrawRect); in onDraw()
120 c.drawRect(mDrawRect, mPaint); in onDraw()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageStraighten.java53 private RectF mDrawRect = new RectF(); field in ImageStraighten
268 updateCurrentCrop(m, mDrawHolder, mDrawRect, imageWidth, in onDraw()
275 CropDrawingUtils.drawShade(canvas, mDrawRect); in onDraw()
279 canvas.clipRect(mDrawRect); in onDraw()
302 mDrawPath.addRect(mDrawRect, Path.Direction.CW); in onDraw()