Home
last modified time | relevance | path

Searched refs:getWindow (Results 1 – 25 of 60) sorted by relevance

123

/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectedPresentation.java34 getWindow().setType(WindowManager.LayoutParams.TYPE_PRIVATE_PRESENTATION); in ProjectedPresentation()
37 getWindow().addFlags(WindowManager.LayoutParams.FLAG_LOCAL_FOCUS_MODE); in ProjectedPresentation()
38 getWindow().addFlags(WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED); in ProjectedPresentation()
42 getWindow().setLocalFocus(true, true); in injectTouchEvent()
43 getWindow().injectInputEvent(event); in injectTouchEvent()
47 getWindow().setLocalFocus(true, false); in injectKeyEvent()
48 getWindow().injectInputEvent(event); in injectKeyEvent()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DActivityTransitionActivity.java68 getWindow().setSharedElementEnterTransition(new ChangeBounds().setDuration(DURATION)); in onCreate()
69 getWindow().setSharedElementReturnTransition(new ChangeBounds().setDuration(DURATION)); in onCreate()
70 getWindow().setEnterTransition(new Explode().setDuration(DURATION)); in onCreate()
71 getWindow().setReturnTransition(new Explode().setDuration(DURATION)); in onCreate()
72 getWindow().setExitTransition(new Fade().setDuration(DURATION)); in onCreate()
115 getWindow().getDecorView().postDelayed(new Runnable() { in startTest()
132 getWindow().getEnterTransition().addListener(new TransitionListener() { in startTest()
141 getWindow().getDecorView().post(new Runnable() { in startTest()
DActivities.java28 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/os/
DTimeoutResetActivity.java73 WindowManager.LayoutParams params = activity.getWindow().getAttributes(); in turnOffScreen()
82 activity.getWindow().setAttributes(params); in turnOffScreen()
106 WindowManager.LayoutParams params = getWindow().getAttributes(); in onCreate()
108 getWindow().setAttributes(params); in onCreate()
/cts/tests/acceleration/src/android/acceleration/cts/
DWindowFlagHardwareAcceleratedActivity.java27 getWindow().setFlags(WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, in onCreate()
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTestActivity.java27 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
/cts/tests/tests/print/src/android/print/cts/
DPrintDocumentActivity.java29 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
/cts/tests/tests/dpi/src/android/dpi/cts/
DOrientationActivity.java33 Window window = getWindow(); in onCreate()
/cts/tests/tests/nativeopengl/standalone/jni/
DGLTestHelper.h33 static ANativeWindow* getWindow();
/cts/tests/tests/theme/src/android/theme/cts/
DDeviceDefaultActivity.java34 Window window = getWindow(); in onCreate()
/cts/tests/tests/app/src/android/app/cts/
DDialogTest.java103 final Window w = d.getWindow(); in testConstructor()
183 final View decor = d.getWindow().getDecorView(); in testShow()
242 assertEquals(d.getWindow().getCurrentFocus(), d.getCurrentFocus()); in testGetCurrentFocus()
280 final WindowManager.LayoutParams lp = d.getWindow().getAttributes(); in testSetContentView()
297 final WindowManager.LayoutParams lp2 = d.getWindow().getAttributes(); in testSetContentView()
327 assertEquals(expectedTitle, (String) d.getWindow().getAttributes().getTitle()); in testSetTitle()
332 (String) d.getWindow().getAttributes().getTitle()); in testSetTitle()
456 final WindowManager.LayoutParams lp = d.getWindow().getAttributes(); in testOnWindowAttributesChanged()
460 d.getWindow().setAttributes(lp); in testOnWindowAttributesChanged()
466 assertSame(lp, d.getWindow().getAttributes()); in testOnWindowAttributesChanged()
[all …]
/cts/tests/deviceadmin/src/android/deviceadmin/cts/
DCtsDeviceAdminActivationTestActivity.java45 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD in onCreate()
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
DUiAutomationTestFirstActivity.java36 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
DUiAutomationTestSecondActivity.java35 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMyActivity.java38 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
/cts/tests/tests/database/src/android/database/cts/
DAbstractWindowedCursorTest.java81 assertNull(mCursor.getWindow()); in testHasWindow()
85 assertSame(mWindow, mCursor.getWindow()); in testHasWindow()
89 assertNull(mCursor.getWindow()); in testHasWindow()
/cts/suite/cts/hostTests/uihost/appB/src/com/android/cts/taskswitching/appb/
DAppBActivity.java42 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); in onCreate()
/cts/tests/tests/assist/testapp/src/android/voiceinteraction/testapp/
DSecureActivity.java38 getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, in onCreate()
/cts/suite/cts/hostTests/uihost/appA/src/com/android/cts/taskswitching/appa/
DAppAActivity.java43 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); in onCreate()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp/src/com/android/cts/usepermission/
DMyActivity.java45 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DMyActivity.java44 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCamera2MultiViewCtsActivity.java43 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/cts/tests/tests/view/src/android/view/cts/
DWindowCtsActivity.java36 getWindow().requestFeature(Window.FEATURE_LEFT_ICON); in onCreate()
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/
DMainActivity.java34 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD | in onCreate()
/cts/tests/tests/graphics/src/android/opengl/cts/
DEglConfigCtsActivity.java49 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD | in onCreate()

123