/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | TrustedPresentationListenerTest.java | 128 WindowManager windowManager = mActivity.getSystemService(WindowManager.class); in testAddTrustedPresentationListenerOnWindow() local 129 windowManager.registerTrustedPresentationListener( in testAddTrustedPresentationListenerOnWindow() 138 WindowManager windowManager = mActivity.getSystemService(WindowManager.class); in testRemoveTrustedPresentationListenerOnWindow() local 139 windowManager.registerTrustedPresentationListener( in testRemoveTrustedPresentationListenerOnWindow() 146 windowManager.unregisterTrustedPresentationListener(mDefaultListener); in testRemoveTrustedPresentationListenerOnWindow() 159 WindowManager windowManager = mActivity.getSystemService(WindowManager.class); in testRemovingUnknownListenerIsANoop() local 160 assertNotNull(windowManager); in testRemovingUnknownListenerIsANoop() 161 windowManager.unregisterTrustedPresentationListener(mDefaultListener); in testRemovingUnknownListenerIsANoop() 168 WindowManager windowManager = mActivity.getSystemService(WindowManager.class); in testAddDuplicateListenerUpdatesThresholds() local 169 windowManager.registerTrustedPresentationListener( in testAddDuplicateListenerUpdatesThresholds() [all …]
|
/cts/tests/tests/taskfpscallback/src/android/taskfpscallback/cts/ |
D | TaskFpsCallbackCtsTest.java | 71 (windowManager) -> windowManager.registerTaskFpsCallback( in testRegister() 76 (windowManager) -> windowManager.unregisterTaskFpsCallback(callback), in testRegister()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | FlagSlipperyTest.kt | 120 private lateinit var windowManager: WindowManager variable in FlagSlipperyTest 142 windowManager = getInstrumentation().getTargetContext().getSystemService<WindowManager>( in setup() 154 windowManager.removeViewImmediate(viewToRemove) in tearDown() 173 windowManager.addView(view, slipperyLayoutParams) in addWindow() 176 windowManager.addView(view, nonSlipperyLayoutParams) in addWindow() 183 windowManager.updateViewLayout(view, slipperyLayoutParams) in addWindow() 238 windowManager.addView(surfaceView, slipperyLayoutParams) in addEmbeddedHostWindow() 303 windowManager.updateViewLayout(relayoutView, wmlp) in onTouch() 351 val bounds: Rect = windowManager.currentWindowMetrics.bounds in setDimensionsToQuarterScreen()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | DisplayMetricsTest.java | 45 WindowManager windowManager = (WindowManager) InstrumentationRegistry.getTargetContext() in initDisplay() local 47 assertNotNull(windowManager); in initDisplay() 48 Display display = windowManager.getDefaultDisplay(); in initDisplay()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | ScreenRecordingCallbackTests.java | 228 WindowManager windowManager = mTargetContext.getSystemService(WindowManager.class); in testFullDisplayMediaProjectionAppCallback() local 229 int initialState = windowManager.addScreenRecordingCallback( in testFullDisplayMediaProjectionAppCallback() 266 WindowManager windowManager = mTargetContext.getSystemService(WindowManager.class); in testPartialScreenSharingRecorded() local 267 Objects.requireNonNull(windowManager); in testPartialScreenSharingRecorded() 268 int initialState = windowManager.addScreenRecordingCallback( in testPartialScreenSharingRecorded()
|
D | WindowMetricsActivityTests.java | 305 final WindowManager windowManager = activity.getWindowManager(); in assertMetricsValidityForNonresizableActivity() local 306 final WindowMetrics currentMetrics = windowManager.getCurrentWindowMetrics(); in assertMetricsValidityForNonresizableActivity() 307 final WindowMetrics maxMetrics = windowManager.getMaximumWindowMetrics(); in assertMetricsValidityForNonresizableActivity() 309 final Rect maxBounds = windowManager.getMaximumWindowMetrics().getBounds(); in assertMetricsValidityForNonresizableActivity()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVCameraPreview.java | 158 WindowManager windowManager = in getRequiredRotation() local 161 if (windowManager != null) { in getRequiredRotation() 162 switch (windowManager.getDefaultDisplay().getRotation()) { in getRequiredRotation()
|
D | RVCVRecordActivity.java | 124 WindowManager windowManager = in onCreate() local 126 if (windowManager != null) { in onCreate() 127 mDeviceRotation = windowManager.getDefaultDisplay().getRotation(); in onCreate()
|
/cts/tests/vr/src/android/vr/cts/ |
D | VrDisplayTest.java | 85 WindowManager windowManager = (WindowManager)mActivity.getSystemService( in testDisplayResolution() 92 windowManager.getDefaultDisplay().getRealMetrics(metrics); in testDisplayResolution()
|
/cts/tests/tests/toast/src/android/widget/toast/cts/ |
D | BaseToastTest.java | 91 WindowManager windowManager = mContext in showToastsViaAddingWindow() local 93 windowManager.addView(textView, params); in showToastsViaAddingWindow()
|
/cts/tests/tests/car/apps/overlaywindowappsdk22/src/android/car/app/cts/overlaywindowappsdk22/ |
D | OverlayWindowTestActivitySdk22.java | 75 WindowManager windowManager = displayContext.getSystemService(WindowManager.class); in createOverlayWindowOnDisplay() local 88 windowManager.addView(view, params); in createOverlayWindowOnDisplay()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WindowMetricsTestHelper.java | 98 final WindowManager windowManager = context.getSystemService(WindowManager.class); in assertMetricsValidity() local 99 final WindowMetrics currentMetrics = windowManager.getCurrentWindowMetrics(); in assertMetricsValidity() 100 final WindowMetrics maxMetrics = windowManager.getMaximumWindowMetrics(); in assertMetricsValidity()
|
/cts/tests/tests/sensorprivacy/test-apps/CtsUseMicOrCameraAndOverlayForSensorPrivacy/src/android/sensorprivacy/cts/usemiccamera/overlay/ |
D | OverlayActivity.kt | 28 windowManager.addView(frameLayout, params) in onCreate()
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
D | ConfigurationTest.java | 44 WindowManager windowManager = in setUp() local 46 Display display = windowManager.getDefaultDisplay(); in setUp()
|
/cts/tests/tests/packageinstaller/uninstall/src/android/packageinstaller/uninstall/cts/ |
D | UninstallTest.java | 172 WindowManager windowManager = mContext.getSystemService(WindowManager.class); in overlaysAreSuppressedWhenConfirmingUninstall() local 181 windowManager.addView(overlay[0], layoutParams); in overlaysAreSuppressedWhenConfirmingUninstall() 203 windowManager.removeView(overlay[0]); in overlaysAreSuppressedWhenConfirmingUninstall()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | ScreenDeviceInfo.java | 55 WindowManager windowManager = in collectDeviceInfo() local 58 Display display = windowManager.getDefaultDisplay(); in collectDeviceInfo()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | LowRamDeviceTest.java | 84 WindowManager windowManager = in setUp() local 86 windowManager.getDefaultDisplay().getMetrics(mDisplayMetrics); in setUp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/ |
D | BaseRenderer.java | 293 WindowManager windowManager = (WindowManager) in getDeviceRotation() local 295 final Display display = windowManager.getDefaultDisplay(); in getDeviceRotation()
|
/cts/tests/input/src/android/input/cts/ |
D | TwoWindowsActivity.kt | 63 val windowMetrics = windowManager.currentWindowMetrics in launchTwoWindows()
|
D | PointerCancelTest.kt | 144 activity.windowManager.addView(view, layoutParams) in addFloatingWindow()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerMemoryClassTest.java | 254 WindowManager windowManager = in getScreenDensity() local 256 Display display = windowManager.getDefaultDisplay(); in getScreenDensity()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityTakeScreenshotTest.java | 138 WindowManager windowManager = in setUp() local 140 final Display display = windowManager.getDefaultDisplay(); in setUp()
|
D | TouchInteractionControllerTest.java | 173 WindowManager windowManager = in setUp() local 176 windowManager.getDefaultDisplay().getRealMetrics(metrics); in setUp()
|
D | TouchExplorerTest.java | 191 WindowManager windowManager = in setUp() local 194 windowManager.getDefaultDisplay().getRealMetrics(metrics); in setUp()
|
D | AccessibilityGestureDetectorTest.java | 146 WindowManager windowManager = (WindowManager) sInstrumentation.getContext() in setUp() local 149 windowManager.getDefaultDisplay().getRealMetrics(metrics); in setUp()
|