HomeSort by relevance Sort by last modified time
    Searched defs:theme (Results 26 - 50 of 575) sorted by null

12 3 4 5 6 7 8 91011>>

  /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...]
  /frameworks/layoutlib/bridge/src/android/content/res/
Resources_Theme_Delegate.java 29 import android.content.res.Resources.Theme;
35 * Delegate used to provide new implementation of a select few methods of {@link Resources.Theme}
37 * Through the layoutlib_create tool, the original methods of Theme have been replaced
56 Resources thisResources, Theme thisTheme,
67 Resources thisResources, Theme thisTheme,
80 Resources thisResources, Theme thisTheme,
92 Resources thisResources, Theme thisTheme,
103 /*package*/ static TypedArray resolveAttributes(Resources thisResources, Theme thisTheme,
111 private static boolean setupResources(Theme thisTheme) {
112 // Key is a space-separated list of theme ids applied that have been merged into th
143 ResourceReference theme = context.resolveId(nativeResid); local
    [all...]
  /frameworks/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/
ErrorCatcher.java 17 package com.android.tools.idea.editors.theme.widgets;
31 * This is used by the theme editor to stop custom views from breaking the preview.
  /frameworks/support/samples/Support4Demos/src/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/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/
MediaAppInfo.java 39 fetchAppColors(packageName, appInfo.theme, context);
54 Resources.Theme theme = packageContext.getTheme(); local
55 ta = theme.obtainStyledAttributes(new int[]{ android.R.attr.colorAccent });
  /frameworks/base/core/tests/coretests/src/android/content/res/
ResourcesManagerTest.java 189 Resources.Theme theme = resources1.newTheme(); local
190 assertSame(resources1, theme.getResources());
191 theme.applyStyle(android.R.style.Theme_NoTitleBar, false);
194 assertTrue(theme.resolveAttribute(android.R.attr.windowNoTitle, value, true));
202 assertSame(resources1, theme.getResources());
205 assertTrue(theme.resolveAttribute(android.R.attr.windowNoTitle, value, true));
ConfigurationBoundResourceCacheTest.java 171 final Resources.Theme theme = i == 0 ? getActivity().getTheme() : null; local
172 mCache.put(R.dimen.resource_cache_test_generic, theme,
174 mCache.put(R.dimen.resource_cache_test_orientation_dependent, theme,
185 final Resources.Theme theme = i == 0 ? getActivity().getTheme() : null; local
187 mCache.getInstance(R.dimen.resource_cache_test_generic, res, theme));
190 theme));
194 final Resources.Theme theme = i == 0 ? getActivity().getTheme() : null local
    [all...]
  /cts/hostsidetests/theme/app/src/android/theme/app/
GenerateBitmapTask.java 17 package android.theme.app;
ThemeTestUtils.java 17 package android.theme.app;
GenerateImagesActivity.java 17 package android.theme.app;
44 private static final String OUT_DIR = "cts-theme-assets";
149 final ThemeDeviceActivity.Theme theme = ThemeDeviceActivity.THEMES[mCurrentTheme]; local
150 if (theme.apiLevel > VERSION.SDK_INT) {
151 Log.v(TAG, "Skipping theme \"" + theme.name
152 + "\" (requires API " + theme.apiLevel + ")");
156 Log.v(TAG, "Generating images for theme \"" + theme.name + "\"...")
    [all...]
ThemeDeviceActivity.java 17 package android.theme.app;
23 import android.theme.app.modifiers.DatePickerModifier;
24 import android.theme.app.modifiers.ProgressBarModifier;
25 import android.theme.app.modifiers.SearchViewModifier;
26 import android.theme.app.modifiers.TimePickerModifier;
27 import android.theme.app.modifiers.ViewCheckedModifier;
28 import android.theme.app.modifiers.ViewPressedModifier;
41 public static final String EXTRA_THEME = "theme";
52 private Theme mTheme;
65 Log.e(TAG, "No theme specified")
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/
SetupWizardUtilsTest.java 51 final String theme = "TEST_THEME"; local
52 fromIntent.putExtra(WizardManagerHelper.EXTRA_THEME, theme);
57 assertThat(theme).isEqualTo(toIntent.getStringExtra(WizardManagerHelper.EXTRA_THEME));
  /cts/tests/tests/content/src/android/content/res/cts/
ColorStateListTest.java 27 import android.content.res.Resources.Theme;
64 final Theme theme = res.newTheme(); local
65 theme.applyStyle(R.style.Theme_ThemedDrawableTest, true);
66 final ColorStateList c = ColorStateList.createFromXml(res, res.getXml(xmlId), theme);
TypedArrayTest.java 257 final Resources.Theme theme = resources.newTheme(); local
258 theme.applyStyle(R.style.Whatever, false);
260 final TypedArray ta = theme.obtainStyledAttributes(parser, R.styleable.style1, 0, 0);
  /cts/tests/tests/theme/src/android/theme/cts/
DeviceDefaultTest.java 17 package android.theme.cts;
  /development/samples/ApiDemos/src/com/example/android/apis/app/
FragmentDialog.java 92 case 4: return "STYLE_NORMAL with dark fullscreen theme";
93 case 5: return "STYLE_NORMAL with light theme";
94 case 6: return "STYLE_NO_TITLE with light theme";
95 case 7: return "STYLE_NO_FRAME with light theme";
96 case 8: return "STYLE_NORMAL with light fullscreen theme";
126 int style = DialogFragment.STYLE_NORMAL, theme = 0; local
138 case 4: theme = android.R.style.Theme_Holo; break;
139 case 5: theme = android.R.style.Theme_Holo_Light_Dialog; break;
140 case 6: theme = android.R.style.Theme_Holo_Light; break;
141 case 7: theme = android.R.style.Theme_Holo_Light_Panel; break
    [all...]
  /external/pdfium/xfa/fwl/
cfwl_form.cpp 24 #include "xfa/fwl/theme/cfwl_widgettp.h"
183 IFWL_ThemeProvider* theme = GetAvailableTheme(); local
184 m_fCXBorder = theme ? theme->GetCXBorderSize() : 0.0f;
185 m_fCYBorder = theme ? theme->GetCYBorderSize() : 0.0f;
cfwl_datetimepicker.cpp 80 IFWL_ThemeProvider* theme = GetAvailableTheme(); local
81 if (!theme)
84 FX_FLOAT fBtn = theme->GetScrollBarWidth();
421 IFWL_ThemeProvider* theme = GetAvailableTheme(); local
422 if (!theme)
425 m_fBtn = theme->GetScrollBarWidth();
  /frameworks/base/core/java/android/app/
Presentation.java 160 * using the default theme.
173 * using the optionally specified theme.
179 * @param theme A style resource describing the theme to use for the window.
181 * Style and Theme Resources</a> for more information about defining and using
182 * styles. This theme is applied on top of the current theme in
183 * <var>outerContext</var>. If 0, the default presentation theme will be used.
185 public Presentation(Context outerContext, Display display, int theme) {
186 super(createPresentationContext(outerContext, display, theme), theme, false) local
    [all...]
  /frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
FragmentDialogSupport.java 94 case 4: return "STYLE_NORMAL with dark fullscreen theme";
95 case 5: return "STYLE_NORMAL with light theme";
96 case 6: return "STYLE_NO_TITLE with light theme";
97 case 7: return "STYLE_NO_FRAME with light theme";
98 case 8: return "STYLE_NORMAL with light fullscreen theme";
128 int style = DialogFragment.STYLE_NORMAL, theme = 0; local
139 case 2: theme = android.R.style.Theme_Panel; break;
140 case 4: theme = android.R.style.Theme; break;
141 case 5: theme = android.R.style.Theme_Light; break
    [all...]
  /packages/apps/Settings/src/com/android/settings/display/
ThemePreferenceController.java 46 private static final String KEY_THEME = "theme";
93 String theme = getCurrentTheme(); local
97 if (TextUtils.equals(pkgs[i], theme)) {
108 pref.setValue(theme);
  /packages/apps/Settings/src/com/android/settings/password/
ChooseLockSettingsHelper.java 113 * get a dark theme, allow fingerprint authentication and it will forward
134 * get a dark theme, allow fingerprint authentication and it will forward
189 * get a dark theme, allow fingerprint authentication and it will forward
311 String theme = inIntent.getStringExtra(WizardManagerHelper.EXTRA_THEME); local
312 if (theme != null) {
313 outIntent.putExtra(WizardManagerHelper.EXTRA_THEME, theme);
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
VectorDrawableTest.java 24 import android.content.res.Resources.Theme;
255 Theme theme = mResources.newTheme(); local
256 theme.applyStyle(R.style.Theme_ThemedDrawableTest, true);
257 vectorDrawable.inflate(mResources, parser, attrs, theme);
459 // Ensure theme density is applied correctly.
460 final Theme t = res.newTheme();
  /frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
RenderTests.java 103 layoutLibCallback, "Theme.NoTitleBar", false,
106 renderAndVerify(params, "simple_activity-old-theme.png");
117 layoutLibCallback, "Theme.Material.Light.NoActionBar.TranslucentDecor", false,
123 layoutLibCallback, "Theme.Material.Light.NoActionBar.TranslucentDecor", false,
129 layoutLibCallback, "Theme.Material.Light.NoActionBar", false,
179 layoutLibCallback, "Theme.Material.Light.NoActionBar", false,
186 layoutLibCallback, "Theme.Material.Light", false,
191 // This also tests that a theme with "NoActionBar" DOES HAVE an action bar when we are
195 layoutLibCallback, "Theme.Material.Light.NoActionBar", false,
226 layoutLibCallback, "Theme.Material.Light.NoActionBar", false
664 Resources.Theme theme = mContext.getResources().newTheme(); local
    [all...]
  /cts/hostsidetests/theme/src/android/theme/cts/
ComparisonTask.java 17 package android.theme.cts;

Completed in 1043 milliseconds

12 3 4 5 6 7 8 91011>>