Home
last modified time | relevance | path

Searched refs:getTtcIndex (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/support/compat/src/androidTest/java/androidx/core/content/res/
DFontResourcesParserCompatTest.java79 assertEquals(0, font1.getTtcIndex()); in testParse()
85 assertEquals(1, font2.getTtcIndex()); in testParse()
91 assertEquals(2, font3.getTtcIndex()); in testParse()
97 assertEquals(0, font4.getTtcIndex()); in testParse()
122 assertEquals(0, font1.getTtcIndex()); in testParseAndroidAttrs()
128 assertEquals(1, font2.getTtcIndex()); in testParseAndroidAttrs()
134 assertEquals(2, font3.getTtcIndex()); in testParseAndroidAttrs()
140 assertEquals(0, font4.getTtcIndex()); in testParseAndroidAttrs()
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractTest.java81 assertEquals(TestFontsProvider.TTC_INDEX, font.getTtcIndex()); in testGetFontFromProvider_resultOK()
100 assertEquals(0, font.getTtcIndex()); in testGetFontFromProvider_providerDoesntReturnAllFields()
116 assertEquals(TestFontsProvider.TTC_INDEX, font.getTtcIndex()); in testGetFontFromProvider_resultFontNotFound()
130 assertEquals(TestFontsProvider.TTC_INDEX, font.getTtcIndex()); in testGetFontFromProvider_resultFontUnavailable()
150 assertEquals(TestFontsProvider.TTC_INDEX, font.getTtcIndex()); in testGetFontFromProvider_resultMalformedQuery()
177 assertEquals(0, font.getTtcIndex()); in testGetFontFromProvider_resultFontNotFoundSecondRow()
185 assertEquals(0, font.getTtcIndex()); in testGetFontFromProvider_resultFontNotFoundSecondRow()
210 assertEquals(0, font.getTtcIndex()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
218 assertEquals(0, font.getTtcIndex()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
226 assertEquals(0, font.getTtcIndex()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
DMockFontProvider.java116 public int getTtcIndex() { in getTtcIndex() method in MockFontProvider.Font
184 builder.add(Columns.TTC_INDEX, font.getTtcIndex()); in buildCursor()
/frameworks/base/core/tests/coretests/src/android/content/res/
DFontResourcesParserTest.java73 assertEquals(0, font1.getTtcIndex()); in testParse()
78 assertEquals(1, font2.getTtcIndex()); in testParse()
84 assertEquals(2, font3.getTtcIndex()); in testParse()
90 assertEquals(0, font4.getTtcIndex()); in testParse()
/frameworks/support/compat/src/main/java/androidx/core/graphics/
DTypefaceCompatApi24Impl.java144 if (!addFontWeightStyle(family, buffer, font.getTtcIndex(), font.getWeight(), in createFromFontInfo()
163 if (!addFontWeightStyle(family, buffer, e.getTtcIndex(), e.getWeight(), e.isItalic())) { in createFromFontFamilyFilesResourceEntry()
DTypefaceCompatApi26Impl.java212 fontFile.getTtcIndex(), fontFile.getWeight(), fontFile.isItalic() ? 1 : 0, in createFromFontFamilyFilesResourceEntry()
259 font.getTtcIndex(), font.getWeight(), font.isItalic() ? 1 : 0); in createFromFontInfo()
/frameworks/support/compat/src/androidTest/java/androidx/core/provider/
DMockFontProvider.java85 public int getTtcIndex() { in getTtcIndex() method in MockFontProvider.Font
205 new Object[] { font.getId(), font.getTtcIndex(), font.getVarSettings(), in buildCursor()
DFontsContractCompatTest.java148 assertEquals(0, font.getTtcIndex()); in testGetFontFromProvider_resultOK()
164 assertEquals(0, font.getTtcIndex()); in testGetFontFromProvider_providerDoesntReturnAllFields()
/frameworks/base/core/java/android/text/
DFontConfig.java92 public int getTtcIndex() { in getTtcIndex() method in FontConfig.Font
/frameworks/base/graphics/java/android/graphics/
DTypeface.java261 0 /* resourceCookie */, false /* isAsset */, fontFile.getTtcIndex(), in createFromResources()
646 font.getTtcIndex(), font.getAxes(), font.getWeight(), in build()
982 if (!family.addFontFromBuffer(buffer, font.getTtcIndex(), font.getAxes(), in createFontFamily()
984 Log.e(TAG, "Error creating font " + fullPath + "#" + font.getTtcIndex()); in createFontFamily()
/frameworks/base/core/java/android/content/res/
DFontResourcesParser.java111 public int getTtcIndex() { in getTtcIndex() method in FontResourcesParser.FontFileResourceEntry
/frameworks/support/compat/src/main/java/androidx/core/content/res/
DFontResourcesParserCompat.java136 public int getTtcIndex() { in getTtcIndex() method in FontResourcesParserCompat.FontFileResourceEntry
/frameworks/base/core/java/android/provider/
DFontsContract.java220 public @IntRange(from = 0) int getTtcIndex() { in getTtcIndex() method in FontsContract.FontInfo
/frameworks/support/compat/src/main/java/androidx/core/provider/
DFontsContractCompat.java365 public @IntRange(from = 0) int getTtcIndex() { in getTtcIndex() method in FontsContractCompat.FontInfo
/frameworks/support/compat/api_legacy/
D28.0.0-alpha1.txt1195 method public int getTtcIndex();
D26.1.0.txt975 method public int getTtcIndex();
Dcurrent.txt1197 method public int getTtcIndex();
D27.1.0.txt1011 method public int getTtcIndex();
D27.0.0.txt963 method public int getTtcIndex();
D26.0.0.txt975 method public int getTtcIndex();
/frameworks/support/compat/api/
Dcurrent.txt1242 method public int getTtcIndex();
/frameworks/base/config/
Dhiddenapi-light-greylist.txt5653 Landroid/text/FontConfig$Font;->getTtcIndex()I
/frameworks/support/api/
D26.0.0-beta1.txt7908 method public int getTtcIndex();
D26.0.0-beta2.txt8048 method public int getTtcIndex();
D26.1.0.txt8068 method public int getTtcIndex();

12