/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontStyle.java | 223 public @IntRange(from = 0, to = 1000) int getWeight() { in getWeight() method in FontStyle 243 return Math.abs((getWeight() - o.getWeight())) / 100 + (getSlant() == o.getSlant() ? 0 : 2); in getMatchScore()
|
D | FontFamily.java | 128 return font.getStyle().getWeight() | (font.getStyle().getSlant() << 16); in makeStyleIdentifier()
|
D | SystemFonts.java | 194 .setWeight(fontConfig.getWeight()) in createFontFamily()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | FontsContractTest.java | 88 assertEquals(TestFontsProvider.NORMAL_WEIGHT, font.getWeight()); in testGetFontFromProvider_resultOK() 104 assertEquals(400, font.getWeight()); in testGetFontFromProvider_providerDoesntReturnAllFields() 137 assertEquals(TestFontsProvider.NORMAL_WEIGHT, font.getWeight()); in testGetFontFromProvider_resultFontUnavailable() 157 assertEquals(TestFontsProvider.NORMAL_WEIGHT, font.getWeight()); in testGetFontFromProvider_resultMalformedQuery() 181 assertEquals(400, font.getWeight()); in testGetFontFromProvider_resultFontNotFoundSecondRow() 189 assertEquals(400, font.getWeight()); in testGetFontFromProvider_resultFontNotFoundSecondRow() 214 assertEquals(400, font.getWeight()); in testGetFontFromProvider_resultFontNotFoundOtherRow() 222 assertEquals(400, font.getWeight()); in testGetFontFromProvider_resultFontNotFoundOtherRow() 230 assertEquals(400, font.getWeight()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
|
D | MockFontProvider.java | 120 public int getWeight() { in getWeight() method in MockFontProvider.Font 182 builder.add(Columns.WEIGHT, font.getWeight()); in buildCursor()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | FontResourcesParserTest.java | 72 assertEquals(400, font1.getWeight()); in testParse() 78 assertEquals(400, font2.getWeight()); in testParse() 84 assertEquals(800, font3.getWeight()); in testParse() 90 assertEquals(800, font4.getWeight()); in testParse()
|
/frameworks/base/core/java/android/text/ |
D | FontConfig.java | 111 public int getWeight() { in getWeight() method in FontConfig.Font 173 public int getWeight() { in getWeight() method in FontConfig.Alias
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 194 public @IntRange(from = 0, to = 1000) int getWeight() { in getWeight() method in Typeface 256 if (fontFile.getWeight() != Typeface.RESOLVE_BY_FONT_TABLE) { in createFromResources() 257 fontBuilder.setWeight(fontFile.getWeight()); in createFromResources() 612 ? font.getStyle().getWeight() : mWeight; in build() 791 final int weight = mStyle == null ? 400 : mStyle.getWeight(); 1125 final int weight = alias.getWeight();
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | TypefaceTest.java | 149 assertEquals(weight, result.getWeight()); in testMultithreadCacheStressTest()
|
/frameworks/base/core/java/android/content/res/ |
D | FontResourcesParser.java | 103 public int getWeight() { in getWeight() method in FontResourcesParser.FontFileResourceEntry
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 231 public @IntRange(from = 1, to = 1000) int getWeight() { in getWeight() method in FontsContract.FontInfo 645 .setWeight(fontInfo.getWeight()) in buildTypeface()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | FontFamily_Delegate.java | 417 fontInfo.mWeight = FontUtilities.getFont2D(font).getWeight();
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |