Home
last modified time | relevance | path

Searched refs:textSize (Results 1 – 9 of 9) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DDetermineFovActivity.java218 float textSize = TEXT_SIZE * DetermineFovActivity.this.getResources() in drawContents() local
220 paint.setTextSize(textSize); in drawContents()
221 canvas.drawText(mMeasuredText + " " + mFovDegrees + " degrees.", textSize, in drawContents()
222 2 * textSize * (1.0f + TEXT_PADDING), paint); in drawContents()
224 textSize, textSize * (1.0f + TEXT_PADDING), paint); in drawContents()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DPaintTests.kt85 paint.textSize = 100f in <lambda>()
86 canvas.drawText("shadow text", 0f, paint.textSize, paint) in <lambda>()
92 paint.textSize = 100f in <lambda>()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DFontScaleActivity.java53 new int[] { android.R.attr.textSize }, 0, 0); in dumpFontSize()
/cts/tests/tests/text/src/android/text/cts/
DMyanmarTest.java230 final float textSize = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 8, in CaptureTextView() local
232 setTextSize(textSize); in CaptureTextView()
DBoringLayoutTest.java509 for (float textSize : textSizes) { in testPrecomputedText()
511 paint.setTextSize(textSize); in testPrecomputedText()
DTextUtilsTest.java2085 int textSize = 20; in testWriteToParcel() local
2087 null, Typeface.ITALIC, textSize, colors, null); in testWriteToParcel()
2105 assertEquals(textSize, ((TextAppearanceSpan) spans[1]).getTextSize()); in testWriteToParcel()
DStaticLayoutTest.java1443 for (float textSize : textSizes) {
1445 paint.setTextSize(textSize);
/cts/tests/tests/widget/src/android/widget/cts/
DWidgetAttributeTest.kt111 textview1.getAttributeResolutionStack(android.R.attr.textSize) in testGetAttributeResolutionStack()
165 attributeMapTextView1[android.R.attr.textSize]!!.toInt()) in testGetAttributeSourceResourceMap()
DTextViewTest.java7966 int textSize = (int) autoSizeTextViewUniform.getTextSize();
7968 if (expectedSizesInPx[i] == textSize) {