HomeSort by relevance Sort by last modified time
    Searched refs:getTheme (Results 1 - 25 of 574) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/tests/coretests/src/android/content/res/
ConfigurationBoundResourceCacheTest.java 54 assertEquals(null, mCache.getInstance(1, res, getActivity().getTheme()));
59 mCache.put(1, getActivity().getTheme(), new DummyFloatConstantState(5f));
62 assertEquals(5f, mCache.getInstance(1, res, getActivity().getTheme()));
63 assertNotSame(5f, mCache.getInstance(1, res, getActivity().getTheme()));
68 mCache.put(1, getActivity().getTheme(), new DummyFloatConstantState(5f));
73 assertEquals(5f, mCache.getInstance(1, res, getActivity().getTheme()));
74 assertNotSame(5f, mCache.getInstance(1, res, getActivity().getTheme()));
85 mCache.put(key, getActivity().getTheme(),
93 assertEquals(staticDim, mCache.getInstance(key, res, getActivity().getTheme()));
95 assertEquals(staticDim, mCache.getInstance(key, res, getActivity().getTheme()));
    [all...]
  /frameworks/support/design/src/android/support/design/widget/
BottomSheetDialogFragment.java 32 return new BottomSheetDialog(getContext(), getTheme());
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
TintContextWrapper.java 89 mTheme.setTo(base.getTheme());
97 public Resources.Theme getTheme() {
98 return mTheme == null ? super.getTheme() : mTheme;
ThemedSpinnerAdapter.java 125 } else if (theme == mContext.getTheme()) {
139 return mDropDownInflater == null ? null : mDropDownInflater.getContext().getTheme();
  /frameworks/base/core/java/android/service/wallpaper/
WallpaperSettingsActivity.java 40 Resources.Theme theme = getTheme();
  /frameworks/base/core/java/com/android/internal/app/
MediaRouteControllerDialogFragment.java 53 return new MediaRouteControllerDialog(context, getTheme());
  /frameworks/support/v7/appcompat/src/android/support/v7/view/
ContextThemeWrapper.java 60 public Resources.Theme getTheme() {
85 * Called by {@link #setTheme} and {@link #getTheme} to apply a theme
103 Resources.Theme theme = getBaseContext().getTheme();
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowContext.java 60 abstract public Resources.Theme getTheme();
65 return getTheme().obtainStyledAttributes(attrs);
71 return getTheme().obtainStyledAttributes(resid, attrs);
77 return getTheme().obtainStyledAttributes(set, attrs, 0, 0);
83 return getTheme().obtainStyledAttributes(
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
Drawable_ConstantStateTest.java 37 assertEquals(null, cs.newDrawable(mContext.getResources(), mContext.getTheme()));
  /cts/tests/tests/view/src/android/view/cts/
ContextThemeWrapperTest.java 50 new ContextThemeWrapper(getContext(), getContext().getTheme());
60 contextThemeWrapper.getTheme().obtainStyledAttributes(R.styleable.TextAppearance);
71 contextThemeWrapper.getTheme();
126 expected.setTo(getContext().getTheme());
  /developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/utils/
ResourceHelper.java 44 Resources.Theme theme = packageContext.getTheme();
  /developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/utils/
ResourceHelper.java 44 Resources.Theme theme = packageContext.getTheme();
  /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
ResourceHelper.java 44 Resources.Theme theme = packageContext.getTheme();
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
Display.java 50 if (context.getTheme().resolveAttribute(android.R.attr.actionBarSize, tv, true)) {
ListItem.java 43 getContext().getTheme().resolveAttribute(colorId, color, true);
  /frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
ResourceHelper.java 44 Resources.Theme theme = packageContext.getTheme();
  /frameworks/support/v7/appcompat/src/android/support/v7/app/
AppCompatDialogFragment.java 36 return new AppCompatDialog(getContext(), getTheme());
  /packages/apps/Settings/src/com/android/settings/
SetupRedactionInterstitial.java 51 resid = SetupWizardUtils.getTheme(getIntent());
  /packages/apps/TV/src/com/android/tv/dvr/ui/
HalfSizedDialogFragment.java 22 public int getTheme() {
  /frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
SimpleStringRecyclerViewAdapter.java 61 if (context.getTheme() != null) {
62 context.getTheme().resolveAttribute(R.attr.selectableItemBackground, val, true);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
ConfigurationTest.java 52 assertEquals("@style/Theme", configuration.getTheme());
87 ConfigurationChooser.getThemeLabel(configuration.getTheme(), true));
89 ConfigurationChooser.getThemeLabel(configuration.getTheme(), false));
113 assertEquals("@style/Theme", configuration.getTheme());
129 assertEquals("@android:style/Theme.Holo.Light", copy.getTheme());
140 assertEquals("@android:style/Theme.Holo.Light", copy.getTheme());
  /cts/tests/tests/content/src/android/content/res/cts/
TypedArrayTest.java 64 mTypedArray = getContext().getTheme().obtainStyledAttributes(R.style.Whatever, R.styleable.style1);
74 final TypedArray t = getContext().getTheme().obtainStyledAttributes(
100 final TypedArray t = getContext().getTheme().obtainStyledAttributes(
114 final TypedArray t = getContext().getTheme().obtainStyledAttributes(
167 final TypedArray t = getContext().getTheme().obtainStyledAttributes(
179 final TypedArray t = getContext().getTheme().obtainStyledAttributes(
198 final TypedArray test = contextThemeWrapper.getTheme().obtainStyledAttributes(
  /frameworks/support/v7/mediarouter/src/android/support/v7/app/
MediaRouterThemeHelper.java 77 return context.getTheme().resolveAttribute(attr, value, true) ? value.resourceId : 0;
82 return context.getTheme().resolveAttribute(android.R.attr.disabledAlpha, value, true)
146 context.getTheme().resolveAttribute(
154 return context.getTheme().resolveAttribute(
170 context.getTheme().resolveAttribute(attr, value, true);
  /frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
ButtonItemTest.java 47 item.getTheme());
114 assertEquals("ButtonItem theme should be 12345", 12345, item.getTheme());
115 button.getContext().getTheme();
  /frameworks/base/core/java/android/view/
ContextThemeWrapper.java 151 public Resources.Theme getTheme() {
175 * Called by {@link #setTheme} and {@link #getTheme} to apply a theme
193 final Resources.Theme theme = getBaseContext().getTheme();

Completed in 4417 milliseconds

1 2 3 4 5 6 7 8 91011>>