Home
last modified time | relevance | path

Searched refs:appearance (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/text/style/
DTextAppearanceSpan.java44 public TextAppearanceSpan(Context context, int appearance) { in TextAppearanceSpan() argument
45 this(context, appearance, -1); in TextAppearanceSpan()
56 public TextAppearanceSpan(Context context, int appearance, int colorList) { in TextAppearanceSpan() argument
60 context.obtainStyledAttributes(appearance, in TextAppearanceSpan()
/frameworks/base/core/tests/coretests/src/android/text/
DSpannedTest.java100 TextAppearanceSpan[] appearance = s2.getSpans(7, 8, in testWrapParcel() local
102 assertEquals(1, appearance.length); in testWrapParcel()
103 assertEquals(7, s2.getSpanStart(appearance[0])); in testWrapParcel()
104 assertEquals(8, s2.getSpanEnd(appearance[0])); in testWrapParcel()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java274 final int appearance = a.getResourceId( in SwitchCompat() local
276 if (appearance != 0) { in SwitchCompat()
277 setSwitchTextAppearance(context, appearance); in SwitchCompat()
298 final TintTypedArray appearance = TintTypedArray.obtainStyledAttributes(context, resid, in setSwitchTextAppearance() local
304 colors = appearance.getColorStateList(R.styleable.TextAppearance_android_textColor); in setSwitchTextAppearance()
312 ts = appearance.getDimensionPixelSize(R.styleable.TextAppearance_android_textSize, 0); in setSwitchTextAppearance()
321 typefaceIndex = appearance.getInt(R.styleable.TextAppearance_android_typeface, -1); in setSwitchTextAppearance()
322 styleIndex = appearance.getInt(R.styleable.TextAppearance_android_textStyle, -1); in setSwitchTextAppearance()
326 boolean allCaps = appearance.getBoolean(R.styleable.TextAppearance_textAllCaps, false); in setSwitchTextAppearance()
333 appearance.recycle(); in setSwitchTextAppearance()
/frameworks/base/core/java/android/widget/
DSwitch.java281 final int appearance = a.getResourceId( in Switch() local
283 if (appearance != 0) { in Switch()
284 setSwitchTextAppearance(context, appearance); in Switch()
304 TypedArray appearance = in setSwitchTextAppearance() local
311 colors = appearance.getColorStateList(com.android.internal.R.styleable. in setSwitchTextAppearance()
320 ts = appearance.getDimensionPixelSize(com.android.internal.R.styleable. in setSwitchTextAppearance()
331 typefaceIndex = appearance.getInt(com.android.internal.R.styleable. in setSwitchTextAppearance()
333 styleIndex = appearance.getInt(com.android.internal.R.styleable. in setSwitchTextAppearance()
338 boolean allCaps = appearance.getBoolean(com.android.internal.R.styleable. in setSwitchTextAppearance()
347 appearance.recycle(); in setSwitchTextAppearance()
DTextView.java877 TypedArray appearance = null;
882 appearance = theme.obtainStyledAttributes(
885 if (appearance != null) {
886 int n = appearance.getIndexCount();
888 int attr = appearance.getIndex(i);
892 textColorHighlight = appearance.getColor(attr, textColorHighlight);
896 textColor = appearance.getColorStateList(attr);
900 textColorHint = appearance.getColorStateList(attr);
904 textColorLink = appearance.getColorStateList(attr);
908 textSize = appearance.getDimensionPixelSize(attr, textSize);
[all …]
/frameworks/wilhelm/doc/
DDoxyfile474 # The appearance of the initializer of individual variables and defines in the
/frameworks/native/docs/
DDoxyfile566 # The appearance of the initializer of individual variables and macros in the
/frameworks/base/proto/src/
Dmetrics_constants.proto1700 // Tuner: Open/close color and appearance.
/frameworks/av/media/libaaudio/
DDoxyfile.orig615 # appearance of the value of individual variables and macros / defines can be
DDoxyfile615 # appearance of the value of individual variables and macros / defines can be