HomeSort by relevance Sort by last modified time
    Searched defs:theme (Results 1 - 25 of 601) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/service/wallpaper/
WallpaperSettingsActivity.java 26 * proper theme of the activity depending on how it is being used.
40 Resources.Theme theme = getTheme(); local
42 theme.applyStyle(com.android.internal.R.style.PreviewWallpaperSettings, true);
44 theme.applyStyle(com.android.internal.R.style.ActiveWallpaperSettings, true);
  /cts/hostsidetests/theme/app/src/android/theme/app/
LayoutModifier.java 17 package android.theme.app;
ReferenceImagesTest.java 17 package android.theme.app;
ReferenceViewGroup.java 17 package android.theme.app;
19 import android.theme.app.R;
  /cts/hostsidetests/theme/app/src/android/theme/app/modifiers/
AbstractLayoutModifier.java 17 package android.theme.app.modifiers;
19 import android.theme.app.LayoutModifier;
DatePickerModifier.java 17 package android.theme.app.modifiers;
19 import android.theme.app.LayoutModifier;
TimePickerModifier.java 17 package android.theme.app.modifiers;
ViewCheckedModifier.java 17 package android.theme.app.modifiers;
ViewPressedModifier.java 17 package android.theme.app.modifiers;
ProgressBarModifier.java 17 package android.theme.app.modifiers;
SearchViewModifier.java 17 package android.theme.app.modifiers;
19 import android.theme.app.R;
  /cts/tests/tests/theme/src/android/theme/cts/
DeviceDefaultActivity.java 17 package android.theme.cts;
19 import android.theme.cts.R;
  /frameworks/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/
PressedButton.java 17 package com.android.tools.idea.editors.theme.widgets;
  /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
FallbackThemeWrapper.java 20 import android.content.res.Resources.Theme;
25 * Same as {@link ContextThemeWrapper}, but the base context's theme attributes take precedence
26 * over the wrapper context's. This is used to provide default values for theme attributes
28 * theme.
33 * Creates a new context wrapper with the specified theme.
35 * The specified theme will be applied as fallbacks to the base context's theme. Any attributes
36 * defined in the base context's theme will retain their original values. Otherwise values in
40 * @param themeResId The theme to use as fallback.
50 protected void onApplyThemeResource(Theme theme, int resId, boolean first)
    [all...]
  /frameworks/av/packages/MediaComponents/src/com/android/media/update/
ApiHelper.java 25 import android.content.res.Resources.Theme;
45 private static Theme sLibTheme;
61 public static Theme getLibTheme(Context context) {
67 public static Theme getLibTheme(Context context, int themeId) {
68 Theme theme = getLibResources(context).newTheme(); local
69 theme.applyStyle(themeId, true);
70 return theme;
77 public static LayoutInflater getLayoutInflater(Context context, Theme theme) {
    [all...]
  /frameworks/base/core/java/android/view/
ContextThemeWrapper.java 27 * A context wrapper that allows you to modify or replace the theme of the
32 private Resources.Theme mTheme;
38 * Creates a new context wrapper with no theme and no base context.
49 * Creates a new context wrapper with the specified theme.
51 * The specified theme will be applied on top of the base context's theme.
52 * Any attributes not explicitly defined in the theme identified by
56 * @param themeResId the resource ID of the theme to be applied on top of
57 * the base context's theme
65 * Creates a new context wrapper with the specified theme
193 final Resources.Theme theme = getBaseContext().getTheme(); local
    [all...]
  /frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/
ContextThemeWrapper.java 31 * A context wrapper that allows you to modify or replace the theme of the wrapped context.
35 private Resources.Theme mTheme;
41 * Creates a new context wrapper with no theme and no base context.
52 * Creates a new context wrapper with the specified theme.
54 * The specified theme will be applied on top of the base context's theme.
55 * Any attributes not explicitly defined in the theme identified by
59 * @param themeResId the resource ID of the theme to be applied on top of
60 * the base context's theme
68 * Creates a new context wrapper with the specified theme
184 Resources.Theme theme = getBaseContext().getTheme(); local
    [all...]
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/
Utils.java 26 import android.content.res.Resources.Theme;
115 Theme theme = context.getTheme(); local
117 theme.resolveAttribute(attr, typedValue, true);
  /cts/tests/tests/content/src/android/content/res/cts/
Resources_ThemeTest.java 25 import android.content.res.Resources.Theme;
42 private Resources.Theme mResTheme;
57 final Theme other = getContext().getTheme();
104 Resources.Theme theme = getContext().getResources().newTheme(); local
106 0, theme.getChangingConfigurations());
108 theme.applyStyle(R.style.Theme_OrientationDependent, true);
109 assertEquals("First call to Theme.applyStyle() sets changing configuration",
110 ActivityInfo.CONFIG_ORIENTATION, theme.getChangingConfigurations());
112 theme.applyStyle(R.style.Theme_LayoutDirectionDependent, true)
134 Resources.Theme theme = res.newTheme(); local
157 final Theme theme = res.newTheme(); local
167 final Theme theme = res.newTheme(); local
174 final Theme theme = res.newTheme(); local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/util/
ThemeUtils.java 19 import android.content.res.Resources.Theme;
23 * Provides static functions to more easily resolve attributes of the current theme
27 * Resolves the given attribute id of the theme to a resource id
29 public static int getAttribute(Theme theme, int attrId) {
31 theme.resolveAttribute(attrId, outValue, true);
38 public static int getSelectableItemBackground(Theme theme) {
39 return getAttribute(theme, android.R.attr.selectableItemBackground);
45 public static int getActivatedBackground(Theme theme)
    [all...]
  /packages/apps/Settings/src/com/android/settings/
SetupWizardUtils.java 28 static final String SYSTEM_PROP_SETUPWIZARD_THEME = "setupwizard.theme";
31 String theme = intent.getStringExtra(WizardManagerHelper.EXTRA_THEME); local
32 if (theme == null) {
33 theme = SystemProperties.get(SYSTEM_PROP_SETUPWIZARD_THEME);
35 if (theme != null) {
36 switch (theme) {
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
ThemedDrawableTest.java 24 import android.content.res.Resources.Theme;
54 final Theme theme = mContext.getResources().newTheme(); local
55 theme.applyStyle(R.style.Theme_ThemedDrawableTest, true);
56 final Theme ctxTheme = mContext.getTheme();
57 ctxTheme.setTo(theme);
63 assertTrue("Theme was applied correctly", t.getInt(0, -1) == 0);
  /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
ResourceHelper.java 30 * Get a color value from a theme attribute.
32 * @param attribute theme attribute.
43 packageContext.setTheme(applicationInfo.theme);
44 Resources.Theme theme = packageContext.getTheme(); local
45 TypedArray ta = theme.obtainStyledAttributes(new int[] {attribute});
  /frameworks/base/core/java/com/android/internal/app/
MediaRouteChooserDialogFragment.java 46 int theme = MediaRouteChooserDialog.isLightTheme(getContext()) local
51 setStyle(STYLE_NORMAL, theme);
MediaRouteDialogPresenter.java 74 int theme = MediaRouteChooserDialog.isLightTheme(context) local
80 final MediaRouteChooserDialog d = new MediaRouteChooserDialog(context, theme);
85 MediaRouteControllerDialog d = new MediaRouteControllerDialog(context, theme);

Completed in 343 milliseconds

1 2 3 4 5 6 7 8 91011>>