Home
last modified time | relevance | path

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

123

/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 …]
DScaledTextActivity.java97 canvas.drawText(TEXT, 30.0f, 30.0f, mPaint); in onDraw()
99 canvas.drawText(TEXT, 30.0f, 50.0f, mPaint); in onDraw()
101 canvas.drawText(TEXT, 30.0f, 70.0f, mPaint); in onDraw()
108 canvas.drawText(TEXT, 30.0f, 30.0f, mPaint); in onDraw()
111 canvas.drawText(TEXT, 30.0f, 50.0f, mPaint); in onDraw()
113 canvas.drawText(TEXT, 30.0f, 70.0f, mPaint); in onDraw()
121 canvas.drawText(TEXT, 30.0f, 30.0f, mPaint); in onDraw()
127 canvas.drawText(TEXT, 30.0f, 30.0f, mShadowPaint); in onDraw()
137 canvas.drawText(TEXT, 30.0f, 30.0f, mPaint); in onDraw()
DMoreShadersActivity.java134 canvas.drawText("OpenGL rendering", 0.0f, 20.0f, mLargePaint); in onDraw()
137 canvas.drawText("OpenGL rendering", 0.0f, 60.0f, mLargePaint); in onDraw()
141 canvas.drawText("OpenGL rendering", 0.0f, 100.0f, mLargePaint); in onDraw()
146 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()
DNoAATextActivity.java54 canvas.drawText(TEXT, 30.0f, 150.0f, mPaint); in onDraw()
DNewLayersActivity.java71 canvas.drawText("This is a very long string to overlap between layers and framebuffer", in drawStuff()
DRotate3dTextActivity.java79 canvas.drawText(TEXT, getWidth() / 2.0f, getHeight() / 2.0f, mPaint); in onDraw()
DClearActivity.java80 canvas.drawText("OpenGLRenderer", 50.0f, 50.0f, mClearPaint); in onDraw()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialTextsView.java272 canvas.drawText(texts[0], textGridWidths[3], textGridHeights[0], mPaint); in drawTexts()
273 canvas.drawText(texts[1], textGridWidths[4], textGridHeights[1], mPaint); in drawTexts()
274 canvas.drawText(texts[2], textGridWidths[5], textGridHeights[2], mPaint); in drawTexts()
275 canvas.drawText(texts[3], textGridWidths[6], textGridHeights[3], mPaint); in drawTexts()
276 canvas.drawText(texts[4], textGridWidths[5], textGridHeights[4], mPaint); in drawTexts()
277 canvas.drawText(texts[5], textGridWidths[4], textGridHeights[5], mPaint); in drawTexts()
278 canvas.drawText(texts[6], textGridWidths[3], textGridHeights[6], mPaint); in drawTexts()
279 canvas.drawText(texts[7], textGridWidths[2], textGridHeights[5], mPaint); in drawTexts()
280 canvas.drawText(texts[8], textGridWidths[1], textGridHeights[4], mPaint); in drawTexts()
281 canvas.drawText(texts[9], textGridWidths[0], textGridHeights[3], mPaint); in drawTexts()
[all …]
DAmPmCirclesView.java208 canvas.drawText(mAmText, mAmXCenter, textYCenter, mPaint); in onDraw()
209 canvas.drawText(mPmText, mPmXCenter, textYCenter, mPaint); in onDraw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DLoadAverageService.java217 canvas.drawText(stats.mLoadText, RIGHT-paddingRight-stats.mLoadWidth-1, in onDraw()
219 canvas.drawText(stats.mLoadText, RIGHT-paddingRight-stats.mLoadWidth-1, in onDraw()
221 canvas.drawText(stats.mLoadText, RIGHT-paddingRight-stats.mLoadWidth+1, in onDraw()
223 canvas.drawText(stats.mLoadText, RIGHT-paddingRight-stats.mLoadWidth+1, in onDraw()
225 canvas.drawText(stats.mLoadText, RIGHT-paddingRight-stats.mLoadWidth, in onDraw()
247 canvas.drawText(st.name, RIGHT-paddingRight-st.nameWidth-1, in onDraw()
249 canvas.drawText(st.name, RIGHT-paddingRight-st.nameWidth-1, in onDraw()
251 canvas.drawText(st.name, RIGHT-paddingRight-st.nameWidth+1, in onDraw()
253 canvas.drawText(st.name, RIGHT-paddingRight-st.nameWidth+1, in onDraw()
258 canvas.drawText(st.name, RIGHT-paddingRight-st.nameWidth, y, p); in onDraw()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DTestWallpaper.java222 c.drawText("Surface Size: " + width + " x " + height, in drawFrame()
225 c.drawText("Desired Size: " + mDesiredWidth + " x " + mDesiredHeight, in drawFrame()
228 c.drawText("Cur Offset Raw: " + mOffsetX + ", " + mOffsetY, in drawFrame()
231 c.drawText("Cur Offset Step: " + mOffsetXStep + ", " + mOffsetYStep, in drawFrame()
234 c.drawText("Cur Offset Pixels: " + mOffsetXPixels + ", " + mOffsetYPixels, in drawFrame()
237 c.drawText("Stable Insets: (" + mStableInsets.left + ", " + mStableInsets.top in drawFrame()
241 c.drawText("System Insets: (" + mMainInsets.left + ", " + mMainInsets.top in drawFrame()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java235 canvas.drawText(mText.clear() in onDraw()
243 canvas.drawText(mText.clear() in onDraw()
247 canvas.drawText(mText.clear() in onDraw()
256 canvas.drawText(mText.clear() in onDraw()
262 canvas.drawText(mText.clear() in onDraw()
268 canvas.drawText(mText.clear() in onDraw()
273 canvas.drawText(mText.clear() in onDraw()
280 canvas.drawText(mText.clear() in onDraw()
287 canvas.drawText(mText.clear() in onDraw()
DSubtitleView.java332 layout.drawText(c, i, i); in onDraw()
348 layout.drawText(c, i, i); in onDraw()
358 layout.drawText(c, i, i); in onDraw()
/frameworks/base/core/java/android/widget/
DRadialTimePickerView.java888 canvas.drawText(selected, x, y, paint); in drawDebug()
967 canvas.drawText(texts[0], textGridWidths[3], textGridHeights[0], paint); in drawTextElements()
968 canvas.drawText(texts[1], textGridWidths[4], textGridHeights[1], paint); in drawTextElements()
969 canvas.drawText(texts[2], textGridWidths[5], textGridHeights[2], paint); in drawTextElements()
970 canvas.drawText(texts[3], textGridWidths[6], textGridHeights[3], paint); in drawTextElements()
971 canvas.drawText(texts[4], textGridWidths[5], textGridHeights[4], paint); in drawTextElements()
972 canvas.drawText(texts[5], textGridWidths[4], textGridHeights[5], paint); in drawTextElements()
973 canvas.drawText(texts[6], textGridWidths[3], textGridHeights[6], paint); in drawTextElements()
974 canvas.drawText(texts[7], textGridWidths[2], textGridHeights[5], paint); in drawTextElements()
975 canvas.drawText(texts[8], textGridWidths[1], textGridHeights[4], paint); in drawTextElements()
[all …]
DSimpleMonthView.java441 canvas.drawText(getMonthAndYearString(), x, y, mMonthTitlePaint); in drawMonthTitle()
454 canvas.drawText(dayLabel, x, y, mMonthDayLabelPaint); in drawWeekDayLabels()
480 canvas.drawText(String.format("%d", day), x, y, paint); in drawDays()
/frameworks/base/core/java/android/text/
DGraphicsOperations.java33 void drawText(Canvas c, int start, int end, in drawText() method
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DSimpleMonthView.java46 canvas.drawText(String.format("%d", day), x, y, mMonthNumPaint); in drawMonthDay()
/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()
/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.java1645 public void drawText(@NonNull char[] text, int index, int count, float x, float y, in drawText() method in Canvas
1664 public void drawText(@NonNull String text, float x, float y, @NonNull Paint paint) { in drawText() method in Canvas
1680 public void drawText(@NonNull String text, int start, int end, float x, float y, in drawText() method in Canvas
1702 public void drawText(@NonNull CharSequence text, int start, int end, float x, float y, in drawText() method in Canvas
1712 ((GraphicsOperations) text).drawText(this, start, end, x, y, in drawText()
1830 drawText(text, index + i, 1, pos[i * 2], pos[i * 2 + 1], paint); in drawPosText()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp434 canvas->drawText(glyphs + start, pos + (2 * start), glyphCount, paint, x, y, in operator ()()
481 void drawText(Canvas* canvas, const uint16_t* text, int start, int count, int contextCount, in drawText() function
513 drawText(get_canvas(canvasHandle), jchars + index, 0, count, count, x, y, in drawTextChars()
525 drawText(get_canvas(canvasHandle), jchars + start, 0, count, count, x, y, in drawTextString()
538 drawText(get_canvas(canvasHandle), jchars + contextIndex, index - contextIndex, count, in drawTextRunChars()
554 drawText(get_canvas(canvasHandle), jchars + contextStart, start - contextStart, count, in drawTextRunString()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageView.java372 mCanvas.drawText(x + "x" + y, 128, 128, mPaint); in getTile()
376 mCanvas.drawText(x + "x" + y + " @ " + level, 128, 30, mPaint); in getTile()

123