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

12

/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.java610 * You can call this to customize the theme used by your IME's window.
611 * This theme should typically be one that derives from
612 * {@link android.R.style#Theme_InputMethod}, which is the default theme
615 * of your custom theme.
618 public void setTheme(int theme) { argument
622 mTheme = theme;
/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.java129 * uses the window manager and theme in this context to
140 * uses the window manager and theme from this context to
142 * @param theme A style resource describing the theme to use for the
145 * styles. This theme is applied on top of the current theme in
146 * <var>context</var>. If 0, the default dialog theme will be used.
148 public Dialog(Context context, int theme) { argument
149 this(context, theme, true);
152 Dialog(Context context, int theme, boolea argument
[all...]
H A DActivity.java96 * windows (via a theme with {@link android.R.attr#windowIsFloating} set)
3345 // Make sure that action views can get an appropriate theme.
3358 protected void onApplyThemeResource(Resources.Theme theme, int resid, argument
3361 super.onApplyThemeResource(theme, resid, first);
3364 theme.setTo(mParent.getTheme());
3368 theme.applyStyle(resid, false);
4125 * {@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.java642 * @param theme Resource defining the application's overall visual theme.
655 int theme, CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel,
654 addStartingWindow(IBinder appToken, String packageName, int theme, CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, int logo, int windowFlags) argument
/frameworks/base/services/java/com/android/server/wm/
H A DStartingData.java23 final int theme; field in class:StartingData
35 theme = _theme;
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialog.java61 public MediaRouteChooserDialog(Context context, int theme) { argument
62 super(context, theme);
H A DMediaRouteControllerDialog.java73 public MediaRouteControllerDialog(Context context, int theme) { argument
74 super(context, theme);
/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/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteChooserDialog.java60 public MediaRouteChooserDialog(Context context, int theme) { argument
61 super(MediaRouterThemeHelper.createThemedContext(context, true), theme);
H A DMediaRouteControllerDialog.java73 public MediaRouteControllerDialog(Context context, int theme) { argument
74 super(MediaRouterThemeHelper.createThemedContext(context, true), theme);
/frameworks/base/core/java/android/content/pm/
H A DActivityInfo.java34 * activity's theme. From the "theme" attribute or, if not set, 0.
36 public int theme; field in class:ActivityInfo
503 * the mode from the theme will be used.
533 theme = orig.theme;
547 * Return the theme resource identifier to use for this activity. If
548 * the activity defines a theme, that is used; else, the application
549 * theme is used.
551 * @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
489 + " theme=0x" + Integer.toHexString(theme));
565 theme = orig.theme;
605 dest.writeInt(theme);
644 theme = source.readInt();
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DTimePickerDialog.java132 public TimePickerDialog(Context context, int theme, OnTimeSetListener callback, argument
156 * Set a dark or light theme. NOTE: this will only take effect for the next onCreateView.
315 // Set the theme at the end so that the initialize()s above don't counteract the theme.
331 // Set the colors for each view based on the theme.
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java228 /*package*/ final boolean getThemeValue(int theme, int ident, argument
230 int block = loadThemeAttributeValue(theme, ident, outValue, resolveRefs);
515 /*package*/ final void releaseTheme(int theme) { argument
517 deleteTheme(theme);
518 decRefsLocked(theme);
705 /*package*/ native static final boolean applyStyle(int theme, argument
736 private native final void deleteTheme(int theme); argument
737 /*package*/ native static final void applyThemeStyle(int theme, int styleRes, boolean force); argument
739 /*package*/ native static final int loadThemeAttributeValue(int theme, int ident, argument
742 /*package*/ native static final void dumpTheme(int theme, in argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp824 ResTable::Theme* theme = (ResTable::Theme*)themeInt; local
825 delete theme;
833 ResTable::Theme* theme = (ResTable::Theme*)themeInt; local
834 theme->applyStyle(styleRes, force ? true : false);
848 ResTable::Theme* theme = (ResTable::Theme*)themeInt; local
849 const ResTable& res(theme->getResTable());
854 ssize_t block = theme->getAttribute(ident, &value, &typeSpecFlags);
872 ResTable::Theme* theme = (ResTable::Theme*)themeInt; local
873 const ResTable& res(theme->getResTable());
876 theme
904 ResTable::Theme* theme = (ResTable::Theme*)themeToken; local
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DActivityRecord.java93 int theme; // resource identifier of activity's theme. field in class:ActivityRecord
94 int realTheme; // actual theme resource we will use, never 0.
172 pw.print(" theme=0x"); pw.println(Integer.toHexString(theme));
411 theme = aInfo.getThemeResource();
412 realTheme = theme;
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindowManager.java1576 public View addStartingWindow(IBinder appToken, String packageName, int theme, argument
1592 + ": nonLocalizedLabel=" + nonLocalizedLabel + " theme="
1593 + Integer.toHexString(theme));
1594 if (theme != context.getThemeResId() || labelRes != 0) {
1597 context.setTheme(theme);
1659 // getDecorView() where the theme is evaluated... maybe
1660 // we should peek the floating attribute from the theme

Completed in 620 milliseconds

12