Home
last modified time | relevance | path

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

1234

/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.java108 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 …]
DActivities.java28 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/cts/tests/tests/view/src/android/view/cts/
DFrameMetricsListenerTest.java73 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 …]
DContentPaneCtsActivity.java32 getWindow().requestFeature(Window.FEATURE_OPTIONS_PANEL); 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/tests/systemui/src/android/systemui/cts/
DLightStatusBarActivity.java42 int vis = getWindow().getDecorView().getSystemUiVisibility(); in setLightStatusBar()
48 getWindow().getDecorView().setSystemUiVisibility(vis); in setLightStatusBar()
/cts/hostsidetests/sustainedperf/shadertoy_android/src/
DGPUStressTestActivity.java33 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
37 getWindow().setSustainedPerformanceMode(true); in onCreate()
/cts/tests/app/src/android/app/cts/
DDialogTest.java107 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/
DWindowFlagHardwareAcceleratedActivity.java27 getWindow().setFlags(WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, in onCreate()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTestActivity.java27 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
/cts/tests/fragment/src/android/fragment/cts/
DFragmentTestActivity.java29 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD | in onCreate()
/cts/tests/deviceadmin/uninstalltest/src/android/devicepolicy/cts/uiautomatertest/
DUiAutomaterTestActivity.java29 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTestActivity.java30 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/cts/tests/app/app/src/android/app/stubs/
DScreenOnActivity.java32 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD in onCreate()
/cts/tests/tests/display/src/android/display/cts/
DScreenOnActivity.java32 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD in onCreate()
/cts/hostsidetests/services/activitymanager/app/src/android/server/app/
DTurnScreenOnActivity.java26 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/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
DAwareActivity.java32 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
DUnawareActivity.java32 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()
/cts/tests/tests/theme/src/android/theme/cts/
DDeviceDefaultActivity.java34 Window window = getWindow(); in onCreate()
/cts/tests/tests/print/src/android/print/cts/
DPrintDocumentActivity.java33 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/hostsidetests/trustedvoice/app/src/android/trustedvoice/app/
DTrustedVoiceActivity.java45 getWindow().addFlags(LayoutParams.FLAG_DISMISS_KEYGUARD in onCreate()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMyActivity.java34 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in onCreate()

1234