HomeSort by relevance Sort by last modified time
    Searched refs:theme (Results 176 - 200 of 806) sorted by null

1 2 3 4 5 6 78 91011>>

  /frameworks/support/compat/src/main/java/androidx/core/content/res/
TypedArrayUtils.java 182 * Obtains styled attributes from the theme, if available, or unstyled
183 * resources if the theme is null.
187 @Nullable Resources.Theme theme, @NonNull AttributeSet set, @NonNull int[] attrs) {
188 if (theme == null) {
191 return theme.obtainStyledAttributes(set, attrs, 0, 0);
  /frameworks/support/fragment/src/main/java/androidx/fragment/app/
DialogFragment.java 85 private static final String SAVED_THEME = "android:theme";
107 * taking care of selecting flags, theme, and other options for you. The
115 * @param theme Optional custom theme. If 0, an appropriate theme (based
118 public void setStyle(@DialogStyle int style, @StyleRes int theme) {
123 if (theme != 0) {
124 mTheme = theme;
  /packages/apps/Settings/src/com/android/settings/display/
ThemePreferenceController.java 45 private static final String KEY_THEME = "theme";
92 String theme = getCurrentTheme(); local
96 if (TextUtils.equals(pkgs[i], theme)) {
107 pref.setValue(theme);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
Configuration.java 68 * A {@linkplain Configuration} is a selection of device, orientation, theme,
78 /** The theme in change flags or override flags */
128 /** The theme style to render with */
321 * Returns the current theme style
323 * @return the theme style
351 * Returns whether the configuration's theme is a project theme.
356 * @return true for project a theme, false for a framework theme
359 String theme = getTheme() local
643 String theme = getTheme(); local
    [all...]
  /frameworks/support/graphics/drawable/static/src/main/java/androidx/vectordrawable/graphics/drawable/
VectorDrawableCompat.java 22 import android.content.res.Resources.Theme;
197 * Note that theme attributes in XML file are supported through
198 * <code>{@link #inflate(Resources, XmlPullParser, AttributeSet, Theme)}</code>.
493 // Don't support re-applying themes. The initial theme loading is working.
548 * @param theme the theme of this vector drawable, it can be null.
553 @Nullable Theme theme) {
556 drawable.mDelegateDrawable = ResourcesCompat.getDrawable(res, resId, theme);
573 return createFromXmlInner(res, parser, attrs, theme);
    [all...]
  /cts/hostsidetests/theme/app/src/android/theme/app/
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...]
  /frameworks/base/core/jni/
android_util_AssetManager.cpp 1036 Theme* theme = reinterpret_cast<Theme*>(theme_ptr); local
1111 Theme* theme = reinterpret_cast<Theme*>(theme_ptr); local
1196 Theme* theme = reinterpret_cast<Theme*>(theme_ptr); local
1225 Theme* theme = reinterpret_cast<Theme*>(theme_ptr); local
1251 Theme* theme = reinterpret_cast<Theme*>(theme_ptr); local
1262 Theme* theme = reinterpret_cast<Theme*>(theme_ptr); local
    [all...]
  /external/pdfium/xfa/fwl/
cfwl_datetimepicker.cpp 79 IFWL_ThemeProvider* theme = GetAvailableTheme(); local
80 if (!theme)
83 float fBtn = theme->GetScrollBarWidth();
422 IFWL_ThemeProvider* theme = GetAvailableTheme(); local
423 if (!theme)
426 m_fBtn = theme->GetScrollBarWidth();
cfwl_listbox.cpp 478 IFWL_ThemeProvider* theme = GetAvailableTheme(); local
479 CFX_RectF pUIMargin = theme ? theme->GetUIMargin(&part) : CFX_RectF();
610 IFWL_ThemeProvider* theme = GetAvailableTheme(); local
611 return theme ? theme->GetScrollBarWidth() : 0.0f;
615 IFWL_ThemeProvider* theme = GetAvailableTheme(); local
618 return (theme ? theme->GetFontSize(&part) : 20.0f) + 2 * kItemTextMargin;
  /packages/apps/Settings/src/com/android/settings/password/
ChooseLockSettingsHelper.java 120 * get a dark theme, allow fingerprint authentication and it will forward
141 * get a dark theme, allow fingerprint authentication and it will forward
196 * get a dark theme, allow fingerprint authentication and it will forward
287 // TODO: Remove dark theme and show_cancel_button options since they are no longer used
343 String theme = inIntent.getStringExtra(WizardManagerHelper.EXTRA_THEME); local
344 if (theme != null) {
345 outIntent.putExtra(WizardManagerHelper.EXTRA_THEME, theme);
  /cts/tests/app/app/src/android/app/stubs/
DialogStubActivity.java 360 public MockAlertDialog(Context context, int theme) {
361 super(context, theme);
418 public MockDatePickerDialog(Context context, int theme, OnDateSetListener callBack,
420 super(context, theme, callBack, year, monthOfYear, dayOfMonth);
TestDialog.java 91 public TestDialog(Context context, int theme) {
92 super(context, theme);
  /sdk/eclipse/scripts/
_mk_icons.sh 29 icon T blue theme
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
ViewMetadataRepository.java 768 * current theme or density if there's no chance that valid insets will be returned
774 * theme and the given screen density.
778 * @param theme the theme name
782 public static Margins getInsets(String fqcn, Density density, String theme) {
787 if (theme.startsWith(HOLO_PREFIX)) {
788 // Theme.Holo, Theme.Holo.Light, WVGA
791 // Theme.Light, WVGA
795 if (theme.startsWith(HOLO_PREFIX))
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
VectorDrawable.java 24 import android.content.res.Resources.Theme;
360 * after inflating or applying a theme.
593 public void applyTheme(Theme t) {
621 // Apply theme to contained color state list.
685 @NonNull AttributeSet attrs, @Nullable Theme theme)
710 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.VectorDrawable);
717 inflateChildElements(r, parser, attrs, theme);
733 // Extract the theme attributes, if any.
798 Theme theme) throws XmlPullParserException, IOException
    [all...]
  /cts/hostsidetests/theme/
Android.mk 36 LOCAL_CTS_TEST_PACKAGE := android.host.theme
  /cts/tests/tests/content/src/android/content/pm/cts/
PackageInfoTest.java 93 assertEquals(expected.theme, actual.theme);
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DrawableTest.java 28 import android.content.res.Resources.Theme;
360 Theme theme = mResources.newTheme(); local
361 theme.applyStyle(R.style.Theme_ThemedDrawableTest, true);
362 Drawable drawable = Drawable.createFromXml(mResources, parser, theme);
365 Drawable expected = mResources.getDrawable(R.drawable.gradientdrawable_theme, theme);
392 Theme theme = mResources.newTheme(); local
393 theme.applyStyle(R.style.Theme_ThemedDrawableTest, true);
394 Drawable drawable = Drawable.createFromXmlInner(mResources, parser, attrs, theme);
    [all...]
  /development/tools/checkcolor/src/main/java/com/google/checkcolor/lint/
HardcodedColorDetector.java 71 "Hardcoded color values are bad because theme changes cannot be uniformly applied." +
72 "Instead use the theme specific colors such as `?android:attr/textColorPrimary` in " +
74 "This ensures that a theme change from a light to a dark theme can be uniformly" +
129 } else if (resUrl != null && resUrl.type == ResourceType.COLOR && !resUrl.theme) {
165 && !resUrl.theme) {
  /frameworks/base/core/java/com/android/internal/app/
MediaRouteChooserDialog.java 62 public MediaRouteChooserDialog(Context context, int theme) {
63 super(context, theme);
  /frameworks/base/core/proto/android/content/
package_item_info.proto 46 optional int32 theme = 7;
  /frameworks/base/packages/SystemUI/src/com/android/keyguard/
KeyguardDisplayManager.java 160 public KeyguardPresentation(Context context, Display display, int theme) {
161 super(context, display, theme);
  /frameworks/support/graphics/drawable/animated/src/main/java/androidx/vectordrawable/graphics/drawable/
PathInterpolatorCompat.java 71 public PathInterpolatorCompat(Resources res, Resources.Theme theme, AttributeSet attrs,
73 TypedArray a = TypedArrayUtils.obtainAttributes(res, theme,
  /frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
DrawerLayoutActivity.java 130 // your activity theme to have attribute named "drawerArrowStyle" that points
151 // from the theme makes the status bar slightly darker.
167 final Resources.Theme theme = mDrawerLayout.getContext().getTheme();
168 final TypedArray a = theme.obtainStyledAttributes(
  /frameworks/support/slices/view/src/main/java/androidx/slice/widget/
SliceViewUtil.java 123 int theme = ta.getResourceId(0, 0); local
125 return theme;

Completed in 1075 milliseconds

1 2 3 4 5 6 78 91011>>