Home
last modified time | relevance | path

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

12

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DLinesActivity.java121 canvas.drawLine(0.0f, 0.0f, 40.0f, 400.0f, mSmallPaint); in onDraw()
122 canvas.drawLine(5.0f, 0.0f, 95.0f, 400.0f, mMediumPaint); in onDraw()
123 canvas.drawLine(22.0f, 0.0f, 162.0f, 400.0f, mLargePaint); in onDraw()
126 canvas.drawLine(42.0f, 0.0f, 222.0f, 400.0f, mLargePaint); in onDraw()
138 canvas.drawLine(0.0f, 0.0f, 400.0f, 0.0f, mSmallPaint); in onDraw()
140 canvas.drawLine(0.0f, 0.0f, 0.0f, 400.0f, mSmallPaint); in onDraw()
141 canvas.drawLine(0.0f, 400.0f, 400.0f, 400.0f, mSmallPaint); in onDraw()
152 canvas.drawLine(50.0f, 40.0f, 10.0f, 40.0f, mSmallPaint); in onDraw()
153 canvas.drawLine(10.0f, 45.0f, 20.0f, 55.0f, mSmallPaint); in onDraw()
154 canvas.drawLine(10.0f, 60.0f, 50.0f, 60.0f, mHairLinePaint); in onDraw()
[all …]
DLines2Activity.java76 canvas.drawLine(10 + xOffset, yOffset, 10 + xOffset, 40 + yOffset, p); in drawLines()
77 canvas.drawLine(30 + xOffset, yOffset, 40 + xOffset, 40 + yOffset, p); in drawLines()
78 canvas.drawLine(40 + xOffset, yOffset, 75 + xOffset, 35 + yOffset, p); in drawLines()
79 canvas.drawLine(50 + xOffset, 5+ yOffset, 100 + xOffset, 15 + yOffset, p); in drawLines()
80 canvas.drawLine(60 + xOffset, yOffset, 110 + xOffset, 2 + yOffset, p); in drawLines()
81 canvas.drawLine(60 + xOffset, 40 + yOffset, 110 + xOffset, 40 + yOffset, p); in drawLines()
90 canvas.drawLine(x, y, x, y + length, p); in drawVerticalLine()
94 canvas.drawLine(x, y, x + length, y + length, p); in drawDiagonalLine()
209 canvas.drawLine(x, yOffset, x + 1, yOffset + length, p); in onDraw()
212 canvas.drawLine(x, yOffset, x + 1, yOffset + length, p); in onDraw()
[all …]
DPixelCopyWindow.java61 canvas.drawLine(bounds.centerX(), 0, bounds.centerX(), bounds.height(), mPaint); in onCreate()
63 canvas.drawLine(0, bounds.centerY(), bounds.width(), bounds.centerY(), mPaint); in onCreate()
DPosTextActivity.java62 canvas.drawLine(100.0f, 0.0f, 100.0f, getHeight(), mLargePaint); in onDraw()
DTextOnPathActivity.java137 canvas.drawLine(mPos[0], mPos[1], mPos[0] + mTan[1] * 10, mPos[1] - mTan[0] * 10, in onDraw()
DPathsActivity.java135 canvas.drawLine(0.0f, -360.0f, 0.0f, 500.0f, mLinePaint); in onDraw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconContainer.java203 canvas.drawLine(end, 0, end, height, paint); in onDraw()
207 canvas.drawLine(lastIcon, 0, lastIcon, height, paint); in onDraw()
211 canvas.drawLine(firstIcon, 0, firstIcon, height, paint); in onDraw()
215 canvas.drawLine(mVisualOverflowStart, 0, mVisualOverflowStart, height, paint); in onDraw()
219 canvas.drawLine(overflow, 0, overflow, height, paint); in onDraw()
DNotificationPanelViewController.java3704 canvas.drawLine(0, getMaxPanelHeight(), mView.getWidth(), getMaxPanelHeight(), p);
3706 canvas.drawLine(0, getExpandedHeight(), mView.getWidth(), getExpandedHeight(), p);
3708 canvas.drawLine(0, calculatePanelHeightQsExpanded(), mView.getWidth(),
3711 canvas.drawLine(0, calculatePanelHeightShade(), mView.getWidth(),
3714 canvas.drawLine(
3717 canvas.drawLine(0, mClockPositionResult.stackScrollerPadding, mView.getWidth(),
3720 canvas.drawLine(0, mClockPositionResult.clockY, mView.getWidth(),
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java373 canvas.drawLine(lastX, lastY, x, y, mPathPaint); in onDraw()
388 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint); in onDraw()
395 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint); in onDraw()
401 canvas.drawLine(0, ps.mCoords.y, getWidth(), ps.mCoords.y, mTargetPaint); in onDraw()
402 canvas.drawLine(ps.mCoords.x, 0, ps.mCoords.x, getHeight(), mTargetPaint); in onDraw()
432 canvas.drawLine(ps.mCoords.x, ps.mCoords.y, in onDraw()
438 canvas.drawLine( in onDraw()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLCanvas.java83 public abstract void drawLine(float x1, float y1, float x2, float y2, GLPaint paint); in drawLine() method
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DRenderingJitter.java155 canvas.drawLine(mLabelWidth, 0, mLabelWidth, h, mPaint); in onDraw()
162 canvas.drawLine(mLabelWidth, mJitterYs[i], w, mJitterYs[i], mPaint); in onDraw()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java146 public void drawLine(float startX, float startY, float stopX, float stopY, Paint paint) { in drawLine() method in NopCanvas
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAssistVisualizer.java199 canvas.drawLine(0, te.lineBaselines[j] - te.scrollY,
/frameworks/base/libs/hwui/hwui/
DCanvas.h222 virtual void drawLine(float startX, float startY, float stopX, float stopY,
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_Canvas.cpp271 static void drawLine(JNIEnv* env, jobject, jlong canvasHandle, jfloat startX, jfloat startY, in drawLine() function
274 get_canvas(canvasHandle)->drawLine(startX, startY, stopX, stopY, *paint); in drawLine()
704 {"nDrawLine", "(JFFFFJ)V", (void*) CanvasJNI::drawLine},
/frameworks/base/libs/hwui/
DSkiaCanvas.h106 virtual void drawLine(float startX, float startY, float stopX, float stopY,
DSkiaCanvas.cpp486 void SkiaCanvas::drawLine(float startX, float startY, float stopX, float stopY, in drawLine() function in android::SkiaCanvas
489 mCanvas->drawLine(startX, startY, stopX, stopY, p); in drawLine()
/frameworks/base/core/java/android/widget/
DGridLayout.java915 private void drawLine(Canvas graphics, int x1, int y1, int x2, int y2, Paint paint) { in drawLine() method in GridLayout
918 graphics.drawLine(width - x1, y1, width - x2, y2, paint); in drawLine()
920 graphics.drawLine(x1, y1, x2, y2, paint); in drawLine()
962 drawLine(canvas, x, top, x, bottom, paint); in onDebugDraw()
970 drawLine(canvas, left, y, right, y, paint); in onDebugDraw()
/frameworks/layoutlib/bridge/src/android/graphics/
DBaseCanvas_Delegate.java200 … (graphics, paintDelegate) -> graphics.drawLine((int)startX, (int)startY, (int)stopX, (int)stopY)); in nDrawLine()
210 graphics.drawLine((int) pts[i + offset], (int) pts[i + offset + 1], in nDrawLines()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java330 canvas.drawLine(0, 0, 32, 32, paint); in openDocumentThumbnail()
/frameworks/base/graphics/java/android/graphics/
DCanvas.java1820 public void drawLine(float startX, float startY, float stopX, float stopY, in drawLine() method in Canvas
1822 super.drawLine(startX, startY, stopX, stopY, paint); in drawLine()
DColorSpace.java4423 canvas.drawLine(0.0f, y, 0.9f * width, y, paint);
4424 canvas.drawLine(x, height, x, 0.1f * height, paint);
4435 canvas.drawLine(0.0f, y, width / 100.0f, y, paint);
4436 canvas.drawLine(x, height, x, height - (height / 100.0f), paint);
DBaseRecordingCanvas.java224 public final void drawLine(float startX, float startY, float stopX, float stopY, in drawLine() method in BaseRecordingCanvas
DBaseCanvas.java268 public void drawLine(float startX, float startY, float stopX, float stopY, in drawLine() method in BaseCanvas
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLand.java951 c.drawLine(x1, y1, x2, y2, mPlayerTracePaint);
967 c.drawLine(x, y,

12