/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ConfigurationBoundResourceCacheTest.java | 58 assertEquals(null, mCache.getInstance(1, res, getActivity().getTheme())); in testSetGet() 63 mCache.put(1, getActivity().getTheme(), new DummyFloatConstantState(5f), in testSetGetThemed() 67 assertEquals(5f, mCache.getInstance(1, res, getActivity().getTheme())); in testSetGetThemed() 68 assertNotSame(5f, mCache.getInstance(1, res, getActivity().getTheme())); in testSetGetThemed() 73 mCache.put(1, getActivity().getTheme(), new DummyFloatConstantState(5f), in testMultiThreadPutGet() 80 assertEquals(5f, mCache.getInstance(1, res, getActivity().getTheme())); in testMultiThreadPutGet() 81 assertNotSame(5f, mCache.getInstance(1, res, getActivity().getTheme())); in testMultiThreadPutGet() 92 mCache.put(key, getActivity().getTheme(), in testVoidConfigChange() 101 assertEquals(staticDim, mCache.getInstance(key, res, getActivity().getTheme())); in testVoidConfigChange() 103 assertEquals(staticDim, mCache.getInstance(key, res, getActivity().getTheme())); in testVoidConfigChange() [all …]
|
/frameworks/base/core/java/android/content/res/ |
D | CompatResources.java | 46 return getDrawable(id, getTheme()); in getDrawable() 52 return getDrawableForDensity(id, density, getTheme()); in getDrawableForDensity() 57 return getColor(id, getTheme()); in getColor() 62 return getColorStateList(id, getTheme()); in getColorStateList() 65 private Theme getTheme() { in getTheme() method in CompatResources 67 return c != null ? c.getTheme() : null; in getTheme()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
D | RvBoxAdapter.java | 51 if (context.getTheme() != null) { in RvBoxAdapter() 52 context.getTheme().resolveAttribute( in RvBoxAdapter()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/items/ |
D | ButtonItemTest.java | 64 assertThat(item.getTheme()).named("theme").isEqualTo(R.style.SuwButtonItem); in testDefaultItem() 156 .that(item.getTheme()) in testSetTheme() 158 assertThat(button.getContext().getTheme()).isNotNull(); in testSetTheme()
|
/frameworks/base/core/java/android/view/ |
D | ContextThemeWrapper.java | 168 public Resources.Theme getTheme() { in getTheme() method in ContextThemeWrapper 211 final Resources.Theme theme = getBaseContext().getTheme(); in initializeTheme()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | ListViewTest.java | 102 public Resources.Theme getTheme() { in getTheme() method in ListViewTest.MockContext2 103 return getInstrumentation().getTargetContext().getTheme(); in getTheme()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | MediaRouteControllerDialogFragment.java | 52 return new MediaRouteControllerDialog(context, getTheme()); in onCreateControllerDialog()
|
D | MediaRouteChooserDialogFragment.java | 94 return new MediaRouteChooserDialog(context, getTheme()); in onCreateChooserDialog()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/ |
D | UninstallAppProgress.java | 330 getTheme().resolveAttribute(android.R.attr.windowBackground, attribute, true); in initView() 336 getTheme())); in initView() 339 getTheme().resolveAttribute(android.R.attr.navigationBarColor, attribute, true); in initView() 342 getTheme().resolveAttribute(android.R.attr.statusBarColor, attribute, true); in initView()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperSettingsActivity.java | 40 Resources.Theme theme = getTheme(); in onCreate()
|
/frameworks/base/core/java/com/android/internal/pm/pkg/component/ |
D | ParsedActivity.java | 78 int getTheme(); in getTheme() method
|
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/view/ |
D | TestTextView.java | 39 final Resources.Theme theme = context.getTheme(); in TestTextView()
|
/frameworks/base/tools/aapt2/integration-tests/NamespaceTest/LibTwo/src/com/android/aapt/namespace/libtwo/ |
D | TextView.java | 41 final TypedArray ta = context.getTheme().obtainStyledAttributes(attrs, R.styleable.TextView, in TextView()
|
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/ |
D | ThemableWidget.java | 35 … ContextThemeWrapper context = new ContextThemeWrapper(getContext(), getContext().getTheme()); in init()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileColorPicker.java | 37 getColorStateList(R.color.tint_color_selector, context.getTheme()); in TileColorPicker()
|
/frameworks/base/core/java/android/view/animation/ |
D | OvershootInterpolator.java | 52 this(context.getResources(), context.getTheme(), attrs); in OvershootInterpolator()
|
D | AnticipateInterpolator.java | 51 this(context.getResources(), context.getTheme(), attrs); in AnticipateInterpolator()
|
D | CycleInterpolator.java | 42 this(context.getResources(), context.getTheme(), attrs); in CycleInterpolator()
|
D | AccelerateInterpolator.java | 59 this(context.getResources(), context.getTheme(), attrs); in AccelerateInterpolator()
|
D | DecelerateInterpolator.java | 52 this(context.getResources(), context.getTheme(), attrs); in DecelerateInterpolator()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsPowerDialog.java | 56 com.android.systemui.res.R.drawable.control_background, context.getTheme())); in create()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileColorPickerTest.java | 45 getColorStateList(R.color.tint_color_selector, mContext.getTheme()); in setUp()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/ |
D | LetterboxEduDialogActionLayout.java | 51 context.getTheme().obtainStyledAttributes( in LetterboxEduDialogActionLayout()
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/ |
D | ParsedActivityTest.kt | 54 ParsedActivity::getTheme, in <lambda>()
|
/frameworks/base/core/java/android/widget/ |
D | CursorAdapter.java | 217 } else if (theme == mContext.getTheme()) { in setDropDownViewTheme() 226 return mDropDownContext == null ? null : mDropDownContext.getTheme(); in getDropDownViewTheme()
|