Home
last modified time | relevance | path

Searched refs:drawRect (Results 1 – 25 of 64) 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/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/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/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/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/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.java252 canvas.drawRect(0, 0, -thickInnerBlurOffset[0], thickInnerBlur.getHeight(), paint); in run()
253 canvas.drawRect(0, 0, thickInnerBlur.getWidth(), -thickInnerBlurOffset[1], paint); in run()
DSysUiScrim.java169 canvas.drawRect(mWallpaperScrimRect, mWallpaperScrimPaint); in draw()
275 c.drawRect(0, 0, width, gradientHeight, paint); in createDitheredAlphaMask()
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiCategoryPageIndicatorView.java68 canvas.drawRect(left, top, right, bottom, mPaint); in onDraw()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryActiveView.java66 canvas.drawRect(start / period * getWidth(), 0, end / period * getWidth(), getHeight(), in drawColor()
/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/Gallery2/src/com/android/gallery3d/ingest/ui/
DMtpThumbnailTileView.java83 canvas.drawRect(canvas.getClipBounds(), mForegroundPaint); in draw()
/packages/apps/Dialer/java/com/android/contacts/common/list/
DViewPagerTabStrip.java98 canvas.drawRect( in onDraw()
/packages/apps/Messaging/src/com/android/messaging/ui/
DViewPagerTabStrip.java94 canvas.drawRect(selectedLeft, height - mSelectedUnderlineThickness, in onDraw()

123