/external/llvm/docs/_themes/llvm-theme/ |
theme.conf | 0 [theme] 3 stylesheet = llvm-theme.css
|
/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;
|
ViewPressedModifier.java | 17 package android.theme.app.modifiers;
|
/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...] |
/external/wayland/cursor/ |
wayland-cursor.c | 144 struct wl_cursor_theme *theme; member in struct:cursor_image 164 struct wl_cursor_theme *theme = image->theme; local 168 wl_shm_pool_create_buffer(theme->pool->pool, 206 struct wl_cursor_theme *theme) 229 image->theme = theme; 238 image->offset = shm_pool_allocate(theme->pool, size); 243 memcpy(theme->pool->data + image->offset, 261 load_default_theme(struct wl_cursor_theme *theme) 350 struct wl_cursor_theme *theme = data; local 391 struct wl_cursor_theme *theme; local [all...] |
wayland-cursor.h | 57 wl_cursor_theme_destroy(struct wl_cursor_theme *theme); 60 wl_cursor_theme_get_cursor(struct wl_cursor_theme *theme,
|
xcursor.h | 56 XcursorLibraryLoadImages (const char *file, const char *theme, int size); 62 xcursor_load_theme(const char *theme, int size,
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
LayoutModifier.java | 17 package android.theme.app;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
SelectThemeAction.java | 33 public SelectThemeAction(ConfigurationChooser configuration, String title, String theme, 36 assert theme.startsWith(STYLE_RESOURCE_PREFIX) 37 || theme.startsWith(ANDROID_STYLE_RESOURCE_PREFIX) : theme; 39 mTheme = theme;
|
/frameworks/base/libs/androidfw/tests/ |
Theme_bench.cpp | 27 constexpr const static uint32_t kStyleId = 0x01030237u; // android:style/Theme.Material.Light 41 auto theme = assets.NewTheme(); local 42 theme->ApplyStyle(kStyleId, false /* force */); 58 std::unique_ptr<ResTable::Theme> theme{new ResTable::Theme(res_table)}; 59 theme->applyStyle(kStyleId, false /* force */); 70 auto theme = assets.NewTheme(); local 71 theme->ApplyStyle(kStyleId, false /* force */); 77 theme->GetAttribute(kAttrId, &value, &flags) [all...] |
Theme_test.cpp | 65 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); local 66 EXPECT_EQ(0u, theme->GetChangingConfigurations()); 67 EXPECT_EQ(&assetmanager, theme->GetAssetManager()); 71 EXPECT_EQ(kInvalidCookie, theme->GetAttribute(app::R::attr::attr_one, &value, &flags)); 78 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); local 79 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleOne)); 85 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); 91 cookie = theme->GetAttribute(app::R::attr::attr_two, &value, &flags) 102 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); local 135 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); local 147 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); local 181 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); local 216 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); local [all...] |
/frameworks/base/core/java/android/content/res/ |
ConfigurationBoundResourceCache.java | 33 * @param theme the theme where the resource will be used 37 public T getInstance(long key, Resources resources, Resources.Theme theme) { 38 final ConstantState<T> entry = get(key, theme); 40 return entry.newInstance(resources, theme);
|
DrawableCache.java | 22 * Class which can be used to cache Drawable resources against a theme. 30 * @param theme the theme where the resource will be used 34 public Drawable getInstance(long key, Resources resources, Resources.Theme theme) { 35 final Drawable.ConstantState entry = get(key, theme); 37 return entry.newDrawable(resources, theme);
|
/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/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...] |
/frameworks/layoutlib/bridge/src/android/content/res/ |
ComplexColor_Accessor.java | 24 import android.content.res.Resources.Theme; 31 * XmlPullParser, AttributeSet, Theme)} and {@link ColorStateList#createFromXmlInner(Resources, 32 * XmlPullParser, AttributeSet, Theme)} methods 36 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) 38 return GradientColor.createFromXmlInner(r, parser, attrs, theme); 42 @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) 44 return ColorStateList.createFromXmlInner(r, parser, attrs, theme);
|
/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...] |
WizardManagerHelper.java | 21 import android.content.res.Resources.Theme; 53 public static final String EXTRA_THEME = "theme"; 66 * theme used in setup wizard for Nougat MR1. 71 * Passed in a setup wizard intent as {@link #EXTRA_THEME}. This is the default theme used in 78 * theme used in setup wizard for O DR. 83 * Passed in a setup wizard intent as {@link #EXTRA_THEME}. This is the default theme used in 90 * theme used in setup wizard for P. 95 * Passed in a setup wizard intent as {@link #EXTRA_THEME}. This is the default theme used in 233 * Checks the intent whether the extra indicates that the light theme should be used or not. If 234 * the theme is not specified in the intent, or the theme specified is unknown, the value de 242 final String theme = intent.getStringExtra(EXTRA_THEME); local 280 final String theme = intent.getStringExtra(EXTRA_THEME); local [all...] |
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
ThemedSpinnerAdapter.java | 22 import android.content.res.Resources.Theme; 34 * against a different theme than normal views. 36 * Classes that implement this interface should use the theme provided to 37 * {@link #setDropDownViewTheme(Theme)} when creating views in 45 * Sets the {@link Resources.Theme} against which drop-down views are 48 * @param theme the context against which to inflate drop-down views, or 49 * {@code null} to use the default theme 52 void setDropDownViewTheme(@Nullable Resources.Theme theme); 56 * {@link #setDropDownViewTheme(Theme)} [all...] |
/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/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/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});
|
/packages/apps/Music/src/com/android/music/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});
|
/cts/tests/tests/theme/src/android/theme/cts/ |
DeviceDefaultActivity.java | 17 package android.theme.cts; 19 import android.theme.cts.R;
|
/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...] |