Home
last modified time | relevance | path

Searched refs:windowManager (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/util/src/android/util/cts/
DDisplayMetricsTest.java38 WindowManager windowManager = (WindowManager) InstrumentationRegistry.getTargetContext() in initDisplay() local
40 assertNotNull(windowManager); in initDisplay()
41 Display display = windowManager.getDefaultDisplay(); in initDisplay()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DScreenDeviceInfo.java34 WindowManager windowManager = in collectDeviceInfo() local
36 Display display = windowManager.getDefaultDisplay(); in collectDeviceInfo()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVCameraPreview.java158 WindowManager windowManager = in getRequiredRotation() local
161 if (windowManager != null) { in getRequiredRotation()
162 switch (windowManager.getDefaultDisplay().getRotation()) { in getRequiredRotation()
DRVCVRecordActivity.java125 WindowManager windowManager = in onCreate() local
127 if (windowManager != null) { in onCreate()
128 mDeviceRotation = windowManager.getDefaultDisplay().getRotation(); in onCreate()
/cts/tests/vr/src/android/vr/cts/
DVrDisplayTest.java85 WindowManager windowManager = (WindowManager)mActivity.getSystemService( in testDisplayResolution()
92 windowManager.getDefaultDisplay().getRealMetrics(metrics); in testDisplayResolution()
/cts/tests/tests/toast/src/android/widget/toast/cts/
DBaseToastTest.java91 WindowManager windowManager = mContext in showToastsViaAddingWindow() local
93 windowManager.addView(textView, params); in showToastsViaAddingWindow()
/cts/tests/tests/dpi/src/android/dpi/cts/
DConfigurationTest.java43 WindowManager windowManager = in setUp() local
45 Display display = windowManager.getDefaultDisplay(); in setUp()
DConfigurationScreenLayoutTest.java122 WindowManager windowManager = in reduceScreenLayout() local
124 Display display = windowManager.getDefaultDisplay(); in reduceScreenLayout()
/cts/tests/tests/hardware/src/android/hardware/cts/
DLowRamDeviceTest.java82 WindowManager windowManager = in setUp() local
84 windowManager.getDefaultDisplay().getMetrics(mDisplayMetrics); in setUp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/
DBaseRenderer.java293 WindowManager windowManager = (WindowManager) in getDeviceRotation() local
295 final Display display = windowManager.getDefaultDisplay(); in getDeviceRotation()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDetectorTest.java87 WindowManager windowManager = (WindowManager) instrumentation.getContext() in setUp() local
90 windowManager.getDefaultDisplay().getRealMetrics(metrics); in setUp()
/cts/tests/app/src/android/app/cts/
DActivityManagerMemoryClassTest.java226 WindowManager windowManager = in getScreenDensity() local
228 Display display = windowManager.getDefaultDisplay(); in getScreenDensity()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DLoginActivityTest.java1080 WindowManager windowManager = mContext.getSystemService(WindowManager.class); in testAutoFillOneDatasetAndSaveHidingOverlays() local
1081 windowManager.addView(view, params); in testAutoFillOneDatasetAndSaveHidingOverlays()
1129 WindowManager windowManager = mContext.getSystemService(WindowManager.class); in testAutoFillOneDatasetAndSaveHidingOverlays() local
1130 windowManager.removeView(overlay[0]); in testAutoFillOneDatasetAndSaveHidingOverlays()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyTest.java442 final WindowManager windowManager = (WindowManager) activity.getSystemService( in testWideGamutWindowProducerCopyToRGBA16F() local
444 final ColorSpace colorSpace = windowManager.getDefaultDisplay() in testWideGamutWindowProducerCopyToRGBA16F()
/cts/tests/camera/src/android/hardware/camera2/cts/
DLogicalCameraDeviceTest.java883 WindowManager windowManager = in findCommonPreviewSize() local
885 Display display = windowManager.getDefaultDisplay(); in findCommonPreviewSize()
DExtendedCameraCharacteristicsTest.java2358 WindowManager windowManager = in testCameraOrientationAlignedWithDevice() local
2360 Display display = windowManager.getDefaultDisplay(); in testCameraOrientationAlignedWithDevice()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java2681 public static Size getPreviewSizeBound(WindowManager windowManager, Size bound) { in getPreviewSizeBound() argument
2682 Display display = windowManager.getDefaultDisplay(); in getPreviewSizeBound()