Home
last modified time | relevance | path

Searched refs:ContextThemeWrapper (Results 1 – 25 of 94) sorted by relevance

1234

/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
DThemableWidget.java5 import android.view.ContextThemeWrapper;
35ContextThemeWrapper context = new ContextThemeWrapper(getContext(), getContext().getTheme()); in init()
/frameworks/base/core/java/android/view/
DContextThemeWrapper.java33 public class ContextThemeWrapper extends ContextWrapper { class
51 public ContextThemeWrapper() { in ContextThemeWrapper() method in ContextThemeWrapper
66 public ContextThemeWrapper(Context base, @StyleRes int themeResId) { in ContextThemeWrapper() method in ContextThemeWrapper
80 public ContextThemeWrapper(Context base, Resources.Theme theme) { in ContextThemeWrapper() method in ContextThemeWrapper
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDualToneHandler.kt21 import android.view.ContextThemeWrapper
51 val dualToneDarkTheme = ContextThemeWrapper(context, in setColorsFromContext()
53 val dualToneLightTheme = ContextThemeWrapper(context, in setColorsFromContext()
DCornerHandleView.java27 import android.view.ContextThemeWrapper;
62 Context lightContext = new ContextThemeWrapper(mContext, dualToneLightTheme); in CornerHandleView()
63 Context darkContext = new ContextThemeWrapper(mContext, dualToneDarkTheme); in CornerHandleView()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DFallbackThemeWrapper.java22 import android.view.ContextThemeWrapper;
29 public class FallbackThemeWrapper extends ContextThemeWrapper {
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DGlifLayoutTest.java29 import android.view.ContextThemeWrapper;
53 new ContextThemeWrapper(InstrumentationRegistry.getContext(), R.style.SuwThemeGlif_Light); in setUp()
85 new ContextThemeWrapper(InstrumentationRegistry.getContext(), R.style.SuwThemeGlif_Light); in testGlifTheme()
97 new ContextThemeWrapper(InstrumentationRegistry.getContext(), R.style.SuwThemeGlifV2_Light); in testGlifV2Theme()
DItemLayoutTest.java23 import android.view.ContextThemeWrapper;
75 mContext = new ContextThemeWrapper(getTargetContext(), theme); in ItemLayoutTest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationHandle.java27 import android.view.ContextThemeWrapper;
54 Context lightContext = new ContextThemeWrapper(context, dualToneLightTheme); in NavigationHandle()
55 Context darkContext = new ContextThemeWrapper(context, dualToneDarkTheme); in NavigationHandle()
DFloatingRotationButton.java24 import android.view.ContextThemeWrapper;
153 Context context = new ContextThemeWrapper(mContext.getApplicationContext(), in getImageDrawable()
157 Context lightContext = new ContextThemeWrapper(context, dualToneLightTheme); in getImageDrawable()
158 Context darkContext = new ContextThemeWrapper(context, dualToneDarkTheme); in getImageDrawable()
DRotationContextButton.java24 import android.view.ContextThemeWrapper;
60 Context context = new ContextThemeWrapper(getContext().getApplicationContext(), in getNewDrawable()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
DBridgeContextTest.java35 import android.view.ContextThemeWrapper;
64 Context themeContext = new ContextThemeWrapper(context, style.Theme_Material); in basic()
111 Context themeContext = new ContextThemeWrapper(context, style.Theme_Material); in checkNoErrorWhenUsingDefaults()
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/util/
DDimensionConsistencyTest.java26 import android.view.ContextThemeWrapper;
45 mContext = new ContextThemeWrapper(application, R.style.SuwThemeGlif_Light); in setUp()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/util/
DFallbackThemeWrapperTest.java23 import android.view.ContextThemeWrapper;
41 new ContextThemeWrapper(InstrumentationRegistry.getContext(), R.style.TestBaseTheme); in setUp()
/frameworks/base/core/java/android/widget/
DResourceCursorAdapter.java22 import android.view.ContextThemeWrapper;
122 final Context context = new ContextThemeWrapper(mContext, theme); in setDropDownViewTheme()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DGlifDimensionTest.java27 import android.view.ContextThemeWrapper;
43 context = new ContextThemeWrapper(application, R.style.SuwThemeGlif_Light); in setUp()
DGlifStyleTest.java30 import android.view.ContextThemeWrapper;
51 new ContextThemeWrapper(application, R.style.SuwThemeGlif_Light), in testSuwGlifButtonTertiary()
/frameworks/base/core/java/com/android/internal/policy/
DDecorContext.java24 import android.view.ContextThemeWrapper;
41 public class DecorContext extends ContextThemeWrapper {
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/test/
DSetupWizardPreferenceLayoutTest.java28 import android.view.ContextThemeWrapper;
49 new ContextThemeWrapper( in setUp()
DGlifPreferenceLayoutTest.java28 import android.view.ContextThemeWrapper;
49 new ContextThemeWrapper(InstrumentationRegistry.getContext(), R.style.SuwThemeGlif_Light); in setUp()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DButtonFooterMixin.java25 import android.view.ContextThemeWrapper;
166 LayoutInflater inflater = LayoutInflater.from(new ContextThemeWrapper(context, theme)); in createThemedButton()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DButtonItem.java23 import android.view.ContextThemeWrapper;
124 context = new ContextThemeWrapper(context, theme); in createButton()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DNavigationBar.java26 import android.view.ContextThemeWrapper;
79 return new ContextThemeWrapper(context, theme); in getThemedContext()
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
DWirelessChargingLayout.java25 import android.view.ContextThemeWrapper;
70 inflate(new ContextThemeWrapper(context, style), R.layout.wireless_charging_layout, this); in init()
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DPhoneWindowTest.java32 import android.view.ContextThemeWrapper;
141 mPhoneWindow = new PhoneWindow(new ContextThemeWrapper(mContext, theme)); in createPhoneWindowWithTheme()
/frameworks/base/core/java/android/app/
DPresentation.java30 import android.view.ContextThemeWrapper;
330 return new ContextThemeWrapper(displayContext, theme) { in createPresentationContext()

1234