Home
last modified time | relevance | path

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

12345678910>>...13

/frameworks/base/services/core/java/com/android/server/wm/
DImeInsetsSourceProvider.java65 if (control != null && target != null && target.getWindow() != null) { in getControl()
66 final WindowState targetWin = target.getWindow(); in getControl()
96 if (target != null && target.getWindow() != null) { in updateControlForTarget()
99 target = target.getWindow().getImeControlTarget(); in updateControlForTarget()
114 if (caller.getWindow() != null && caller.getWindow().getTask() != null) { in reportImeDrawnForOrganizer()
115 if (caller.getWindow().getTask().isOrganized()) { in reportImeDrawnForOrganizer()
117 .reportImeDrawnOnTask(caller.getWindow().getTask()); in reportImeDrawnForOrganizer()
150 ProtoLog.d(WM_DEBUG_IME, "Schedule IME show for %s", mImeRequester.getWindow() == null in scheduleShowImePostLayout()
151 ? mImeRequester : mImeRequester.getWindow().getName()); in scheduleShowImePostLayout()
159 target.getWindow() != null ? target.getWindow().getName() : ""); in scheduleShowImePostLayout()
[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()
DInsetsControlTarget.java38 default WindowState getWindow() { in getWindow() method
76 return target != null ? target.getWindow() : null; in asWindowOrNull()
/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/packages/SystemUI/src/com/android/systemui/tv/
DTvBottomSheetActivity.java48 getWindow().setBackgroundDrawable(enabled ? mBackgroundWithBlur : mBackgroundWithoutBlur); in onBlurChanged()
67 WindowManager.LayoutParams windowParams = getWindow().getAttributes(); in onCreate()
77 getWindow().setAttributes(windowParams); in onCreate()
78 getWindow().setElevation(getWindow().getElevation() + 5); in onCreate()
79 getWindow().setBackgroundBlurRadius(getResources().getDimensionPixelSize( in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/notifications/
DTvNotificationPanelActivity.java113 getWindow().setGravity(Gravity.END); in onAttachedToWindow()
121 getWindow().setBackgroundDrawable( in enableBlur()
123 getWindow().setBackgroundBlurRadius(blurRadius); in enableBlur()
125 getWindow().setBackgroundDrawable( in enableBlur()
127 getWindow().setBackgroundBlurRadius(0); in enableBlur()
/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIDialog.java122 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in SystemUIDialog()
124 getWindow().setAttributes(attrs); in SystemUIDialog()
147 /* targetView = */ getWindow().getDecorView() in onCreate()
167 getWindow().setLayout(width, height); in updateWindowSize()
300 dialog.getWindow().getAttributes().privateFlags |= in setShowForAllUsers()
303 dialog.getWindow().getAttributes().privateFlags &= in setShowForAllUsers()
312 final Window window = dialog.getWindow(); in setWindowOnTop()
321 final Window window = dialog.getWindow(); in applyFlags()
372 dialog.getWindow().setLayout(getDefaultDialogWidth(dialog), getDefaultDialogHeight()); in setDialogSize()
410 View decorView = dialog.getWindow().getDecorView(); in getHorizontalInsets()
/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()
DSimpleActivity.java27 WindowManager.LayoutParams p = getWindow().getAttributes(); in onCreate()
30 getWindow().setAttributes(p); in onCreate()
DPortraitOnlyActivity.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()
DImeActivity.java28 WindowManager.LayoutParams p = getWindow().getAttributes(); in onCreate()
31 getWindow().setAttributes(p); 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()
DUserSwitchingDialog.java80 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ERROR); in UserSwitchingDialog()
83 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in UserSwitchingDialog()
86 getWindow().setAttributes(attrs); in UserSwitchingDialog()
131 final View decorView = getWindow().getDecorView(); in show()
154 final View decorView = getWindow().getDecorView(); in startUser()
/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/core/java/android/inputmethodservice/
DSoftInputWindow.java92 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setToken()
94 getWindow().setAttributes(lp); in setToken()
101 getWindow().getDecorView().setVisibility(View.INVISIBLE); in setToken()
147 getWindow().getDecorView().getHitRect(mBounds); in dispatchTouchEvent()
209 getWindow().setWindowAnimations(0); in dismissForDestroyIfNecessary()
/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/base/apct-tests/perftests/contentcapture/src/android/view/contentcapture/
DLoginTest.java102 final View root = activity.getWindow().getDecorView(); in testOnVisibilityAggregated_visibleChanged()
111 final View root = activity.getWindow().getDecorView(); in testOnVisibilityAggregated_visibleChanged_noService()
122 final View root = activity.getWindow().getDecorView(); in testOnVisibilityAggregated_visibleChanged_noOptions()
132 final View root = activity.getWindow().getDecorView(); in testOnVisibilityAggregated_visibleChanged_notImportant()
/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/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/src/com/android/wm/shell/flicker/testapp/
DSimpleActivity.java27 WindowManager.LayoutParams p = getWindow().getAttributes(); in onCreate()
30 getWindow().setAttributes(p); in onCreate()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgress.java289 getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT)); in onCreate()
290 getWindow().setStatusBarColor(Color.TRANSPARENT); in onCreate()
291 getWindow().setNavigationBarColor(Color.TRANSPARENT); in onCreate()
334 getWindow().setBackgroundDrawable(new ColorDrawable(attribute.data)); in initView()
336 getWindow().setBackgroundDrawable(getResources().getDrawable(attribute.resourceId, in initView()
341 getWindow().setNavigationBarColor(attribute.data); in initView()
344 getWindow().setStatusBarColor(attribute.data); in initView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSlicePermissionActivity.java84 dialog.getWindow().addSystemFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); in onCreate()
86 TextView t1 = dialog.getWindow().getDecorView().findViewById(R.id.text1); in onCreate()
88 TextView t2 = dialog.getWindow().getDecorView().findViewById(R.id.text2); in onCreate()
90 mAllCheckbox = dialog.getWindow().getDecorView().findViewById( in onCreate()

12345678910>>...13