/frameworks/support/compat/src/main/java/androidx/core/graphics/ |
D | TypefaceCompatBaseImpl.java | 47 int getWeight(T t); in getWeight() method 59 final int score = (Math.abs(extractor.getWeight(font) - targetWeight) * 2) in findBestFont() 73 public int getWeight(FontInfo info) { in findBestInfo() 74 return info.getWeight(); in findBestInfo() 126 public int getWeight(FontFileResourceEntry entry) { 127 return entry.getWeight();
|
D | TypefaceCompatApi24Impl.java | 144 if (!addFontWeightStyle(family, buffer, font.getTtcIndex(), font.getWeight(), in createFromFontInfo() 163 if (!addFontWeightStyle(family, buffer, e.getTtcIndex(), e.getWeight(), e.isItalic())) { in createFromFontFamilyFilesResourceEntry()
|
D | TypefaceCompatApi26Impl.java | 212 fontFile.getTtcIndex(), fontFile.getWeight(), fontFile.isItalic() ? 1 : 0, in createFromFontFamilyFilesResourceEntry() 242 .setWeight(bestFont.getWeight()) in createFromFontInfo() 259 font.getTtcIndex(), font.getWeight(), font.isItalic() ? 1 : 0); in createFromFontInfo()
|
/frameworks/support/compat/src/androidTest/java/androidx/core/content/res/ |
D | FontResourcesParserCompatTest.java | 76 assertEquals(400, font1.getWeight()); in testParse() 82 assertEquals(400, font2.getWeight()); in testParse() 88 assertEquals(700, font3.getWeight()); in testParse() 94 assertEquals(700, font4.getWeight()); in testParse() 119 assertEquals(400, font1.getWeight()); in testParseAndroidAttrs() 125 assertEquals(400, font2.getWeight()); in testParseAndroidAttrs() 131 assertEquals(700, font3.getWeight()); in testParseAndroidAttrs() 137 assertEquals(700, font4.getWeight()); in testParseAndroidAttrs()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | FontsContractTest.java | 86 assertEquals(TestFontsProvider.NORMAL_WEIGHT, font.getWeight()); in testGetFontFromProvider_resultOK() 102 assertEquals(400, font.getWeight()); in testGetFontFromProvider_providerDoesntReturnAllFields() 135 assertEquals(TestFontsProvider.NORMAL_WEIGHT, font.getWeight()); in testGetFontFromProvider_resultFontUnavailable() 155 assertEquals(TestFontsProvider.NORMAL_WEIGHT, font.getWeight()); in testGetFontFromProvider_resultMalformedQuery() 179 assertEquals(400, font.getWeight()); in testGetFontFromProvider_resultFontNotFoundSecondRow() 187 assertEquals(400, font.getWeight()); in testGetFontFromProvider_resultFontNotFoundSecondRow() 212 assertEquals(400, font.getWeight()); in testGetFontFromProvider_resultFontNotFoundOtherRow() 220 assertEquals(400, font.getWeight()); in testGetFontFromProvider_resultFontNotFoundOtherRow() 228 assertEquals(400, font.getWeight()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
|
D | MockFontProvider.java | 124 public int getWeight() { in getWeight() method in MockFontProvider.Font 186 builder.add(Columns.WEIGHT, font.getWeight()); in buildCursor()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | FontResourcesParserTest.java | 70 assertEquals(400, font1.getWeight()); in testParse() 76 assertEquals(400, font2.getWeight()); in testParse() 82 assertEquals(800, font3.getWeight()); in testParse() 88 assertEquals(800, font4.getWeight()); in testParse()
|
/frameworks/base/core/java/android/text/ |
D | FontConfig.java | 106 public int getWeight() { in getWeight() method in FontConfig.Font 167 public int getWeight() { in getWeight() method in FontConfig.Alias
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/vo/ |
D | AvgWeightByAge.java | 47 public float getWeight() { in getWeight() method in AvgWeightByAge
|
D | User.java | 94 public float getWeight() { in getWeight() method in User
|
/frameworks/support/compat/src/androidTest/java/androidx/core/provider/ |
D | MockFontProvider.java | 93 public int getWeight() { in getWeight() method in MockFontProvider.Font 206 font.getWeight(), font.getItalic(), font.getResultCode(), font.getFileId() }); in buildCursor()
|
D | FontsContractCompatTest.java | 149 assertEquals(700, font.getWeight()); in testGetFontFromProvider_resultOK()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 171 public @IntRange(from = 0, to = 1000) int getWeight() { in getWeight() method in Typeface 262 fontFile.getWeight(), fontFile.getItalic(), in createFromResources() 646 font.getTtcIndex(), font.getAxes(), font.getWeight(), in build() 983 font.getWeight(), font.isItalic() ? STYLE_ITALIC : STYLE_NORMAL)) { in createFontFamily() 1113 int weight = alias.getWeight(); in buildSystemFallback()
|
/frameworks/support/tv-provider/src/main/java/androidx/tvprovider/media/tv/ |
D | PreviewProgram.java | 102 public int getWeight() { in getWeight() method in PreviewProgram
|
/frameworks/support/tv-provider/src/androidTest/java/androidx/tvprovider/media/tv/ |
D | PreviewProgramTest.java | 347 assertEquals(programA.getWeight(), programB.getWeight()); in compareProgram()
|
D | PreviewChannelHelperTest.java | 144 assertEquals(programA.getWeight(), programB.getWeight()); in compareProgram()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | TypefaceTest.java | 150 assertEquals(weight, result.getWeight()); in testMultithreadCacheStressTest()
|
/frameworks/base/core/java/android/content/res/ |
D | FontResourcesParser.java | 99 public int getWeight() { in getWeight() method in FontResourcesParser.FontFileResourceEntry
|
/frameworks/support/compat/src/main/java/androidx/core/content/res/ |
D | FontResourcesParserCompat.java | 124 public int getWeight() { in getWeight() method in FontResourcesParserCompat.FontFileResourceEntry
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/ |
D | SimpleEntityReadWriteTest.java | 546 assertThat(mUserDao.loadByIds(3)[0].getWeight(), is(10f)); in multipleInParamsFollowedByASingleParam_update() 548 assertThat(mUserDao.loadByIds(3)[0].getWeight(), is(3f)); in multipleInParamsFollowedByASingleParam_update()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Typeface_Delegate.java | 240 FontFamily_Delegate.addFont(fontFamily.mBuilderPtr, fullPathName, font.getWeight(), in createFontFamily()
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 234 public @IntRange(from = 1, to = 1000) int getWeight() { in getWeight() method in FontsContract.FontInfo
|
/frameworks/support/compat/src/main/java/androidx/core/provider/ |
D | FontsContractCompat.java | 372 public @IntRange(from = 1, to = 1000) int getWeight() { in getWeight() method in FontsContractCompat.FontInfo
|
/frameworks/support/tv-provider/api_legacy/ |
D | 27.0.0.txt | 80 method public int getWeight();
|
D | 26.0.0.txt | 80 method public int getWeight();
|