Home
last modified time | relevance | path

Searched refs:drawLine (Results 1 – 25 of 35) 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 …]
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/core/java/com/android/internal/widget/
DPointerLocationView.java310 canvas.drawLine(lastX, lastY, x, y, mPathPaint); in onDraw()
328 canvas.drawLine(lx, ly, x, y, mPaint); in onDraw()
337 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint); in onDraw()
347 canvas.drawLine(lx, ly, x, y, mPaint); in onDraw()
355 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint); in onDraw()
361 canvas.drawLine(0, ps.mCoords.y, getWidth(), ps.mCoords.y, mTargetPaint); in onDraw()
362 canvas.drawLine(ps.mCoords.x, 0, ps.mCoords.x, getHeight(), mTargetPaint); in onDraw()
392 canvas.drawLine(ps.mCoords.x, ps.mCoords.y, in onDraw()
398 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/minikin/sample/
Dexample_skia.cpp140 canvas.drawLine(10, 300, 10 + layout.getAdvance(), 300, paint); in runMinikinTest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationPanelView.java2150 canvas.drawLine(0, getMaxPanelHeight(), getWidth(), getMaxPanelHeight(), p); in dispatchDraw()
2152 canvas.drawLine(0, getExpandedHeight(), getWidth(), getExpandedHeight(), p); in dispatchDraw()
2154 canvas.drawLine(0, calculatePanelHeightQsExpanded(), getWidth(), in dispatchDraw()
2157 canvas.drawLine(0, calculatePanelHeightShade(), getWidth(), in dispatchDraw()
2160 canvas.drawLine(0, calculateQsTopPadding(), getWidth(), in dispatchDraw()
2163 canvas.drawLine(0, mNotificationStackScroller.getTopPadding(), getWidth(), in dispatchDraw()
/frameworks/base/libs/hwui/
DSkiaCanvas.cpp119 virtual void drawLine(float startX, float startY, float stopX, float stopY,
566 void SkiaCanvas::drawLine(float startX, float startY, float stopX, float stopY, in drawLine() function in android::SkiaCanvas
568 mCanvas->drawLine(startX, startY, stopX, stopY, paint); in drawLine()
DRecordingCanvas.h156 virtual void drawLine(float startX, float startY, float stopX, float stopY, in drawLine() function
DDisplayListCanvas.h177 virtual void drawLine(float startX, float startY, float stopX, float stopY, in drawLine() function
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp241 static void drawLine(JNIEnv* env, jobject, jlong canvasHandle, jfloat startX, jfloat startY, in drawLine() function
244 get_canvas(canvasHandle)->drawLine(startX, startY, stopX, stopY, *paint); in drawLine()
606 {"native_drawLine", "!(JFFFFJ)V", (void*) CanvasJNI::drawLine},
/frameworks/base/libs/hwui/hwui/
DCanvas.h179 virtual void drawLine(float startX, float startY, float stopX, float stopY,
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java142 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/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialSelectorView.java321 canvas.drawLine(mXCenter, mYCenter, pointX, pointY, mPaint); in onDraw()
/frameworks/base/core/java/android/widget/
DGridLayout.java883 private void drawLine(Canvas graphics, int x1, int y1, int x2, int y2, Paint paint) { in drawLine() method in GridLayout
886 graphics.drawLine(width - x1, y1, width - x2, y2, paint); in drawLine()
888 graphics.drawLine(x1, y1, x2, y2, paint); in drawLine()
930 drawLine(canvas, x, top, x, bottom, paint); in onDebugDraw()
938 drawLine(canvas, left, y, right, y, paint); in onDebugDraw()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java330 canvas.drawLine(0, 0, 32, 32, paint); in openDocumentThumbnail()
/frameworks/base/docs/html/training/wearables/watch-faces/
Ddrawing.jd524 canvas.drawLine(centerX, centerY, centerX + secX, centerY +
531 canvas.drawLine(centerX, centerY, centerX + minX, centerY + minY,
535 canvas.drawLine(centerX, centerY, centerX + hrX, centerY + hrY,
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java562 graphics.drawLine((int)startX, (int)startY, (int)stopX, (int)stopY); in native_drawLine()
576 graphics.drawLine((int) pts[i + offset], (int) pts[i + offset + 1], in native_drawLines()
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java861 private void drawLine(Canvas graphics, int x1, int y1, int x2, int y2, Paint paint) { in drawLine() method in GridLayout
864 graphics.drawLine(width - x1, y1, width - x2, y2, paint); in drawLine()
866 graphics.drawLine(x1, y1, x2, y2, paint); in drawLine()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java421 canvas.drawLine(0, y, getWidth(), y, mDebugPaint); in onDraw()
424 canvas.drawLine(0, y, getWidth(), y, mDebugPaint); in onDraw()
426 canvas.drawLine(0, y, getWidth(), y, mDebugPaint); in onDraw()
428 canvas.drawLine(0, y, getWidth(), y, mDebugPaint); in onDraw()
430 canvas.drawLine(0, y, getWidth(), y, mDebugPaint); in onDraw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLand.java951 c.drawLine(x1, y1, x2, y2, mPlayerTracePaint);
967 c.drawLine(x, y,
/frameworks/base/docs/html/training/custom-views/
Dcustom-drawing.jd281 canvas.drawLine(mTextX, mPointerY, mPointerX, mPointerY, mTextPaint);

12