Home
last modified time | relevance | path

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

12

/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DTrustedPresentationListenerTest.java128 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/
DTaskFpsCallbackCtsTest.java71 (windowManager) -> windowManager.registerTaskFpsCallback( in testRegister()
76 (windowManager) -> windowManager.unregisterTaskFpsCallback(callback), in testRegister()
/cts/tests/tests/security/src/android/security/cts/
DFlagSlipperyTest.kt120 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/
DDisplayMetricsTest.java45 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/
DScreenRecordingCallbackTests.java228 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()
DWindowMetricsActivityTests.java305 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/
DRVCVCameraPreview.java158 WindowManager windowManager = in getRequiredRotation() local
161 if (windowManager != null) { in getRequiredRotation()
162 switch (windowManager.getDefaultDisplay().getRotation()) { in getRequiredRotation()
DRVCVRecordActivity.java124 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/
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/car/apps/overlaywindowappsdk22/src/android/car/app/cts/overlaywindowappsdk22/
DOverlayWindowTestActivitySdk22.java75 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/
DWindowMetricsTestHelper.java98 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/
DOverlayActivity.kt28 windowManager.addView(frameLayout, params) in onCreate()
/cts/tests/tests/dpi/src/android/dpi/cts/
DConfigurationTest.java44 WindowManager windowManager = in setUp() local
46 Display display = windowManager.getDefaultDisplay(); in setUp()
/cts/tests/tests/packageinstaller/uninstall/src/android/packageinstaller/uninstall/cts/
DUninstallTest.java172 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/
DScreenDeviceInfo.java55 WindowManager windowManager = in collectDeviceInfo() local
58 Display display = windowManager.getDefaultDisplay(); in collectDeviceInfo()
/cts/tests/tests/hardware/src/android/hardware/cts/
DLowRamDeviceTest.java84 WindowManager windowManager = in setUp() local
86 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/input/src/android/input/cts/
DTwoWindowsActivity.kt63 val windowMetrics = windowManager.currentWindowMetrics in launchTwoWindows()
DPointerCancelTest.kt144 activity.windowManager.addView(view, layoutParams) in addFloatingWindow()
/cts/tests/app/src/android/app/cts/
DActivityManagerMemoryClassTest.java254 WindowManager windowManager = in getScreenDensity() local
256 Display display = windowManager.getDefaultDisplay(); in getScreenDensity()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTakeScreenshotTest.java138 WindowManager windowManager = in setUp() local
140 final Display display = windowManager.getDefaultDisplay(); in setUp()
DTouchInteractionControllerTest.java173 WindowManager windowManager = in setUp() local
176 windowManager.getDefaultDisplay().getRealMetrics(metrics); in setUp()
DTouchExplorerTest.java191 WindowManager windowManager = in setUp() local
194 windowManager.getDefaultDisplay().getRealMetrics(metrics); in setUp()
DAccessibilityGestureDetectorTest.java146 WindowManager windowManager = (WindowManager) sInstrumentation.getContext() in setUp() local
149 windowManager.getDefaultDisplay().getRealMetrics(metrics); in setUp()

12