Home
last modified time | relevance | path

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

1234567891011

/frameworks/base/services/core/java/com/android/server/wm/
DImeInsetsSourceProvider.java64 if (control != null && target != null && target.getWindow() != null) { in getControl()
65 final WindowState targetWin = target.getWindow(); in getControl()
121 ProtoLog.d(WM_DEBUG_IME, "Schedule IME show for %s", mImeRequester.getWindow() == null in scheduleShowImePostLayout()
122 ? mImeRequester : mImeRequester.getWindow().getName()); in scheduleShowImePostLayout()
130 target.getWindow() != null ? target.getWindow().getName() : ""); in scheduleShowImePostLayout()
137 (mImeRequester.getWindow() != null in scheduleShowImePostLayout()
138 ? mImeRequester.getWindow().getName() : "")); in scheduleShowImePostLayout()
187 dcTarget.getWindow().getName(), mImeRequester.getWindow() == null in isReadyToShowIme()
188 ? mImeRequester : mImeRequester.getWindow().getName()); in isReadyToShowIme()
202 return !dcTarget.getWindow().isClosing() && target == dcTarget; in isImeLayeringTarget()
[all …]
DInsetsSourceProvider.java310 if (target != null && target.getWindow() != null) { in updateControlForTarget()
313 target = target.getWindow().getImeControlTarget(); in updateControlForTarget()
480 pw.println(mControlTarget.getWindow()); in dump()
484 pw.println(mPendingControlTarget.getWindow()); in dump()
488 pw.println(mFakeControlTarget.getWindow()); in dump()
500 if (mControlTarget != null && mControlTarget.getWindow() != null) { in dumpDebug()
501 mControlTarget.getWindow().dumpDebug(proto, CONTROL_TARGET, logLevel); in dumpDebug()
503 if (mPendingControlTarget != null && mPendingControlTarget.getWindow() != null) { in dumpDebug()
504 mPendingControlTarget.getWindow().dumpDebug(proto, PENDING_CONTROL_TARGET, logLevel); in dumpDebug()
506 if (mFakeControlTarget != null && mFakeControlTarget.getWindow() != null) { in dumpDebug()
[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/SystemUI/src/com/android/systemui/tv/
DTvBottomSheetActivity.java45 getWindow().setBackgroundDrawable(enabled ? mBackgroundWithBlur : mBackgroundWithoutBlur); in onBlurChanged()
64 WindowManager.LayoutParams windowParams = getWindow().getAttributes(); in onCreate()
74 getWindow().setAttributes(windowParams); in onCreate()
75 getWindow().setElevation(getWindow().getElevation() + 5); in onCreate()
76 getWindow().setBackgroundBlurRadius(getResources().getDimensionPixelSize( in onCreate()
/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/shared/src/com/android/systemui/shared/system/
DActivityCompat.java51 if (mWrapped.getWindow() != null && in encodeViewHierarchy()
52 mWrapped.getWindow().peekDecorView() != null && in encodeViewHierarchy()
53 mWrapped.getWindow().peekDecorView().getViewRootImpl() != null) { in encodeViewHierarchy()
54 view = mWrapped.getWindow().peekDecorView().getViewRootImpl().getView(); in encodeViewHierarchy()
/frameworks/base/core/java/android/inputmethodservice/
DSoftInputWindow.java102 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setToken()
104 getWindow().setAttributes(lp); in setToken()
111 getWindow().getDecorView().setVisibility(View.INVISIBLE); in setToken()
164 getWindow().getDecorView().getHitRect(mBounds); in dispatchTouchEvent()
187 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setGravity()
190 getWindow().setAttributes(lp); in setGravity()
194 return getWindow().getAttributes().gravity; in getGravity()
244 WindowManager.LayoutParams lp = getWindow().getAttributes(); in initDockWindow()
252 getWindow().setAttributes(lp); in initDockWindow()
266 getWindow().setFlags(windowSetFlags, windowModFlags); in initDockWindow()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIDialog.java56 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in SystemUIDialog()
58 getWindow().setAttributes(attrs); in SystemUIDialog()
97 dialog.getWindow().getAttributes().privateFlags |= in setShowForAllUsers()
100 dialog.getWindow().getAttributes().privateFlags &= in setShowForAllUsers()
106 final Window window = dialog.getWindow(); in setWindowOnTop()
115 final Window window = dialog.getWindow(); in applyFlags()
/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/services/core/java/com/android/server/am/
DBaseErrorDialog.java42 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); in BaseErrorDialog()
43 getWindow().setFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM, in BaseErrorDialog()
45 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in BaseErrorDialog()
47 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()
128 final View decorView = getWindow().getDecorView(); in show()
151 final View decorView = getWindow().getDecorView(); in startUser()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DUserCreatingDialog.java39 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ERROR); in UserCreatingDialog()
41 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in UserCreatingDialog()
44 getWindow().setAttributes(attrs); in UserCreatingDialog()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DSeamlessRotationActivity.java62 WindowManager.LayoutParams p = getWindow().getAttributes(); in enableSeamlessRotation()
67 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, in enableSeamlessRotation()
69 getWindow().setAttributes(p); in enableSeamlessRotation()
DImeActivity.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()
/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/src/com/android/wm/shell/legacysplitscreen/
DForcedResizableInfoActivity.java72 getWindow().setTitle(text); in onCreate()
73 getWindow().getDecorView().setOnTouchListener(this); in onCreate()
79 getWindow().getDecorView().postDelayed(mFinishRunnable, DISMISS_DELAY); in onStart()
/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/apct-tests/perftests/windowmanager/src/android/wm/
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()
146 mView = activity.getWindow().getDecorView(); in RelayoutRunner()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSlicePermissionActivity.java81 dialog.getWindow().addSystemFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); in onCreate()
83 TextView t1 = dialog.getWindow().getDecorView().findViewById(R.id.text1); in onCreate()
85 TextView t2 = dialog.getWindow().getDecorView().findViewById(R.id.text2); in onCreate()
87 mAllCheckbox = dialog.getWindow().getDecorView().findViewById( in onCreate()

1234567891011