/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontStyle.java | 227 public @IntRange(from = 0, to = 1000) int getWeight() { in getWeight() method in FontStyle 247 return Math.abs((getWeight() - o.getWeight())) / 100 + (getSlant() == o.getSlant() ? 0 : 2); in getMatchScore()
|
D | FontFamily.java | 195 return font.getStyle().getWeight() | (font.getStyle().getSlant() << 16); in makeStyleIdentifier()
|
D | Font.java | 245 mWeight = font.getStyle().getWeight(); in Builder()
|
D | SystemFonts.java | 255 .setWeight(fontConfig.getStyle().getWeight()) in createFontFamily()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | FontsContractTest.java | 89 assertEquals(TestFontsProvider.NORMAL_WEIGHT, font.getWeight()); in testGetFontFromProvider_resultOK() 105 assertEquals(400, font.getWeight()); in testGetFontFromProvider_providerDoesntReturnAllFields() 138 assertEquals(TestFontsProvider.NORMAL_WEIGHT, font.getWeight()); in testGetFontFromProvider_resultFontUnavailable() 158 assertEquals(TestFontsProvider.NORMAL_WEIGHT, font.getWeight()); in testGetFontFromProvider_resultMalformedQuery() 182 assertEquals(400, font.getWeight()); in testGetFontFromProvider_resultFontNotFoundSecondRow() 190 assertEquals(400, font.getWeight()); in testGetFontFromProvider_resultFontNotFoundSecondRow() 215 assertEquals(400, font.getWeight()); in testGetFontFromProvider_resultFontNotFoundOtherRow() 223 assertEquals(400, font.getWeight()); in testGetFontFromProvider_resultFontNotFoundOtherRow() 231 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 | 74 assertEquals(400, font1.getWeight()); in testParse() 80 assertEquals(400, font2.getWeight()); in testParse() 86 assertEquals(800, font3.getWeight()); in testParse() 92 assertEquals(800, font4.getWeight()); in testParse()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/ |
D | ComplicationLayoutParamsTest.java | 150 assertThat(copy.getWeight() == params.getWeight()).isTrue(); in testCopyConstruction() 173 assertThat(copy.getWeight() == params.getWeight()).isTrue(); in testCopyConstructionWithUnspecifiedMargin()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | TypefaceTest.java | 172 assertEquals(weight, result.getWeight()); in testMultithreadCacheStressTest() 215 assertEquals(original.getWeight(), copied.getWeight()); in testSerialize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/ |
D | ComplicationLayoutEngine.java | 296 if (viewEntry.mLayoutParams.getWeight() != mLayoutParams.getWeight()) { in compareTo() 297 return mLayoutParams.getWeight() > viewEntry.mLayoutParams.getWeight() ? 1 : -1; in compareTo()
|
D | ComplicationLayoutParams.java | 300 public int getWeight() { in getWeight() method in ComplicationLayoutParams
|
/frameworks/base/core/java/android/text/ |
D | FontConfig.java | 289 dest.writeInt(mStyle.getWeight()); in writeToParcel() 415 public int getWeight() { in getWeight() method in FontConfig.Font 416 return getStyle().getWeight(); in getWeight() 512 public @IntRange(from = 0, to = 1000) int getWeight() { in getWeight() method in FontConfig.Alias
|
/frameworks/base/core/java/android/text/style/ |
D | StyleSpan.java | 169 Math.max(tf.getWeight() + fontWeightAdjustment, FontStyle.FONT_WEIGHT_MIN), in apply()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 257 public @IntRange(from = 0, to = 1000) int getWeight() { in getWeight() method in Typeface 347 if (fontFile.getWeight() != Typeface.RESOLVE_BY_FONT_TABLE) { in createFromResources() 348 fontBuilder.setWeight(fontFile.getWeight()); in createFromResources() 703 ? font.getStyle().getWeight() : mWeight; in build() 879 final int weight = mStyle == null ? 400 : mStyle.getWeight(); 1241 final int weight = alias.getWeight();
|
/frameworks/base/core/java/android/graphics/fonts/ |
D | FontUpdateRequest.java | 100 dest.writeInt(mFontStyle.getWeight()); in writeToParcel() 134 out.attributeInt(null, ATTR_WEIGHT, font.getFontStyle().getWeight()); in writeToXml()
|
/frameworks/base/core/java/android/content/res/ |
D | FontResourcesParser.java | 110 public int getWeight() { in getWeight() method in FontResourcesParser.FontFileResourceEntry
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 243 public @IntRange(from = 1, to = 1000) int getWeight() { in getWeight() method in FontsContract.FontInfo 676 .setWeight(fontInfo.getWeight()) in buildTypeface()
|
/frameworks/base/tests/UpdatableSystemFontTest/src/com/android/updatablesystemfont/ |
D | UpdatableSystemFontTest.java | 249 assertThat(family.getFontList().get(0).getStyle().getWeight()) in updateFontFamily() 255 assertThat(family.getFontList().get(1).getStyle().getWeight()).isEqualTo(FONT_WEIGHT_BOLD); in updateFontFamily()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | TextAppearanceInfo.java | 223 textWeight = typeface.getWeight(); in createFromTextView()
|
/frameworks/base/services/core/java/com/android/server/graphics/fonts/ |
D | FontManagerShellCommand.java | 237 + ", width = " + alias.getWeight()); in dumpFontConfig()
|
/frameworks/base/config/ |
D | boot-profile.txt | 28 Landroid/text/FontConfig$Font;->getWeight()I 41 Landroid/graphics/fonts/FontStyle;->getWeight()I
|
D | boot-image-profile.txt | 7879 HSPLandroid/graphics/fonts/FontStyle;->getWeight()I 13205 HSPLandroid/provider/FontsContract$FontInfo;->getWeight()I 14671 HSPLandroid/text/FontConfig$Font;->getWeight()I
|
/frameworks/base/core/api/ |
D | test-current.txt | 3429 method @IntRange(from=0, to=1000) public int getWeight();
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/base/boot/ |
D | boot-image-profile.txt | 7876 HSPLandroid/graphics/fonts/FontStyle;->getWeight()I 13202 HSPLandroid/provider/FontsContract$FontInfo;->getWeight()I 14607 HSPLandroid/text/FontConfig$Font;->getWeight()I
|