Searched defs:theme (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/core/java/android/inputmethodservice/
H A DSoftInputWindow.java48 * particular, it uses the window manager and theme from this context
50 * @param theme A style resource describing the theme to use for the window.
53 * using styles. This theme is applied on top of the current theme in
54 * <var>context</var>. If 0, the default dialog theme will be used.
56 public SoftInputWindow(Context context, int theme, argument
58 super(context, theme);
H A DInputMethodService.java604 * You can call this to customize the theme used by your IME's window.
605 * This theme should typically be one that derives from
606 * {@link android.R.style#Theme_InputMethod}, which is the default theme
609 * of your custom theme.
612 public void setTheme(int theme) { argument
616 mTheme = theme;
/frameworks/base/services/java/com/android/server/wm/
H A DStartingData.java23 final int theme; field in class:StartingData
34 theme = _theme;
H A DWindowManagerService.java4217 int theme, CompatibilityInfo compatInfo,
4373 if (DEBUG_STARTING_WINDOW) Slog.v(TAG, "Checking theme of starting window: 0x"
4374 + Integer.toHexString(theme));
4375 if (theme != 0) {
4376 AttributeCache.Entry ent = AttributeCache.instance().get(pkg, theme,
4403 // If this theme is requesting a wallpaper, and the wallpaper
4417 wtoken.startingData = new StartingData(pkg, theme, compatInfo, nonLocalizedLabel,
6165 * theme attribute) on devices that feature a physical options menu key attempt to position
7400 wtoken.token, sd.pkg, sd.theme, sd.compatInfo,
8583 // what will control the animation theme
4216 setAppStartingWindow(IBinder token, String pkg, int theme, CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, int windowFlags, IBinder transferFrom, boolean createIfNeeded) argument
[all...]
/frameworks/base/core/java/android/app/
H A DPresentation.java151 * using the default theme.
164 * using the optionally specified theme.
170 * @param theme A style resource describing the theme to use for the window.
173 * styles. This theme is applied on top of the current theme in
174 * <var>outerContext</var>. If 0, the default presentation theme will be used.
176 public Presentation(Context outerContext, Display display, int theme) { argument
177 super(createPresentationContext(outerContext, display, theme), theme, fals
287 createPresentationContext( Context outerContext, Display display, int theme) argument
[all...]
H A DDatePickerDialog.java84 * @param theme the theme to apply to this dialog
91 int theme,
96 super(context, theme);
90 DatePickerDialog(Context context, int theme, OnDateSetListener callBack, int year, int monthOfYear, int dayOfMonth) argument
H A DTimePickerDialog.java79 * @param theme the theme to apply to this dialog
86 int theme,
89 super(context, theme);
85 TimePickerDialog(Context context, int theme, OnTimeSetListener callBack, int hourOfDay, int minute, boolean is24HourView) argument
H A DDialogFragment.java171 private static final String SAVED_THEME = "android:theme";
193 * taking care of selecting flags, theme, and other options for you. The
201 * @param theme Optional custom theme. If 0, an appropriate theme (based
204 public void setStyle(int style, int theme) { argument
209 if (theme != 0) {
210 mTheme = theme;
H A DProgressDialog.java81 public ProgressDialog(Context context, int theme) { argument
82 super(context, theme);
H A DAlertDialog.java68 * Special theme constant for {@link #AlertDialog(Context, int)}: use
69 * the traditional (pre-Holo) alert dialog theme.
74 * Special theme constant for {@link #AlertDialog(Context, int)}: use
75 * the holographic alert theme with a dark background.
80 * Special theme constant for {@link #AlertDialog(Context, int)}: use
81 * the holographic alert theme with a light background.
86 * Special theme constant for {@link #AlertDialog(Context, int)}: use
87 * the device's default alert theme with a dark background.
92 * Special theme constant for {@link #AlertDialog(Context, int)}: use
93 * the device's default alert theme wit
109 AlertDialog(Context context, int theme) argument
113 AlertDialog(Context context, int theme, boolean createThemeContextWrapper) argument
374 Builder(Context context, int theme) argument
[all...]
H A DDialog.java127 * uses the window manager and theme in this context to
138 * uses the window manager and theme from this context to
140 * @param theme A style resource describing the theme to use for the
143 * styles. This theme is applied on top of the current theme in
144 * <var>context</var>. If 0, the default dialog theme will be used.
146 public Dialog(Context context, int theme) { argument
147 this(context, theme, true);
150 Dialog(Context context, int theme, boolea argument
[all...]
H A DActivity.java93 * windows (via a theme with {@link android.R.attr#windowIsFloating} set)
3291 // Make sure that action views can get an appropriate theme.
3304 protected void onApplyThemeResource(Resources.Theme theme, int resid, argument
3307 super.onApplyThemeResource(theme, resid, first);
3310 theme.setTo(mParent.getTheme());
3314 theme.applyStyle(resid, false);
4056 * {@link android.R.attr#windowNoDisplay} attribute of the activity's theme.
/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java26 * A ContextWrapper that allows you to modify the theme from what is in the
121 * Called by {@link #setTheme} and {@link #getTheme} to apply a theme
126 * @param theme The Theme object being modified.
127 * @param resid The theme style resource being applied to <var>theme</var>.
129 * applied to <var>theme</var>.
131 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { argument
132 theme.applyStyle(resid, true);
139 Resources.Theme theme = mBase.getTheme();
140 if (theme !
[all...]
H A DWindowManagerPolicy.java639 * @param theme Resource defining the application's overall visual theme.
652 int theme, CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel,
651 addStartingWindow(IBinder appToken, String packageName, int theme, CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, int windowFlags) argument
/frameworks/support/v4/java/android/support/v4/app/
H A DDialogFragment.java68 private static final String SAVED_THEME = "android:theme";
90 * taking care of selecting flags, theme, and other options for you. The
98 * @param theme Optional custom theme. If 0, an appropriate theme (based
101 public void setStyle(int style, int theme) { argument
106 if (theme != 0) {
107 mTheme = theme;
/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
468 * the mode from the theme will be used.
498 theme = orig.theme;
512 * Return the theme resource identifier to use for this activity. If
513 * the activity defines a theme, that is used; else, the application
514 * theme is used.
516 * @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
465 + " theme=0x" + Integer.toHexString(theme));
538 theme = orig.theme;
577 dest.writeInt(theme);
615 theme = source.readInt();
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialogFragment.java640 public RouteChooserDialog(Context context, int theme) { argument
641 super(context, theme);
/frameworks/base/services/java/com/android/server/am/
H A DActivityRecord.java81 int theme; // resource identifier of activity's theme. field in class:ActivityRecord
82 int realTheme; // actual theme resource we will use, never 0.
155 pw.print(" theme=0x"); pw.println(Integer.toHexString(theme));
383 theme = aInfo.getThemeResource();
384 realTheme = 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);
514 /*package*/ final void releaseTheme(int theme) { argument
516 deleteTheme(theme);
517 decRefsLocked(theme);
699 /*package*/ native static final boolean applyStyle(int theme, argument
730 private native final void deleteTheme(int theme); argument
731 /*package*/ native static final void applyThemeStyle(int theme, int styleRes, boolean force); argument
733 /*package*/ native static final int loadThemeAttributeValue(int theme, int ident, argument
736 /*package*/ native static final void dumpTheme(int theme, in argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp811 ResTable::Theme* theme = (ResTable::Theme*)themeInt; local
812 delete theme;
820 ResTable::Theme* theme = (ResTable::Theme*)themeInt; local
821 theme->applyStyle(styleRes, force ? true : false);
835 ResTable::Theme* theme = (ResTable::Theme*)themeInt; local
836 const ResTable& res(theme->getResTable());
841 ssize_t block = theme->getAttribute(ident, &value, &typeSpecFlags);
859 ResTable::Theme* theme = (ResTable::Theme*)themeInt; local
860 const ResTable& res(theme->getResTable());
863 theme
891 ResTable::Theme* theme = (ResTable::Theme*)themeToken; local
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindowManager.java1514 public View addStartingWindow(IBinder appToken, String packageName, int theme, argument
1527 + ": nonLocalizedLabel=" + nonLocalizedLabel + " theme="
1528 + Integer.toHexString(theme));
1529 if (theme != context.getThemeResId() || labelRes != 0) {
1532 context.setTheme(theme);
1590 // getDecorView() where the theme is evaluated... maybe
1591 // we should peek the floating attribute from the theme

Completed in 9492 milliseconds