/frameworks/support/v4/java/android/support/v4/content/res/ |
H A D | ResourcesCompat.java | 32 * styled for the specified theme. Various types of objects will be 36 * Prior to API level 21, the theme will not be applied and this method 42 * @param theme The theme used to style the drawable attributes, may be 49 public static Drawable getDrawable(Resources res, int id, Theme theme) argument 53 return ResourcesCompatApi21.getDrawable(res, id, theme); 62 * the given screen density in DPI and styled for the specified theme. 64 * Prior to API level 15, the theme and density will not be applied and 67 * Prior to API level 21, the theme will not be applied and this method 75 * @param theme Th 82 getDrawableForDensity(Resources res, int id, int density, Theme theme) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ResourcesWrapper.java | 135 public Drawable getDrawable(int id, Theme theme) throws NotFoundException { argument 136 return mResources.getDrawable(id, theme); 145 public Drawable getDrawableForDensity(int id, int density, Theme theme) { argument 146 return mResources.getDrawableForDensity(id, density, theme);
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouteChooserDialog.java | 64 public MediaRouteChooserDialog(Context context, int theme) { argument 65 super(MediaRouterThemeHelper.createThemedContext(context), theme);
|
H A D | MediaRouteControllerDialog.java | 91 public MediaRouteControllerDialog(Context context, int theme) { argument 92 super(MediaRouterThemeHelper.createThemedContext(context), theme);
|
/frameworks/support/v4/api21/android/support/v4/content/res/ |
H A D | ResourcesCompatApi21.java | 25 public static Drawable getDrawable(Resources res, int id, Theme theme) argument 27 return res.getDrawable(id, theme); 30 public static Drawable getDrawableForDensity(Resources res, int id, int density, Theme theme) argument 32 return res.getDrawableForDensity(id, density, theme);
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | DialogFragment.java | 79 private static final String SAVED_THEME = "android:theme"; 101 * taking care of selecting flags, theme, and other options for you. The 109 * @param theme Optional custom theme. If 0, an appropriate theme (based 112 public void setStyle(@DialogStyle int style, @StyleRes int theme) { argument 117 if (theme != 0) { 118 mTheme = theme;
|
/frameworks/opt/setupwizard/navigationbar/src/com/android/setupwizard/navigationbar/ |
H A D | SetupWizardNavBar.java | 123 // Normally we can automatically guess the theme by comparing the foreground color against 131 int theme = attributes.getResourceId(0, 0); 132 if (theme == 0) { 134 // theme is light-on-dark or dark-on-light. 140 theme = isDarkBg ? R.style.setup_wizard_navbar_theme_dark : 144 return theme;
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
H A D | TimePickerDialog.java | 131 public TimePickerDialog(Context context, int theme, OnTimeSetListener callback, argument 155 * Set a dark or light theme. NOTE: this will only take effect for the next onCreateView. 314 // Set the theme at the end so that the initialize()s above don't counteract the theme. 330 // Set the colors for each view based on the theme.
|
/frameworks/base/tools/layoutlib/bridge/src/android/animation/ |
H A D | AnimatorInflater_Delegate.java | 39 /*package*/ static Animator loadAnimator(Resources resources, Theme theme, int id) argument 41 return loadAnimator(resources, theme, id, 1); 45 /*package*/ static Animator loadAnimator(Resources resources, Theme theme, int id, argument 54 /*package*/ static ValueAnimator loadAnimator(Resources res, Theme theme, argument 57 return AnimatorInflater.loadAnimator_Original(res, theme, attrs, anim, pathErrorScale);
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | AssetManager_Delegate.java | 37 /*package*/ static void deleteTheme(AssetManager manager, long theme) { argument 38 Resources_Theme_Delegate.getDelegateManager().removeJavaReferenceFor(theme);
|
H A D | BridgeResources.java | 162 public Drawable getDrawable(int id, Theme theme) { argument 166 return ResourceHelper.getDrawable(value.getSecond(), mContext, theme);
|
H A D | BridgeTypedArray.java | 120 * Set the theme to be used for inflating drawables. 122 public void setTheme(Theme theme) { argument 123 mTheme = theme;
|
H A D | Resources_Theme_Delegate.java | 111 // Key is a space-separated list of theme ids applied that have been merged into the 112 // BridgeContext's theme to make thisTheme. 148 ResourceReference theme = context.resolveId(nativeResid); 149 if (theme.isFramework()) { 151 .getFrameworkResource(ResourceType.STYLE, theme.getName()); 154 .getProjectResource(ResourceType.STYLE, theme.getName());
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | ResourceHelper.java | 178 * @param theme the theme to be used to inflate the drawable. 180 public static Drawable getDrawable(ResourceValue value, BridgeContext context, Theme theme) { argument 224 return Drawable.createFromXml(context.getResources(), blockParser, theme);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PhoneWindowManager.java | 2015 public View addStartingWindow(IBinder appToken, String packageName, int theme, argument 2031 + ": nonLocalizedLabel=" + nonLocalizedLabel + " theme=" 2032 + Integer.toHexString(theme)); 2033 if (theme != context.getThemeResId() || labelRes != 0) { 2036 context.setTheme(theme); 2098 // getDecorView() where the theme is evaluated... maybe 2099 // we should peek the floating attribute from the theme 5585 int theme; 5588 theme = com.android.internal.R.style.Theme_Micro_Dialog_Alert; 5591 theme [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityRecord.java | 117 int theme; // resource identifier of activity's theme. field in class:ActivityRecord 118 int realTheme; // actual theme resource we will use, never 0. 206 pw.print(" theme=0x"); pw.println(Integer.toHexString(theme)); 448 theme = aInfo.getThemeResource(); 449 realTheme = theme;
|
H A D | ActivityStack.java | 1848 next.appToken, next.packageName, next.theme, 1881 next.appToken, next.packageName, next.theme, 2068 r.appToken, r.packageName, r.theme,
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 5327 mResolveActivity.theme = R.style.Theme_Holo_Dialog_Alert; 6501 mResolveActivity.theme = 0;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | StartingData.java | 23 final int theme; field in class:StartingData 35 theme = _theme;
|
H A D | WindowManagerService.java | 4161 int theme, CompatibilityInfo compatInfo, 4318 if (DEBUG_STARTING_WINDOW) Slog.v(TAG, "Checking theme of starting window: 0x" 4319 + Integer.toHexString(theme)); 4320 if (theme != 0) { 4321 AttributeCache.Entry ent = AttributeCache.instance().get(pkg, theme, 4348 // If this theme is requesting a wallpaper, and the wallpaper 4362 wtoken.startingData = new StartingData(pkg, theme, compatInfo, nonLocalizedLabel, 6636 * theme attribute) on devices that feature a physical options menu key attempt to position 7716 wtoken.token, sd.pkg, sd.theme, sd.compatInfo, 9098 // what will control the animation theme 4160 setAppStartingWindow(IBinder token, String pkg, int theme, CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, int logo, int windowFlags, IBinder transferFrom, boolean createIfNeeded) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimatedRotateDrawable.java | 266 @NonNull AttributeSet attrs, @Nullable Theme theme) 268 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.AnimatedRotateDrawable); 273 inflateChildElements(r, parser, attrs, theme); 313 // Extract the theme attributes, if any. 341 Theme theme) throws XmlPullParserException, IOException { 353 if ((dr = Drawable.createFromXmlInner(r, parser, attrs, theme)) == null) { 365 // If we're not waiting on a theme, verify required attributes. 265 inflate(@onNull Resources r, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) argument 340 inflateChildElements(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
|
H A D | AnimatedStateListDrawable.java | 376 @NonNull AttributeSet attrs, @Nullable Theme theme) 379 r, theme, attrs, R.styleable.AnimatedStateListDrawable); 384 inflateChildElements(r, parser, attrs, theme); 390 public void applyTheme(@Nullable Theme theme) { argument 391 super.applyTheme(theme); 398 final TypedArray a = theme.resolveAttributes( 412 // Extract the theme attributes, if any. 435 Theme theme) throws XmlPullParserException, IOException { 452 parseItem(r, parser, attrs, theme); 454 parseTransition(r, parser, attrs, theme); 375 inflate(@onNull Resources r, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) argument 434 inflateChildElements(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument 459 parseTransition(@onNull Resources r, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) argument 495 parseItem(@onNull Resources r, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) argument [all...] |
H A D | AnimatedVectorDrawable.java | 272 public void inflate(Resources res, XmlPullParser parser, AttributeSet attrs, Theme theme) argument 281 final TypedArray a = obtainAttributes(res, theme, attrs, 287 drawableRes, theme).mutate(); 298 final TypedArray a = obtainAttributes(res, theme, attrs, 306 Animator objectAnimator = AnimatorInflater.loadAnimator(res, theme, id,
|
H A D | AnimationDrawable.java | 275 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument 277 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.AnimationDrawable); 282 inflateChildElements(r, parser, attrs, theme); 288 Theme theme) throws XmlPullParserException, IOException { 303 final TypedArray a = obtainAttributes(r, theme, attrs, 325 dr = Drawable.createFromXmlInner(r, parser, attrs, theme); 287 inflateChildElements(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
|
H A D | BitmapDrawable.java | 713 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument 715 super.inflate(r, parser, attrs, theme); 717 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.BitmapDrawable); 746 // Extract the theme attributes, if any. 953 * after inflating or applying a theme.
|