Home
last modified time | relevance | path

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

123

/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.java93 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/base/core/java/android/widget/
DSwitch.java230 final int appearance = a.getResourceId( in Switch() local
232 if (appearance != 0) { in Switch()
233 setSwitchTextAppearance(context, appearance); in Switch()
253 TypedArray appearance = in setSwitchTextAppearance() local
260 colors = appearance.getColorStateList(com.android.internal.R.styleable. in setSwitchTextAppearance()
269 ts = appearance.getDimensionPixelSize(com.android.internal.R.styleable. in setSwitchTextAppearance()
280 typefaceIndex = appearance.getInt(com.android.internal.R.styleable. in setSwitchTextAppearance()
282 styleIndex = appearance.getInt(com.android.internal.R.styleable. in setSwitchTextAppearance()
287 boolean allCaps = appearance.getBoolean(com.android.internal.R.styleable. in setSwitchTextAppearance()
296 appearance.recycle(); in setSwitchTextAppearance()
DTextView.java681 TypedArray appearance = null; in TextView() local
686 appearance = theme.obtainStyledAttributes( in TextView()
689 if (appearance != null) { in TextView()
690 int n = appearance.getIndexCount(); in TextView()
692 int attr = appearance.getIndex(i); in TextView()
696 textColorHighlight = appearance.getColor(attr, textColorHighlight); in TextView()
700 textColor = appearance.getColorStateList(attr); in TextView()
704 textColorHint = appearance.getColorStateList(attr); in TextView()
708 textColorLink = appearance.getColorStateList(attr); in TextView()
712 textSize = appearance.getDimensionPixelSize(attr, textSize); in TextView()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java202 final int appearance = a.getResourceId( in SwitchCompat() local
204 if (appearance != 0) { in SwitchCompat()
205 setSwitchTextAppearance(context, appearance); in SwitchCompat()
226 TypedArray appearance = context.obtainStyledAttributes(resid, in setSwitchTextAppearance() local
232 colors = appearance.getColorStateList( in setSwitchTextAppearance()
241 ts = appearance.getDimensionPixelSize( in setSwitchTextAppearance()
250 boolean allCaps = appearance.getBoolean( in setSwitchTextAppearance()
258 appearance.recycle(); in setSwitchTextAppearance()
/frameworks/base/docs/html/guide/topics/ui/controls/
Dbutton.jd136 <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>
Dspinner.jd92 for the spinner's appearance.</p>
/frameworks/base/docs/html/training/sharing/
Dshareaction.jd34 bar, handles both the appearance and behavior of that item. In the case of {@link
69 This delegates responsibility for the item's appearance and function to
/frameworks/base/docs/html/training/custom-views/
Dcreate-view.jd81 appearance and behavior with element attributes. Well-written custom views can also be added and
214 <p>Attributes are a powerful way of controlling the behavior and appearance of views, but
238 appearance, so that the
256 appearance or behavior of
/frameworks/base/docs/html/design/patterns/
Dbuttons.jd89 toggles the appearance of an action bar or a palette, then it must also
90 toggle the appearance of system bars.
Dfullscreen.jd89 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/basics/actionbar/
Dindex.jd64 <dd>Learn how to customize the appearance of your action bar.</dd>
/frameworks/base/docs/html/training/keyboard-input/
Dnavigation.jd55 appearance when it gains input focus.</p>
126 focus appropriately moves according to the appearance on the screen: from
Dstyle.jd81 appearance and additional behaviors.</p>
/frameworks/base/docs/html/guide/topics/ui/
Ddrag-drop.jd201 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
491 you will get a drag shadow that has the same appearance as the View you pass as an
733 appearance of their View.
768 {@link android.view.DragEvent#ACTION_DRAG_LOCATION}, the listener can change the appearance
775 The listener may want to use this information to alter the appearance of that part of the
781 any appearance changes it applied in response to
841 If listener changed its View object's appearance during the operation, it should reset the
842 View to its default appearance. This is a visual indication to the user that the operation
/frameworks/base/docs/html/design/building-blocks/
Dbuttons.jd78 Use buttons with backgrounds sparingly. Because they have a heavy appearance,
Ddialogs.jd54 proceeding. They differ slightly in appearance based upon the severity and impact of the message
Dprogress.jd84 <p>The color indicates whether it's downloaded (blue) or not (gray). The appearance of the pin indi…
/frameworks/base/docs/html/tools/devices/
Dindex.jd31 you control the screen dimensions, appearance, and so on. You can also specify the emulated SD
/frameworks/base/docs/html/distribute/essentials/
Doptimizing-your-app.jd16 <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/training/basics/supporting-devices/
Dscreens.jd32 appearance for different screen sizes and densities.</p>
/frameworks/base/docs/html/training/material/
Dshadows-clipping.jd24 <p>The elevation of a view, represented by the Z property, determines the visual appearance of its
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dicon_design_action_bar.jd193 control over the appearance of your icons, even if the system's copy changes. Note that the grid
Dicon_design_status_bar.jd240 control over the appearance of your icons, even if the system's copy changes. Note that the grid
389 code. In that way, you can maintain control over the appearance of your icons,
/frameworks/base/docs/html/training/transitions/
Doverview.jd72 hierarchies in order to modify the appearance of the device screen, and animate the change by

123