/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | TextActivity.java | 87 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 …]
|
D | ScaledTextActivity.java | 97 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()
|
D | MoreShadersActivity.java | 134 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()
|
D | PaintDrawFilterActivity.java | 59 canvas.drawText("Hello OpenGL renderer!", 100, 120, mMediumPaint); in onDraw() 61 canvas.drawText("Hello OpenGL renderer!", 100, 220, mMediumPaint); in onDraw()
|
D | NoAATextActivity.java | 54 canvas.drawText(TEXT, 30.0f, 150.0f, mPaint); in onDraw()
|
D | DrawIntoHwBitmapActivity.java | 48 canvas.drawText("Hello, World!", 0, 90, p); in createBitmap()
|
D | NewLayersActivity.java | 71 canvas.drawText("This is a very long string to overlap between layers and framebuffer", in drawStuff()
|
D | Rotate3dTextActivity.java | 79 canvas.drawText(TEXT, getWidth() / 2.0f, getHeight() / 2.0f, mPaint); in onDraw()
|
D | ClearActivity.java | 80 canvas.drawText("OpenGLRenderer", 50.0f, 50.0f, mClearPaint); in onDraw()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | BatteryMeterDrawableTest.java | 61 verify(canvas, never()).drawText(anyString(), anyFloat(), anyFloat(), any()); in testDrawImageButNoTextIfPluggedIn() 70 verify(canvas, times(1)).drawText(anyString(), anyFloat(), anyFloat(), any()); in testDrawTextIfNotPluggedIn() 80 verify(canvas, never()).drawText(anyString(), anyFloat(), anyFloat(), any()); in testDrawNoTextIfPowerSaveEnabled() 92 verify(canvas, times(1)).drawText(eq(warningString), anyFloat(), anyFloat(), any()); in testDrawTextWarningAtCriticalLevel() 104 verify(canvas, never()).drawText(eq(warningString), anyFloat(), anyFloat(), any()); in testDrawTextNoWarningAboveCriticalLevel()
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
D | TestWallpaper.java | 230 c.drawText("Surface Size: " + width + " x " + height, in drawFrame() 233 c.drawText("Desired Size: " + mDesiredWidth + " x " + mDesiredHeight, in drawFrame() 236 c.drawText("Cur Offset Raw: " + mOffsetX + ", " + mOffsetY, in drawFrame() 239 c.drawText("Cur Offset Step: " + mOffsetXStep + ", " + mOffsetYStep, in drawFrame() 242 c.drawText("Cur Offset Pixels: " + mOffsetXPixels + ", " + mOffsetYPixels, in drawFrame() 245 c.drawText("Stable Insets: (" + mStableInsets.left + ", " + mStableInsets.top in drawFrame() 249 c.drawText("System Insets: (" + mMainInsets.left + ", " + mMainInsets.top in drawFrame()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/ |
D | BatteryMeterDrawableBaseTest.java | 67 verify(mCanvas).drawText(eq("!"), eq(25f), eq(43.399998f), any(Paint.class)); in testDraw_hasPaddingAndBounds_drawWarningInCorrectPosition() 81 verify(mCanvas).drawText(eq("20"), eq(25f), eq(42.6f), any(Paint.class)); in testDraw_hasPaddingAndBounds_drawBatteryLevelInCorrectPosition()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
D | NopCanvas.java | 254 public void drawText(char[] text, int index, int count, float x, float y, Paint paint) { in drawText() method in NopCanvas 258 public void drawText(String text, float x, float y, Paint paint) { in drawText() method in NopCanvas 262 public void drawText(String text, int start, int end, float x, float y, Paint paint) { in drawText() method in NopCanvas 266 public void drawText(CharSequence text, int start, int end, float x, float y, Paint paint) { in drawText() method in NopCanvas
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | SaveLayerInterleaveActivity.java | 74 canvas.drawText("offscreen line "+ i, bounds.left, top + padding, in onCreate() 81 canvas.drawText("onscreen line "+ i, bounds.left, in onCreate()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 293 canvas.drawText(mText.clear() in onDraw() 302 canvas.drawText(mText.clear() in onDraw() 307 canvas.drawText(mText.clear() in onDraw() 316 canvas.drawText(mText.clear() in onDraw() 322 canvas.drawText(mText.clear() in onDraw() 329 canvas.drawText(mText.clear() in onDraw() 335 canvas.drawText(mText.clear() in onDraw() 343 canvas.drawText(mText.clear() in onDraw() 350 canvas.drawText(mText.clear() in onDraw()
|
D | SubtitleView.java | 335 layout.drawText(c, i, i); in onDraw() 351 layout.drawText(c, i, i); in onDraw() 361 layout.drawText(c, i, i); in onDraw()
|
/frameworks/base/core/java/android/text/ |
D | GraphicsOperations.java | 33 void drawText(BaseCanvas c, int start, int end, in drawText() method
|
/frameworks/base/graphics/java/android/graphics/ |
D | Canvas.java | 2106 public void drawText(@NonNull char[] text, int index, int count, float x, float y, in drawText() method in Canvas 2108 super.drawText(text, index, count, x, y, paint); in drawText() 2120 public void drawText(@NonNull String text, float x, float y, @NonNull Paint paint) { in drawText() method in Canvas 2121 super.drawText(text, x, y, paint); in drawText() 2135 public void drawText(@NonNull String text, int start, int end, float x, float y, in drawText() method in Canvas 2137 super.drawText(text, start, end, x, y, paint); in drawText() 2151 public void drawText(@NonNull CharSequence text, int start, int end, float x, float y, in drawText() method in Canvas 2153 super.drawText(text, start, end, x, y, paint); in drawText()
|
D | BaseRecordingCanvas.java | 347 drawText(text, index + i, 1, pos[i * 2], pos[i * 2 + 1], paint); in drawPosText() 412 public final void drawText(@NonNull char[] text, int index, int count, float x, float y, in drawText() method in BaseRecordingCanvas 423 public final void drawText(@NonNull CharSequence text, int start, int end, float x, float y, in drawText() method in BaseRecordingCanvas 433 ((GraphicsOperations) text).drawText(this, start, end, x, y, in drawText() 445 public final void drawText(@NonNull String text, float x, float y, @NonNull Paint paint) { in drawText() method in BaseRecordingCanvas 451 public final void drawText(@NonNull String text, int start, int end, float x, float y, in drawText() method in BaseRecordingCanvas
|
D | BaseCanvas.java | 356 drawText(text, index + i, 1, pos[i * 2], pos[i * 2 + 1], paint); in drawPosText() 446 public void drawText(@NonNull char[] text, int index, int count, float x, float y, in drawText() method in BaseCanvas 457 public void drawText(@NonNull CharSequence text, int start, int end, float x, float y, in drawText() method in BaseCanvas 468 ((GraphicsOperations) text).drawText(this, start, end, x, y, in drawText() 479 public void drawText(@NonNull String text, float x, float y, @NonNull Paint paint) { in drawText() method in BaseCanvas 485 public void drawText(@NonNull String text, int start, int end, float x, float y, in drawText() method in BaseCanvas
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | LayoutTest.java | 663 public void drawText(String text, int start, int end, float x, float y, Paint p) { in drawText() method in LayoutTest.MockCanvas 668 public void drawText(CharSequence text, int start, int end, float x, float y, Paint p) { in drawText() method in LayoutTest.MockCanvas 669 drawText(text.toString(), start, end, x, y, p); in drawText() 673 public void drawText(char[] text, int index, int count, float x, float y, Paint p) { in drawText() method in LayoutTest.MockCanvas 680 drawText(text, start, end, x, y, paint); in drawTextRun() 686 drawText(text, index, count, x, y, paint); in drawTextRun()
|
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
D | FakeView.java | 76 canvas.drawText("abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ", in onDraw()
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | CanvasDrawTextTest.java | 68 canvas.drawText(text, start, start + 100, 0, 0, PAINT); in drawText_LongText_SmallWindow()
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
D | BiDiTestViewDrawText.java | 64 canvas.drawText(mText, width / 2, height * 2 / 3, paint); in onDraw()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | LabelView.java | 185 canvas.drawText(mText, mPaddingLeft, mPaddingTop - mAscent, mTextPaint); in onDraw()
|