/frameworks/base/core/java/android/text/style/ |
D | TextAppearanceSpan.java | 44 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/ |
D | SpannedTest.java | 93 TextAppearanceSpan[] appearance = s2.getSpans(7, 8, in testWrapParcel() local 95 assertEquals(1, appearance.length); in testWrapParcel() 96 assertEquals(7, s2.getSpanStart(appearance[0])); in testWrapParcel() 97 assertEquals(8, s2.getSpanEnd(appearance[0])); in testWrapParcel()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | SwitchCompat.java | 261 final int appearance = a.getResourceId( in SwitchCompat() local 263 if (appearance != 0) { in SwitchCompat() 264 setSwitchTextAppearance(context, appearance); in SwitchCompat() 285 final TintTypedArray appearance = TintTypedArray.obtainStyledAttributes(context, resid, in setSwitchTextAppearance() local 291 colors = appearance.getColorStateList(R.styleable.TextAppearance_android_textColor); in setSwitchTextAppearance() 299 ts = appearance.getDimensionPixelSize(R.styleable.TextAppearance_android_textSize, 0); in setSwitchTextAppearance() 308 typefaceIndex = appearance.getInt(R.styleable.TextAppearance_android_typeface, -1); in setSwitchTextAppearance() 309 styleIndex = appearance.getInt(R.styleable.TextAppearance_android_textStyle, -1); in setSwitchTextAppearance() 313 boolean allCaps = appearance.getBoolean(R.styleable.TextAppearance_textAllCaps, false); in setSwitchTextAppearance() 320 appearance.recycle(); in setSwitchTextAppearance()
|
/frameworks/base/core/java/android/widget/ |
D | Switch.java | 281 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()
|
D | TextView.java | 756 TypedArray appearance = null; in TextView() local 761 appearance = theme.obtainStyledAttributes( in TextView() 764 if (appearance != null) { in TextView() 765 int n = appearance.getIndexCount(); in TextView() 767 int attr = appearance.getIndex(i); in TextView() 771 textColorHighlight = appearance.getColor(attr, textColorHighlight); in TextView() 775 textColor = appearance.getColorStateList(attr); in TextView() 779 textColorHint = appearance.getColorStateList(attr); in TextView() 783 textColorLink = appearance.getColorStateList(attr); in TextView() 787 textSize = appearance.getDimensionPixelSize(attr, textSize); in TextView() [all …]
|
/frameworks/base/docs/html/guide/topics/ui/controls/ |
D | button.jd | 136 <p>The appearance of your button (background image and font) may vary from one device to 158 basic buttons except that they have no borders or background but still change appearance during 178 <p>If you want to truly redefine the appearance of your button, you can specify a custom 180 state list resource that changes appearance depending on the button's current state.</p>
|
D | spinner.jd | 92 for the spinner's appearance.</p>
|
/frameworks/base/docs/html/training/sharing/ |
D | shareaction.jd | 35 bar, handles both the appearance and behavior of that item. In the case of {@link 70 This delegates responsibility for the item's appearance and function to
|
/frameworks/base/docs/html/training/custom-views/ |
D | create-view.jd | 80 appearance and behavior with element attributes. Well-written custom views can also be added and 213 <p>Attributes are a powerful way of controlling the behavior and appearance of views, but 237 appearance, so that the 255 appearance or behavior of
|
/frameworks/base/docs/html/design/patterns/ |
D | buttons.jd | 89 toggles the appearance of an action bar or a palette, then it must also 90 toggle the appearance of system bars.
|
D | fullscreen.jd | 89 toggles the appearance of an action bar or a palette, then it must also 90 toggle the appearance of system bars.
|
/frameworks/base/docs/html/training/keyboard-input/ |
D | navigation.jd | 55 appearance when it gains input focus.</p> 126 focus appropriately moves according to the appearance on the screen: from
|
D | style.jd | 81 appearance and additional behaviors.</p>
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | drag-drop.jd | 201 receive drag events. At this point, listeners can also change the appearance of their 219 alter its View object's appearance in response to the event. For example, if the event 496 you will get a drag shadow that has the same appearance as the View you pass as an 737 appearance of their View. 773 {@link android.view.DragEvent#ACTION_DRAG_LOCATION}, the listener can change the appearance 780 The listener may want to use this information to alter the appearance of that part of the 786 any appearance changes it applied in response to 846 If listener changed its View object's appearance during the operation, it should reset the 847 View to its default appearance. This is a visual indication to the user that the operation
|
/frameworks/base/docs/html/distribute/essentials/ |
D | optimizing-your-app.jd | 16 <li><a href="#professional-appearance">Professional Appearance and Aesthetics</a></li> 406 <h2 id="professional-appearance"> 423 ways in which you can improve your app's appearance yourself. You can use
|
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/ui/ |
D | ui-events.jd | 279 <li>Similarly, if in the course of processing the event the View's appearance
|
/frameworks/base/docs/html-intl/intl/ja/guide/topics/ui/ |
D | ui-events.jd | 279 <li>Similarly, if in the course of processing the event the View's appearance
|
/frameworks/base/docs/html-intl/intl/ru/guide/topics/ui/ |
D | ui-events.jd | 279 <li>Similarly, if in the course of processing the event the View's appearance
|
/frameworks/base/docs/html-intl/intl/ko/guide/topics/ui/ |
D | ui-events.jd | 279 <li>Similarly, if in the course of processing the event the View's appearance
|
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/ui/ |
D | ui-events.jd | 279 <li>Similarly, if in the course of processing the event the View's appearance
|
/frameworks/base/docs/html/training/material/ |
D | shadows-clipping.jd | 24 <p>The elevation of a view, represented by the Z property, determines the visual appearance of its
|
/frameworks/base/docs/html/training/basics/supporting-devices/ |
D | screens.jd | 32 appearance for different screen sizes and densities.</p>
|
/frameworks/base/docs/html/training/appbar/ |
D | setting-up.jd | 107 android.support.v7.widget.Toolbar} and gives it the appearance of floating
|
/frameworks/base/docs/html/guide/practices/ui_guidelines/ |
D | icon_design_action_bar.jd | 193 control over the appearance of your icons, even if the system's copy changes. Note that the grid
|
/frameworks/base/docs/html/wear/preview/features/ |
D | wearable-recycler-view.jd | 115 To customize the appearance of the children while scrolling (for example,
|