/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | LinesActivity.java | 121 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 …]
|
D | Lines2Activity.java | 76 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 …]
|
D | PixelCopyWindow.java | 61 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()
|
D | PosTextActivity.java | 62 canvas.drawLine(100.0f, 0.0f, 100.0f, getHeight(), mLargePaint); in onDraw()
|
D | TextOnPathActivity.java | 137 canvas.drawLine(mPos[0], mPos[1], mPos[0] + mTan[1] * 10, mPos[1] - mTan[0] * 10, in onDraw()
|
D | PathsActivity.java | 135 canvas.drawLine(0.0f, -360.0f, 0.0f, 500.0f, mLinePaint); in onDraw()
|
/frameworks/support/samples/SupportAnimationDemos/src/com/example/android/support/animation/ |
D | SpringView.java | 60 canvas.drawLine(x, 0, x + sectionWidth / 2, sectionHeight / 2, mPaint); in onDraw() 64 canvas.drawLine(lastX, lastY, 2 * x - lastX, lastY + sectionHeight, mPaint); in onDraw() 68 canvas.drawLine(lastX, lastY, x, mLastHeight, mPaint); in onDraw()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 311 canvas.drawLine(lastX, lastY, x, y, mPathPaint); in onDraw() 329 canvas.drawLine(lx, ly, x, y, mPaint); in onDraw() 338 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint); in onDraw() 348 canvas.drawLine(lx, ly, x, y, mPaint); in onDraw() 356 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint); in onDraw() 362 canvas.drawLine(0, ps.mCoords.y, getWidth(), ps.mCoords.y, mTargetPaint); in onDraw() 363 canvas.drawLine(ps.mCoords.x, 0, ps.mCoords.x, getHeight(), mTargetPaint); in onDraw() 393 canvas.drawLine(ps.mCoords.x, ps.mCoords.y, in onDraw() 399 canvas.drawLine( in onDraw()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | GLCanvas.java | 83 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/ |
D | RenderingJitter.java | 155 canvas.drawLine(mLabelWidth, 0, mLabelWidth, h, mPaint); in onDraw() 162 canvas.drawLine(mLabelWidth, mJitterYs[i], w, mJitterYs[i], mPaint); in onDraw()
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.h | 220 virtual void drawLine(float startX, float startY, float stopX, float stopY,
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
D | NopCanvas.java | 146 public void drawLine(float startX, float startY, float stopX, float stopY, Paint paint) { in drawLine() method in NopCanvas
|
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 246 static void drawLine(JNIEnv* env, jobject, jlong canvasHandle, jfloat startX, jfloat startY, in drawLine() function 249 get_canvas(canvasHandle)->drawLine(startX, startY, stopX, stopY, *paint); in drawLine() 621 {"nDrawLine", "(JFFFFJ)V", (void*) CanvasJNI::drawLine},
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationPanelView.java | 2282 canvas.drawLine(0, getMaxPanelHeight(), getWidth(), getMaxPanelHeight(), p); in dispatchDraw() 2284 canvas.drawLine(0, getExpandedHeight(), getWidth(), getExpandedHeight(), p); in dispatchDraw() 2286 canvas.drawLine(0, calculatePanelHeightQsExpanded(), getWidth(), in dispatchDraw() 2289 canvas.drawLine(0, calculatePanelHeightShade(), getWidth(), in dispatchDraw() 2292 canvas.drawLine(0, calculateQsTopPadding(), getWidth(), in dispatchDraw() 2295 canvas.drawLine(0, mNotificationStackScroller.getTopPadding(), getWidth(), in dispatchDraw()
|
/frameworks/base/libs/hwui/ |
D | SkiaCanvas.h | 112 virtual void drawLine(float startX, float startY, float stopX, float stopY,
|
D | SkiaCanvas.cpp | 472 void SkiaCanvas::drawLine(float startX, float startY, float stopX, float stopY, in drawLine() function in android::SkiaCanvas 474 mCanvas->drawLine(startX, startY, stopX, stopY, paint); in drawLine()
|
D | RecordingCanvas.h | 156 virtual void drawLine(float startX, float startY, float stopX, float stopY, in drawLine() function
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
D | AssistVisualizer.java | 199 canvas.drawLine(0, te.lineBaselines[j] - te.scrollY,
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | RadialSelectorView.java | 321 canvas.drawLine(mXCenter, mYCenter, pointX, pointY, mPaint); in onDraw()
|
/frameworks/base/core/java/android/widget/ |
D | GridLayout.java | 892 private void drawLine(Canvas graphics, int x1, int y1, int x2, int y2, Paint paint) { in drawLine() method in GridLayout 895 graphics.drawLine(width - x1, y1, width - x2, y2, paint); in drawLine() 897 graphics.drawLine(x1, y1, x2, y2, paint); in drawLine() 939 drawLine(canvas, x, top, x, bottom, paint); in onDebugDraw() 947 drawLine(canvas, left, y, right, y, paint); in onDebugDraw()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | BaseCanvas_Delegate.java | 190 … (graphics, paintDelegate) -> graphics.drawLine((int)startX, (int)startY, (int)stopX, (int)stopY)); in nDrawLine() 200 graphics.drawLine((int) pts[i + offset], (int) pts[i + offset + 1], in nDrawLines()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Canvas.java | 1564 public void drawLine(float startX, float startY, float stopX, float stopY, in drawLine() method in Canvas 1566 super.drawLine(startX, startY, stopX, stopY, paint); in drawLine()
|
D | ColorSpace.java | 4188 canvas.drawLine(0.0f, y, 0.9f * width, y, paint); 4189 canvas.drawLine(x, height, x, 0.1f * height, paint); 4200 canvas.drawLine(0.0f, y, width / 100.0f, y, paint); 4201 canvas.drawLine(x, height, x, height - (height / 100.0f), paint);
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | TestDocumentsProvider.java | 330 canvas.drawLine(0, 0, 32, 32, paint); in openDocumentThumbnail()
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
D | GridLayout.java | 867 private void drawLine(Canvas graphics, int x1, int y1, int x2, int y2, Paint paint) { in drawLine() method in GridLayout 870 graphics.drawLine(width - x1, y1, width - x2, y2, paint); in drawLine() 872 graphics.drawLine(x1, y1, x2, y2, paint); in drawLine()
|