/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | FontStyleTest.java | 42 assertEquals(FontStyle.FONT_WEIGHT_THIN, fs.getWeight()); in testBuilder_construct_withArgs() 46 assertEquals(350, fs.getWeight()); in testBuilder_construct_withArgs() 52 assertEquals(FontStyle.FONT_WEIGHT_NORMAL, new FontStyle().getWeight()); in testBuilder_defaultValues()
|
D | FontTest.java | 163 assertEquals(path, weight, font.getStyle().getWeight()); in testBuilder_buffer() 185 assertEquals(path, weight, font.getStyle().getWeight()); in testBuilder_buffer_ttc() 208 assertEquals(path, weight, font.getStyle().getWeight()); in testBuilder_buffer_vf() 230 assertEquals(path, customWeight, font.getStyle().getWeight()); in testBuilder_buffer_override() 246 assertEquals(path, weight, font.getStyle().getWeight()); in testBuilder_buffer_override() 281 assertEquals(path, weight, font.getStyle().getWeight()); in testBuilder_file() 308 assertEquals(path, weight, font.getStyle().getWeight()); in testBuilder_file_ttc() 336 assertEquals(path, weight, font.getStyle().getWeight()); in testBuilder_file_vf() 363 assertEquals(path, customWeight, font.getStyle().getWeight()); in testBuilder_file_override() 383 assertEquals(path, weight, font.getStyle().getWeight()); in testBuilder_file_override() [all …]
|
D | FontManagerTest.java | 142 assertThat(alias.getWeight()).isAtLeast(0); in fontManager_getFontConfig_checkAlias() 143 assertThat(alias.getWeight()).isAtMost(1000); in fontManager_getFontConfig_checkAlias()
|
D | NativeSystemFontTest.java | 47 font.mWeight = f.getStyle().getWeight(); in convertToDescriptors()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | TypefaceTest.java | 704 assertEquals(100, paint.getTypeface().getWeight()); in testFontVariationSettings() 709 assertEquals(300, paint.getTypeface().getWeight()); in testFontVariationSettings() 714 assertEquals(800, paint.getTypeface().getWeight()); in testFontVariationSettings() 719 assertEquals(550, paint.getTypeface().getWeight()); in testFontVariationSettings() 769 assertEquals(400, typeface.getWeight()); in testTypefaceCreate_getWeight() 773 assertEquals(100, typeface.getWeight()); in testTypefaceCreate_getWeight() 777 assertEquals(100, typeface.getWeight()); in testTypefaceCreate_getWeight() 781 assertEquals(400, typeface.getWeight()); in testTypefaceCreate_getWeight() 785 assertEquals(400, typeface.getWeight()); in testTypefaceCreate_getWeight() 789 assertEquals(700, typeface.getWeight()); in testTypefaceCreate_getWeight() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewFontWeightTest.java | 60 public int getWeight() { in getWeight() method in TextViewFontWeightTest.FontStyle 105 assertEquals(style.getWeight(), typeface.getWeight()); in assertFontSelected() 127 assertEquals(style.getWeight(), fontStyle.getWeight()); in assertFontSelected()
|
D | TextViewTest.java | 365 final int defaultFontWeight = mTextView.getTypeface().getWeight(); in testFontWeightAdjustment_forceBoldTextEnabled_typefaceNull_textIsBolded() 384 final int defaultFontWeight = mTextView.getTypeface().getWeight(); in testFontWeightAdjustment_forceBoldTextEnabled_textIsBolded() 395 assertEquals(FontStyle.FONT_WEIGHT_BOLD, forceBoldedPaintTf.getWeight()); in testFontWeightAdjustment_forceBoldTextEnabled_textIsBolded() 396 assertEquals(defaultFontWeight, mTextView.getTypeface().getWeight()); in testFontWeightAdjustment_forceBoldTextEnabled_textIsBolded() 402 final int defaultFontWeight = mTextView.getTypeface().getWeight(); in testFontWeightAdjustment_forceBoldTextDisabled_textIsUnbolded() 417 assertEquals(defaultFontWeight, forceUnboldedPaintTf.getWeight()); in testFontWeightAdjustment_forceBoldTextDisabled_textIsUnbolded() 418 assertEquals(defaultFontWeight, mTextView.getTypeface().getWeight()); in testFontWeightAdjustment_forceBoldTextDisabled_textIsUnbolded() 472 mTextView.getPaint().getTypeface().getWeight()); in testFontWeightAdjustment_forceBoldTextEnabled_boldTypefaceIsBolded() 487 assertEquals(200, mTextView.getPaint().getTypeface().getWeight()); in testFontWeightAdjustment_adjustmentIsNegative_fontWeightIsLower() 504 mTextView.getPaint().getTypeface().getWeight()); in testFontWeightAdjustment_adjustmentIsNegative_fontWeightIsMinimum()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | StyleSpanTest.java | 104 assertEquals(tp.getTypeface().getWeight(), FontStyle.FONT_WEIGHT_MAX); in testUpdateMeasureState_withFontWeightAdjustment() 146 assertEquals(tp.getTypeface().getWeight(), FontStyle.FONT_WEIGHT_MAX); in testUpdateDrawState_withFontWeightAdjustment()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | FontsContractTest.java | 230 assertEquals(400, font.getWeight()); in queryAttributes() 238 assertEquals(700, font.getWeight()); in queryAttributes() 326 assertEquals(400, font.getWeight()); in queryMandatoryFieldsOnly()
|
D | MockFontProvider.java | 87 public int getWeight() { in getWeight() method in MockFontProvider.Font 198 builder.add(Columns.WEIGHT, font.getWeight()); in buildCursor()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | PathTests.java | 41 typeface.getWeight(), in testTextPathWithOffset()
|
D | FontRenderingTests.java | 71 typeface.getWeight(), in fontTestBody()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | test-current.txt | 3411 method @IntRange(from=0, to=1000) public int getWeight();
|
D | system-current.txt | 17974 method @IntRange(from=0, to=1000) public int getWeight();
|
D | current.txt | 17250 method @IntRange(from=0, to=1000) public int getWeight(); 17991 method @IntRange(from=0, to=1000) public int getWeight(); 37216 method @Deprecated @IntRange(from=1, to=1000) public int getWeight();
|