Home
last modified time | relevance | path

Searched refs:Theme (Results 1 – 25 of 213) sorted by relevance

123456789

/frameworks/support/v7/appcompat/
DTHEMES.txt24 Platform.AppCompat <- android:Theme.Holo
35 Platform.AppCompat <- Base.V7.Theme.AppCompat <- Base.V21.Theme.AppCompat
49 Names: Theme.Base.AppCompat, Theme.Base.AppCompat.Light and Theme.Base.AppCompat.Light.DarkActionBar
53 Theme.V21.Base.AppCompat <- Theme.Base.AppCompat
61 Names: Theme.AppCompat, Theme.AppCompat.Light and Theme.AppCompat.Light.DarkActionBar
65 Theme.AppCompat <- Theme.Base.AppCompat
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DThemedSpinnerAdapter.java22 import android.content.res.Resources.Theme;
51 void setDropDownViewTheme(@Nullable Resources.Theme theme); in setDropDownViewTheme()
61 Resources.Theme getDropDownViewTheme(); in getDropDownViewTheme()
122 public void setDropDownViewTheme(@Nullable Resources.Theme theme) { in setDropDownViewTheme()
138 public Resources.Theme getDropDownViewTheme() { in getDropDownViewTheme()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DResources_Theme_Delegate.java29 import android.content.res.Resources.Theme;
56 Resources thisResources, Theme thisTheme, in obtainStyledAttributes()
67 Resources thisResources, Theme thisTheme, in obtainStyledAttributes()
80 Resources thisResources, Theme thisTheme, in obtainStyledAttributes()
92 Resources thisResources, Theme thisTheme, in resolveAttribute()
103 /*package*/ static TypedArray resolveAttributes(Resources thisResources, Theme thisTheme, in resolveAttributes()
111 private static boolean setupResources(Theme thisTheme) { in setupResources()
DComplexColor_Accessor.java24 import android.content.res.Resources.Theme;
36 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) in createGradientColorFromXmlInner()
42 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) in createColorStateListFromXmlInner()
/frameworks/support/v7/appcompat/src/android/support/v7/view/
DContextThemeWrapper.java38 private Resources.Theme mTheme;
46 public ContextThemeWrapper(Context base, Resources.Theme theme) { in ContextThemeWrapper()
64 public Resources.Theme getTheme() { in getTheme()
99 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource()
107 Resources.Theme theme = getBaseContext().getTheme(); in initializeTheme()
/frameworks/support/compat/java/android/support/v4/content/res/
DResourcesCompat.java22 import android.content.res.Resources.Theme;
58 @Nullable Theme theme) throws NotFoundException { in getDrawable()
91 int density, @Nullable Theme theme) throws NotFoundException { in getDrawableForDensity()
120 public static int getColor(@NonNull Resources res, @ColorRes int id, @Nullable Theme theme) in getColor()
151 @Nullable Theme theme) throws NotFoundException { in getColorStateList()
/frameworks/base/core/java/android/view/
DContextThemeWrapper.java32 private Resources.Theme mTheme;
73 public ContextThemeWrapper(Context base, Resources.Theme theme) { in ContextThemeWrapper()
151 public Resources.Theme getTheme() { in getTheme()
185 protected void onApplyThemeResource(Resources.Theme theme, int resId, boolean first) { in onApplyThemeResource()
193 final Resources.Theme theme = getBaseContext().getTheme(); in initializeTheme()
/frameworks/base/core/java/android/widget/
DThemedSpinnerAdapter.java21 import android.content.res.Resources.Theme;
42 void setDropDownViewTheme(@Nullable Resources.Theme theme); in setDropDownViewTheme()
52 Resources.Theme getDropDownViewTheme(); in getDropDownViewTheme()
/frameworks/base/docs/html-intl/intl/ko/training/material/
Dcompatibility.jd9 <li><a href="#Theme">대체 스타일 정의</a></li>
29 <h2 id="Theme">대체 스타일 정의</h2>
71 <li><code>Theme.AppCompat</code> 테마 중 하나를 적용할 때 일부 시스템 위젯에
73 <li><code>Theme.AppCompat</code> 테마의 <a href="{@docRoot}training/material/theme.html#ColorPalette">…
84 <p><code>Theme.AppCompat</code> 테마는 다음 위젯에 대한 머티리얼 디자인 스타일을 제공합니다.</p>
97 <p>Android v7 지원 라이브러리에서 머티리얼 디자인 스타일을 가져와서 색상표를 사용자지정하려면 <code>Theme.AppCompat</code> 테마 중 하나를 적용합…
101 &lt;!-- extend one of the Theme.AppCompat themes -->
102 &lt;style name="Theme.MyTheme" parent="Theme.AppCompat.Light">
/frameworks/base/docs/html-intl/intl/zh-cn/training/material/
Dcompatibility.jd9 <li><a href="#Theme">定义备用样式</a></li>
29 <h2 id="Theme">定义备用样式</h2>
71 <li>应用其中一个 <code>Theme.AppCompat</code> 主题时可取得适用于一些系统小组件的<a href="{@docRoot}training/material/theme…
73 <li><code>Theme.AppCompat</code> 主题中拥有<a href="{@docRoot}training/material/theme.html#ColorPalette"…
84 <p><code>Theme.AppCompat</code> 主题可为这些小组件提供材料设计风格:</p>
97 <p>如果要利用 Android v7 支持内容库取得材料设计风格以及定制配色工具,请应用其中一个 <code>Theme.AppCompat</code> 主题:
101 &lt;!-- extend one of the Theme.AppCompat themes -->
102 &lt;style name="Theme.MyTheme" parent="Theme.AppCompat.Light">
/frameworks/base/docs/html-intl/intl/ru/training/material/
Dcompatibility.jd9 <li><a href="#Theme">Определение альтернативных стилей</a></li>
29 <h2 id="Theme">Определение альтернативных стилей</h2>
72 системных виджетов в случае применения одной из тем <code>Theme.AppCompat</code>;</li>
74 в темах <code>Theme.AppCompat</code>;</li>
84 <p>В темах <code>Theme.AppCompat</code> имеются стили Material Design для следующих виджетов:</p>
98 Android v7, примените одну из следующих тем <code>Theme.AppCompat</code>:</p>
101 &lt;!-- extend one of the Theme.AppCompat themes -->
102 &lt;style name="Theme.MyTheme" parent="Theme.AppCompat.Light">
/frameworks/base/docs/html-intl/intl/zh-tw/training/material/
Dcompatibility.jd9 <li><a href="#Theme">定義替代樣式</a></li>
29 <h2 id="Theme">定義替代樣式</h2>
71 <li>當您套用其中一個 <code>Theme.AppCompat</code> 設計風格時,某些系統小工具的<a href="{@docRoot}training/material/theme.…
73 <li>在 <code>Theme.AppCompat</code> 設計風格中的<a href="{@docRoot}training/material/theme.html#ColorPalet…
84 <p><code>Theme.AppCompat</code> 設計風格提供下列小工具的材料設計樣式:</p>
97 <p>如果要取得材料設計樣式並使用 Android v7 支援程式庫自訂色板,請套用其中一個 <code>Theme.AppCompat</code> 設計風格:
101 &lt;!-- extend one of the Theme.AppCompat themes -->
102 &lt;style name="Theme.MyTheme" parent="Theme.AppCompat.Light">
/frameworks/base/docs/html-intl/intl/ja/training/material/
Dcompatibility.jd9 <li><a href="#Theme">別のスタイルを定義する</a></li>
29 <h2 id="Theme">別のスタイルを定義する</h2>
71 <li><code>Theme.AppCompat</code> テーマのいずれかを適用した場合の、システム ウィジェット用の<a href="{@docRoot}training/material…
73 <li><code>Theme.AppCompat</code> テーマの<a href="{@docRoot}training/material/theme.html#ColorPalette">…
84 <p><code>Theme.AppCompat</code> テーマでは、次のウィジェット向けにマテリアル デザインのスタイルが提供されています。</p>
97 <p>Android v7 サポート ライブラリでマテリアル デザインのスタイルを入手し、カラーパレットをカスタマイズするには、次のように <code>Theme.AppCompat</code> …
101 &lt;!-- extend one of the Theme.AppCompat themes -->
102 &lt;style name="Theme.MyTheme" parent="Theme.AppCompat.Light">
/frameworks/support/compat/api23/android/support/v4/content/res/
DResourcesCompatApi23.java22 import android.content.res.Resources.Theme;
25 public static int getColor(Resources res, int id, Theme theme) throws NotFoundException { in getColor()
29 public static ColorStateList getColorStateList(Resources res, int id, Theme theme) in getColorStateList()
/frameworks/support/compat/api21/android/support/v4/content/res/
DResourcesCompatApi21.java21 import android.content.res.Resources.Theme;
25 public static Drawable getDrawable(Resources res, int id, Theme theme) in getDrawable()
30 public static Drawable getDrawableForDensity(Resources res, int id, int density, Theme theme) in getDrawableForDensity()
/frameworks/support/compat/tests/java/android/support/v4/content/res/
DResourcesCompatTest.java50 final Resources.Theme yellowTheme = mResources.newTheme(); in testGetColor()
56 final Resources.Theme lilacTheme = mResources.newTheme(); in testGetColor()
81 final Resources.Theme yellowTheme = mResources.newTheme(); in testGetColorStateList()
95 final Resources.Theme lilacTheme = mResources.newTheme(); in testGetColorStateList()
121 final Resources.Theme yellowTheme = mResources.newTheme(); in testGetDrawable()
129 final Resources.Theme lilacTheme = mResources.newTheme(); in testGetDrawable()
218 final Resources.Theme yellowTheme = mResources.newTheme(); in testGetDrawableForDensityThemed()
221 final Resources.Theme lilacTheme = mResources.newTheme(); in testGetDrawableForDensityThemed()
/frameworks/base/core/java/android/content/res/
DThemedResourceCache.java22 import android.content.res.Resources.Theme;
47 public void put(long key, @Nullable Theme theme, @NonNull T entry) { in put()
61 public void put(long key, @Nullable Theme theme, @NonNull T entry, boolean usesTheme) { in put()
87 public T get(long key, @Nullable Theme theme) { in get()
144 private LongSparseArray<WeakReference<T>> getThemedLocked(@Nullable Theme t, boolean create) { in getThemedLocked()
DGradientColor.java24 import android.content.res.Resources.Theme;
251 public static GradientColor createFromXml(Resources r, XmlResourceParser parser, Theme theme) in createFromXml()
277 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) in createFromXmlInner()
294 @NonNull AttributeSet attrs, @Nullable Theme theme) in inflate()
317 @NonNull AttributeSet attrs, @NonNull Theme theme) in inflateChildElements()
389 private void applyItemsAttrsTheme(Theme t) { in applyItemsAttrsTheme()
521 public GradientColor newInstance(Resources res, Theme theme) { in newInstance()
536 public GradientColor obtainForTheme(Theme t) { in obtainForTheme()
559 private void applyTheme(Theme t) { in applyTheme()
569 private void applyRootAttrsTheme(Theme t) { in applyRootAttrsTheme()
DResources.java124 private final ArrayList<WeakReference<Theme>> mThemeRefs = new ArrayList<>();
142 com.android.internal.R.style.Theme, in selectDefaultTheme()
263 WeakReference<Theme> weakThemeRef = mThemeRefs.get(i); in setImpl()
264 Theme theme = weakThemeRef != null ? weakThemeRef.get() : null; in setImpl()
765 public Drawable getDrawable(@DrawableRes int id, @Nullable Theme theme) in getDrawable()
823 public Drawable getDrawableForDensity(@DrawableRes int id, int density, @Nullable Theme theme) { in getDrawableForDensity()
856 Drawable loadDrawable(@NonNull TypedValue value, int id, @Nullable Theme theme) in loadDrawable()
918 public int getColor(@ColorRes int id, @Nullable Theme theme) throws NotFoundException { in getColor()
987 public ColorStateList getColorStateList(@ColorRes int id, @Nullable Theme theme) in getColorStateList()
1000 ColorStateList loadColorStateList(@NonNull TypedValue value, int id, @Nullable Theme theme) in loadColorStateList()
[all …]
DComplexColor.java20 import android.content.res.Resources.Theme;
57 public abstract ComplexColor obtainForTheme(Theme t); in obtainForTheme()
/frameworks/support/compat/java/android/support/v4/graphics/drawable/
DDrawableCompat.java55 void applyTheme(Drawable drawable, Resources.Theme t); in applyTheme()
60 Resources.Theme t) throws IOException, XmlPullParserException; in inflate()
125 public void applyTheme(Drawable drawable, Resources.Theme t) { in applyTheme()
145 AttributeSet attrs, Resources.Theme t) in inflate()
239 public void applyTheme(Drawable drawable, Resources.Theme t) { in applyTheme()
260 AttributeSet attrs, Resources.Theme t) in inflate()
422 public static void applyTheme(@NonNull Drawable drawable, @NonNull Resources.Theme t) { in applyTheme()
461 @Nullable Resources.Theme theme) in inflate()
/frameworks/support/v7/appcompat/src/android/support/v7/content/res/
DAppCompatColorStateListInflater.java54 @Nullable Resources.Theme theme) throws XmlPullParserException, IOException { in createFromXml()
80 @Nullable Resources.Theme theme) in createFromXmlInner()
95 @NonNull AttributeSet attrs, @Nullable Resources.Theme theme) in inflate()
162 private static TypedArray obtainAttributes(Resources res, Resources.Theme theme, in obtainAttributes()
/frameworks/base/docs/html-intl/intl/in/training/material/
Dcompatibility.jd9 <li><a href="#Theme">Mendefinisikan Gaya Alternatif</a></li>
29 <h2 id="Theme">Mendefinisikan Gaya Alternatif</h2>
72 bila Anda menerapkan salah satu tema <code>Theme.AppCompat</code>.</li>
74 dalam tema <code>Theme.AppCompat</code>.</li>
84 <p>Tema-tema <code>Theme.AppCompat</code> menyediakan gaya desain bahan untuk widget ini:</p>
98 Library, terapkan salah satu tema <code>Theme.AppCompat</code>:</p>
101 &lt;!-- extend one of the Theme.AppCompat themes -->
102 &lt;style name="Theme.MyTheme" parent="Theme.AppCompat.Light">
/frameworks/base/docs/html-intl/intl/id/training/material/
Dcompatibility.jd9 <li><a href="#Theme">Mendefinisikan Gaya Alternatif</a></li>
29 <h2 id="Theme">Mendefinisikan Gaya Alternatif</h2>
72 bila Anda menerapkan salah satu tema <code>Theme.AppCompat</code>.</li>
74 dalam tema <code>Theme.AppCompat</code>.</li>
84 <p>Tema-tema <code>Theme.AppCompat</code> menyediakan gaya desain bahan untuk widget ini:</p>
98 Library, terapkan salah satu tema <code>Theme.AppCompat</code>:</p>
101 &lt;!-- extend one of the Theme.AppCompat themes -->
102 &lt;style name="Theme.MyTheme" parent="Theme.AppCompat.Light">
/frameworks/base/core/java/com/android/internal/graphics/drawable/
DAnimationScaleListDrawable.java23 import android.content.res.Resources.Theme;
78 @NonNull AttributeSet attrs, @Nullable Theme theme) in inflate()
94 @NonNull AttributeSet attrs, @Nullable Theme theme) in inflateChildElements()
239 public void applyTheme(@NonNull Theme theme) { in applyTheme()

123456789