/frameworks/base/services/core/java/com/android/server/wm/ |
D | ImeInsetsSourceProvider.java | 126 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 …]
|
D | LaunchWarningWindow.java | 34 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/ |
D | FakeBackgroundService.java | 84 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/ |
D | NekoLockedActivity.java | 34 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/ |
D | ActivityTransitionDrawableTest.java | 71 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/ |
D | VoiceInteractionWindow.java | 105 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/ |
D | DialogThemedActivity.java | 41 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()
|
D | SeamlessRotationActivity.java | 62 WindowManager.LayoutParams p = getWindow().getAttributes(); in enableSeamlessRotation() 67 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, in enableSeamlessRotation() 69 getWindow().setAttributes(p); in enableSeamlessRotation()
|
D | PortraitOnlyActivity.java | 27 WindowManager.LayoutParams p = getWindow().getAttributes(); in onCreate() 30 getWindow().setAttributes(p); in onCreate()
|
D | SimpleActivity.java | 27 WindowManager.LayoutParams p = getWindow().getAttributes(); in onCreate() 30 getWindow().setAttributes(p); in onCreate()
|
D | ShowWhenLockedActivity.java | 27 WindowManager.LayoutParams p = getWindow().getAttributes(); in onCreate() 30 getWindow().setAttributes(p); in onCreate()
|
D | LaunchNewActivity.java | 29 WindowManager.LayoutParams p = getWindow().getAttributes(); in onCreate() 32 getWindow().setAttributes(p); in onCreate()
|
D | AssistantInteractionSession.java | 34 Window window = getWindow().getWindow(); in onCreate()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BaseErrorDialog.java | 45 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/ |
D | UserCreatingDialog.java | 43 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/ |
D | SystemUIDialog.java | 247 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/ |
D | AlwaysOnDisconnectedDialog.java | 75 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/ |
D | GlifV3StyleTest.java | 45 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/ |
D | SurfaceFlingerTestActivity.java | 46 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/ |
D | SoftInputWindow.java | 96 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/ |
D | TrustedOverlayTests.java | 109 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/ |
D | AutoShowTest.java | 119 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/ |
D | OverlayApp.java | 44 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/ |
D | NativeActivity.java | 133 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/ |
D | UninstallAppProgress.java | 271 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()
|