Home
last modified time | relevance | path

Searched refs:drawRect (Results 1 – 25 of 74) sorted by relevance

123

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageRedEye.java103 RectF drawRect = new RectF(mCurrentRect); in onDraw() local
104 canvas.drawRect(drawRect, paint); in onDraw()
113 RectF drawRect = new RectF(); in drawPoint() local
114 originalToScreen.mapRect(drawRect, rect); in drawPoint()
118 canvas.drawRect(fullRect, paint); in drawPoint()
124 float dw = drawRect.width(); in drawPoint()
125 float dh = drawRect.height(); in drawPoint()
128 drawRect.set(dx, dy, dx + dw, dy + dh); in drawPoint()
129 canvas.drawRect(drawRect, paint); in drawPoint()
130 canvas.drawLine(drawRect.centerX(), drawRect.top, in drawPoint()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
DSelectionRenderer.java26 canvas.drawRect(left, top, right, top + stroke, paint); in drawSelection()
27 canvas.drawRect(left, bottom - stroke, right, bottom, paint); in drawSelection()
28 canvas.drawRect(left, top, left + stroke, bottom, paint); in drawSelection()
29 canvas.drawRect(right - stroke, top, right, bottom, paint); in drawSelection()
34 canvas.drawRect(left, top, right, top + stroke, selectPaint); in drawSelection()
35 canvas.drawRect(left, bottom - stroke, right, bottom, selectPaint); in drawSelection()
36 canvas.drawRect(left, top, left + stroke, bottom, selectPaint); in drawSelection()
37 canvas.drawRect(right - stroke, top, right, bottom, selectPaint); in drawSelection()
38 canvas.drawRect(left + stroke, top + stroke, right - stroke, in drawSelection()
40 canvas.drawRect(left + stroke, bottom - stroke - border, right - stroke, in drawSelection()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropDrawingUtils.java54 canvas.drawRect(bounds, p); in drawCropRect()
66 canvas.drawRect(r, p); in drawShade()
68 canvas.drawRect(r, p); in drawShade()
70 canvas.drawRect(r, p); in drawShade()
72 canvas.drawRect(r, p); in drawShade()
153 canvas.drawRect(outerBounds.left, outerBounds.top, innerBounds.right, innerBounds.top, p); in drawShadows()
154 canvas.drawRect(innerBounds.right, outerBounds.top, outerBounds.right, innerBounds.bottom, in drawShadows()
156 canvas.drawRect(innerBounds.left, innerBounds.bottom, outerBounds.right, in drawShadows()
158 canvas.drawRect(outerBounds.left, innerBounds.top, innerBounds.left, outerBounds.bottom, p); in drawShadows()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DPercentageBarChart.java97 canvas.drawRect(left, top, nextX, bottom, e.paint); in onDraw()
101 canvas.drawRect(lastX, top, nextX, bottom, e.paint); in onDraw()
106 canvas.drawRect(left, top, nextX, bottom, mEmptyPaint); in onDraw()
121 canvas.drawRect(lastX, top, right, bottom, e.paint); in onDraw()
125 canvas.drawRect(lastX, top, nextX, bottom, e.paint); in onDraw()
130 canvas.drawRect(lastX, top, right, bottom, mEmptyPaint); in onDraw()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPercentageBarChart.java97 canvas.drawRect(left, top, nextX, bottom, e.paint); in onDraw()
101 canvas.drawRect(lastX, top, nextX, bottom, e.paint); in onDraw()
106 canvas.drawRect(left, top, nextX, bottom, mEmptyPaint); in onDraw()
121 canvas.drawRect(lastX, top, right, bottom, e.paint); in onDraw()
125 canvas.drawRect(lastX, top, nextX, bottom, e.paint); in onDraw()
130 canvas.drawRect(lastX, top, right, bottom, mEmptyPaint); in onDraw()
/packages/apps/Camera2/src/com/android/camera/ui/
DMarginDrawable.java62 canvas.drawRect(0, 0, cb.right, s.top + 1, mPaint); in draw()
65 canvas.drawRect(0, s.top, s.left + 1, s.bottom, mPaint); in draw()
68 canvas.drawRect(s.right - 1, s.top, cb.right, s.bottom, mPaint); in draw()
71 canvas.drawRect(0, s.bottom - 1, cb.right, cb.bottom, mPaint); in draw()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoProgressBar.java164 canvas.drawRect(mDrawBounds, mBackgroundPaint); in onDraw()
167 canvas.drawRect(mLeftMostProgress, mDrawBounds.top, mRightMostProgress, in onDraw()
179 canvas.drawRect(l, mDrawBounds.top, r, mDrawBounds.bottom, mIndicatorPaint); in onDraw()
/packages/apps/Camera2/src/com/android/camera/
DPanoProgressBar.java169 canvas.drawRect(mDrawBounds, mBackgroundPaint); in onDraw()
172 canvas.drawRect(mLeftMostProgress, mDrawBounds.top, mRightMostProgress, in onDraw()
184 canvas.drawRect(l, mDrawBounds.top, r, mDrawBounds.bottom, mIndicatorPaint); in onDraw()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherRootView.java140 canvas.drawRect(width - mConsumedInsets.right, 0, width, getHeight(), mOpaquePaint); in dispatchDraw()
143 canvas.drawRect(0, 0, mConsumedInsets.left, getHeight(), mOpaquePaint); in dispatchDraw()
147 canvas.drawRect(0, height - mConsumedInsets.bottom, getWidth(), height, mOpaquePaint); in dispatchDraw()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
DColorRectView.java169 canvas.drawRect(rect, mWheelPaint1); in onDraw()
170 canvas.drawRect(rect, mWheelPaint3); in onDraw()
171 canvas.drawRect(rect, mWheelPaint2); in onDraw()
DColorSaturationView.java169 canvas.drawRect(mBorder, mBorder, mWidth - mBorder, mHeight - mBorder, mCheckPaint); in onDraw()
170 canvas.drawRect(mBorder, mBorder, mWidth - mBorder, mHeight - mBorder, mBarPaint1); in onDraw()
DColorOpacityView.java170 canvas.drawRect(mBorder, 0, mWidth - mBorder, mHeight, mCheckPaint); in onDraw()
171 canvas.drawRect(mBorder, 0, mWidth - mBorder, mHeight, mBarPaint1); in onDraw()
DColorBrightnessView.java170 canvas.drawRect(mBorder, mBorder, mWidth - mBorder, mHeight - mBorder, mCheckPaint); in onDraw()
171 canvas.drawRect(mBorder, mBorder, mWidth - mBorder, mHeight - mBorder, mBarPaint1); in onDraw()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthWeekEventsView.java569 canvas.drawRect(r, p); in drawToday()
639 canvas.drawRect(r, p); in drawBackground()
649 canvas.drawRect(r, p); in drawBackground()
655 canvas.drawRect(r, p); in drawBackground()
669 canvas.drawRect(r, p); in drawClick()
908 canvas.drawRect(r, mEventSquarePaint); in drawEvent()
DSimpleWeekView.java417 canvas.drawRect(r, p); in drawBackground()
420 canvas.drawRect(r, p); in drawBackground()
482 canvas.drawRect(r, p); in drawDaySeparators()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDragShadowBuilder.java80 canvas.drawRect(r.left + mPadding, r.top + mPadding, r.right - mPadding, in onDrawShadow()
85 canvas.drawRect(r.left + mPadding, r.top + mPadding, r.right - mPadding, in onDrawShadow()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DTimeBar.java195 canvas.drawRect(mProgressBar, mProgressPaint); in onDraw()
196 canvas.drawRect(mPlayedBar, mPlayedPaint); in onDraw()
DTrimTimeBar.java192 canvas.drawRect(mProgressBar, mProgressPaint); in onDraw()
193 canvas.drawRect(mPlayedBar, mPlayedPaint); in onDraw()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DDragPreviewProvider.java247 canvas.drawRect(0, 0, -thickInnerBlurOffset[0], thickInnerBlur.getHeight(), paint); in run()
248 canvas.drawRect(0, 0, thickInnerBlur.getWidth(), -thickInnerBlurOffset[1], paint); in run()
/packages/apps/Gallery/src/com/android/camera/
DCropImage.java757 Rect drawRect = hv.mDrawRect; in centerBasedOnHighlightView() local
759 float width = drawRect.width(); in centerBasedOnHighlightView()
760 float height = drawRect.height(); in centerBasedOnHighlightView()
DHighlightView.java85 canvas.drawRect(mDrawRect, mOutlinePaint); in draw()
102 canvas.drawRect(viewDrawingRect, in draw()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java2039 canvas.drawRect(r, p); in drawAllDayHighlights()
2045 canvas.drawRect(r, p); in drawAllDayHighlights()
2066 canvas.drawRect(r, p); in drawAllDayHighlights()
2328 canvas.drawRect(r, p); in drawBgColors()
2342 canvas.drawRect(r, p); in drawBgColors()
2355 canvas.drawRect(r, p); in drawBgColors()
2365 canvas.drawRect(r, p); in drawBgColors()
2374 canvas.drawRect(r, p); in drawBgColors()
2655 canvas.drawRect(r, p); in drawMoreAlldayEvents()
2816 canvas.drawRect(r, p); in drawEventRect()
/packages/apps/UnifiedEmail/src/com/android/mail/graphics/
DPageMarginDrawable.java43 canvas.drawRect(getBounds(), mPaint); in draw()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiCategoryPageIndicatorView.java68 canvas.drawRect(left, top, right, bottom, mPaint); in onDraw()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBatteryActiveView.java66 canvas.drawRect(start / period * getWidth(), 0, end / period * getWidth(), getHeight(), in drawColor()

123