/development/apps/OBJViewer/com/android/objviewer/ |
OBJViewer.java | 307 setTheme(R.style.Theme);
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/ |
MockContext.java | 84 public Resources.Theme getTheme() {
|
/frameworks/base/core/java/android/widget/ |
QuickContactBadge.java | 94 TypedArray styledAttributes = mContext.obtainStyledAttributes(R.styleable.Theme);
|
Spinner.java | 28 import android.content.res.Resources.Theme; 86 * Use the theme-supplied value to select the dropdown mode. 108 * Constructs a new spinner with the given context's theme. 111 * access the current theme, resources, etc. 118 * Constructs a new spinner with the given context's theme and the supplied 123 * access the current theme, resources, etc. 135 * Constructs a new spinner with the given context's theme and the supplied 139 * access the current theme, resources, etc. 147 * Constructs a new spinner with the given context's theme, the supplied 151 * access the current theme, resources, etc [all...] |
/frameworks/base/core/tests/coretests/src/android/content/res/ |
ResourcesManagerTest.java | 189 Resources.Theme theme = resources1.newTheme(); local 190 assertSame(resources1, theme.getResources()); 191 theme.applyStyle(android.R.style.Theme_NoTitleBar, false); 194 assertTrue(theme.resolveAttribute(android.R.attr.windowNoTitle, value, true)); 202 assertSame(resources1, theme.getResources()); 205 assertTrue(theme.resolveAttribute(android.R.attr.windowNoTitle, value, true));
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
SetupWizardLayoutTest.java | 172 android.R.style.Theme); 174 // Inflating with a non-Material theme should not crash
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/ |
GlifLayoutTest.java | 197 mContext = new ContextThemeWrapper(application, android.R.style.Theme); 199 // Inflating with a non-GLIF theme should not crash
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
DrawableTest.java | 28 import android.content.res.Resources.Theme; 327 Theme theme = mResources.newTheme(); local 328 theme.applyStyle(R.style.Theme_ThemedDrawableTest, true); 329 Drawable drawable = Drawable.createFromXml(mResources, parser, theme); 332 Drawable expected = mResources.getDrawable(R.drawable.gradientdrawable_theme, theme); 359 Theme theme = mResources.newTheme(); local 360 theme.applyStyle(R.style.Theme_ThemedDrawableTest, true); 361 Drawable drawable = Drawable.createFromXmlInner(mResources, parser, attrs, theme); [all...] |
NinePatchDrawableTest.java | 28 import android.content.res.Resources.Theme; 477 // Ensure theme density is applied correctly. Unlike most 482 final Theme t = res.newTheme(); 566 // Ensure theme density is applied correctly. Unlike most 571 final Theme t = res.newTheme();
|
BitmapDrawableTest.java | 28 import android.content.res.Resources.Theme; 600 // Ensure theme density is applied correctly. Unlike most 605 final Theme t = res.newTheme();
|
/external/universal-tween-engine/java/applets/src/aurelienribon/tweenengine/applets/ |
TimelineApplet.java | 79 getContentPane().setBackground(Theme.MAIN_BACKGROUND); 80 Theme.apply(getContentPane()); 97 for (JLabel lbl : labels.values()) lbl.setForeground(Theme.MAIN_FOREGROUND);
|
TweenApplet.java | 70 getContentPane().setBackground(Theme.MAIN_BACKGROUND); 71 Theme.apply(getContentPane());
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
BitmapDrawable.java | 23 import android.content.res.Resources.Theme; 749 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) 751 super.inflate(r, parser, attrs, theme); 753 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.BitmapDrawable); 768 // If we're not waiting on a theme, verify required attributes. 788 // Extract the theme attributes, if any. 874 public void applyTheme(Theme t) { 893 // Apply theme to contained color state list. [all...] |
DrawableContainer.java | 23 import android.content.res.Resources.Theme; 629 public void applyTheme(Theme theme) { 630 mDrawableContainerState.applyTheme(theme); 971 final void applyTheme(Theme theme) { 972 if (theme != null) { 979 drawables[i].applyTheme(theme); 986 updateDensity(theme.getResources()); [all...] |
GradientDrawable.java | 26 import android.content.res.Resources.Theme; [all...] |
LayerDrawable.java | 24 import android.content.res.Resources.Theme; 173 @NonNull AttributeSet attrs, @Nullable Theme theme) 175 super.inflate(r, parser, attrs, theme); 183 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.LayerDrawable); 194 inflateLayers(r, parser, attrs, theme); 201 public void applyTheme(@NonNull Theme t) { 242 @NonNull AttributeSet attrs, @Nullable Theme theme) 260 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.LayerDrawableItem) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
AppCompatDrawableManager.java | 70 @NonNull AttributeSet attrs, @Nullable Resources.Theme theme); 774 @NonNull AttributeSet attrs, @Nullable Resources.Theme theme) { 777 .createFromXmlInner(context.getResources(), parser, attrs, theme); [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
AppCompatDelegateImplV9.java | 203 "windowActionBar to false in your theme to use a Toolbar instead."); 355 "You need to use a Theme.AppCompat theme (or descendant) with this activity."); 390 * This needs some explanation. As we can not use the android:theme attribute 470 "AppCompat does not support the current theme features: { " 747 // Use the action bar theme. 749 final Resources.Theme baseTheme = mContext.getTheme(); 754 final Resources.Theme actionBarTheme = mContext.getResources().newTheme(); [all...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
TypedArrayTest.java | 257 final Resources.Theme theme = resources.newTheme(); local 258 theme.applyStyle(R.style.Whatever, false); 260 final TypedArray ta = theme.obtainStyledAttributes(parser, R.styleable.style1, 0, 0);
|
/frameworks/base/core/java/com/android/internal/widget/ |
SwipeDismissLayout.java | 116 com.android.internal.R.styleable.Theme);
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
SuggestionsPopupWindowTest.java | 266 getActivity().obtainStyledAttributes(com.android.internal.R.styleable.Theme);
|
/frameworks/base/libs/androidfw/ |
ResourceTypes.cpp | [all...] |
/developers/build/lib/ |
assetstudio.jar | |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/ |
VectorDrawable_Delegate.java | 24 import android.content.res.Resources.Theme; 82 * Obtains styled attributes from the theme, if available, or unstyled resources if the theme is 86 Resources res, Theme theme, AttributeSet set, int[] attrs) { 87 if (theme == null) { 90 return theme.obtainStyledAttributes(set, attrs, 0, 0); [all...] |
/prebuilts/gradle-plugin/com/android/tools/asset-studio/25.2.0/ |
asset-studio-25.2.0.jar | |