Searched refs:getTypeface (Results 1 – 12 of 12) sorted by relevance
| /appcompat/appcompat/src/androidTest/java/androidx/appcompat/widget/ |
| D | AppCompatTextViewTest.java | 261 assertNotNull(textView.getTypeface()); in testFontResources_setInStringFamilyName() 265 assertEquals(Typeface.SANS_SERIF, textView.getTypeface()); in testFontResources_setInStringFamilyName() 268 assertNotNull(textView.getTypeface()); in testFontResources_setInStringFamilyName() 270 assertEquals(Typeface.SANS_SERIF, textView.getTypeface()); in testFontResources_setInStringFamilyName() 279 assertEquals(expected, textView.getTypeface()); in testFontResources_setInXmlFamilyName() 287 assertEquals(expected, textView.getTypeface()); in testFontResourcesXml_setInXmlFamilyName() 295 assertNotEquals(Typeface.DEFAULT, textView.getTypeface()); in testFontResourcesXml_setInXmlFamilyNameWithTextStyle() 303 assertNotEquals(Typeface.DEFAULT, textView.getTypeface()); in testFontResourcesXml_setInXmlFamilyNameWithTextStyle2() 311 assertEquals(expected, textView.getTypeface()); in testFontResources_setInXmlStyle() 319 assertEquals(expected, textView.getTypeface()); in testFontResourcesXml_setInXmlStyle() [all …]
|
| D | AppCompatButtonTest.java | 108 assertEquals(expected, button.getTypeface()); in testFontResources()
|
| D | AppCompatToggleButtonTest.java | 65 assertEquals(expected, toggleButton.getTypeface()); in testFontResources()
|
| D | AppCompatRadioButtonTest.java | 70 assertEquals(expected, radioButton.getTypeface()); in testFontResources()
|
| D | AppCompatCheckBoxTest.java | 70 assertEquals(expected, checkBox.getTypeface()); in testFontResources()
|
| D | SwitchCompatTest.java | 77 assertEquals(expected, switchButton.getTypeface()); in testFontResources()
|
| D | AppCompatCheckedTextViewTest.java | 77 assertEquals(expected, textView.getTypeface()); in testFontResources()
|
| D | AppCompatBaseAutoSizeTest.java | 551 if (autoSizeView.getTypeface() == Typeface.MONOSPACE) { 567 autoSizeView.setTypeface(autoSizeView.getTypeface());
|
| /appcompat/appcompat/src/main/java/androidx/appcompat/widget/ |
| D | AppCompatTextView.java | 257 if (mLastKnownTypefaceSetOnPaint != getPaint().getTypeface()) { in setFontVariationSettings() 261 baseTypeface = getPaint().getTypeface(); in setFontVariationSettings() 840 public @Nullable Typeface getTypeface() { in getTypeface() method in AppCompatTextView
|
| D | SwitchCompat.java | 432 if ((mTextPaint.getTypeface() != null && !mTextPaint.getTypeface().equals(typeface)) in setSwitchTypeface() 433 || (mTextPaint.getTypeface() == null && typeface != null)) { in setSwitchTypeface()
|
| D | AppCompatTextHelper.java | 848 result = paint.getTypeface();
|
| /appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/ |
| D | AlertDialogTest.java | 1461 final Typeface typeface = textView.getTypeface(); in matchesSafely()
|