HomeSort by relevance Sort by last modified time
    Searched refs:sTextPaint (Results 1 - 2 of 2) sorted by null

  /frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/
BitmapLoader.java 51 static Paint sTextPaint = new Paint();
54 sTextPaint.setColor(Color.BLACK);
97 canvas.drawText(Long.toString(mId), 0f, mHeight / 2, sTextPaint);
  /cts/tests/tests/text/src/android/text/cts/
StaticLayoutLineBreakingTest.java 57 private static final TextPaint sTextPaint = new TextPaint();
72 sTextPaint.setTypeface(Typeface.createFromAsset(context.getAssets(),
74 sTextPaint.setTextSize(1.0f); // Make 1em == 1px.
79 return StaticLayout.Builder.obtain(source, 0, source.length(), sTextPaint, width)
151 .obtain(source, 0, source.length(), sTextPaint, WIDTH)
310 * To be able to use the fake sTextPaint and make this test pass, use mPaint instead of

Completed in 287 milliseconds