Searched refs:appearance (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/core/java/android/text/style/ |
H A D | TextAppearanceSpan.java | 43 * text appearance. The <code>appearance</code> should be, for example, 46 public TextAppearanceSpan(Context context, int appearance) { argument 47 this(context, appearance, -1); 52 * text appearance, and the specified text color resource 53 * to determine the color. The <code>appearance</code> should be, 58 public TextAppearanceSpan(Context context, int appearance, int colorList) { argument 62 context.obtainStyledAttributes(appearance,
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | SpannedTest.java | 102 TextAppearanceSpan[] appearance = s2.getSpans(7, 8, 104 assertEquals(1, appearance.length); 105 assertEquals(7, s2.getSpanStart(appearance[0])); 106 assertEquals(8, s2.getSpanEnd(appearance[0]));
|
/frameworks/base/core/java/android/widget/ |
H A D | Switch.java | 285 final int appearance = a.getResourceId( 287 if (appearance != 0) { 288 setSwitchTextAppearance(context, appearance); 308 TypedArray appearance = 315 colors = appearance.getColorStateList(com.android.internal.R.styleable. 324 ts = appearance.getDimensionPixelSize(com.android.internal.R.styleable. 335 typefaceIndex = appearance.getInt(com.android.internal.R.styleable. 337 styleIndex = appearance.getInt(com.android.internal.R.styleable. 342 boolean allCaps = appearance.getBoolean(com.android.internal.R.styleable. 351 appearance [all...] |
H A D | TextView.java | 234 * To customize the appearance of TextView, see <a href="https://developer.android.com/guide/topics/ui/themes.html">Styles and Themes</a>. 908 * Look the appearance up without checking first if it exists because 910 * to be able to parse the appearance first and then let specific tags 915 TypedArray appearance = null; 920 appearance = theme.obtainStyledAttributes( 923 if (appearance != null) { 924 readTextAppearance(context, appearance, attributes, false /* styleArray */); 926 appearance.recycle(); 3383 * Sets the text appearance from the specified style resource. 3517 * @param appearance Th 3522 readTextAppearance(Context context, TypedArray appearance, TextAppearanceAttributes attributes, boolean styleArray) argument [all...] |
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | SwitchCompat.java | 273 final int appearance = a.getResourceId( 275 if (appearance != 0) { 276 setSwitchTextAppearance(context, appearance); 297 final TintTypedArray appearance = TintTypedArray.obtainStyledAttributes(context, resid, 303 colors = appearance.getColorStateList(R.styleable.TextAppearance_android_textColor); 311 ts = appearance.getDimensionPixelSize(R.styleable.TextAppearance_android_textSize, 0); 320 typefaceIndex = appearance.getInt(R.styleable.TextAppearance_android_typeface, -1); 321 styleIndex = appearance.getInt(R.styleable.TextAppearance_android_textStyle, -1); 325 boolean allCaps = appearance.getBoolean(R.styleable.TextAppearance_textAllCaps, false); 332 appearance [all...] |
Completed in 55 milliseconds