Home
last modified time | relevance | path

Searched refs:style (Results 1 – 25 of 1199) sorted by relevance

12345678910>>...48

/frameworks/base/tools/aapt2/link/
DAutoVersioner_test.cpp83 Style* style = test::getValueForConfig<Style>(table.get(), u"@app:style/Foo", in TEST() local
85 ASSERT_NE(style, nullptr); in TEST()
86 ASSERT_EQ(style->entries.size(), 1u); in TEST()
87 AAPT_ASSERT_TRUE(style->entries.front().key.name); in TEST()
88 EXPECT_EQ(style->entries.front().key.name.value(), in TEST()
91 style = test::getValueForConfig<Style>(table.get(), u"@app:style/Foo", in TEST()
93 ASSERT_NE(style, nullptr); in TEST()
94 ASSERT_EQ(style->entries.size(), 2u); in TEST()
95 AAPT_ASSERT_TRUE(style->entries[0].key.name); in TEST()
96 EXPECT_EQ(style->entries[0].key.name.value(), in TEST()
[all …]
/frameworks/base/core/java/android/content/res/
DStringBlock.java21 import android.text.style.*;
84 int[] style = nativeGetStyle(mNative, idx); in get() local
86 if (localLOGV) Log.v(TAG, "Got styles: " + Arrays.toString(style)); in get()
87 if (style != null) { in get()
94 for (int styleIndex = 0; styleIndex < style.length; styleIndex += 3) { in get()
95 int styleId = style[styleIndex]; in get()
134 res = applyStyles(str, style, mStyleIDs); in get()
166 private CharSequence applyStyles(String str, int[] style, StyleIDs ids) { in applyStyles() argument
167 if (style.length == 0) in applyStyles()
172 while (i < style.length) { in applyStyles()
[all …]
/frameworks/base/docs/html/guide/topics/ui/
Dthemes.jd18 <li><a href="#ApplyAStyle">Apply a style to a View</a></li>
29 <li>{@link android.R.style} for Android styles and themes</li>
30 <li>{@link android.R.attr} for all style attributes</li>
36 <p>A <strong>style</strong> is a collection of properties that
38 A style can specify properties such as height, padding, font color, font size,
39 background color, and much more. A style is defined in an XML resource that is
46 <p>For example, by using a style, you can take this layout XML:</p>
58 style="@style/CodeFont"
62 <p>All of the attributes related to style have been removed from the layout XML and put into a
63 style definition called {@code CodeFont}, which is then applied with the <code>style</code>
[all …]
/frameworks/base/docs/html/guide/topics/resources/
Dstyle-resource.jd16 <p>A style resource defines the format and look for a UI.
17 A style can be applied to an individual {@link android.view.View} (from within a layout file) or to
23 <p class="note"><strong>Note:</strong> A style is a simple resource that is referenced
25 such, you can combine style resources with other simple resources in the one XML file,
36 In XML: <code>@[package:]style/<em>style_name</em></code>
44 &lt;<a href="#style-element">style</a>
46 parent="@[package:]style/<em>style_to_inherit</em>">
50 &lt;/style>
63 <dt id="style-element"><code>&lt;style&gt;</code></dt>
64 <dd>Defines a single style. Contains {@code <item>} elements.
[all …]
/frameworks/base/docs/html/distribute/googleplay/
Dgoogleplay_toc.cs4 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
16 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
29 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
42 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
50 <span class="en">Distribute to <br /><span style="white-space:nowrap">Android Wear</span></span>
55 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
63 … <span class="en">Distribute to <br /><span style="white-space:nowrap">Android TV</span></span>
68 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
76 … <span class="en">Distribute to <br /><span style="white-space:nowrap">Android Auto</span></span>
81 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
[all …]
/frameworks/base/docs/html/distribute/essentials/
Dessentials_toc.cs3 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
8 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
15 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
21 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
27 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
33 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
40 …<div class="nav-section empty" style="font-weight:normal"><a href="<?cs var:toroot?>distribute/too…
45 …<div class="nav-section empty" style="font-weight:normal"><a href="<?cs var:toroot?>distribute/too…
50 …<div class="nav-section empty" style="font-weight:normal"><a href="<?cs var:toroot?>distribute/too…
55 …<div class="nav-section empty" style="font-weight:normal"><a href="<?cs var:toroot?>distribute/too…
[all …]
/frameworks/base/docs/html/distribute/engage/
Dengage_toc.cs3 <div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs
9 <div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs
15 <div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs
21 <div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs
27 <div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs
34 <div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs
40 <div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs
46 <div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs
52 <div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs
58 <div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs
[all …]
/frameworks/base/core/java/android/text/
DHtml.java36 import android.text.style.AbsoluteSizeSpan;
37 import android.text.style.AlignmentSpan;
38 import android.text.style.BackgroundColorSpan;
39 import android.text.style.BulletSpan;
40 import android.text.style.CharacterStyle;
41 import android.text.style.ForegroundColorSpan;
42 import android.text.style.ImageSpan;
43 import android.text.style.ParagraphStyle;
44 import android.text.style.QuoteSpan;
45 import android.text.style.RelativeSizeSpan;
[all …]
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentDialogSupport.java127 int style = DialogFragment.STYLE_NORMAL, theme = 0; in onCreate() local
129 case 1: style = DialogFragment.STYLE_NO_TITLE; break; in onCreate()
130 case 2: style = DialogFragment.STYLE_NO_FRAME; break; in onCreate()
131 case 3: style = DialogFragment.STYLE_NO_INPUT; break; in onCreate()
132 case 4: style = DialogFragment.STYLE_NORMAL; break; in onCreate()
133 case 5: style = DialogFragment.STYLE_NO_TITLE; break; in onCreate()
134 case 6: style = DialogFragment.STYLE_NO_FRAME; break; in onCreate()
135 case 7: style = DialogFragment.STYLE_NORMAL; break; in onCreate()
138 case 2: theme = android.R.style.Theme_Panel; break; in onCreate()
139 case 4: theme = android.R.style.Theme; break; in onCreate()
[all …]
/frameworks/base/docs/html-intl/intl/ru/distribute/googleplay/quality/
Dcore.jd33 <img src="{@docRoot}images/gp-core-quality.png" style="margin-left: 20px;">
81 <th style="width:2px;">
84 <th style="width:54px;">
92 <th style="width:54px;">
102 <p style="margin-bottom:.5em;">
107 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
184 <p style="margin-bottom:.5em;">
189 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
213 <p style="margin-bottom:.5em;">
217 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
[all …]
Dauto.jd31 <img src="{@docRoot}distribute/images/gp-auto-quality.png" style="width:480px;">
85 <th style="width:2px;">
88 <th style="width:54px;">
105 <p style="margin-bottom:.5em;">
117 <p style="margin-bottom:.5em;">
129 <p style="margin-bottom:.5em;">
143 <p style="margin-bottom:.5em;">
154 <p style="margin-bottom:.5em;">
172 <p style="margin-bottom:.5em;">
184 <p style="margin-bottom:.5em;">
[all …]
/frameworks/base/docs/html-intl/intl/zh-tw/distribute/googleplay/quality/
Dcore.jd34 <img src="{@docRoot}images/gp-core-quality.png" style="margin-left: 20px;">
67 <th style="width:2px;">
70 <th style="width:54px;">
78 <th style="width:54px;">
88 <p style="margin-bottom:.5em;">
92 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
162 <p style="margin-bottom:.5em;">
166 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
187 <p style="margin-bottom:.5em;">
191 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
[all …]
Dauto.jd27 <img src="{@docRoot}distribute/images/gp-auto-quality.png" style="width:480px;">
62 <th style="width:2px;">
65 <th style="width:54px;">
82 <p style="margin-bottom:.5em;">
93 <p style="margin-bottom:.5em;">
104 <p style="margin-bottom:.5em;">
115 <p style="margin-bottom:.5em;">
126 <p style="margin-bottom:.5em;">
143 <p style="margin-bottom:.5em;">
155 <p style="margin-bottom:.5em;">
[all …]
/frameworks/base/docs/html-intl/intl/ko/distribute/googleplay/quality/
Dcore.jd33 <img src="{@docRoot}images/gp-core-quality.png" style="margin-left: 20px;">
81 <th style="width:2px;">
84 <th style="width:54px;">
92 <th style="width:54px;">
102 <p style="margin-bottom:.5em;">
107 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
184 <p style="margin-bottom:.5em;">
189 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
213 <p style="margin-bottom:.5em;">
217 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
[all …]
Dauto.jd31 <img src="{@docRoot}distribute/images/gp-auto-quality.png" style="width:480px;">
85 <th style="width:2px;">
88 <th style="width:54px;">
105 <p style="margin-bottom:.5em;">
117 <p style="margin-bottom:.5em;">
129 <p style="margin-bottom:.5em;">
143 <p style="margin-bottom:.5em;">
154 <p style="margin-bottom:.5em;">
172 <p style="margin-bottom:.5em;">
184 <p style="margin-bottom:.5em;">
[all …]
/frameworks/base/docs/html-intl/intl/ja/distribute/googleplay/quality/
Dcore.jd34 <img src="{@docRoot}images/gp-core-quality.png" style="margin-left: 20px;">
67 <th style="width:2px;">
70 <th style="width:54px;">
78 <th style="width:54px;">
88 <p style="margin-bottom:.5em;">
92 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
162 <p style="margin-bottom:.5em;">
166 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
187 <p style="margin-bottom:.5em;">
191 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
[all …]
Dauto.jd27 <img src="{@docRoot}distribute/images/gp-auto-quality.png" style="width:480px;">
62 <th style="width:2px;">
65 <th style="width:54px;">
82 <p style="margin-bottom:.5em;">
93 <p style="margin-bottom:.5em;">
104 <p style="margin-bottom:.5em;">
115 <p style="margin-bottom:.5em;">
126 <p style="margin-bottom:.5em;">
143 <p style="margin-bottom:.5em;">
155 <p style="margin-bottom:.5em;">
[all …]
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/googleplay/quality/
Dcore.jd33 <img src="{@docRoot}images/gp-core-quality.png" style="margin-left: 20px;">
81 <th style="width:2px;">
84 <th style="width:54px;">
92 <th style="width:54px;">
102 <p style="margin-bottom:.5em;">
107 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
184 <p style="margin-bottom:.5em;">
189 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
213 <p style="margin-bottom:.5em;">
217 <ol style="margin-bottom:.5em;list-style-type:lower-alpha">
[all …]
Dauto.jd31 <img src="{@docRoot}distribute/images/gp-auto-quality.png" style="width:480px;">
85 <th style="width:2px;">
88 <th style="width:54px;">
105 <p style="margin-bottom:.5em;">
117 <p style="margin-bottom:.5em;">
129 <p style="margin-bottom:.5em;">
143 <p style="margin-bottom:.5em;">
154 <p style="margin-bottom:.5em;">
172 <p style="margin-bottom:.5em;">
184 <p style="margin-bottom:.5em;">
[all …]
/frameworks/base/tools/aapt2/
DValueVisitor_test.cpp47 void visit(Style* style) override { in visit()
48 visitedStyle = style; in visit()
49 ValueVisitor::visit(style); in visit()
62 std::unique_ptr<Style> style = test::StyleBuilder() in TEST() local
68 style->accept(&visitor); in TEST()
70 ASSERT_EQ(style.get(), visitor.visitedStyle); in TEST()
73 ASSERT_EQ(style->entries.size() + 2, visitor.visitedRefs.size()); in TEST()
80 std::unique_ptr<Style> style = test::StyleBuilder() in TEST() local
83 EXPECT_NE(valueCast<Style>(style.get()), nullptr); in TEST()
84 EXPECT_EQ(valueCast<Reference>(style.get()), nullptr); in TEST()
/frameworks/base/docs/html/distribute/users/
Dusers_toc.cs3 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
9 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
15 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
21 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
27 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
33 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
39 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
45 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
52 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
58 …<div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs var:toroot?>distrib…
[all …]
/frameworks/base/docs/html-intl/intl/ja/training/material/
Dtheme.jd40 <li><code>@android:style/Theme.Material</code> (暗色バージョン)</li>
41 <li><code>@android:style/Theme.Material.Light</code> (明色バージョン)</li>
42 <li><code>@android:style/Theme.Material.Light.DarkActionBar</code></li>
46 {@link android.R.style R.style} をご覧ください。</p>
49 <div style="width:700px;margin-top:25px;margin-bottom:10px">
50 <div style="float:left;width:250px;margin-left:40px;margin-right:60px;">
52 <div style="width:170px;margin:0 auto">
53 <p style="margin-top:8px;font-size:12px"><strong>図 1</strong> 暗い色のマテリアル テーマ</p>
56 <div style="float:left;width:250px;margin-right:0px;">
58 <div style="width:170px;margin:0 auto">
[all …]
/frameworks/base/docs/html-intl/intl/ko/training/material/
Dtheme.jd40 <li><code>@android:style/Theme.Material</code> (어두운 버전)</li>
41 <li><code>@android:style/Theme.Material.Light</code> (밝은 버전)</li>
42 <li><code>@android:style/Theme.Material.Light.DarkActionBar</code></li>
46 {@link android.R.style R.style}의 API 레퍼런스를 참조하세요.</p>
49 <div style="width:700px;margin-top:25px;margin-bottom:10px">
50 <div style="float:left;width:250px;margin-left:40px;margin-right:60px;">
52 <div style="width:170px;margin:0 auto">
53 <p style="margin-top:8px;font-size:12px"><strong>그림 1</strong>. 어두운 머티리얼 테마</p>
56 <div style="float:left;width:250px;margin-right:0px;">
58 <div style="width:170px;margin:0 auto">
[all …]
/frameworks/base/docs/html-intl/intl/zh-tw/training/material/
Dtheme.jd40 <li><code>@android:style/Theme.Material</code> (深色版本)</li>
41 <li><code>@android:style/Theme.Material.Light</code> (淺色版本)</li>
42 <li><code>@android:style/Theme.Material.Light.DarkActionBar</code></li>
45 <p>如需您可以使用的材料樣式清單,請參閱 {@link android.R.style R.style} 的 API 參考資料。
49 <div style="width:700px;margin-top:25px;margin-bottom:10px">
50 <div style="float:left;width:250px;margin-left:40px;margin-right:60px;">
52 <div style="width:170px;margin:0 auto">
53 <p style="margin-top:8px;font-size:12px"><strong>圖 1</strong>.深色材料設計風格</p>
56 <div style="float:left;width:250px;margin-right:0px;">
58 <div style="width:170px;margin:0 auto">
[all …]
/frameworks/base/docs/html-intl/intl/zh-cn/training/material/
Dtheme.jd40 <li><code>@android:style/Theme.Material</code>(深色版本)</li>
41 <li><code>@android:style/Theme.Material.Light</code>(浅色版本)</li>
42 <li><code>@android:style/Theme.Material.Light.DarkActionBar</code></li>
46 {@link android.R.style R.style} 的 API 参考。</p>
49 <div style="width:700px;margin-top:25px;margin-bottom:10px">
50 <div style="float:left;width:250px;margin-left:40px;margin-right:60px;">
52 <div style="width:170px;margin:0 auto">
53 <p style="margin-top:8px;font-size:12px"><strong>图 1</strong>.深色材料主题</p>
56 <div style="float:left;width:250px;margin-right:0px;">
58 <div style="width:170px;margin:0 auto">
[all …]

12345678910>>...48