/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | TextActivity.java | 87 canvas.drawText("Hello OpenGL renderer!", 300, 20, mEventPaint); 91 canvas.drawText("Hello OpenGL renderer!", 100, 20, mMediumPaint); 95 canvas.drawText("Hello OpenGL renderer!", 100, 40, mMediumPaint); 100 canvas.drawText("Hello OpenGL renderer!", 100, 60, mMediumPaint); 104 canvas.drawText("Hello OpenGL renderer!", 100, 100, mMediumPaint); 107 canvas.drawText("Hello OpenGL renderer!", 100, 150, mMediumPaint); 109 canvas.drawText("Hello OpenGL renderer!", 100, 200, mLargePaint); 112 canvas.drawText("Hello OpenGL renderer!", 100, 400, mLargePaint); 115 canvas.drawText("Hello OpenGL renderer!", 100, 500, mLargePaint); 119 canvas.drawText("Hell [all...] |
H A D | ScaledTextActivity.java | 97 canvas.drawText(TEXT, 30.0f, 30.0f, mPaint); 99 canvas.drawText(TEXT, 30.0f, 50.0f, mPaint); 101 canvas.drawText(TEXT, 30.0f, 70.0f, mPaint); 108 canvas.drawText(TEXT, 30.0f, 30.0f, mPaint); 111 canvas.drawText(TEXT, 30.0f, 50.0f, mPaint); 113 canvas.drawText(TEXT, 30.0f, 70.0f, mPaint); 121 canvas.drawText(TEXT, 30.0f, 30.0f, mPaint); 127 canvas.drawText(TEXT, 30.0f, 30.0f, mShadowPaint); 137 canvas.drawText(TEXT, 30.0f, 30.0f, mPaint);
|
H A D | PaintDrawFilterActivity.java | 59 canvas.drawText("Hello OpenGL renderer!", 100, 120, mMediumPaint); 61 canvas.drawText("Hello OpenGL renderer!", 100, 220, mMediumPaint);
|
H A D | NoAATextActivity.java | 54 canvas.drawText(TEXT, 30.0f, 150.0f, mPaint);
|
H A D | MoreShadersActivity.java | 134 canvas.drawText("OpenGL rendering", 0.0f, 20.0f, mLargePaint); 137 canvas.drawText("OpenGL rendering", 0.0f, 60.0f, mLargePaint); 141 canvas.drawText("OpenGL rendering", 0.0f, 100.0f, mLargePaint); 146 canvas.drawText("OpenGL rendering", 0.0f, 20.0f, mLargePaint);
|
H A D | NewLayersActivity.java | 71 canvas.drawText("This is a very long string to overlap between layers and framebuffer",
|
H A D | Rotate3dTextActivity.java | 79 canvas.drawText(TEXT, getWidth() / 2.0f, getHeight() / 2.0f, mPaint);
|
H A D | ClearActivity.java | 80 canvas.drawText("OpenGLRenderer", 50.0f, 50.0f, mClearPaint);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | LoadAverageService.java | 217 canvas.drawText(stats.mLoadText, RIGHT-paddingRight-stats.mLoadWidth-1, 219 canvas.drawText(stats.mLoadText, RIGHT-paddingRight-stats.mLoadWidth-1, 221 canvas.drawText(stats.mLoadText, RIGHT-paddingRight-stats.mLoadWidth+1, 223 canvas.drawText(stats.mLoadText, RIGHT-paddingRight-stats.mLoadWidth+1, 225 canvas.drawText(stats.mLoadText, RIGHT-paddingRight-stats.mLoadWidth, 247 canvas.drawText(st.name, RIGHT-paddingRight-st.nameWidth-1, 249 canvas.drawText(st.name, RIGHT-paddingRight-st.nameWidth-1, 251 canvas.drawText(st.name, RIGHT-paddingRight-st.nameWidth+1, 253 canvas.drawText(st.name, RIGHT-paddingRight-st.nameWidth+1, 258 canvas.drawText(s [all...] |
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
H A D | TestWallpaper.java | 222 c.drawText("Surface Size: " + width + " x " + height, 225 c.drawText("Desired Size: " + mDesiredWidth + " x " + mDesiredHeight, 228 c.drawText("Cur Offset Raw: " + mOffsetX + ", " + mOffsetY, 231 c.drawText("Cur Offset Step: " + mOffsetXStep + ", " + mOffsetYStep, 234 c.drawText("Cur Offset Pixels: " + mOffsetXPixels + ", " + mOffsetYPixels, 237 c.drawText("Stable Insets: (" + mStableInsets.left + ", " + mStableInsets.top 241 c.drawText("System Insets: (" + mMainInsets.left + ", " + mMainInsets.top
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
H A D | RadialTextsView.java | 272 canvas.drawText(texts[0], textGridWidths[3], textGridHeights[0], mPaint); 273 canvas.drawText(texts[1], textGridWidths[4], textGridHeights[1], mPaint); 274 canvas.drawText(texts[2], textGridWidths[5], textGridHeights[2], mPaint); 275 canvas.drawText(texts[3], textGridWidths[6], textGridHeights[3], mPaint); 276 canvas.drawText(texts[4], textGridWidths[5], textGridHeights[4], mPaint); 277 canvas.drawText(texts[5], textGridWidths[4], textGridHeights[5], mPaint); 278 canvas.drawText(texts[6], textGridWidths[3], textGridHeights[6], mPaint); 279 canvas.drawText(texts[7], textGridWidths[2], textGridHeights[5], mPaint); 280 canvas.drawText(texts[8], textGridWidths[1], textGridHeights[4], mPaint); 281 canvas.drawText(text [all...] |
H A D | AmPmCirclesView.java | 208 canvas.drawText(mAmText, mAmXCenter, textYCenter, mPaint); 209 canvas.drawText(mPmText, mPmXCenter, textYCenter, mPaint);
|
/frameworks/base/core/java/android/text/ |
H A D | GraphicsOperations.java | 31 * Just like {@link Canvas#drawText}. 33 void drawText(Canvas c, int start, int end, method in interface:GraphicsOperations
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
H A D | SimpleMonthView.java | 46 canvas.drawText(String.format("%d", day), x, y, mMonthNumPaint);
|
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
H A D | FakeView.java | 76 canvas.drawText("abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
H A D | BiDiTestViewDrawText.java | 64 canvas.drawText(mText, width / 2, height * 2 / 3, paint);
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | LabelView.java | 185 canvas.drawText(mText, mPaddingLeft, mPaddingTop - mAscent, mTextPaint);
|
H A D | TextViewPerformanceTest.java | 97 mCanvas.drawText(mString, 30, 30, mPaint);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SubtitleView.java | 331 layout.drawText(c, i, i); 347 layout.drawText(c, i, i); 357 layout.drawText(c, i, i);
|
H A D | PointerLocationView.java | 235 canvas.drawText(mText.clear() 243 canvas.drawText(mText.clear() 247 canvas.drawText(mText.clear() 256 canvas.drawText(mText.clear() 262 canvas.drawText(mText.clear() 268 canvas.drawText(mText.clear() 273 canvas.drawText(mText.clear() 280 canvas.drawText(mText.clear() 287 canvas.drawText(mText.clear()
|
/frameworks/base/libs/hwui/ |
H A D | Canvas.h | 146 * drawText: count is of glyphs 150 virtual void drawText(const uint16_t* glyphs, const float* positions, int count, 162 * Specifies if the positions passed to ::drawText are absolute or relative
|
H A D | SkiaCanvasProxy.cpp | 262 mCanvas->drawText(glyphs.glyphIDs, &pointStorage[0].fX, glyphs.count, glyphs.paint, 297 mCanvas->drawText(glyphs.glyphIDs, &posArray[0].fX, glyphs.count, glyphs.paint, x, y,
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageView.java | 372 mCanvas.drawText(x + "x" + y, 128, 128, mPaint); 376 mCanvas.drawText(x + "x" + y + " @ " + level, 128, 30, mPaint);
|
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 450 canvas->drawText(glyphs + start, pos + (2 * start), glyphCount, paint, x, y, 499 void drawText(Canvas* canvas, const uint16_t* text, int start, int count, int contextCount, function in namespace:android::CanvasJNI 534 drawText(get_canvas(canvasHandle), jchars + index, 0, count, count, x, y, 546 drawText(get_canvas(canvasHandle), jchars + start, 0, count, count, x, y, 559 drawText(get_canvas(canvasHandle), jchars + contextIndex, index - contextIndex, count, 575 drawText(get_canvas(canvasHandle), jchars + contextStart, start - contextStart, count,
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 1636 public void drawText(@NonNull char[] text, int index, int count, float x, float y, method in class:Canvas 1655 public void drawText(@NonNull String text, float x, float y, @NonNull Paint paint) { method in class:Canvas 1671 public void drawText(@NonNull String text, int start, int end, float x, float y, method in class:Canvas 1693 public void drawText(@NonNull CharSequence text, int start, int end, float x, float y, method in class:Canvas 1703 ((GraphicsOperations) text).drawText(this, start, end, x, y, 1721 * {@link #drawText}, in this method {@code count} and {@code contextCount} are used rather 1846 drawText(text, index + i, 1, pos[i * 2], pos[i * 2 + 1], paint);
|