/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | SysUICutoutProviderTest.kt | 44 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()
|
D | FaceScanningProviderFactoryTest.kt | 75 val displayContext = context.createDisplayContext(display) as SysuiTestableContext in setup()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
D | DecorContextTest.java | 73 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/ |
D | SysuiTestableContext.java | 55 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/ |
D | ContextTest.java | 110 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/ |
D | DisplayHelper.java | 48 WindowManager windowManager = mContext.createDisplayContext(display) in getMaxBounds()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/dagger/ |
D | KeyguardDisplayModule.kt | 32 context.createDisplayContext(display) in optionalDisplay()
|
/frameworks/base/core/tests/InputMethodCoreTests/src/android/view/inputmethod/ |
D | InputMethodManagerTest.java | 50 testContext.createDisplayContext(dm.getDisplay(DEFAULT_DISPLAY)); in testPrivateApiGetInstance()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/ |
D | ShellTestCase.java | 54 context.createDisplayContext(dm.getDisplay(DEFAULT_DISPLAY))); in shellSetup()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/ |
D | OneHandedTestCase.java | 59 mContext = getTestContext().createDisplayContext(dm.getDisplay(DEFAULT_DISPLAY)); in setUpContext()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | WindowMetricsTest.java | 61 mWindowContext = instContext.createDisplayContext(display) in setUp()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorContext.java | 61 displayContext = baseContext.createDisplayContext(display); in DecorContext()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayController.java | 184 : mContext.createDisplayContext(display); in onDisplayAdded() 230 : mContext.createDisplayContext(display); in onDisplayConfigurationChanged()
|
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
D | FakeBackgroundService.java | 78 final Context windowContext = createDisplayContext(display) in onCreate()
|
D | FakeApp.java | 106 final Context windowContext = createDisplayContext(defaultDisplay) in onCreate()
|
/frameworks/base/core/java/android/app/ |
D | Presentation.java | 327 Context windowContext = outerContext.createDisplayContext(display) in createPresentationContext()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/ |
D | NavigationBarButtonTest.java | 76 (SysuiTestableContext) mContext.createDisplayContext(display); in setup()
|
/frameworks/base/services/tests/powerstatstests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/ |
D | TestService.java | 63 final Context defaultDisplayContext = createDisplayContext(defaultDisplay); in onCreate()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | PointerIconCache.java | 175 displayContext = mContext.createDisplayContext(display); in getContextForDisplayLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/ |
D | ToastUI.java | 130 Context displayContext = context.createDisplayContext(display); in showToast()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | BrightnessSynchronizerTest.java | 98 ApplicationProvider.getApplicationContext().createDisplayContext(display))); in setUp()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | AccessibilityService.java | 1149 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/ |
D | A11yMenuOverlayLayout.java | 142 final Context context = mService.createDisplayContext(display).createWindowContext( in configureLayout()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | Helper.java | 363 return context.createDisplayContext(display); in getDisplayContext()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/events/ |
D | PrivacyDotViewControllerTest.kt | 57 private val context = getContext().createDisplayContext(mockDisplay) in <lambda>()
|