Home
last modified time | relevance | path

Searched refs:getDefaultDisplay (Results 1 – 25 of 58) sorted by relevance

123

/cts/tests/tests/content/src/android/content/wm/cts/
DContextGetDisplayTest.java85 final Display display = getDefaultDisplay(); in testGetDisplayFromDisplayContext()
102 final Display display = onSecondaryDisplay ? getSecondaryDisplay() : getDefaultDisplay(); in verifyGetDisplayFromDisplayContextDerivedContext()
110 final Display display = getDefaultDisplay(); in testGetDisplayFromWindowContext()
117 final Display display = getDefaultDisplay(); in testGetDisplayFromWindowContextWithDefaultDisplay()
DContextIsUiContextTest.java83 final Context windowContext = mApplicationContext.createWindowContext(getDefaultDisplay(), in testIsUiContextOnWindowContextWithDisplay()
91 mApplicationContext.createDisplayContext(getDefaultDisplay()); in testIsUiContextOnDefaultDisplayContext()
DContextTestBase.java93 public Display getDefaultDisplay() { in getDefaultDisplay() method in ContextTestBase
/cts/tests/surfacecontrol/scvhapp/src/android/server/wm/scvh/
DCrossProcessSurfaceControlViewHostTestService.java76 Display getDefaultDisplay() { in getDefaultDisplay() method in CrossProcessSurfaceControlViewHostTestService
78 return wm.getDefaultDisplay(); in getDefaultDisplay()
86 mSurfaceControlViewHost = new SurfaceControlViewHost(this, getDefaultDisplay(), in createSurfacePackage()
/cts/tests/app/app/src/android/app/stubs/
DDisplayTestActivity.java45 return getSystemService(WindowManager.class).getDefaultDisplay(); in getDisplay()
DLocalAlertService.java62 wm.getDefaultDisplay().getSize(size); in showAlertWindow()
/cts/tests/framework/base/windowmanager/alertwindowappsdk25/src/android/server/wm/alertwindowappsdk25/
DAlertWindowTestBaseActivity.java56 wm.getDefaultDisplay().getSize(size); in createAlertWindow()
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanPreTransformCtsActivity.java75 .getDefaultDisplay() in getRotation()
/cts/tests/tests/view/src/android/view/animation/cts/
DAnimatorInflaterTest.java92 mUserRotation = mActivity.getWindowManager().getDefaultDisplay().getRotation(); in setup()
176 Display display = mWindowManager.getDefaultDisplay(); in rotate()
206 if (mActivity.getWindowManager().getDefaultDisplay().getRotation() != nextRotation) { in rotate()
/cts/tests/vr/src/android/vr/cts/
DVrDisplayTest.java92 windowManager.getDefaultDisplay().getRealMetrics(metrics); in testDisplayResolution()
/cts/tests/tests/util/src/android/util/cts/
DDisplayMetricsTest.java48 Display display = windowManager.getDefaultDisplay(); in initDisplay()
/cts/tests/tests/content/src/android/content/pm/cts/
DFeatureTest.java120 mWindowManager.getDefaultDisplay().getMetrics(dm); in getScreenSizeInInches()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewStressTestActivity.java81 Display display = wm.getDefaultDisplay(); in waitForCompletion()
DDisplayRefreshRateTest.java137 mDisplay = wm.getDefaultDisplay(); in setup()
DViewConfigurationTest.java210 final Display display = win.getDefaultDisplay(); in testGetMaximumDrawingCacheSize()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DDialogLauncherActivity.java78 final Display display = wm.getDefaultDisplay(); in maximizeDialog()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVCameraPreview.java162 switch (windowManager.getDefaultDisplay().getRotation()) { in getRequiredRotation()
/cts/tests/tests/dpi/src/android/dpi/cts/
DConfigurationTest.java46 Display display = windowManager.getDefaultDisplay(); in setUp()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityLifecycleClientTestBase.java636 final int screenwidth = mWm.getDefaultDisplay().getWidth(); in moveTaskToPrimarySplitScreenAndVerify()
637 final int screenheight = mWm.getDefaultDisplay().getHeight(); in moveTaskToPrimarySplitScreenAndVerify()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DStatsdCtsForegroundActivity.java148 wm.getDefaultDisplay().getSize(size); in doShowApplicationOverlay()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DScreenDeviceInfo.java58 Display display = windowManager.getDefaultDisplay(); in collectDeviceInfo()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/ui/
DMainFragment.java138 getActivity().getWindowManager().getDefaultDisplay().getMetrics(mMetrics);
/cts/tests/tests/hardware/src/android/hardware/cts/
DLowRamDeviceTest.java86 windowManager.getDefaultDisplay().getMetrics(mDisplayMetrics); in setUp()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DWideColorGamutTests.java192 Display defaultDisplay = window.getDefaultDisplay(); in displaySpace()
/cts/tests/tests/security/src/android/security/cts/
DMotionEventTest.java97 wm.getDefaultDisplay().getSize(size); in testActionOutsideDoesNotContainedObscuredInformation()

123