Home
last modified time | relevance | path

Searched refs:drawLine (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/util/
DDebugBoundsRenderer.java52 canvas.drawLine(x1, y1, x1 + size, y1, paint); in drawBounds()
54 canvas.drawLine(x1, y1, x1, y1 + size, paint); in drawBounds()
58 canvas.drawLine(x2 - size, y1, x2, y1, paint); in drawBounds()
60 canvas.drawLine(x2, y1, x2, y1 + size, paint); in drawBounds()
64 canvas.drawLine(x2 - size, y2, x2, y2, paint); in drawBounds()
66 canvas.drawLine(x2, y2- size, x2, y2, paint); in drawBounds()
70 canvas.drawLine(x1, y2, x1 + size, y2, paint); in drawBounds()
72 canvas.drawLine(x1, y2 - size, x1, y2, paint); in drawBounds()
78 canvas.drawLine(cX - halfSize, cY, cX + halfSize, cY, paint); in drawBounds()
79 canvas.drawLine(cX, cY - halfSize, cX, cY + halfSize, paint); in drawBounds()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DSpline.java224 canvas.drawLine(0, h, w, 0, gPaint); in drawGrid()
231 canvas.drawLine(0, j * stepH, w, j * stepH, gPaint); in drawGrid()
232 canvas.drawLine(j * stepW, 0, j * stepW, h, gPaint); in drawGrid()
234 canvas.drawLine(0, 0, 0, h, gPaint); in drawGrid()
235 canvas.drawLine(w, 0, w, h, gPaint); in drawGrid()
236 canvas.drawLine(0, 0, w, 0, gPaint); in drawGrid()
237 canvas.drawLine(0, h, w, h, gPaint); in drawGrid()
327 canvas.drawLine(px, py, px, h, paint); in draw()
328 canvas.drawLine(0, py, px, py, paint); in draw()
331 canvas.drawLine(px, py, px, h, paint); in draw()
[all …]
DImageRedEye.java119 canvas.drawLine(fullRect.centerX(), fullRect.top, in drawPoint()
121 canvas.drawLine(fullRect.left, fullRect.centerY(), in drawPoint()
130 canvas.drawLine(drawRect.centerX(), drawRect.top, in drawPoint()
132 canvas.drawLine(drawRect.left, drawRect.centerY(), in drawPoint()
DGradControl.java233 canvas.drawLine(p1x, p1y, p2x, p2y, paint); in paintOvallines()
243 canvas.drawLine(p1x + dy, p1y - dx, p1x - dy, p1y + dx, paint); in paintOvallines()
244 canvas.drawLine(p2x + dy, p2y - dx, p2x - dy, p2y + dx, paint); in paintOvallines()
DImageStraighten.java290 canvas.drawLine(p, 0, p, viewHeight, mPaint); in onDraw()
291 canvas.drawLine(0, p, viewWidth, p, mPaint); in onDraw()
DImageShow.java566 canvas.drawLine(mImageBounds.left, mTouch.y, in drawCompareImage()
569 canvas.drawLine(mTouch.x, mImageBounds.top, in drawCompareImage()
/packages/apps/Camera2/src/com/android/camera/ui/
DPreviewOverlay.java341 canvas.drawLine(mCenterX + mInnerRadius * (float) Math.cos(mFingerAngle), in draw()
345 canvas.drawLine(mCenterX - mInnerRadius * (float) Math.cos(mFingerAngle), in draw()
353 canvas.drawLine(mCenterX + mInnerRadius * (float) Math.cos(mFingerAngle), in draw()
357 canvas.drawLine(mCenterX - mInnerRadius * (float) Math.cos(mFingerAngle), in draw()
DGridLines.java53 canvas.drawLine(mDrawBounds.left + x, mDrawBounds.top, in onDraw()
57 canvas.drawLine(mDrawBounds.left, mDrawBounds.top + y, in onDraw()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DTiledTexture.java146 if (x > 0) sCanvas.drawLine(x - 1, 0, x - 1, TILE_SIZE, sPaint); in onGetBitmap()
147 if (y > 0) sCanvas.drawLine(0, y - 1, TILE_SIZE, y - 1, sPaint); in onGetBitmap()
148 if (r < CONTENT_SIZE) sCanvas.drawLine(r, 0, r, TILE_SIZE, sPaint); in onGetBitmap()
149 if (b < CONTENT_SIZE) sCanvas.drawLine(0, b, TILE_SIZE, b, sPaint); in onGetBitmap()
DGLCanvas.java85 public abstract void drawLine(float x1, float y1, float x2, float y2, GLPaint paint); in drawLine() method
DGLES11Canvas.java193 public void drawLine(float x1, float y1, float x2, float y2, GLPaint paint) { in drawLine() method in GLES11Canvas
DGLES20Canvas.java479 public void drawLine(float x1, float y1, float x2, float y2, GLPaint paint) { in drawLine() method in GLES20Canvas
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieRenderer.java654 drawLine(canvas, mDialAngle, mFocusPaint); in drawFocus()
655 drawLine(canvas, mDialAngle + 45, mFocusPaint); in drawFocus()
656 drawLine(canvas, mDialAngle + 180, mFocusPaint); in drawFocus()
657 drawLine(canvas, mDialAngle + 225, mFocusPaint); in drawFocus()
667 private void drawLine(Canvas canvas, int angle, Paint p) { in drawLine() method in PieRenderer
670 canvas.drawLine(mPoint1.x + mFocusX, mPoint1.y + mFocusY, in drawLine()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieRenderer.java655 drawLine(canvas, dialAngle, focusPaint); in drawFocus()
656 drawLine(canvas, dialAngle + 45, focusPaint); in drawFocus()
657 drawLine(canvas, dialAngle + 180, focusPaint); in drawFocus()
658 drawLine(canvas, dialAngle + 225, focusPaint); in drawFocus()
668 private void drawLine(Canvas canvas, int angle, Paint p) { in drawLine() method in PieRenderer
671 canvas.drawLine(point1.x + focusX, point1.y + focusY, point2.x + focusX, point2.y + focusY, p); in drawLine()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryChartView.java378 canvas.drawLine(0, offsetY, width, offsetY, mDividerPaint); in drawHorizontalDividers()
385 canvas.drawLine(0, offsetY, width, offsetY, mDividerPaint); in drawHorizontalDividers()
390 canvas.drawLine(0, offsetY, width, offsetY, mDividerPaint); in drawHorizontalDividers()
415 canvas.drawLine(startX, startY, startX, bottomY, mDividerPaint); in drawVerticalDividers()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
DColorValueView.java149 canvas.drawLine(mDotX, mDotY, mDotX, mHeight - mBorder, mLinePaint2); in onDraw()
150 canvas.drawLine(mDotX, mBorder, mDotX, mDotY, mLinePaint1); in onDraw()
DColorSaturationView.java171 canvas.drawLine(mDotX, mDotY, mWidth - mBorder, mDotY, mLinePaint1); in onDraw()
172 canvas.drawLine(mBorder, mDotY, mDotX, mDotY, mLinePaint2); in onDraw()
DColorOpacityView.java172 canvas.drawLine(mDotX, mDotY, mWidth - mBorder, mDotY, mLinePaint1); in onDraw()
173 canvas.drawLine(mBorder, mDotY, mDotX, mDotY, mLinePaint2); in onDraw()
DColorBrightnessView.java172 canvas.drawLine(mDotX, mDotY, mWidth - mBorder, mDotY, mLinePaint1); in onDraw()
173 canvas.drawLine(mBorder, mDotY, mDotX, mDotY, mLinePaint2); in onDraw()
DColorHueView.java180 canvas.drawLine(mDotX, mDotY, mWidth - mBorder, mDotY, mLinePaint1); in onDraw()
181 canvas.drawLine(mBorder, mDotY, mDotX, mDotY, mLinePaint2); in onDraw()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
DHistogramView.java102 canvas.drawLine(dx + w / 3, 0, dx + w / 3, h, mPaint); in drawHistogram()
103 canvas.drawLine(dx + 2 * w / 3, 0, dx + 2 * w / 3, h, mPaint); in drawHistogram()
/packages/apps/DevCamera/src/com/android/devcamera/
DPreviewOverlay.java257 canvas.drawLine(x1, y1, x2, y2, mPaint); in onDraw()
265 canvas.drawLine(x1, y1, x2, y2, mPaint); in onDraw()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropDrawingUtils.java40 canvas.drawLine(x, bounds.top, x, bounds.bottom, p); in drawRuleOfThird()
44 canvas.drawLine(bounds.left, y, bounds.right, y, p); in drawRuleOfThird()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DDatabaseWidgetPreviewLoader.java492 c.drawLine(t, 0, t, previewHeight, p); in generateWidgetPreview()
499 c.drawLine(0, t, previewWidth, t, p); in generateWidgetPreview()
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleWeekView.java489 canvas.drawLine(x, 0, x, mHeight, p); in drawDaySeparators()

12