Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/content/
DContextTest.java85 testContext.createDisplayContext(dm.getDisplay(DEFAULT_DISPLAY)); in testDisplayIdForDefaultDisplayContext()
169 final Context context = appContext.createDisplayContext(display) in verifyGetDisplayFromDisplayContextDerivedContext()
214 final Context context = uiContext.createDisplayContext(secondaryDisplay); in testIsUiContext_UiContextDerivedDisplayContext()
223 return appContext.createDisplayContext(display) in createUiContext()
/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/src/com/android/systemui/
DSysuiTestableContext.java49 public Context createDisplayContext(Display display) { in createDisplayContext() method in SysuiTestableContext
55 new SysuiTestableContext(getBaseContext().createDisplayContext(display)); in createDisplayContext()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DShellTestCase.java43 context.createDisplayContext(dm.getDisplay(DEFAULT_DISPLAY))); in shellSetup()
/frameworks/base/core/tests/coretests/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/onehanded/
DOneHandedTestCase.java57 mContext = getTestContext().createDisplayContext(dm.getDisplay(DEFAULT_DISPLAY)); in setUpContext()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayController.java146 : mContext.createDisplayContext(display); in onDisplayAdded()
171 perDisplayContext = mContext.createDisplayContext(display); in onDisplayConfigurationChanged()
/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/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/packages/SystemUI/tests/src/com/android/systemui/navigationbar/
DNavigationBarButtonTest.java74 (SysuiTestableContext) mContext.createDisplayContext(display); in setup()
DNavigationBarTest.java161 mSysuiTestableContextExternal = (SysuiTestableContext) getContext().createDisplayContext( in setupSysuiDependency()
/frameworks/base/core/java/android/app/
DPresentation.java327 Context windowContext = outerContext.createDisplayContext(display) in createPresentationContext()
/frameworks/base/core/tests/coretests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/
DTestService.java63 final Context defaultDisplayContext = createDisplayContext(defaultDisplay); in onCreate()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/sizecompatui/
DSizeCompatUIController.java204 context = mContext.createDisplayContext(display); in getOrCreateDisplayContext()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityInputFilter.java433 final Context displayContext = mContext.createDisplayContext(displaysList.get(i)); in enableFeatures()
617 mContext.createDisplayContext(display)); in refreshMagnificationMode()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java430 Context virtualDisplayContext = appContext.createDisplayContext(virtualDisplay); in testOrientationChanged_DoesntOverrideVirtualDisplayOrientation()
486 Context virtualDisplayContext = activity.createDisplayContext(virtualDisplay); in testActivityOrientationChanged_DoesntOverrideVirtualDisplayOrientation()
/frameworks/base/services/core/java/com/android/server/wm/
DImmersiveModeConfirmation.java107 ? uiContext : uiContext.createDisplayContext(display); in ImmersiveModeConfirmation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBarController.java348 : mContext.createDisplayContext(display); in createNavigationBar()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java965 public Context createDisplayContext(Display display) { in createDisplayContext() method in AccessibilityService
966 final Context context = super.createDisplayContext(display); in createDisplayContext()
/frameworks/base/core/java/android/content/
DContextWrapper.java1049 public Context createDisplayContext(Display display) { in createDisplayContext() method in ContextWrapper
1050 return mBase.createDisplayContext(display); in createDisplayContext()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DStartingSurfaceDrawer.java154 return context.createDisplayContext(targetDisplay); in getDisplayContext()
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java822 public Context createDisplayContext(Display display) { in createDisplayContext() method in MockContext
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotController.java318 final Context displayContext = context.createDisplayContext(getDefaultDisplay()); in ScreenshotController()

12