Searched refs:getTheme (Results 1 - 25 of 134) sorted by relevance

123456

/frameworks/base/core/tests/coretests/src/android/content/res/
H A DConfigurationBoundResourceCacheTest.java54 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/
H A DBottomSheetDialogFragment.java32 return new BottomSheetDialog(getContext(), getTheme());
H A DBottomSheetDialog.java111 if (getContext().getTheme()
122 if (context.getTheme().resolveAttribute(
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DTintContextWrapper.java88 mTheme.setTo(base.getTheme());
95 public Resources.Theme getTheme() { method in class:TintContextWrapper
96 return mTheme == null ? super.getTheme() : mTheme;
H A DThemedSpinnerAdapter.java125 } else if (theme == mContext.getTheme()) {
139 return mDropDownInflater == null ? null : mDropDownInflater.getContext().getTheme();
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperSettingsActivity.java40 Resources.Theme theme = getTheme();
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteControllerDialogFragment.java53 return new MediaRouteControllerDialog(context, getTheme());
H A DMediaRouteChooserDialogFragment.java90 return new MediaRouteChooserDialog(context, getTheme());
/frameworks/support/v7/appcompat/src/android/support/v7/view/
H A DContextThemeWrapper.java60 public Resources.Theme getTheme() { method in class:ContextThemeWrapper
85 * Called by {@link #setTheme} and {@link #getTheme} to apply a theme
103 Resources.Theme theme = getBaseContext().getTheme();
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
H A DButtonItemTest.java46 item.getTheme());
101 assertEquals("ButtonItem theme should be 12345", 12345, item.getTheme());
102 button.getContext().getTheme();
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDisplay.java50 if (context.getTheme().resolveAttribute(android.R.attr.actionBarSize, tv, true)) {
H A DListItem.java43 getContext().getTheme().resolveAttribute(colorId, color, true);
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatDialogFragment.java36 return new AppCompatDialog(getContext(), getTheme());
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouterThemeHelper.java77 return context.getTheme().resolveAttribute(attr, value, true) ? value.resourceId : 0;
82 return context.getTheme().resolveAttribute(android.R.attr.disabledAlpha, value, true)
142 return context.getTheme().resolveAttribute(
158 context.getTheme().resolveAttribute(attr, value, true);
/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java151 public Resources.Theme getTheme() { method in class:ContextThemeWrapper
175 * Called by {@link #setTheme} and {@link #getTheme} to apply a theme
193 final Resources.Theme theme = getBaseContext().getTheme();
/frameworks/base/core/java/android/view/animation/
H A DAccelerateInterpolator.java59 this(context.getResources(), context.getTheme(), attrs);
H A DAnticipateInterpolator.java51 this(context.getResources(), context.getTheme(), attrs);
H A DCycleInterpolator.java42 this(context.getResources(), context.getTheme(), attrs);
H A DDecelerateInterpolator.java52 this(context.getResources(), context.getTheme(), attrs);
H A DOvershootInterpolator.java52 this(context.getResources(), context.getTheme(), attrs);
H A DAnticipateOvershootInterpolator.java68 this(context.getResources(), context.getTheme(), attrs);
/frameworks/base/core/java/android/app/
H A DTimePickerDialog.java85 context.getTheme().resolveAttribute(R.attr.timePickerDialogTheme, outValue, true);
115 context.getTheme().resolveAttribute(R.attr.timePickerDialogTheme, outValue, true);
/frameworks/base/core/tests/coretests/src/android/widget/
H A DListViewTest.java103 public Resources.Theme getTheme() { method in class:ListViewTest.MockContext2
104 return getInstrumentation().getTargetContext().getTheme();
/frameworks/base/core/java/android/widget/
H A DResourceCursorAdapter.java119 } else if (theme == mInflater.getContext().getTheme()) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DAnimatedImageView.java47 TypedArray a = context.getTheme().obtainStyledAttributes(attrs,

Completed in 438 milliseconds

123456