/cts/tests/tests/theme/src/android/theme/cts/ |
DeviceDefaultTest.java | 17 package android.theme.cts;
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
LayoutInflater_Delegate.java | 46 com.android.internal.R.attr.theme }; 89 // Apply a theme wrapper, if requested. This is sort of a weird 92 // included View has a theme attribute, we'll need to ignore it. 101 // If the layout is pointing to a theme attribute, we have to 115 // The layout might be referencing a theme attribute.
|
/frameworks/base/tools/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/ |
ThemePreviewLayout.java | 17 package com.android.tools.idea.editors.theme.widgets; 27 * Custom layout used in the theme editor to display the component preview. It arranges the child
|
/packages/apps/TV/src/com/android/tv/util/ |
Utils.java | 29 import android.content.res.Resources.Theme; 575 * @see #getColor(android.content.res.Resources,int,Theme) 585 * {@link android.content.res.Resources#getColor(int,Theme)} was newly added. 589 public static int getColor(Resources res, int id, @Nullable Theme theme) { 591 return res.getColor(id, theme); 600 * @see #getColorStateList(android.content.res.Resources,int,Theme) 610 * and {@link android.content.res.Resources#getColorStateList(int,Theme)} was newly added. 614 public static ColorStateList getColorStateList(Resources res, int id, @Nullable Theme theme) { [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
GradientDrawable.java | 26 import android.content.res.Resources.Theme; [all...] |
AnimatedVectorDrawable.java | 33 import android.content.res.Resources.Theme; 452 public void inflate(Resources res, XmlPullParser parser, AttributeSet attrs, Theme theme) 466 final TypedArray a = obtainAttributes(res, theme, attrs, 472 drawableRes, theme).mutate(); 483 final TypedArray a = obtainAttributes(res, theme, attrs, 490 if (theme != null) { 493 res, theme, animResId, pathErrorScale); 498 // The animation may be theme-dependent. As a 501 // until we have a theme in applyTheme() [all...] |
DrawableContainer.java | 23 import android.content.res.Resources.Theme; 611 public void applyTheme(Theme theme) { 612 mDrawableContainerState.applyTheme(theme); 945 final void applyTheme(Theme theme) { 946 if (theme != null) { 953 drawables[i].applyTheme(theme); 960 updateDensity(theme.getResources()); [all...] |
NinePatchDrawable.java | 24 import android.content.res.Resources.Theme; 397 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) 399 super.inflate(r, parser, attrs, theme); 401 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.NinePatchDrawable); 418 // Extract the theme attributes, if any. 475 public void applyTheme(@NonNull Theme t) {
|
RippleDrawable.java | 29 import android.content.res.Resources.Theme; 416 @NonNull AttributeSet attrs, @Nullable Theme theme) 418 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.RippleDrawable); 424 super.inflate(r, parser, attrs, theme); 475 // Extract the theme attributes, if any. 496 public void applyTheme(@NonNull Theme t) { [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/idlelib/ |
configDialog.py | 34 #Theme Elements. Each theme element key is its display name. 183 text=' Highlighting Theme ') 221 text='Save as New Custom Theme',command=self.SaveAsNewTheme) 225 value=1,command=self.SetThemeType,text='a Built-in Theme') 227 value=0,command=self.SetThemeType,text='a Custom Theme') 232 self.buttonDeleteCustomTheme=Button(frameTheme,text='Delete Custom Theme', 480 self.AddChangedItem('main','Theme','name',value) 486 self.AddChangedItem('main','Theme','name',value) 491 self.AddChangedItem('main','Theme','default',value [all...] |
ClassBrowser.py | 46 theme = idleConf.GetOption('main','Theme','name') 47 background = idleConf.GetHighlight(theme, 'normal')['background']
|
TreeWidget.py | 252 theme = idleConf.GetOption('main','Theme','name') 254 self.label.configure(idleConf.GetHighlight(theme, 'hilite')) 256 self.label.configure(idleConf.GetHighlight(theme, 'normal'))
|
/prebuilts/gdb/linux-x86/lib/python2.7/idlelib/ |
configDialog.py | 34 #Theme Elements. Each theme element key is its display name. 183 text=' Highlighting Theme ') 221 text='Save as New Custom Theme',command=self.SaveAsNewTheme) 225 value=1,command=self.SetThemeType,text='a Built-in Theme') 227 value=0,command=self.SetThemeType,text='a Custom Theme') 232 self.buttonDeleteCustomTheme=Button(frameTheme,text='Delete Custom Theme', 480 self.AddChangedItem('main','Theme','name',value) 486 self.AddChangedItem('main','Theme','name',value) 491 self.AddChangedItem('main','Theme','default',value [all...] |
ClassBrowser.py | 46 theme = idleConf.GetOption('main','Theme','name') 47 background = idleConf.GetHighlight(theme, 'normal')['background']
|
TreeWidget.py | 252 theme = idleConf.GetOption('main','Theme','name') 254 self.label.configure(idleConf.GetHighlight(theme, 'hilite')) 256 self.label.configure(idleConf.GetHighlight(theme, 'normal'))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
configDialog.py | 34 #Theme Elements. Each theme element key is its display name. 183 text=' Highlighting Theme ') 221 text='Save as New Custom Theme',command=self.SaveAsNewTheme) 225 value=1,command=self.SetThemeType,text='a Built-in Theme') 227 value=0,command=self.SetThemeType,text='a Custom Theme') 232 self.buttonDeleteCustomTheme=Button(frameTheme,text='Delete Custom Theme', 480 self.AddChangedItem('main','Theme','name',value) 486 self.AddChangedItem('main','Theme','name',value) 491 self.AddChangedItem('main','Theme','default',value [all...] |
ClassBrowser.py | 46 theme = idleConf.GetOption('main','Theme','name') 47 background = idleConf.GetHighlight(theme, 'normal')['background']
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
configDialog.py | 34 #Theme Elements. Each theme element key is its display name. 183 text=' Highlighting Theme ') 221 text='Save as New Custom Theme',command=self.SaveAsNewTheme) 225 value=1,command=self.SetThemeType,text='a Built-in Theme') 227 value=0,command=self.SetThemeType,text='a Custom Theme') 232 self.buttonDeleteCustomTheme=Button(frameTheme,text='Delete Custom Theme', 480 self.AddChangedItem('main','Theme','name',value) 486 self.AddChangedItem('main','Theme','name',value) 491 self.AddChangedItem('main','Theme','default',value [all...] |
ClassBrowser.py | 46 theme = idleConf.GetOption('main','Theme','name') 47 background = idleConf.GetHighlight(theme, 'normal')['background']
|
/frameworks/base/core/java/android/app/ |
ProgressDialog.java | 81 public ProgressDialog(Context context, int theme) { 82 super(context, theme);
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/ |
ExpandedAlarmViewHolder.java | 69 final Resources.Theme theme = context.getTheme(); local 72 final TypedArray typedArray = theme.obtainStyledAttributes(attrs);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
AppCompatDrawableManager.java | 69 @NonNull AttributeSet attrs, @Nullable Resources.Theme theme); 742 @NonNull AttributeSet attrs, @Nullable Resources.Theme theme) { 745 .createFromXmlInner(context.getResources(), parser, attrs, theme); 759 @NonNull AttributeSet attrs, @Nullable Resources.Theme theme) { 762 .createFromXmlInner(context, context.getResources(), parser, attrs, theme);
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
VectorDrawableTest.java | 23 import android.content.res.Resources.Theme; 248 Theme theme = mResources.newTheme(); local 249 theme.applyStyle(R.style.Theme_ThemedDrawableTest, true); 250 vectorDrawable.inflate(mResources, parser, attrs, theme); 472 // Ensure theme density is applied correctly. 473 final Theme t = res.newTheme();
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
OnboardingFragment.java | 119 * OnboardingFragment must have access to an appropriate theme. Specifically, the fragment must 120 * receive {@link R.style#Theme_Leanback_Onboarding}, or a theme whose parent is set to that theme. 123 * <li>The simplest way is to set the theme for the host Activity to the Onboarding theme or a theme 125 * <li>If the Activity already has a theme and setting its parent theme is inconvenient, the 126 * existing Activity theme can have an entry added for the attribute 127 * {@link R.styleable#LeanbackOnboardingTheme_onboardingTheme}. If present, this theme will be use 316 int theme = onProvideTheme(); local [all...] |
OnboardingSupportFragment.java | 121 * OnboardingSupportFragment must have access to an appropriate theme. Specifically, the fragment must 122 * receive {@link R.style#Theme_Leanback_Onboarding}, or a theme whose parent is set to that theme. 125 * <li>The simplest way is to set the theme for the host Activity to the Onboarding theme or a theme 127 * <li>If the Activity already has a theme and setting its parent theme is inconvenient, the 128 * existing Activity theme can have an entry added for the attribute 129 * {@link R.styleable#LeanbackOnboardingTheme_onboardingTheme}. If present, this theme will be use 318 int theme = onProvideTheme(); local [all...] |