/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperSettingsActivity.java | 26 * 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 D | ContextThemeWrapper.java | 25 * A ContextWrapper that allows you to modify the theme from what is in the 83 * Called by {@link #setTheme} and {@link #getTheme} to apply a theme 88 * @param theme The Theme object being modified. 89 * @param resid The theme style resource being applied to <var>theme</var>. 91 * applied to <var>theme</var>. 93 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { argument 94 theme.applyStyle(resid, true); 101 Resources.Theme theme = mBase.getTheme(); 102 if (theme ! [all...] |
H A D | IWindowManager.aidl | 90 void setAppStartingWindow(IBinder token, String pkg, int theme,
|
H A D | WindowManagerPolicy.java | 618 * @param theme Resource defining the application's overall visual theme. 631 int theme, CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, 630 addStartingWindow(IBinder appToken, String packageName, int theme, CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, int windowFlags) argument
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | StartingData.java | 23 final int theme; field in class:StartingData 34 theme = _theme;
|
H A D | WindowManagerService.java | 4015 int theme, CompatibilityInfo compatInfo, 4168 if (DEBUG_STARTING_WINDOW) Slog.v(TAG, "Checking theme of starting window: 0x" 4169 + Integer.toHexString(theme)); 4170 if (theme != 0) { 4171 AttributeCache.Entry ent = AttributeCache.instance().get(pkg, theme, 4198 // If this theme is requesting a wallpaper, and the wallpaper 4212 wtoken.startingData = new StartingData(pkg, theme, compatInfo, nonLocalizedLabel, 5848 * theme attribute) on devices that feature a physical options menu key attempt to position 6988 wtoken.token, sd.pkg, sd.theme, sd.compatInfo, 8121 // what will control the animation theme 4014 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/content/pm/ |
H A D | ActivityInfo.java | 33 * activity's theme. From the "theme" attribute or, if not set, 0. 35 public int theme; field in class:ActivityInfo 433 * the mode from the theme will be used. 463 theme = orig.theme; 477 * Return the theme resource identifier to use for this activity. If 478 * the activity defines a theme, that is used; else, the application 479 * theme is used. 481 * @return The theme associate [all...] |
H A D | ApplicationInfo.java | 71 * default visual theme of the application. From the "theme" attribute 74 public int theme; field in class:ApplicationInfo 452 + " theme=0x" + Integer.toHexString(theme)); 525 theme = orig.theme; 563 dest.writeInt(theme); 601 theme = source.readInt();
|
H A D | PackageParser.java | 1729 ai.theme = sa.getResourceId( 2050 a.info.theme = sa.getResourceId( 2311 info.theme = target.info.theme;
|
/frameworks/base/core/java/android/content/res/ |
H A D | AssetManager.java | 227 /*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/java/android/app/ |
H A D | TimePickerDialog.java | 79 * @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 D | AlertDialog.java | 68 * 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 createContextWrapper) argument 373 Builder(Context context, int theme) argument [all...] |
H A D | DatePickerDialog.java | 84 * @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 D | DialogFragment.java | 171 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 D | Dialog.java | 127 * 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 D | ProgressDialog.java | 81 public ProgressDialog(Context context, int theme) { argument 82 super(context, theme);
|
H A D | Activity.java | 92 * windows (via a theme with {@link android.R.attr#windowIsFloating} set) 3272 // Make sure that action views can get an appropriate theme. 3285 protected void onApplyThemeResource(Resources.Theme theme, int resid, argument 3288 super.onApplyThemeResource(theme, resid, first); 3291 theme.setTo(mParent.getTheme()); 3295 theme.applyStyle(resid, false); 4012 * {@link android.R.attr#windowNoDisplay} attribute of the activity's theme.
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | SoftInputWindow.java | 48 * 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 D | InputMethodService.java | 602 * You can call this to customize the theme used by your IME's window. 603 * This theme should typically be one that derives from 604 * {@link android.R.style#Theme_InputMethod}, which is the default theme 607 * of your custom theme. 610 public void setTheme(int theme) { argument 614 mTheme = theme;
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | DialogFragment.java | 68 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/jni/ |
H A D | android_util_AssetManager.cpp | 811 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/services/java/com/android/server/am/ |
H A D | ActivityRecord.java | 81 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)); 373 theme = aInfo.getThemeResource(); 374 realTheme = theme;
|
H A D | ActivityStack.java | 1695 next.appToken, next.packageName, next.theme, 1734 next.appToken, next.packageName, next.theme, 1870 r.appToken, r.packageName, r.theme,
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | MediaRouteChooserDialogFragment.java | 622 public RouteChooserDialog(Context context, int theme) { argument 623 super(context, theme);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PhoneWindowManager.java | 1461 public View addStartingWindow(IBinder appToken, String packageName, int theme, argument 1474 + ": nonLocalizedLabel=" + nonLocalizedLabel + " theme=" 1475 + Integer.toHexString(theme)); 1476 if (theme != context.getThemeResId() || labelRes != 0) { 1479 context.setTheme(theme); 1536 // getDecorView() where the theme is evaluated... maybe 1537 // we should peek the floating attribute from the theme
|