Searched refs:defaultFontWeight (Results 1 – 1 of 1) sorted by relevance
365 final int defaultFontWeight = mTextView.getTypeface().getWeight(); in testFontWeightAdjustment_forceBoldTextEnabled_typefaceNull_textIsBolded() local371 final int fontWeightAdjustment = FontStyle.FONT_WEIGHT_BOLD - defaultFontWeight; in testFontWeightAdjustment_forceBoldTextEnabled_typefaceNull_textIsBolded()384 final int defaultFontWeight = mTextView.getTypeface().getWeight(); in testFontWeightAdjustment_forceBoldTextEnabled_textIsBolded() local388 final int fontWeightAdjustment = FontStyle.FONT_WEIGHT_BOLD - defaultFontWeight; 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() local405 final int fontWeightAdjustment = FontStyle.FONT_WEIGHT_BOLD - defaultFontWeight; in testFontWeightAdjustment_forceBoldTextDisabled_textIsUnbolded()417 assertEquals(defaultFontWeight, forceUnboldedPaintTf.getWeight()); in testFontWeightAdjustment_forceBoldTextDisabled_textIsUnbolded()418 assertEquals(defaultFontWeight, mTextView.getTypeface().getWeight()); in testFontWeightAdjustment_forceBoldTextDisabled_textIsUnbolded()