Home
last modified time | relevance | path

Searched refs:baseContext (Results 1 – 16 of 16) sorted by relevance

/frameworks/layoutlib/bridge/src/android/view/
DView_Delegate.java44 Context baseContext = BridgeContext.getBaseContext(thisView.getContext()); in getWindowToken() local
45 if (baseContext instanceof BridgeContext) { in getWindowToken()
46 return ((BridgeContext) baseContext).getBinder(); in getWindowToken()
/frameworks/layoutlib/bridge/src/android/view/accessibility/
DAccessibilityManager_Delegate.java46 Context baseContext = BridgeContext.getBaseContext(context); in getInstance() local
47 return ((BridgeContext)baseContext).getAccessibilityManager(); in getInstance()
/frameworks/base/core/java/com/android/internal/policy/
DDecorContext.java49 public DecorContext(Context baseContext, PhoneWindow phoneWindow) { in DecorContext() argument
58 displayContext = baseContext.createConfigurationContext(Configuration.EMPTY); in DecorContext()
61 displayContext = baseContext.createDisplayContext(display); in DecorContext()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWorkLockActivityTest.kt60 baseContext: Context,
66 attachBaseContext(baseContext)
77 baseContext = context, in setUp()
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DDecorContextTest.java70 final Context baseContext = Mockito.spy(mContext.getApplicationContext()); in testDecorContextWithDefaultDisplay() local
75 DecorContext context = new DecorContext(baseContext, window); in testDecorContextWithDefaultDisplay()
81 verify(baseContext, never()).createDisplayContext(any()); in testDecorContextWithDefaultDisplay()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/util/
DFallbackThemeWrapperTest.java40 Context baseContext = in setUp() local
42 mThemedContext = new FallbackThemeWrapper(baseContext, R.style.TestFallbackTheme); in setUp()
/frameworks/base/core/tests/coretests/src/android/content/
DContextWrapperTest.java150 final Context baseContext = getBaseContext(); in getApplicationContext() local
151 if (baseContext == null) { in getApplicationContext()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DAuxiliaryPersistenceWrapper.kt139 baseContext.deleteFile(file.getPath()) in onStartJob()
/frameworks/libs/systemui/tracinglib/demo/src/com/android/app/tracing/demo/
DMainActivity.kt56 return Button(baseContext).apply { in <lambda>()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/scaffold/
DSettingsScaffold.kt85 is ContextWrapper -> baseContext.getActivity() in Context()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/
DSystemUiController.kt190 is ContextWrapper -> baseContext.findWindow() in findWindow()
/frameworks/base/core/java/android/app/
DContextImpl.java2982 ContextImpl baseContext = new ContextImpl(this, mMainThread, mPackageInfo, mParams, in createWindowContextBase() local
2987 baseContext.mForceDisplayOverrideInResources = false; in createWindowContextBase()
2988 baseContext.mContextType = CONTEXT_TYPE_WINDOW_CONTEXT; in createWindowContextBase()
2990 final Resources windowContextResources = createWindowContextResources(baseContext); in createWindowContextBase()
2991 baseContext.setResources(windowContextResources); in createWindowContextBase()
2994 baseContext.setDisplay(ResourcesManager.getInstance().getAdjustedDisplay( in createWindowContextBase()
2997 return baseContext; in createWindowContextBase()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsListingControllerImplTest.kt127 return baseContext in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
DControlsUiControllerImplTest.kt131 mContext.baseContext in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlsControllerImplTest.kt160 return baseContext in <lambda>()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java498 void dump(PrintWriter pw, String prefix, Context baseContext, boolean redact) { in dump() argument