Home
last modified time | relevance | path

Searched refs:createDisplayContext (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSysUICutoutProviderTest.kt44 val noCutoutDisplayContext = context.createDisplayContext(noCutoutDisplay) in cutoutInfoForCurrentDisplay_noCutout_returnsNull()
55 val cutoutDisplayContext = context.createDisplayContext(cutoutDisplay) in cutoutInfoForCurrentDisplay_returnsCutout()
66 val cutoutDisplayContext = context.createDisplayContext(cutoutDisplay) in cutoutInfoForCurrentDisplay_noAssociatedProtection_returnsNoProtection()
77 val outerDisplayContext = context.createDisplayContext(OUTER_DISPLAY) in cutoutInfoForCurrentDisplay_outerDisplay_protectionAssociated_returnsProtection()
88 val outerDisplayContext = context.createDisplayContext(OUTER_DISPLAY) in cutoutInfoForCurrentDisplay_outerDisplay_protectionNotAvailable_returnsNullProtection()
99 val displayContext = context.createDisplayContext(createDisplay(uniqueId = null)) in cutoutInfoForCurrentDisplay_displayWithNullId_protectionsWithNoId_returnsNullProtection()
110 val displayContext = context.createDisplayContext(createDisplay(uniqueId = "")) in cutoutInfoForCurrentDisplay_displayWithEmptyId_protectionsWithNoId_returnsNullProtection()
174 SysUICutoutProvider(context.createDisplayContext(display), fakeProtectionLoader) in cutoutInfo_withRotation_doesNotMutateOriginalBounds()
250 return SysUICutoutProvider(context.createDisplayContext(display), fakeProtectionLoader) in setUpProviderWithCameraProtection()
DFaceScanningProviderFactoryTest.kt75 val displayContext = context.createDisplayContext(display) as SysuiTestableContext in setup()
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DDecorContextTest.java73 final Context defaultDisplayContext = mContext.createDisplayContext(defaultDisplay); in testDecorContextWithDefaultDisplay()
81 verify(baseContext, never()).createDisplayContext(any()); in testDecorContextWithDefaultDisplay()
88 final Context defaultDisplayContext = mContext.createDisplayContext(display); in testDecorContextWithExternalDisplay()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
DSysuiTestableContext.java55 public Context createDisplayContext(Display display) { in createDisplayContext() method in SysuiTestableContext
61 new SysuiTestableContext(getBaseContext().createDisplayContext(display)); in createDisplayContext()
67 return (SysuiTestableContext) createDisplayContext(display); in createDefaultDisplayContext()
/frameworks/base/core/tests/coretests/src/android/content/
DContextTest.java110 testContext.createDisplayContext(dm.getDisplay(DEFAULT_DISPLAY)); in testDisplayIdForDefaultDisplayContext()
196 final Context context = appContext.createDisplayContext(display) in verifyGetDisplayFromDisplayContextDerivedContext()
244 final Context context = uiContext.createDisplayContext(secondaryDisplay); in testIsUiContext_UiContextDerivedDisplayContext()
280 return appContext.createDisplayContext(display) in createUiContext()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/display/
DDisplayHelper.java48 WindowManager windowManager = mContext.createDisplayContext(display) in getMaxBounds()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/dagger/
DKeyguardDisplayModule.kt32 context.createDisplayContext(display) in optionalDisplay()
/frameworks/base/core/tests/InputMethodCoreTests/src/android/view/inputmethod/
DInputMethodManagerTest.java50 testContext.createDisplayContext(dm.getDisplay(DEFAULT_DISPLAY)); in testPrivateApiGetInstance()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DShellTestCase.java54 context.createDisplayContext(dm.getDisplay(DEFAULT_DISPLAY))); in shellSetup()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
DOneHandedTestCase.java59 mContext = getTestContext().createDisplayContext(dm.getDisplay(DEFAULT_DISPLAY)); in setUpContext()
/frameworks/base/core/tests/coretests/src/android/view/
DWindowMetricsTest.java61 mWindowContext = instContext.createDisplayContext(display) in setUp()
/frameworks/base/core/java/com/android/internal/policy/
DDecorContext.java61 displayContext = baseContext.createDisplayContext(display); in DecorContext()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayController.java184 : mContext.createDisplayContext(display); in onDisplayAdded()
230 : mContext.createDisplayContext(display); in onDisplayConfigurationChanged()
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeBackgroundService.java78 final Context windowContext = createDisplayContext(display) in onCreate()
DFakeApp.java106 final Context windowContext = createDisplayContext(defaultDisplay) in onCreate()
/frameworks/base/core/java/android/app/
DPresentation.java327 Context windowContext = outerContext.createDisplayContext(display) in createPresentationContext()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/
DNavigationBarButtonTest.java76 (SysuiTestableContext) mContext.createDisplayContext(display); in setup()
/frameworks/base/services/tests/powerstatstests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/
DTestService.java63 final Context defaultDisplayContext = createDisplayContext(defaultDisplay); in onCreate()
/frameworks/base/services/core/java/com/android/server/input/
DPointerIconCache.java175 displayContext = mContext.createDisplayContext(display); in getContextForDisplayLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
DToastUI.java130 Context displayContext = context.createDisplayContext(display); in showToast()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DBrightnessSynchronizerTest.java98 ApplicationProvider.getApplicationContext().createDisplayContext(display))); in setUp()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java1149 public Context createDisplayContext(Display display) { in createDisplayContext() method in AccessibilityService
1150 return new AccessibilityContext(super.createDisplayContext(display), mConnectionId); in createDisplayContext()
3401 public Context createDisplayContext(Display display) {
3402 return new AccessibilityContext(super.createDisplayContext(display), mConnectionId);
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/
DA11yMenuOverlayLayout.java142 final Context context = mService.createDisplayContext(display).createWindowContext( in configureLayout()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DHelper.java363 return context.createDisplayContext(display); in getDisplayContext()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/events/
DPrivacyDotViewControllerTest.kt57 private val context = getContext().createDisplayContext(mockDisplay) in <lambda>()

123