Home
last modified time | relevance | path

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

12345678910>>...12

/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DImeInsetsSourceProvider.java77 final WindowState targetWin = target.getWindow(); in getControl()
148 if (target != null && target.getWindow() != null) { in updateControlForTarget()
170 final WindowState callerWindow = caller.getWindow(); in reportImeDrawnForOrganizerIfNeeded()
186 final WindowState callerWindow = caller.getWindow(); in reportImeDrawnForOrganizer()
252 target.getWindow() != null ? target.getWindow().getName() : ""); in scheduleShowImePostLayout()
330 dcTarget.getWindow().getName(), mImeRequester.getWindow() == null in isReadyToShowIme()
350 return target.getWindow() != null in isAboveImeLayeringTarget()
352 && dcTarget.getWindow().mSubLayer > target.getWindow().mSubLayer; in isAboveImeLayeringTarget()
366 && (mImeRequester.getWindow() == null in sameAsImeControlTarget()
384 && mImeRequester.getWindow() != null in isTargetChangedWithinActivity()
[all …]
H A 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()
/aosp14/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
H A 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()
/aosp14/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/notifications/
H A 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()
/aosp14/frameworks/base/core/tests/coretests/src/android/app/activity/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DSystemUIDialog.java118 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in SystemUIDialog()
120 getWindow().setAttributes(attrs); in SystemUIDialog()
143 /* targetView = */ getWindow().getDecorView() in onCreate()
163 getWindow().setLayout(width, height); in updateWindowSize()
312 dialog.getWindow().getAttributes().privateFlags |= in setShowForAllUsers()
315 dialog.getWindow().getAttributes().privateFlags &= in setShowForAllUsers()
324 final Window window = dialog.getWindow(); in setWindowOnTop()
333 final Window window = dialog.getWindow(); in applyFlags()
384 dialog.getWindow().setLayout(getDefaultDialogWidth(dialog), getDefaultDialogHeight()); in setDialogSize()
422 View decorView = dialog.getWindow().getDecorView(); in getHorizontalInsets()
/aosp14/frameworks/base/core/java/android/service/voice/
H A 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()
/aosp14/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
H A 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()
H A DSeamlessRotationActivity.java62 WindowManager.LayoutParams p = getWindow().getAttributes(); in enableSeamlessRotation()
67 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, in enableSeamlessRotation()
69 getWindow().setAttributes(p); in enableSeamlessRotation()
H A DPortraitOnlyActivity.java27 WindowManager.LayoutParams p = getWindow().getAttributes(); in onCreate()
30 getWindow().setAttributes(p); in onCreate()
H A DShowWhenLockedActivity.java27 WindowManager.LayoutParams p = getWindow().getAttributes(); in onCreate()
30 getWindow().setAttributes(p); in onCreate()
H A DSimpleActivity.java27 WindowManager.LayoutParams p = getWindow().getAttributes(); in onCreate()
30 getWindow().setAttributes(p); in onCreate()
H A DImeActivity.java28 WindowManager.LayoutParams p = getWindow().getAttributes(); in onCreate()
31 getWindow().setAttributes(p); in onCreate()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A 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()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
H A 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()
/aosp14/frameworks/base/core/java/android/inputmethodservice/
H A DSoftInputWindow.java99 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setToken()
101 getWindow().setAttributes(lp); in setToken()
108 getWindow().getDecorView().setVisibility(View.INVISIBLE); in setToken()
154 getWindow().getDecorView().getHitRect(mBounds); in dispatchTouchEvent()
216 getWindow().setWindowAnimations(0); in dismissForDestroyIfNecessary()
/aosp14/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
H A 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()
/aosp14/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
H A 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()
/aosp14/frameworks/base/apct-tests/perftests/contentcapture/src/android/view/contentcapture/
H A DLoginTest.java118 final View root = activity.getWindow().getDecorView(); in testOnVisibilityAggregated_visibleChanged()
127 final View root = activity.getWindow().getDecorView(); in testOnVisibilityAggregated_visibleChanged_noService()
138 final View root = activity.getWindow().getDecorView(); in testOnVisibilityAggregated_visibleChanged_noOptions()
148 final View root = activity.getWindow().getDecorView(); in testOnVisibilityAggregated_visibleChanged_notImportant()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A 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()
/aosp14/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
H A DRelayoutPerfTest.java98 final RelayoutRunner relayoutRunner = new RelayoutRunner(activity, contentView.getWindow(), in testRelayout()
121 protected IWindow getWindow() { in getWindow() method in RelayoutPerfTest.ContentView
122 return super.getWindow(); in getWindow()
144 mView = activity.getWindow().getDecorView(); in RelayoutRunner()
/aosp14/frameworks/base/core/java/android/app/
H A 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()
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
H A DUninstallAppProgress.java274 getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT)); in onCreate()
275 getWindow().setStatusBarColor(Color.TRANSPARENT); in onCreate()
276 getWindow().setNavigationBarColor(Color.TRANSPARENT); in onCreate()
336 getWindow().setBackgroundDrawable(new ColorDrawable(attribute.data)); in initView()
338 getWindow().setBackgroundDrawable(getResources().getDrawable(attribute.resourceId, in initView()
343 getWindow().setNavigationBarColor(attribute.data); in initView()
346 getWindow().setStatusBarColor(attribute.data); in initView()

12345678910>>...12