Home
last modified time | relevance | path

Searched refs:appearance (Results 1 – 25 of 53) 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/java/android/widget/
DSwitch.java167 int appearance = a.getResourceId( in Switch() local
169 if (appearance != 0) { in Switch()
170 setSwitchTextAppearance(context, appearance); in Switch()
190 TypedArray appearance = in setSwitchTextAppearance() local
197 colors = appearance.getColorStateList(com.android.internal.R.styleable. in setSwitchTextAppearance()
206 ts = appearance.getDimensionPixelSize(com.android.internal.R.styleable. in setSwitchTextAppearance()
217 typefaceIndex = appearance.getInt(com.android.internal.R.styleable. in setSwitchTextAppearance()
219 styleIndex = appearance.getInt(com.android.internal.R.styleable. in setSwitchTextAppearance()
224 boolean allCaps = appearance.getBoolean(com.android.internal.R.styleable. in setSwitchTextAppearance()
233 appearance.recycle(); in setSwitchTextAppearance()
DTextView.java651 TypedArray appearance = null; in TextView() local
656 appearance = theme.obtainStyledAttributes( in TextView()
659 if (appearance != null) { in TextView()
660 int n = appearance.getIndexCount(); in TextView()
662 int attr = appearance.getIndex(i); in TextView()
666 textColorHighlight = appearance.getColor(attr, textColorHighlight); in TextView()
670 textColor = appearance.getColorStateList(attr); in TextView()
674 textColorHint = appearance.getColorStateList(attr); in TextView()
678 textColorLink = appearance.getColorStateList(attr); in TextView()
682 textSize = appearance.getDimensionPixelSize(attr, textSize); in TextView()
[all …]
/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/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>
Dtext.jd325 layout (this is a layout provided by Android that provides a standard appearance for text in a
/frameworks/base/docs/html/training/sharing/
Dshareaction.jd34 bar, handles both the appearance and behavior of that item. In the case of {@link
62 <p>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
Dcustom-drawing.jd38 <p>The most important part of a custom view is its appearance. Custom drawing can be easy or complex
Dmaking-interactive.jd264 <p>To use the animation system, whenever a property changes that will affect your view's appearance,
/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
Dactionbar.jd43 <li><a href="#GeneralStyles">General appearance</a></li>
85 appearance for different screen configurations. You can control the behaviors and visibility of the
393 <p>Be aware that Android adjusts the action bar's appearance in a variety of ways, based on the
741 item in the action bar, it not only controls the appearance of the item in the action bar with a
773 its appearance and behavior in the action bar and its behavior in the overflow menu. You must
1295 <p class="note"><strong>Note:</strong> In order for background images to change appearance
1305 <h3 id="GeneralStyles">General appearance</h3>
1434 (such as text appearance or padding in action items).</p>
/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/googleplay/strategies/
Dapp-quality.jd12 <li><a href="#appearance">Professional Appearance and Aesthetics</a></li>
97 <h2 id="appearance">Professional Appearance and Aesthetics</h2>
101 …a UI designer, there are some ways in which you can improve your app's appearance yourself. First,…
/frameworks/base/docs/html/design/building-blocks/
Ddialogs.jd54 proceeding. They differ slightly in appearance based upon the severity and impact of the message
Dprogress.jd90 <p>The color indicates whether it's downloaded (blue) or not (gray). The appearance of the pin indi…
/frameworks/base/docs/html/training/basics/supporting-devices/
Dscreens.jd36 appearance for different screen sizes and densities.</p>
/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,
Dicon_design_menu.jd243 code. In that way, you can maintain control over the appearance of your icons,
/frameworks/base/docs/html/training/implementing-navigation/
Dtemporal.jd202 or when modifying the content appearance (such as when adjusting filters). For more information,
/frameworks/base/docs/html/training/
Dtraining_toc.cs902 "How to specify the appearance and behaviors of soft input methods (such

123