Home
last modified time | relevance | path

Searched refs:font (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DFontsContractTest.java194 FontInfo font = fonts[0]; in querySingleFont() local
195 assertNotNull(font.getUri()); in querySingleFont()
196 assertEquals(Columns.RESULT_CODE_OK, font.getResultCode()); in querySingleFont()
211 for (FontInfo font: fonts) { in queryMultipleFont()
212 assertNotNull(font.getUri()); in queryMultipleFont()
213 assertEquals(Columns.RESULT_CODE_OK, font.getResultCode()); in queryMultipleFont()
229 FontInfo font = fonts[0]; in queryAttributes() local
230 assertNotNull(font.getUri()); in queryAttributes()
231 assertEquals(400, font.getWeight()); in queryAttributes()
232 assertEquals(1, font.getAxes().length); in queryAttributes()
[all …]
DMockFontProvider.java182 for (Font font : in) { in buildCursor()
184 builder.add(Columns._ID, font.getId()); in buildCursor()
185 builder.add(Columns.FILE_ID, font.getFileId()); in buildCursor()
192 for (Font font : in) { in buildCursor()
194 builder.add(Columns._ID, font.getId()); in buildCursor()
195 builder.add(Columns.FILE_ID, font.getFileId()); in buildCursor()
196 builder.add(Columns.TTC_INDEX, font.getTtcIndex()); in buildCursor()
197 builder.add(Columns.VARIATION_SETTINGS, font.getVarSettings()); in buildCursor()
198 builder.add(Columns.WEIGHT, font.getWeight()); in buildCursor()
199 builder.add(Columns.ITALIC, font.getItalic()); in buildCursor()
[all …]
/cts/tests/tests/content/src/android/content/res/cts/
DResourcesTest.java769 Typeface font = mResources.getFont(R.font.sample_regular_font); in testGetFont_fontFile() local
771 assertNotNull(font); in testGetFont_fontFile()
772 assertNotSame(Typeface.DEFAULT, font); in testGetFont_fontFile()
776 Typeface font = mResources.getFont(R.font.samplexmlfont); in testGetFont_xmlFile() local
778 assertNotNull(font); in testGetFont_xmlFile()
779 assertNotSame(Typeface.DEFAULT, font); in testGetFont_xmlFile()
784 assertNull(mResources.getFont(R.font.invalid_xmlfamily)); in testGetFont_invalidXmlFile()
790 assertNull(mResources.getFont(R.font.invalid_xmlempty)); in testGetFont_invalidXmlFile()
798 mResources.getFont(R.font.invalid_xmlfont); in testGetFont_invalidFontFiles()
805 mResources.getFont(R.font.invalid_font); in testGetFont_invalidFontFiles()
[all …]
DTypedArrayTest.java172 final Typeface font = t.getFont(R.styleable.style1_type18); in testGetAttributes() local
173 assertEquals(mContext.getResources().getFont(R.font.sample_regular_font), font); in testGetAttributes() local
/cts/apps/CtsVerifier/assets/report/
Dcompatibility_result.css17 font-family:arial,sans-serif;
19 font-size:13px;
44 font-size: 1.2em;
52 font-size: 1em;
109 font-weight: bold;
115 font-weight:bold;
154 font-weight:bold;
/cts/common/host-side/tradefed/res/report/
Dcompatibility_result.css17 font-family:arial,sans-serif;
19 font-size:13px;
44 font-size: 1.2em;
52 font-size: 1em;
109 font-weight: bold;
134 font-weight:bold;
173 font-weight:bold;
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java7545 Typeface expected = mActivity.getResources().getFont(R.font.samplefont); in testFontResources_setInXmlFamilyName()
7553 Typeface expected = mActivity.getResources().getFont(R.font.samplexmlfont); in testFontResourcesXml_setInXmlFamilyName()
7561 Typeface expected = mActivity.getResources().getFont(R.font.samplefont); in testFontResources_setInXmlStyle()
7569 Typeface expected = mActivity.getResources().getFont(R.font.samplexmlfont); in testFontResourcesXml_setInXmlStyle()
7577 Typeface expected = mActivity.getResources().getFont(R.font.samplefont); in testFontResources_setInXmlTextAppearance()
7585 Typeface expected = mActivity.getResources().getFont(R.font.samplexmlfont); in testFontResourcesXml_setInXmlWithStyle()
7600 Typeface expected = mActivity.getResources().getFont(R.font.samplexmlfont); in testFontResourcesXml_setInXmlTextAppearance()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex8907 public final class java.awt.font.NumericShaper extends java.lang.Object implements java.io.Serializ…
9030 public static java.awt.font.NumericShaper getContextualShaper(
9033 public static java.awt.font.NumericShaper getContextualShaper(
9043 public static java.awt.font.NumericShaper getShaper(
9127 public final class java.awt.font.TextAttribute extends java.text.AttributedCharacterIterator$Attrib…
9131 public static final java.awt.font.TextAttribute BACKGROUND
9133 public static final java.awt.font.TextAttribute BIDI_EMBEDDING
9135 public static final java.awt.font.TextAttribute CHAR_REPLACEMENT
9137 public static final java.awt.font.TextAttribute FAMILY
9139 public static final java.awt.font.TextAttribute FONT
[all …]