/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/ |
D | ProjectedPresentation.java | 34 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/ |
D | ActivityTransitionActivity.java | 68 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()
|
D | Activities.java | 28 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/os/ |
D | TimeoutResetActivity.java | 73 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/ |
D | WindowFlagHardwareAcceleratedActivity.java | 27 getWindow().setFlags(WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, in onCreate()
|
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityTestActivity.java | 27 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | PrintDocumentActivity.java | 29 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
D | OrientationActivity.java | 33 Window window = getWindow(); in onCreate()
|
/cts/tests/tests/nativeopengl/standalone/jni/ |
D | GLTestHelper.h | 33 static ANativeWindow* getWindow();
|
/cts/tests/tests/theme/src/android/theme/cts/ |
D | DeviceDefaultActivity.java | 34 Window window = getWindow(); in onCreate()
|
/cts/tests/tests/app/src/android/app/cts/ |
D | DialogTest.java | 103 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/ |
D | CtsDeviceAdminActivationTestActivity.java | 45 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD in onCreate()
|
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
D | UiAutomationTestFirstActivity.java | 36 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
|
D | UiAutomationTestSecondActivity.java | 35 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | MyActivity.java | 38 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | AbstractWindowedCursorTest.java | 81 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/ |
D | AppBActivity.java | 42 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); in onCreate()
|
/cts/tests/tests/assist/testapp/src/android/voiceinteraction/testapp/ |
D | SecureActivity.java | 38 getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, in onCreate()
|
/cts/suite/cts/hostTests/uihost/appA/src/com/android/cts/taskswitching/appa/ |
D | AppAActivity.java | 43 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); in onCreate()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp/src/com/android/cts/usepermission/ |
D | MyActivity.java | 45 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
|
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
D | MyActivity.java | 44 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | Camera2MultiViewCtsActivity.java | 43 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | WindowCtsActivity.java | 36 getWindow().requestFeature(Window.FEATURE_LEFT_ICON); in onCreate()
|
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/ |
D | MainActivity.java | 34 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD | in onCreate()
|
/cts/tests/tests/graphics/src/android/opengl/cts/ |
D | EglConfigCtsActivity.java | 49 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD | in onCreate()
|