Searched refs:theme (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperSettingsActivity.java26 * proper theme of the activity depending on how it is being used.
40 Resources.Theme theme = getTheme();
42 theme.applyStyle(com.android.internal.R.style.PreviewWallpaperSettings, true);
44 theme.applyStyle(com.android.internal.R.style.ActiveWallpaperSettings, true);
/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java24 * A ContextWrapper that allows you to modify the theme from what is in the
77 * Called by {@link #setTheme} and {@link #getTheme} to apply a theme
82 * @param theme The Theme object being modified.
83 * @param resid The theme style resource being applied to <var>theme</var>.
85 * applied to <var>theme</var>.
87 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { argument
88 theme.applyStyle(resid, true);
95 Resources.Theme theme = mBase.getTheme();
96 if (theme !
[all...]
H A DIWindowManager.aidl80 void setAppStartingWindow(IBinder token, String pkg, int theme,
H A DWindowManagerPolicy.java464 * @param theme Resource defining the application's overall visual theme.
476 int theme, CharSequence nonLocalizedLabel,
475 addStartingWindow(IBinder appToken, String packageName, int theme, CharSequence nonLocalizedLabel, int labelRes, int icon) argument
/frameworks/base/core/java/android/content/pm/
H A DActivityInfo.java33 * activity's theme. From the "theme" attribute or, if not set, 0.
35 public int theme; field in class:ActivityInfo
339 * the mode from the theme will be used.
348 theme = orig.theme;
360 * Return the theme resource identifier to use for this activity. If
361 * the activity defines a theme, that is used; else, the application
362 * theme is used.
364 * @return The theme associate
[all...]
H A DApplicationInfo.java71 * default visual theme of the application. From the "theme" attribute
74 public int theme; field in class:ApplicationInfo
398 + " theme=0x" + Integer.toHexString(theme));
456 theme = orig.theme;
489 dest.writeInt(theme);
522 theme = source.readInt();
H A DPackageParser.java1513 ai.theme = sa.getResourceId(
1821 a.info.theme = sa.getResourceId(
2051 info.theme = target.info.theme;
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java227 /*package*/ final boolean getThemeValue(int theme, int ident, argument
229 int block = loadThemeAttributeValue(theme, ident, outValue, resolveRefs);
513 /*package*/ final void releaseTheme(int theme) { argument
515 deleteTheme(theme);
516 decRefsLocked(theme);
697 /*package*/ native static final boolean applyStyle(int theme, argument
728 private native final void deleteTheme(int theme); argument
729 /*package*/ native static final void applyThemeStyle(int theme, int styleRes, boolean force); argument
731 /*package*/ native static final int loadThemeAttributeValue(int theme, int ident, argument
734 /*package*/ native static final void dumpTheme(int theme, in argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DSoftInputWindow.java46 * particular, it uses the window manager and theme from this context
48 * @param theme A style resource describing the theme to use for the window.
51 * using styles. This theme is applied on top of the current theme in
52 * <var>context</var>. If 0, the default dialog theme will be used.
54 public SoftInputWindow(Context context, int theme, argument
56 super(context, theme);
H A DInputMethodService.java537 * You can call this to customize the theme used by your IME's window.
538 * This theme should typically be one that derives from
539 * {@link android.R.style#Theme_InputMethod}, which is the default theme
542 * of your custom theme.
544 public void setTheme(int theme) { argument
548 mTheme = theme;
/frameworks/base/core/java/android/app/
H A DDatePickerDialog.java92 * @param theme the theme to apply to this dialog
99 int theme,
104 super(context, theme);
98 DatePickerDialog(Context context, int theme, OnDateSetListener callBack, int year, int monthOfYear, int dayOfMonth) argument
H A DTimePickerDialog.java85 * @param theme the theme to apply to this dialog
92 int theme,
95 super(context, theme);
91 TimePickerDialog(Context context, int theme, OnTimeSetListener callBack, int hourOfDay, int minute, boolean is24HourView) argument
H A DProgressDialog.java79 public ProgressDialog(Context context, int theme) { argument
80 super(context, theme);
H A DDialog.java119 * uses the window manager and theme in this context to
130 * uses the window manager and theme from this context to
132 * @param theme A style resource describing the theme to use for the
135 * styles. This theme is applied on top of the current theme in
136 * <var>context</var>. If 0, the default dialog theme will be used.
138 public Dialog(Context context, int theme) { argument
140 context, theme == 0 ? com.android.internal.R.style.Theme_Dialog : theme);
[all...]
H A DAlertDialog.java62 protected AlertDialog(Context context, int theme) { argument
63 super(context, theme);
H A DActivity.java82 * windows (via a theme with {@link android.R.attr#windowIsFloating} set)
2780 protected void onApplyThemeResource(Resources.Theme theme, int resid, argument
2783 super.onApplyThemeResource(theme, resid, first);
2786 theme.setTo(mParent.getTheme());
2790 theme.applyStyle(resid, false);
3200 * {@link android.R.attr#windowNoDisplay} attribute of the activity's theme.
H A DActivityThread.java1605 int theme = r.activityInfo.getThemeResource();
1606 if (theme != 0) {
1607 activity.setTheme(theme);
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp830 ResTable::Theme* theme = (ResTable::Theme*)themeInt; local
831 delete theme;
839 ResTable::Theme* theme = (ResTable::Theme*)themeInt; local
840 theme->applyStyle(styleRes, force ? true : false);
854 ResTable::Theme* theme = (ResTable::Theme*)themeInt; local
855 const ResTable& res(theme->getResTable());
860 ssize_t block = theme->getAttribute(ident, &value, &typeSpecFlags);
878 ResTable::Theme* theme = (ResTable::Theme*)themeInt; local
879 const ResTable& res(theme->getResTable());
893 theme
926 ResTable::Theme* theme = (ResTable::Theme*)themeToken; local
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DActivityRecord.java70 int theme; // resource identifier of activity's theme. field in class:ActivityRecord
127 pw.print(" theme=0x"); pw.println(Integer.toHexString(theme));
244 theme = aInfo.getThemeResource();
262 theme != 0 ? theme : android.R.style.Theme,
H A DActivityStack.java1302 next, next.packageName, next.theme,
1337 next, next.packageName, next.theme,
1462 r, r.packageName, r.theme, r.nonLocalizedLabel,
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindowManager.java875 int theme, CharSequence nonLocalizedLabel,
888 // + nonLocalizedLabel + " theme=" + Integer.toHexString(theme));
889 if (theme != 0 || labelRes != 0) {
892 if (theme != 0) {
893 context.setTheme(theme);
945 // getDecorView() where the theme is evaluated... maybe
946 // we should peek the floating attribute from the theme
874 addStartingWindow(IBinder appToken, String packageName, int theme, CharSequence nonLocalizedLabel, int labelRes, int icon) argument
/frameworks/base/services/java/com/android/server/
H A DWindowManagerService.java3324 int theme, CharSequence nonLocalizedLabel, int labelRes, int icon,
3453 if (theme != 0) {
3454 AttributeCache.Entry ent = AttributeCache.instance().get(pkg, theme,
3472 pkg, theme, nonLocalizedLabel,
7750 final int theme; field in class:WindowManagerService.StartingData
7758 theme = _theme;
7879 sd.theme, sd.nonLocalizedLabel, sd.labelRes,
8834 // what will control the animation theme.
3323 setAppStartingWindow(IBinder token, String pkg, int theme, CharSequence nonLocalizedLabel, int labelRes, int icon, IBinder transferFrom, boolean createIfNeeded) argument
H A DPackageManagerService.java2905 mResolveActivity.theme = com.android.internal.R.style.Theme_Dialog_Alert;

Completed in 312 milliseconds