Home
last modified time | relevance | path

Searched refs:drawText (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTextActivity.java87 canvas.drawText("Hello OpenGL renderer!", 300, 20, mEventPaint); in onDraw()
91 canvas.drawText("Hello OpenGL renderer!", 100, 20, mMediumPaint); in onDraw()
95 canvas.drawText("Hello OpenGL renderer!", 100, 40, mMediumPaint); in onDraw()
100 canvas.drawText("Hello OpenGL renderer!", 100, 60, mMediumPaint); in onDraw()
104 canvas.drawText("Hello OpenGL renderer!", 100, 100, mMediumPaint); in onDraw()
107 canvas.drawText("Hello OpenGL renderer!", 100, 150, mMediumPaint); in onDraw()
109 canvas.drawText("Hello OpenGL renderer!", 100, 200, mLargePaint); in onDraw()
112 canvas.drawText("Hello OpenGL renderer!", 100, 400, mLargePaint); in onDraw()
115 canvas.drawText("Hello OpenGL renderer!", 100, 500, mLargePaint); in onDraw()
119 canvas.drawText("Hello OpenGL renderer!", 100, 600, mLargePaint); in onDraw()
[all …]
DMoreShadersActivity.java125 canvas.drawText("OpenGL rendering", 0.0f, 20.0f, mLargePaint); in onDraw()
128 canvas.drawText("OpenGL rendering", 0.0f, 60.0f, mLargePaint); in onDraw()
132 canvas.drawText("OpenGL rendering", 0.0f, 100.0f, mLargePaint); in onDraw()
137 canvas.drawText("OpenGL rendering", 0.0f, 20.0f, mLargePaint); in onDraw()
DPaintDrawFilterActivity.java59 canvas.drawText("Hello OpenGL renderer!", 100, 120, mMediumPaint); in onDraw()
61 canvas.drawText("Hello OpenGL renderer!", 100, 220, mMediumPaint); in onDraw()
DNewLayersActivity.java71 canvas.drawText("This is a very long string to overlap between layers and framebuffer", in drawStuff()
DClearActivity.java80 canvas.drawText("OpenGLRenderer", 50.0f, 50.0f, mClearPaint); in onDraw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DLoadAverageService.java216 canvas.drawText(stats.mLoadText, RIGHT-mPaddingRight-stats.mLoadWidth-1, in onDraw()
218 canvas.drawText(stats.mLoadText, RIGHT-mPaddingRight-stats.mLoadWidth-1, in onDraw()
220 canvas.drawText(stats.mLoadText, RIGHT-mPaddingRight-stats.mLoadWidth+1, in onDraw()
222 canvas.drawText(stats.mLoadText, RIGHT-mPaddingRight-stats.mLoadWidth+1, in onDraw()
224 canvas.drawText(stats.mLoadText, RIGHT-mPaddingRight-stats.mLoadWidth, in onDraw()
246 canvas.drawText(st.name, RIGHT-mPaddingRight-st.nameWidth-1, in onDraw()
248 canvas.drawText(st.name, RIGHT-mPaddingRight-st.nameWidth-1, in onDraw()
250 canvas.drawText(st.name, RIGHT-mPaddingRight-st.nameWidth+1, in onDraw()
252 canvas.drawText(st.name, RIGHT-mPaddingRight-st.nameWidth+1, in onDraw()
257 canvas.drawText(st.name, RIGHT-mPaddingRight-st.nameWidth, y, p); in onDraw()
/frameworks/base/core/java/android/view/
DGLES20RecordingCanvas.java245 public void drawText(char[] text, int index, int count, float x, float y, Paint paint) { in drawText() method in GLES20RecordingCanvas
246 super.drawText(text, index, count, x, y, paint); in drawText()
251 public void drawText(CharSequence text, int start, int end, float x, float y, Paint paint) { in drawText() method in GLES20RecordingCanvas
252 super.drawText(text, start, end, x, y, paint); in drawText()
257 public void drawText(String text, int start, int end, float x, float y, Paint paint) { in drawText() method in GLES20RecordingCanvas
258 super.drawText(text, start, end, x, y, paint); in drawText()
263 public void drawText(String text, float x, float y, Paint paint) { in drawText() method in GLES20RecordingCanvas
264 super.drawText(text, x, y, paint); in drawText()
DGLES20Canvas.java1161 public void drawText(char[] text, int index, int count, float x, float y, Paint paint) { in drawText() method in GLES20Canvas
1178 public void drawText(CharSequence text, int start, int end, float x, float y, Paint paint) { in drawText() method in GLES20Canvas
1186 ((GraphicsOperations) text).drawText(this, start, end, x, y, in drawText()
1201 public void drawText(String text, int start, int end, float x, float y, Paint paint) { in drawText() method in GLES20Canvas
1218 public void drawText(String text, float x, float y, Paint paint) { in drawText() method in GLES20Canvas
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java214 canvas.drawText(mText.clear() in onDraw()
222 canvas.drawText(mText.clear() in onDraw()
226 canvas.drawText(mText.clear() in onDraw()
235 canvas.drawText(mText.clear() in onDraw()
241 canvas.drawText(mText.clear() in onDraw()
247 canvas.drawText(mText.clear() in onDraw()
252 canvas.drawText(mText.clear() in onDraw()
259 canvas.drawText(mText.clear() in onDraw()
266 canvas.drawText(mText.clear() in onDraw()
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
DPlaybackGraphs.java290 canvas.drawText(label, xPos, yPos, whiteLabels); in draw()
298 canvas.drawText(label, xPos, yPos, whiteLabels); in draw()
303 canvas.drawText(strings.get(stringIndex), 0, yPos, whiteLabels); in draw()
DPlaybackView.java82 canvas.drawText(Integer.toString(tile.level), getBounds().left, in draw()
84 canvas.drawText(label, getBounds().left, in draw()
/frameworks/ex/carousel/test/src/com/android/carouseltest/
DCarouselTestActivity.java94 canvas.drawText("" + n, 2, TEXTURE_HEIGHT-10, mPaint); in getTexture()
109 canvas.drawText("Detail text for card " + n, 0, DETAIL_TEXTURE_HEIGHT/2, mPaint); in getDetailTexture()
/frameworks/base/core/java/android/text/
DGraphicsOperations.java33 void drawText(Canvas c, int start, int end, in drawText() method
DSpannableStringBuilder.java1111 public void drawText(Canvas c, int start, int end, float x, float y, Paint p) { in drawText() method in SpannableStringBuilder
1115 c.drawText(mText, start, end - start, x, y, p); in drawText()
1117 c.drawText(mText, start + mGapLength, end - start, x, y, p); in drawText()
1122 c.drawText(buf, 0, end - start, x, y, p); in drawText()
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeView.java76 canvas.drawText("abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ", in onDraw()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestViewDrawText.java64 canvas.drawText(mText, width / 2, height * 2 / 3, paint); in onDraw()
DBiDiTestView.java162 canvas.drawText(text, x, y, paint); in testString()
/frameworks/base/core/tests/coretests/src/android/widget/
DLabelView.java185 canvas.drawText(mText, mPaddingLeft, mPaddingTop - mAscent, mTextPaint); in onDraw()
DTextViewPerformanceTest.java97 mCanvas.drawText(mString, 30, 30, mPaint); in testCanvasDrawText()
/frameworks/base/graphics/java/android/graphics/
DCanvas.java1326 public void drawText(char[] text, int index, int count, float x, float y, Paint paint) { in drawText() method in Canvas
1344 public void drawText(String text, float x, float y, Paint paint) { in drawText() method in Canvas
1360 public void drawText(String text, int start, int end, float x, float y, Paint paint) { in drawText() method in Canvas
1381 public void drawText(CharSequence text, int start, int end, float x, float y, Paint paint) { in drawText() method in Canvas
1387 ((GraphicsOperations) text).drawText(this, start, end, x, y, in drawText()
/frameworks/base/tests/BrowserTestPlugin/jni/event/
DEventPlugin.cpp99 gCanvasI.drawText(canvas, c, sizeof(c)-1, leftMargin, -fm.fTop, paint); in drawPlugin()
/frameworks/base/core/java/android/widget/
DCalendarView.java1758 canvas.drawText(mDayNumbers[nDays - 1 - i], x, y, mMonthNumDrawPaint); in drawWeekNumbersAndDates()
1763 canvas.drawText(mDayNumbers[0], x, y, mDrawPaint); in drawWeekNumbersAndDates()
1769 canvas.drawText(mDayNumbers[0], x, y, mDrawPaint); in drawWeekNumbersAndDates()
1776 canvas.drawText(mDayNumbers[i], x, y, mMonthNumDrawPaint); in drawWeekNumbersAndDates()
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java175 canvas.drawText( in onDraw()
/frameworks/base/services/java/com/android/server/wm/
DWatermark.java166 c.drawText(mText, x, y, mTextPaint); in drawIfNeeded()
/frameworks/base/docs/html/training/custom-views/
Dcustom-drawing.jd227 <li>Draw text using {@link android.graphics.Canvas#drawText drawText()}. Specify the typeface by
268 canvas.drawText(mData.get(mCurrentItem).mLabel, mTextX, mTextY, mTextPaint);

12