Searched refs:fontWeightAdjustment (Results 1 – 3 of 3) sorted by relevance
63 mConfig.fontWeightAdjustment = 300; in makeConfiguration()78 cfg1.fontWeightAdjustment = 1; in testCompareTo()79 cfg2.fontWeightAdjustment = 2; in testCompareTo()81 cfg1.fontWeightAdjustment = 2; in testCompareTo()82 cfg2.fontWeightAdjustment = 1; in testCompareTo()272 cfg1.fontWeightAdjustment = 2; in testGenerateDiff()273 cfg1.fontWeightAdjustment = 3; in testGenerateDiff()426 config.fontWeightAdjustment = 300; in testDiff()512 assertEquals(Configuration.FONT_WEIGHT_ADJUSTMENT_UNDEFINED, config.fontWeightAdjustment); in testSetToDefaults()542 assertEquals(Configuration.FONT_WEIGHT_ADJUSTMENT_UNDEFINED, config.fontWeightAdjustment); in testUnset()
371 final int fontWeightAdjustment = FontStyle.FONT_WEIGHT_BOLD - defaultFontWeight; in testFontWeightAdjustment_forceBoldTextEnabled_typefaceNull_textIsBolded() local372 cf.fontWeightAdjustment = in testFontWeightAdjustment_forceBoldTextEnabled_typefaceNull_textIsBolded()373 fontWeightAdjustment <= 0 ? FontStyle.FONT_WEIGHT_MAX : fontWeightAdjustment; in testFontWeightAdjustment_forceBoldTextEnabled_typefaceNull_textIsBolded()388 final int fontWeightAdjustment = FontStyle.FONT_WEIGHT_BOLD - defaultFontWeight; in testFontWeightAdjustment_forceBoldTextEnabled_textIsBolded() local389 cf.fontWeightAdjustment = in testFontWeightAdjustment_forceBoldTextEnabled_textIsBolded()390 fontWeightAdjustment <= 0 ? FontStyle.FONT_WEIGHT_MAX : fontWeightAdjustment; in testFontWeightAdjustment_forceBoldTextEnabled_textIsBolded()405 final int fontWeightAdjustment = FontStyle.FONT_WEIGHT_BOLD - defaultFontWeight; in testFontWeightAdjustment_forceBoldTextDisabled_textIsUnbolded() local406 cf.fontWeightAdjustment = in testFontWeightAdjustment_forceBoldTextDisabled_textIsUnbolded()407 fontWeightAdjustment <= 0 ? FontStyle.FONT_WEIGHT_MAX : fontWeightAdjustment; in testFontWeightAdjustment_forceBoldTextDisabled_textIsUnbolded()411 cf.fontWeightAdjustment = 0; in testFontWeightAdjustment_forceBoldTextDisabled_textIsUnbolded()[all …]
13871 field public int fontWeightAdjustment;