Searched refs:theme (Results 126 - 142 of 142) sorted by relevance

123456

/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DBridgeInflater.java78 * not trivial to check from layoutlib, we currently base the decision on the current theme
79 * being an AppCompat theme.
95 private static final int[] ATTRS_THEME = new int[] {com.android.internal.R.attr.theme };
154 // We are using an AppCompat theme so try to load the appcompat views
229 // Apply a theme wrapper, if allowed and one is specified.
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DPackageParserTest.java380 assertEquals(a.theme, that.theme);
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityRecord.java240 private int theme; // resource identifier of activity's theme. field in class:ActivityRecord
241 private int realTheme; // actual theme resource we will use, never 0.
401 pw.print(" theme=0x"); pw.println(Integer.toHexString(theme));
872 theme = aInfo.getThemeResource();
873 realTheme = theme;
2172 final boolean shown = mWindowContainerController.addStartingWindow(packageName, theme,
/frameworks/base/core/java/android/view/
H A DViewDebug.java863 * Dumps the theme attributes from the given View.
895 * @param theme Theme to dump.
901 private static String[] getStyleAttributesDump(Resources resources, Resources.Theme theme) { argument
905 int[] attributes = theme.getAllAttributes();
910 data[i + 1] = theme.resolveAttribute(attributeId, outValue, true) ?
H A DWindowManagerPolicy.java967 * @param theme Resource defining the application's overall visual theme.
980 public StartingSurface addSplashScreen(IBinder appToken, String packageName, int theme, argument
H A DLayoutInflater.java109 com.android.internal.R.attr.theme };
201 * Views; most importantly, this supplies the theme from which the default
240 * with the new Context theme.
744 * @param ignoreThemeAttr {@code true} to ignore the {@code android:theme}
754 // Apply a theme wrapper, if allowed and one is specified.
901 // Apply a theme wrapper, if requested. This is sort of a weird
904 // included View has a theme attribute, we'll need to ignore it.
913 // If the layout is pointing to a theme attribute, we have to
930 // The layout might be referencing a theme attribute.
961 // The <merge> tag doesn't support android:theme, s
[all...]
H A DView.java612 * By default, Views are created using the theme of the Context object supplied
613 * to their constructor; however, a different theme may be specified by using
614 * the {@link android.R.styleable#View_theme android:theme} attribute in layout
619 * When the {@link android.R.styleable#View_theme android:theme} attribute is
620 * used in XML, the specified theme is applied on top of the inflation
621 * context's theme (see {@link LayoutInflater}) and used for the view itself as
626 * color scheme; however, because an overlay theme is used which only defines a
629 * the inflation context's theme (e.g. the Activity theme) will be preserved.
633 * android:theme
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteControllerDialog.java203 public MediaRouteControllerDialog(Context context, int theme) { argument
205 MediaRouterThemeHelper.getAlertDialogResolvedTheme(context, theme)), theme);
/frameworks/base/core/java/android/service/voice/
H A DVoiceInteractionSession.java1217 * You can call this to customize the theme used by your IME's window.
1220 * of your custom theme.
1222 public void setTheme(int theme) { argument
1226 mTheme = theme;
/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java2827 public StartingSurface addSplashScreen(IBinder appToken, String packageName, int theme, argument
2843 + ": nonLocalizedLabel=" + nonLocalizedLabel + " theme="
2844 + Integer.toHexString(theme));
2854 if (theme != context.getThemeResId() || labelRes != 0) {
2857 context.setTheme(theme);
2867 overrideContext.setTheme(theme);
7303 int theme;
7305 theme = com.android.internal.R.style.Theme_Leanback_Dialog_Alert;
7307 theme = 0;
7310 mBootMsgDialog = new ProgressDialog(mContext, theme) {
[all...]
/frameworks/base/core/java/android/app/
H A DActivity.java144 * windows (via a theme with {@link android.R.attr#windowIsFloating} set)
2597 "android:windowActionBar to false in your theme to use a Toolbar instead.");
4226 // Make sure that action views can get an appropriate theme.
4245 protected void onApplyThemeResource(Resources.Theme theme, @StyleRes int resid, argument
4248 super.onApplyThemeResource(theme, resid, first);
4251 theme.setTo(mParent.getTheme());
4255 theme.applyStyle(resid, false);
4259 TypedArray a = theme.obtainStyledAttributes(
5394 * {@link android.R.attr#windowNoDisplay} attribute of the activity's theme.
7536 * Note that the system may use the window background of the theme instea
[all...]
H A DActivityThread.java2761 int theme = r.activityInfo.getThemeResource();
2762 if (theme != 0) {
2763 activity.setTheme(theme);
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java770 * You can call this to customize the theme used by your IME's window.
771 * This theme should typically be one that derives from
772 * {@link android.R.style#Theme_InputMethod}, which is the default theme
775 * of your custom theme.
778 public void setTheme(int theme) { argument
782 mTheme = theme;
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DTimePickerDialog.java131 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.
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/pm/
H A DPackageParser.java3429 ai.theme = sa.getResourceId(
4118 a.info.theme = sa.getResourceId(R.styleable.AndroidManifestActivity_theme, 0);
4653 info.theme = target.info.theme;
/frameworks/base/core/java/android/widget/
H A DTextView.java697 // they are defined by the TextView's style and are theme-dependent.
867 final Resources.Theme theme = context.getTheme();
875 TypedArray a = theme.obtainStyledAttributes(attrs,
882 appearance = theme.obtainStyledAttributes(
994 a = theme.obtainStyledAttributes(
3848 * Note that the default hyphenation frequency value is set from the theme.
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java10993 mResolveActivity.theme = R.style.Theme_Material_Dialog_Alert;
11724 mResolveActivity.theme = 0;
[all...]

Completed in 433 milliseconds

123456