Home
last modified time | relevance | path

Searched refs:WindowManager (Results 1 – 25 of 407) sorted by relevance

12345678910>>...17

/frameworks/base/services/core/java/com/android/server/policy/
DWindowManagerPolicy.java19 import static android.view.WindowManager.LayoutParams.FIRST_APPLICATION_WINDOW;
20 import static android.view.WindowManager.LayoutParams.LAST_APPLICATION_WINDOW;
21 import static android.view.WindowManager.LayoutParams.TYPE_ACCESSIBILITY_MAGNIFICATION_OVERLAY;
22 import static android.view.WindowManager.LayoutParams.TYPE_ACCESSIBILITY_OVERLAY;
23 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_ABOVE_SUB_PANEL;
24 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG;
25 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA;
26 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA_OVERLAY;
27 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY;
28 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_PANEL;
[all …]
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/window/
DSystemUIOverlayWindowController.java19 import static android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
28 import android.view.WindowManager;
46 private final WindowManager mWindowManager;
49 private WindowManager.LayoutParams mLp;
50 private WindowManager.LayoutParams mLpChanged;
58 WindowManager windowManager, in SystemUIOverlayWindowController()
64 mLpChanged = new WindowManager.LayoutParams(); in SystemUIOverlayWindowController()
90 mLp = new WindowManager.LayoutParams( in attach()
93 WindowManager.LayoutParams.TYPE_NOTIFICATION_SHADE, in attach()
94 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in attach()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DWindowManagerWrapper.java31 import android.view.WindowManager;
42 public static final int TRANSIT_UNSET = WindowManager.TRANSIT_UNSET;
43 public static final int TRANSIT_NONE = WindowManager.TRANSIT_NONE;
44 public static final int TRANSIT_ACTIVITY_OPEN = WindowManager.TRANSIT_ACTIVITY_OPEN;
45 public static final int TRANSIT_ACTIVITY_CLOSE = WindowManager.TRANSIT_ACTIVITY_CLOSE;
46 public static final int TRANSIT_TASK_OPEN = WindowManager.TRANSIT_TASK_OPEN;
47 public static final int TRANSIT_TASK_CLOSE = WindowManager.TRANSIT_TASK_CLOSE;
48 public static final int TRANSIT_TASK_TO_FRONT = WindowManager.TRANSIT_TASK_TO_FRONT;
49 public static final int TRANSIT_TASK_TO_BACK = WindowManager.TRANSIT_TASK_TO_BACK;
50 public static final int TRANSIT_WALLPAPER_CLOSE = WindowManager.TRANSIT_WALLPAPER_CLOSE;
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DViewRootImplTest.java26 import static android.view.WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN;
27 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION;
28 import static android.view.WindowManager.LayoutParams.TYPE_SYSTEM_ALERT;
29 import static android.view.WindowManager.LayoutParams.TYPE_TOAST;
71 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_layoutFullscreen()
81 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_layoutInScreen()
91 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_layoutHideNavigation()
101 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_TOAST); in adjustLayoutParamsForCompatibility_toast()
109 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_SYSTEM_ALERT); in adjustLayoutParamsForCompatibility_systemAlert()
117 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams(TYPE_APPLICATION); in adjustLayoutParamsForCompatibility_fitSystemBars()
[all …]
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodDebug.java21 import android.view.WindowManager;
22 import android.view.WindowManager.LayoutParams.SoftInputModeFlags;
107 final int state = softInputMode & WindowManager.LayoutParams.SOFT_INPUT_MASK_STATE; in softInputModeToString()
108 final int adjust = softInputMode & WindowManager.LayoutParams.SOFT_INPUT_MASK_ADJUST; in softInputModeToString()
110 (softInputMode & WindowManager.LayoutParams.SOFT_INPUT_IS_FORWARD_NAVIGATION) != 0; in softInputModeToString()
113 case WindowManager.LayoutParams.SOFT_INPUT_STATE_UNSPECIFIED: in softInputModeToString()
116 case WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED: in softInputModeToString()
119 case WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN: in softInputModeToString()
122 case WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN: in softInputModeToString()
125 case WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE: in softInputModeToString()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowController.java19 import static android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
20 import static android.view.WindowManager.LayoutParams.PRIVATE_FLAG_COLOR_SPACE_AGNOSTIC;
21 import static android.view.WindowManager.LayoutParams.PRIVATE_FLAG_FORCE_SHOW_STATUS_BAR;
30 import android.view.WindowManager;
47 private final WindowManager mWindowManager;
54 private WindowManager.LayoutParams mLp;
55 private final WindowManager.LayoutParams mLpChanged;
58 public StatusBarWindowController(Context context, WindowManager windowManager, in StatusBarWindowController()
65 mLpChanged = new WindowManager.LayoutParams(); in StatusBarWindowController()
101 mLp = new WindowManager.LayoutParams( in attach()
[all …]
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeBackgroundService.java20 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY;
33 import android.view.WindowManager;
86 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in onCreate()
87 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE in onCreate()
88 | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS in onCreate()
89 | WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, in onCreate()
90 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in onCreate()
91 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE in onCreate()
92 | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS in onCreate()
93 | WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED in onCreate()
[all …]
DFakeApp.java20 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY;
39 import android.view.WindowManager;
108 final WindowManager wm = windowContext.getSystemService(WindowManager.class); in onCreate()
127 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( in onCreate()
129 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in onCreate()
130 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE in onCreate()
131 | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS); in onCreate()
133 lp.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED; in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerWindowManager.java19 import static android.view.WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE;
20 import static android.view.WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE;
21 import static android.view.WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL;
22 import static android.view.WindowManager.LayoutParams.FLAG_SLIPPERY;
23 import static android.view.WindowManager.LayoutParams.FLAG_SPLIT_TOUCH;
24 import static android.view.WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH;
25 import static android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
26 import static android.view.WindowManager.LayoutParams.PRIVATE_FLAG_NO_MOVE_ANIMATION;
27 import static android.view.WindowManager.LayoutParams.TYPE_DOCK_DIVIDER;
33 import android.view.WindowManager;
[all …]
/frameworks/base/core/java/android/widget/
DToastPresenter.java34 import android.view.WindowManager;
69 private final WindowManager mWindowManager;
73 private final WindowManager.LayoutParams mParams;
81 mWindowManager = context.getSystemService(WindowManager.class); in ToastPresenter()
101 public WindowManager.LayoutParams getLayoutParams() { in getLayoutParams()
126 private WindowManager.LayoutParams createLayoutParams() { in createLayoutParams()
127 WindowManager.LayoutParams params = new WindowManager.LayoutParams(); in createLayoutParams()
128 params.height = WindowManager.LayoutParams.WRAP_CONTENT; in createLayoutParams()
129 params.width = WindowManager.LayoutParams.WRAP_CONTENT; in createLayoutParams()
132 params.type = WindowManager.LayoutParams.TYPE_TOAST; in createLayoutParams()
[all …]
/frameworks/base/core/java/android/inputmethodservice/
DSoftInputWindow.java32 import android.view.WindowManager;
94 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setToken()
179 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setGravity()
189 private void updateWidthHeight(WindowManager.LayoutParams lp) { in updateWidthHeight()
191 lp.width = WindowManager.LayoutParams.MATCH_PARENT; in updateWidthHeight()
192 lp.height = WindowManager.LayoutParams.WRAP_CONTENT; in updateWidthHeight()
194 lp.width = WindowManager.LayoutParams.WRAP_CONTENT; in updateWidthHeight()
195 lp.height = WindowManager.LayoutParams.MATCH_PARENT; in updateWidthHeight()
236 WindowManager.LayoutParams lp = getWindow().getAttributes(); in initDockWindow()
246 int windowSetFlags = WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN; in initDockWindow()
[all …]
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/navigationbar/
DCarNavigationBar.java41 import android.view.WindowManager;
81 private final WindowManager mWindowManager;
132 WindowManager windowManager, in CarNavigationBar()
368 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( in attachNavBarWindows()
371 WindowManager.LayoutParams.TYPE_STATUS_BAR, in attachNavBarWindows()
372 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in attachNavBarWindows()
373 | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL in attachNavBarWindows()
374 | WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH in attachNavBarWindows()
375 | WindowManager.LayoutParams.FLAG_SPLIT_TOUCH, in attachNavBarWindows()
388 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( in attachNavBarWindows()
[all …]
/frameworks/base/core/java/com/android/internal/view/
DTooltipPopup.java26 import android.view.WindowManager;
38 private final WindowManager.LayoutParams mLayoutParams = new WindowManager.LayoutParams();
54 mLayoutParams.type = WindowManager.LayoutParams.TYPE_APPLICATION_ABOVE_SUB_PANEL; in TooltipPopup()
55 mLayoutParams.width = WindowManager.LayoutParams.WRAP_CONTENT; in TooltipPopup()
56 mLayoutParams.height = WindowManager.LayoutParams.WRAP_CONTENT; in TooltipPopup()
59 mLayoutParams.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in TooltipPopup()
60 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE; in TooltipPopup()
73 WindowManager wm = (WindowManager)mContext.getSystemService(Context.WINDOW_SERVICE); in show()
82 WindowManager wm = (WindowManager)mContext.getSystemService(Context.WINDOW_SERVICE); in hide()
95 WindowManager.LayoutParams outParams) { in computePosition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
DWirelessChargingAnimation.java30 import android.view.WindowManager;
94 private final WindowManager.LayoutParams mParams = new WindowManager.LayoutParams();
100 private WindowManager mWM;
109 final WindowManager.LayoutParams params = mParams; in WirelessChargingView()
110 params.height = WindowManager.LayoutParams.WRAP_CONTENT; in WirelessChargingView()
111 params.width = WindowManager.LayoutParams.MATCH_PARENT; in WirelessChargingView()
114 params.type = WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG; in WirelessChargingView()
116 params.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in WirelessChargingView()
117 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE in WirelessChargingView()
118 | WindowManager.LayoutParams.FLAG_DIM_BEHIND; in WirelessChargingView()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DInattentiveSleepWarningView.java29 import android.view.WindowManager;
40 private final WindowManager mWindowManager;
46 mWindowManager = mContext.getSystemService(WindowManager.class); in InattentiveSleepWarningView()
118 private WindowManager.LayoutParams getLayoutParams(IBinder windowToken) { in getLayoutParams()
119 final WindowManager.LayoutParams lp = new WindowManager.LayoutParams( in getLayoutParams()
122 WindowManager.LayoutParams.TYPE_SYSTEM_OVERLAY, in getLayoutParams()
123 WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN, in getLayoutParams()
125 lp.privateFlags |= WindowManager.LayoutParams.SYSTEM_FLAG_SHOW_FOR_ALL_USERS; in getLayoutParams()
/frameworks/base/tests/testables/src/android/testing/
DViewUtils.java20 import android.view.WindowManager;
21 import android.view.WindowManager.LayoutParams;
37 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( in attachView()
41 view.getContext().getSystemService(WindowManager.class).addView(view, lp); in attachView()
50 view.getContext().getSystemService(WindowManager.class).removeViewImmediate(view); in detachView()
/frameworks/base/core/java/android/view/
DWindow.java19 import static android.view.WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED;
295 private WindowManager mWindowManager;
329 private final WindowManager.LayoutParams mWindowAttributes =
330 new WindowManager.LayoutParams();
481 public void onWindowAttributesChanged(WindowManager.LayoutParams attrs); in onWindowAttributesChanged()
803 public void setWindowManager(WindowManager wm, IBinder appToken, String appName) { in setWindowManager()
814 public void setWindowManager(WindowManager wm, IBinder appToken, String appName, in setWindowManager()
820 wm = (WindowManager)mContext.getSystemService(Context.WINDOW_SERVICE); in setWindowManager()
825 void adjustLayoutParamsForSubWindow(WindowManager.LayoutParams wp) { in adjustLayoutParamsForSubWindow()
827 if (wp.type >= WindowManager.LayoutParams.FIRST_SUB_WINDOW && in adjustLayoutParamsForSubWindow()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DDefaultUiController.java32 import android.view.WindowManager;
69 private final WindowManager mWindowManager;
70 private final WindowManager.LayoutParams mLayoutParams;
83 mWindowManager = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); in DefaultUiController()
85 mLayoutParams = new WindowManager.LayoutParams( in DefaultUiController()
86 WindowManager.LayoutParams.MATCH_PARENT, in DefaultUiController()
87 WindowManager.LayoutParams.WRAP_CONTENT, 0, 0, in DefaultUiController()
88 WindowManager.LayoutParams.TYPE_NAVIGATION_BAR_PANEL, in DefaultUiController()
89 WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN in DefaultUiController()
90 | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS in DefaultUiController()
[all …]
/frameworks/base/core/tests/coretests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/
DTestService.java18 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY;
39 import android.view.WindowManager;
107 final WindowManager wm = mOverlayContext.getSystemService(WindowManager.class); in removeOverlays()
121 final WindowManager wm = mOverlayContext.getSystemService(WindowManager.class);
124 final WindowManager.LayoutParams wmlp = new WindowManager.LayoutParams(
126 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
127 | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON
128 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE);
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/notification/
DCarHeadsUpNotificationSystemContainer.java26 import android.view.WindowManager;
52 WindowManager windowManager, in CarHeadsUpNotificationSystemContainer()
61 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( in CarHeadsUpNotificationSystemContainer()
63 WindowManager.LayoutParams.WRAP_CONTENT, in CarHeadsUpNotificationSystemContainer()
64 WindowManager.LayoutParams.TYPE_STATUS_BAR_SUB_PANEL, in CarHeadsUpNotificationSystemContainer()
65 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in CarHeadsUpNotificationSystemContainer()
66 | WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN, in CarHeadsUpNotificationSystemContainer()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyTests.java27 import static android.view.WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM;
28 import static android.view.WindowManager.LayoutParams.FLAG_DIM_BEHIND;
29 import static android.view.WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS;
30 import static android.view.WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON;
31 import static android.view.WindowManager.LayoutParams.FLAG_LAYOUT_INSET_DECOR;
32 import static android.view.WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN;
33 import static android.view.WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE;
34 import static android.view.WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE;
35 import static android.view.WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED;
36 import static android.view.WindowManager.LayoutParams.PRIVATE_FLAG_FORCE_DRAW_BAR_BACKGROUNDS;
[all …]
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DSeamlessRotationActivity.java29 import android.view.WindowManager;
62 WindowManager.LayoutParams p = getWindow().getAttributes(); in enableSeamlessRotation()
63 p.rotationAnimation = WindowManager.LayoutParams.ROTATION_ANIMATION_SEAMLESS; in enableSeamlessRotation()
64 p.layoutInDisplayCutoutMode = WindowManager.LayoutParams in enableSeamlessRotation()
67 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, in enableSeamlessRotation()
68 WindowManager.LayoutParams.FLAG_FULLSCREEN); in enableSeamlessRotation()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoLockedActivity.java23 import android.view.WindowManager;
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/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotEvent.java19 import static android.view.WindowManager.ScreenshotSource.SCREENSHOT_ACCESSIBILITY_ACTIONS;
20 import static android.view.WindowManager.ScreenshotSource.SCREENSHOT_GLOBAL_ACTIONS;
21 import static android.view.WindowManager.ScreenshotSource.SCREENSHOT_KEY_CHORD;
22 import static android.view.WindowManager.ScreenshotSource.SCREENSHOT_KEY_OTHER;
23 import static android.view.WindowManager.ScreenshotSource.SCREENSHOT_OTHER;
24 import static android.view.WindowManager.ScreenshotSource.SCREENSHOT_OVERVIEW;
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationController.java19 import static android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES;
39 import android.view.WindowManager;
57 private final WindowManager mWm;
89 mWm = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); in WindowMagnificationController()
114 WindowManager.LayoutParams params = new WindowManager.LayoutParams( in createOverlayWindow()
115 WindowManager.LayoutParams.MATCH_PARENT, WindowManager.LayoutParams.MATCH_PARENT, in createOverlayWindow()
116 WindowManager.LayoutParams.TYPE_ACCESSIBILITY_MAGNIFICATION_OVERLAY, in createOverlayWindow()
117 WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE in createOverlayWindow()
118 | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE, in createOverlayWindow()
195 WindowManager.LayoutParams params = new WindowManager.LayoutParams( in createMirrorWindow()
[all …]

12345678910>>...17