Home
last modified time | relevance | path

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

12345678910>>...13

/frameworks/base/services/core/java/com/android/server/wm/
DImeInsetsSourceProvider.java126 if (control != null && target != null && target.getWindow() != null) { in getControl()
127 final WindowState targetWin = target.getWindow(); in getControl()
156 if (imeControlTarget != null && imeControlTarget.getWindow() != null in setClientVisible()
157 && imeControlTarget.getWindow().mActivityRecord == null) { in setClientVisible()
218 if (target != null && target.getWindow() != null) { in updateControlForTarget()
221 target = target.getWindow().getImeControlTarget(); in updateControlForTarget()
226 invokeOnImeRequestedChangedListener(target.getWindow()); in updateControlForTarget()
249 controlTarget = mDisplayContent.getImeHostOrFallback(caller.getWindow()); in updateClientVisibility()
256 WindowState windowState = caller.getWindow(); in updateClientVisibility()
273 WindowState windowState = caller.getWindow() != null ? caller.getWindow() in updateClientVisibility()
[all …]
DLaunchWarningWindow.java34 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); in LaunchWarningWindow()
35 getWindow().addFlags(WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in LaunchWarningWindow()
43 getWindow().setFeatureDrawableResource(Window.FEATURE_LEFT_ICON, out.resourceId); in LaunchWarningWindow()
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeBackgroundService.java84 dialog.getWindow().setType(TYPE_APPLICATION_OVERLAY); in onCreate()
85 dialog.getWindow().setFlags( in onCreate()
95 dialog.getWindow().setDimAmount(0); in onCreate()
96 dialog.getWindow().setLayout(ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
98 WindowManager.LayoutParams lp = dialog.getWindow().getAttributes(); in onCreate()
108 dialog.getWindow().setAttributes(lp); in onCreate()
109 dialog.getWindow().setContentView(view); in onCreate()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoLockedActivity.java34 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); in onCreate()
35 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD); in onCreate()
36 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
37 getWindow().addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON); in onCreate()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityTransitionDrawableTest.java71 assertThat(middleActivity.getWindow().getDecorView().getBackground().getAlpha()) in stopTransitionDrawableAlphaRestored()
86 getWindow().requestFeature(Window.FEATURE_ACTIVITY_TRANSITIONS); in onCreate()
87 getWindow().setAllowEnterTransitionOverlap(false); in onCreate()
91 getWindow().setEnterTransition(longFade); in onCreate()
92 getWindow().setExitTransition(longFade); in onCreate()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionWindow.java105 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setToken()
107 getWindow().setAttributes(lp); in setToken()
114 getWindow().getDecorView().setVisibility(View.INVISIBLE); in setToken()
167 getWindow().getDecorView().getHitRect(mBounds); in dispatchTouchEvent()
233 WindowManager.LayoutParams lp = getWindow().getAttributes(); in initDockWindow()
241 getWindow().setAttributes(lp); in initDockWindow()
255 getWindow().setFlags(windowSetFlags, windowModFlags); in initDockWindow()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DDialogThemedActivity.java41 getWindow().addFlags(FLAG_NOT_FOCUSABLE); in onCreate()
42 getWindow().getDecorView().setBackgroundColor(Color.TRANSPARENT); in onCreate()
60 dialog.getWindow().getDecorView().setLayoutParams(attrs); in onCreate()
72 return d.getWindow().getDecorView().getRootWindowInsets().isVisible(type) ? "VISIBLE" in isInsetsVisible()
DSeamlessRotationActivity.java62 WindowManager.LayoutParams p = getWindow().getAttributes(); in enableSeamlessRotation()
67 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, in enableSeamlessRotation()
69 getWindow().setAttributes(p); in enableSeamlessRotation()
DPortraitOnlyActivity.java27 WindowManager.LayoutParams p = getWindow().getAttributes(); in onCreate()
30 getWindow().setAttributes(p); in onCreate()
DSimpleActivity.java27 WindowManager.LayoutParams p = getWindow().getAttributes(); in onCreate()
30 getWindow().setAttributes(p); in onCreate()
DShowWhenLockedActivity.java27 WindowManager.LayoutParams p = getWindow().getAttributes(); in onCreate()
30 getWindow().setAttributes(p); in onCreate()
DLaunchNewActivity.java29 WindowManager.LayoutParams p = getWindow().getAttributes(); in onCreate()
32 getWindow().setAttributes(p); in onCreate()
DAssistantInteractionSession.java34 Window window = getWindow().getWindow(); in onCreate()
/frameworks/base/services/core/java/com/android/server/am/
DBaseErrorDialog.java45 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); in BaseErrorDialog()
46 getWindow().setFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM, in BaseErrorDialog()
48 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in BaseErrorDialog()
50 getWindow().setAttributes(attrs); in BaseErrorDialog()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DUserCreatingDialog.java43 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ERROR); in UserCreatingDialog()
45 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in UserCreatingDialog()
48 getWindow().setAttributes(attrs); in UserCreatingDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIDialog.java247 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in SystemUIDialog()
249 getWindow().setAttributes(attrs); in SystemUIDialog()
272 View targetView = getWindow().getDecorView(); in onCreate()
297 getWindow().setLayout(width, height); in updateWindowSize()
458 dialog.getWindow().getAttributes().privateFlags |= in setShowForAllUsers()
461 dialog.getWindow().getAttributes().privateFlags &= in setShowForAllUsers()
470 final Window window = dialog.getWindow(); in setWindowOnTop()
479 final Window window = dialog.getWindow(); in applyFlags()
529 dialog.getWindow().setLayout(getDefaultDialogWidth(dialog), getDefaultDialogHeight()); in setDialogSize()
567 View decorView = dialog.getWindow().getDecorView(); in getHorizontalInsets()
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DAlwaysOnDisconnectedDialog.java75 getWindow().setCloseOnTouchOutside(false); in onCreate()
76 getWindow().setType(TYPE_SYSTEM_ALERT); in onCreate()
77 getWindow().addFlags(FLAG_ALT_FOCUSABLE_IM); in onCreate()
78 getWindow().addPrivateFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); in onCreate()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DGlifV3StyleTest.java45 assertThat(activity.getWindow().getNavigationBarColor()).isEqualTo(Color.WHITE); in activityWithGlifV3Theme_shouldUseLightNavBarOnV27OrAbove()
46 int vis = activity.getWindow().getDecorView().getSystemUiVisibility(); in activityWithGlifV3Theme_shouldUseLightNavBarOnV27OrAbove()
49 assertThat(activity.getWindow().getNavigationBarColor()).isEqualTo(Color.BLACK); in activityWithGlifV3Theme_shouldUseLightNavBarOnV27OrAbove()
/frameworks/base/apct-tests/perftests/surfaceflinger/src/android/surfaceflinger/
DSurfaceFlingerTestActivity.java46 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, in onCreate()
48 View decorView = getWindow().getDecorView(); in onCreate()
53 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in onCreate()
/frameworks/base/core/java/android/inputmethodservice/
DSoftInputWindow.java96 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setToken()
98 getWindow().setAttributes(lp); in setToken()
105 getWindow().getDecorView().setVisibility(View.INVISIBLE); in setToken()
198 getWindow().setWindowAnimations(0); in dismissForDestroyIfNecessary()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTrustedOverlayTests.java109 WindowManager.LayoutParams params = mActivity.getWindow().getAttributes(); in setSpyWindowDoesntCrash()
112 mActivity.getWindow().setAttributes(params); in setSpyWindowDoesntCrash()
114 View rootView = mActivity.getWindow().getDecorView(); in setSpyWindowDoesntCrash()
158 mActivity.getWindow().addPrivateFlags(PRIVATE_FLAG_TRUSTED_OVERLAY); in testTrustedOverlayChildHelper()
159 View rootView = mActivity.getWindow().getDecorView(); in testTrustedOverlayChildHelper()
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
DAutoShowTest.java119 int windowFlags = activity.getWindow().getAttributes().flags; in autoShow_hasFocusedView_notRequestFocus()
148 int windowFlags = activity.getWindow().getAttributes().flags; in autoShow_notFocusedView_notRequestFocus()
328 int softInputMode = activity.getWindow().getAttributes().softInputMode; in verifyAutoShowBehavior_forwardWithKeyboardOff()
370 int windowFlags = activity.getWindow().getAttributes().flags; in verifyAutoShowBehavior_forwardWithKeyboardOn()
371 int softInputMode = activity.getWindow().getAttributes().softInputMode; in verifyAutoShowBehavior_forwardWithKeyboardOn()
435 int softInputMode = activity.getWindow().getAttributes().softInputMode; in verifyAutoShowBehavior_backwardWithKeyboardOff()
452 int softInputMode = activity.getWindow().getAttributes().softInputMode; in verifyAutoShowBehavior_backwardWithKeyboardOn()
465 int windowFlags = activity.getWindow().getAttributes().flags; in verifyClickBehavior()
/frameworks/base/services/tests/wmtests/OverlayApp/src/com/android/server/wm/overlay_app/
DOverlayApp.java44 getWindow().addFlags(WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL); in onCreate()
45 getWindow().clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND); in onCreate()
/frameworks/base/core/java/android/app/
DNativeActivity.java133 getWindow().takeSurface(this); in onCreate()
134 getWindow().takeInputQueue(this); in onCreate()
135 getWindow().setFormat(PixelFormat.RGB_565); in onCreate()
136 getWindow().setSoftInputMode( in onCreate()
320 getWindow().setFlags(flags, mask); in setWindowFlags()
325 getWindow().setFormat(format); in setWindowFormat()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgress.java271 getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT)); in onCreate()
272 getWindow().setStatusBarColor(Color.TRANSPARENT); in onCreate()
273 getWindow().setNavigationBarColor(Color.TRANSPARENT); in onCreate()
333 getWindow().setBackgroundDrawable(new ColorDrawable(attribute.data)); in initView()
335 getWindow().setBackgroundDrawable(getResources().getDrawable(attribute.resourceId, in initView()
340 getWindow().setNavigationBarColor(attribute.data); in initView()
343 getWindow().setStatusBarColor(attribute.data); in initView()

12345678910>>...13