Home
last modified time | relevance | path

Searched refs:styles (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/base/graphics/java/android/graphics/
DTypeface.java148 SparseArray<Typeface> styles = sTypefaceCache.get(ni); in create() local
150 if (styles != null) { in create()
151 typeface = styles.get(style); in create()
158 if (styles == null) { in create()
159 styles = new SparseArray<Typeface>(4); in create()
160 sTypefaceCache.put(ni, styles); in create()
162 styles.put(style, typeface); in create()
/frameworks/base/docs/html/training/material/
Dcompatibility.jd36 <code>res/values/styles.xml</code>.</li>
38 <code>res/values-v21/styles.xml</code>.</li>
60 <p>To avoid duplication of code, define your styles inside <code>res/values/</code>, modify the
61 styles in <code>res/values-v21/</code> for the new APIs, and use style inheritance, defining base
62 styles in <code>res/values/</code> and inheriting from those in <code>res/values-v21/</code>.</p>
71 <li><a href="{@docRoot}training/material/theme.html">Material design styles</a> for some system
87 <p>The <code>Theme.AppCompat</code> themes provide material design styles for these widgets:</p>
100 <p>To obtain material design styles and customize the color palette with the Android v7 Support
Dtheme.jd45 <p>For a list of material styles that you can use, see the API reference for
68 provide themes with material design styles for some widgets and support for customizing the color
Dindex.jd46 <dd>Learn how to apply material design styles to your app.</dd>
Dget-started.jd67 &lt;!-- res/values/styles.xml -->
/frameworks/base/docs/html/guide/topics/ui/
Dthemes.jd29 <li>{@link android.R.style} for Android styles and themes</li>
76 <p>To create a set of styles, save an XML file in the {@code res/values/}
124 inherit from styles that you've created yourself or from styles that are built into the
126 information about inheriting from styles defined by the Android platform.) For example, you can
135 <p>If you want to inherit from styles that you've defined yourself, you <em>do not</em> have to use
161 <p>This inherits from both {@code CodeFont} and {@code CodeFont.Red} styles, then adds the
165 names only works for styles defined by your own resources. You can't inherit Android built-in styles
340 <code>res/values</code> (typically <code>res/values/styles.xml</code>):
404 <p>The Android platform provides a large collection of styles and themes that you can
405 use in your applications. You can find a reference of all available styles in the
[all …]
Dactionbar.jd1248 styles, and more. To do so, you need to use Android's <a href=
1269 <p>Supported styles include:</p>
1319 your own styles and the {@link android.R.style#Theme_DeviceDefault DeviceDefault} theme on
1417 <dd>Defines a style for the drop-down navigation (such as the background and text styles).
1428 that includes several styles to customize the action bar.</p>
1452 &lt;!-- general styles for the action bar -->
1496 theme in the {@code &lt;style&gt;} tag, from which it inherits all styles not explicitly declared
1498 simply override the action bar styles you want to change without re-implementing the styles you
/frameworks/base/docs/html/training/basics/actionbar/
Dstyling.jd39 styles. You can also extend these themes to further customize the look for your action bar.</p>
43 android.support.v7.appcompat.R.style#Theme_AppCompat Theme.AppCompat} family of styles (rather
131 parent theme from which your custom theme and style inherit their styles. Without a parent
151 &lt;!-- ActionBar styles -->
183 &lt;!-- ActionBar styles -->
241 &lt;!-- ActionBar styles -->
253 &lt;!-- ActionBar tabs text styles -->
285 &lt;!-- ActionBar styles -->
397 &lt;!-- ActionBar tabs styles -->
425 &lt;!-- ActionBar tabs styles -->
/frameworks/base/docs/html/design/style/
Dtypography.jd45 <p>The Android UI uses the following default color styles: <code>textColorPrimary</code> and
47 <code>textColorSecondaryInverse</code>. The framework text color styles also support variants for
/frameworks/base/core/java/android/text/
DBoringLayout.java289 Object[] styles = sp.getSpans(0, length, ParagraphStyle.class); in isBoring() local
290 if (styles.length > 0) { in isBoring()
/frameworks/support/v7/appcompat/
DTHEMES.txt8 need to deal with attributes and styles which are available
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dindex.jd13 Android styles, design patterns, building blocks for exceptional Android designs, and more.</p>
Dicon_design.jd74 of your application’s user interface that match the general styles used by the
116 textures, and layer styles that make it easier for you to create icons that
/frameworks/base/docs/html/guide/webapps/
Dtargeting.jd125 you to create styles for specific
128 "0.75", "1", or "1.5", to indicate that the styles are for devices with low density, medium density,
139 <p>Or, specify the different styles in one stylesheet:</p>
/frameworks/base/docs/html/guide/topics/ui/controls/
Dbutton.jd137 another, because devices by different manufacturers often have different default styles for
150 HTML styles to define multiple style properties such as the background, font, size, and others.
151 For more information about applying styles, see <a
/frameworks/base/docs/html/training/basics/supporting-devices/
Dplatforms.jd115 manifest file. By using these built in styles and themes, your app will
126 <p>To apply your own custom theme defined in <code>/res/values/styles.xml</code>:</p>
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java1083 Object[] styles = editable.getSpans(0, len, Object.class); in clearStyles() local
1084 for (Object style : styles) { in clearStyles()
1460 DynamicDrawableSpan[] styles = in removeImageChar() local
1462 for (DynamicDrawableSpan style : styles) { in removeImageChar()
1532 DynamicDrawableSpan[] styles = in pasteFromClipboard() local
1535 for (DynamicDrawableSpan style : styles) { in pasteFromClipboard()
1779 Object[] styles = spannable.getSpans(0, len, Object.class); in dumpSpannableString() local
1780 for (Object style : styles) { in dumpSpannableString()
/frameworks/base/docs/html/guide/topics/resources/
Dstyle-resource.jd20 <p>For more information about creating and applying styles, please read
/frameworks/base/docs/html/tools/
Dindex.jd39 …<li>Visual refactoring lets you extracts layout for inclusion, convert layouts, extract styles.</l…
/frameworks/base/docs/html/reference/renderscript/
Ddoxygen.css537 The following two styles can be used to replace the root node title
538 with an image of your choice. Simply uncomment the next two styles,
/frameworks/base/docs/html/training/notify-user/
Dexpanded.jd42 <p>Notifications in the notification drawer appear in two main visual styles,
/frameworks/base/docs/html/training/wearables/apps/
Dlayouts.jd37 <p>If the standard notification styles don't work for you (such as
/frameworks/base/docs/html/design/material/
Dindex.jd54 <p>Android provides two new widgets for displaying cards and lists with material design styles
/frameworks/base/docs/html/design/building-blocks/
Dprogress.jd25 <p>Two styles are available: a bar and a circle. Each is offered in a variety of sizes, in both Hol…
/frameworks/base/docs/html/training/keyboard-input/
Dstyle.jd99 <p>You can combine different behaviors and input method styles with the

123