/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 | 108 getWindow().setSharedElementEnterTransition(new ChangeBounds().setDuration(DURATION)); in onCreate() 109 getWindow().setSharedElementReturnTransition(new ChangeBounds().setDuration(DURATION)); in onCreate() 110 getWindow().setEnterTransition(createVisibilityTransition(true, ENTER_VISIBILITY)); in onCreate() 111 getWindow().setReturnTransition(createVisibilityTransition(true, RETURN_VISIBILITY)); in onCreate() 112 getWindow().setExitTransition(createVisibilityTransition(false, exitVisibility)); in onCreate() 113 getWindow().setReenterTransition(createVisibilityTransition(false, reenterVisibility)); in onCreate() 114 getWindow().getReenterTransition().addListener(new TransitionListenerAdapter() { in onCreate() 122 getWindow().setAllowReturnTransitionOverlap(mAllowOverlap); in onCreate() 124 getWindow().setReturnTransition(null); in onCreate() 125 getWindow().setSharedElementReturnTransition(null); in onCreate() [all …]
|
D | Activities.java | 28 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | FrameMetricsListenerTest.java | 73 final Window myWindow = mActivity.getWindow(); in testReceiveData() 87 mActivity.getWindow().addOnFrameMetricsAvailableListener(listener, handler); in testReceiveData() 111 mActivity.getWindow().removeOnFrameMetricsAvailableListener(listener); in testReceiveData() 134 final Window myWindow = mActivity.getWindow(); in testMultipleListeners() 160 mActivity.getWindow().addOnFrameMetricsAvailableListener( in testMultipleListeners() 162 mActivity.getWindow().addOnFrameMetricsAvailableListener( in testMultipleListeners() 187 mActivity.getWindow().removeOnFrameMetricsAvailableListener(frameMetricsListener1); in testMultipleListeners() 188 mActivity.getWindow().removeOnFrameMetricsAvailableListener(frameMetricsListener2); in testMultipleListeners() 197 final Window window = mActivity.getWindow(); in testDropCount() 219 … mActivity.getWindow().addOnFrameMetricsAvailableListener(frameMetricsListener, handler); in testDropCount() [all …]
|
D | ContentPaneCtsActivity.java | 32 getWindow().requestFeature(Window.FEATURE_OPTIONS_PANEL); 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/tests/systemui/src/android/systemui/cts/ |
D | LightStatusBarActivity.java | 42 int vis = getWindow().getDecorView().getSystemUiVisibility(); in setLightStatusBar() 48 getWindow().getDecorView().setSystemUiVisibility(vis); in setLightStatusBar()
|
/cts/hostsidetests/sustainedperf/shadertoy_android/src/ |
D | GPUStressTestActivity.java | 33 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate() 37 getWindow().setSustainedPerformanceMode(true); in onCreate()
|
/cts/tests/app/src/android/app/cts/ |
D | DialogTest.java | 107 final Window w = d.getWindow(); in testConstructor() 187 final View decor = d.getWindow().getDecorView(); in testShow() 246 assertEquals(d.getWindow().getCurrentFocus(), d.getCurrentFocus()); in testGetCurrentFocus() 284 final WindowManager.LayoutParams lp = d.getWindow().getAttributes(); in testSetContentView() 301 final WindowManager.LayoutParams lp2 = d.getWindow().getAttributes(); in testSetContentView() 331 assertEquals(expectedTitle, (String) d.getWindow().getAttributes().getTitle()); in testSetTitle() 336 (String) d.getWindow().getAttributes().getTitle()); in testSetTitle() 426 Window window = mActivity.getWindow(); in getStatusBarHeight() 467 final WindowManager.LayoutParams lp = d.getWindow().getAttributes(); in testOnWindowAttributesChanged() 471 d.getWindow().setAttributes(lp); in testOnWindowAttributesChanged() [all …]
|
/cts/tests/acceleration/src/android/acceleration/ |
D | WindowFlagHardwareAcceleratedActivity.java | 27 getWindow().setFlags(WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, in onCreate()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityTestActivity.java | 27 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | FragmentTestActivity.java | 29 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD | in onCreate()
|
/cts/tests/deviceadmin/uninstalltest/src/android/devicepolicy/cts/uiautomatertest/ |
D | UiAutomaterTestActivity.java | 29 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | DecodeAccuracyTestActivity.java | 30 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | ScreenOnActivity.java | 32 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD in onCreate()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | ScreenOnActivity.java | 32 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD in onCreate()
|
/cts/hostsidetests/services/activitymanager/app/src/android/server/app/ |
D | TurnScreenOnActivity.java | 26 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/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/ |
D | AwareActivity.java | 32 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
|
D | UnawareActivity.java | 32 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
|
/cts/tests/tests/theme/src/android/theme/cts/ |
D | DeviceDefaultActivity.java | 34 Window window = getWindow(); in onCreate()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | PrintDocumentActivity.java | 33 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/hostsidetests/trustedvoice/app/src/android/trustedvoice/app/ |
D | TrustedVoiceActivity.java | 45 getWindow().addFlags(LayoutParams.FLAG_DISMISS_KEYGUARD in onCreate()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | MyActivity.java | 34 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
|