Home
last modified time | relevance | path

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

1234567

/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeBackgroundService.java31 import android.view.WindowManager;
71 final WindowManager wm = (WindowManager)getSystemService(Context.WINDOW_SERVICE); in onCreate()
77 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); in onCreate()
79 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in onCreate()
80 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE in onCreate()
81 | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS in onCreate()
82 | WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, in onCreate()
83 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in onCreate()
84 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE in onCreate()
85 | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS in onCreate()
[all …]
DFakeApp.java34 import android.view.WindowManager;
97 final WindowManager wm = (WindowManager)getSystemService(Context.WINDOW_SERVICE); in onCreate()
111 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); in onCreate()
117 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( in onCreate()
118 WindowManager.LayoutParams.TYPE_SYSTEM_ALERT, in onCreate()
119 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in onCreate()
120 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE in onCreate()
121 | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS); in onCreate()
123 lp.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED; in onCreate()
/frameworks/base/core/java/android/view/
DWindow.java132 private WindowManager mWindowManager;
156 private final WindowManager.LayoutParams mWindowAttributes =
157 new WindowManager.LayoutParams();
307 public void onWindowAttributesChanged(WindowManager.LayoutParams attrs); in onWindowAttributesChanged()
466 public void setWindowManager(WindowManager wm, IBinder appToken, String appName) { in setWindowManager()
477 public void setWindowManager(WindowManager wm, IBinder appToken, String appName, in setWindowManager()
484 wm = (WindowManager)mContext.getSystemService(Context.WINDOW_SERVICE); in setWindowManager()
489 void adjustLayoutParamsForSubWindow(WindowManager.LayoutParams wp) { in adjustLayoutParamsForSubWindow()
491 if (wp.type >= WindowManager.LayoutParams.FIRST_SUB_WINDOW && in adjustLayoutParamsForSubWindow()
492 wp.type <= WindowManager.LayoutParams.LAST_SUB_WINDOW) { in adjustLayoutParamsForSubWindow()
[all …]
DSurfaceView.java100 final WindowManager.LayoutParams mLayout
101 = new WindowManager.LayoutParams();
114 int mWindowType = WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA;
300 if (mWindowType == WindowManager.LayoutParams.TYPE_APPLICATION_PANEL) { in gatherTransparentRegion()
327 if (mWindowType != WindowManager.LayoutParams.TYPE_APPLICATION_PANEL) { in draw()
339 if (mWindowType != WindowManager.LayoutParams.TYPE_APPLICATION_PANEL) { in dispatchDraw()
362 ? WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA_OVERLAY in setZOrderMediaOverlay()
363 : WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA; in setZOrderMediaOverlay()
381 mWindowType = WindowManager.LayoutParams.TYPE_APPLICATION_PANEL; in setZOrderOnTop()
383 mLayout.flags |= WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM; in setZOrderOnTop()
[all …]
DWindowManagerPolicy.java265 public WindowManager.LayoutParams getAttrs(); in getAttrs()
510 public int checkAddPermission(WindowManager.LayoutParams attrs, int[] outAppOp); in checkAddPermission()
520 public boolean checkShowToOwnerOnly(WindowManager.LayoutParams attrs); in checkShowToOwnerOnly()
530 public void adjustWindowParamsLw(WindowManager.LayoutParams attrs); in adjustWindowParamsLw()
621 public boolean doesForceHide(WindowState win, WindowManager.LayoutParams attrs); in doesForceHide()
630 public boolean canBeForceHidden(WindowState win, WindowManager.LayoutParams attrs); in canBeForceHidden()
689 WindowManager.LayoutParams attrs); in prepareAddWindowLw()
845 WindowManager.LayoutParams attrs, WindowState attached); in layoutWindowLw()
857 public void getContentInsetHintLw(WindowManager.LayoutParams attrs, Rect contentInset); in getContentInsetHintLw()
890 WindowManager.LayoutParams attrs); in applyPostLayoutPolicyLw()
DIWindowSession.aidl29 import android.view.WindowManager;
38 int add(IWindow window, int seq, in WindowManager.LayoutParams attrs, in add()
41 int addToDisplay(IWindow window, int seq, in WindowManager.LayoutParams attrs, in addToDisplay()
44 int addWithoutInputChannel(IWindow window, int seq, in WindowManager.LayoutParams attrs, in addWithoutInputChannel()
46 … int addToDisplayWithoutInputChannel(IWindow window, int seq, in WindowManager.LayoutParams attrs, in addToDisplayWithoutInputChannel()
89 int relayout(IWindow window, int seq, in WindowManager.LayoutParams attrs, in relayout()
/frameworks/base/core/java/android/inputmethodservice/
DSoftInputWindow.java26 import android.view.WindowManager;
39 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setToken()
95 WindowManager.LayoutParams lp = getWindow().getAttributes(); in getSize()
114 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setSize()
135 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setGravity()
152 WindowManager.LayoutParams lp = getWindow().getAttributes(); in initDockWindow()
154 lp.type = WindowManager.LayoutParams.TYPE_INPUT_METHOD; in initDockWindow()
165 WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN | in initDockWindow()
166 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE, in initDockWindow()
167 WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN | in initDockWindow()
[all …]
/frameworks/base/core/java/android/widget/
DPopupWindow.java39 import android.view.WindowManager;
79 private WindowManager mWindowManager;
88 private int mSoftInputMode = WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED;
120 private int mWindowLayoutType = WindowManager.LayoutParams.TYPE_APPLICATION_PANEL;
137 WindowManager.LayoutParams p = (WindowManager.LayoutParams)
184 mWindowManager = (WindowManager)context.getSystemService(Context.WINDOW_SERVICE); in PopupWindow()
304 mWindowManager = (WindowManager) mContext.getSystemService(Context.WINDOW_SERVICE); in PopupWindow()
407 mWindowManager = (WindowManager) mContext.getSystemService(Context.WINDOW_SERVICE); in setContentView()
838 WindowManager.LayoutParams p = createPopupLayout(token); in showAtLocation()
915 WindowManager.LayoutParams p = createPopupLayout(anchor.getWindowToken()); in showAsDropDown()
[all …]
DToast.java33 import android.view.WindowManager;
326 private final WindowManager.LayoutParams mParams = new WindowManager.LayoutParams();
338 WindowManager mWM;
343 final WindowManager.LayoutParams params = mParams; in TN()
344 params.height = WindowManager.LayoutParams.WRAP_CONTENT; in TN()
345 params.width = WindowManager.LayoutParams.WRAP_CONTENT; in TN()
348 params.type = WindowManager.LayoutParams.TYPE_TOAST; in TN()
350 params.flags = WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON in TN()
351 | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in TN()
352 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE; in TN()
[all …]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardViewManager.java52 import android.view.WindowManager;
76 private WindowManager.LayoutParams mWindowLayoutParams;
131 mWindowLayoutParams.flags |= WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS in show()
132 | WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION; in show()
276 int flags = WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN in maybeCreateKeyguardLocked()
277 | WindowManager.LayoutParams.FLAG_LAYOUT_INSET_DECOR in maybeCreateKeyguardLocked()
278 | WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN in maybeCreateKeyguardLocked()
279 | WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER; in maybeCreateKeyguardLocked()
282 flags |= WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM; in maybeCreateKeyguardLocked()
286 final int type = WindowManager.LayoutParams.TYPE_KEYGUARD; in maybeCreateKeyguardLocked()
[all …]
/frameworks/base/core/java/android/service/dreams/
DDreamService.java39 import android.view.WindowManager;
41 import android.view.WindowManager.LayoutParams;
151 private WindowManager mWindowManager;
327 public WindowManager getWindowManager() { in getWindowManager()
471 int flag = WindowManager.LayoutParams.FLAG_FULLSCREEN; in setFullscreen()
491 int flag = WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON; in setScreenBright()
502 return getWindowFlagValue(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON, mScreenBright); in isScreenBright()
623 windowToken, WindowManager.LayoutParams.TYPE_DREAM)); in attach()
625 WindowManager.LayoutParams lp = mWindow.getAttributes(); in attach()
626 lp.type = WindowManager.LayoutParams.TYPE_DREAM; in attach()
[all …]
/frameworks/base/services/java/com/android/server/display/
DOverlayDisplayWindow.java34 import android.view.WindowManager;
72 private final WindowManager mWindowManager;
79 private WindowManager.LayoutParams mWindowParams;
116 mWindowManager = (WindowManager)context.getSystemService( in OverlayDisplayWindow()
200 mWindowParams = new WindowManager.LayoutParams( in createWindow()
201 WindowManager.LayoutParams.TYPE_DISPLAY_OVERLAY); in createWindow()
202 mWindowParams.flags |= WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN in createWindow()
203 | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS in createWindow()
204 | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in createWindow()
205 | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL in createWindow()
[all …]
/frameworks/base/services/java/com/android/server/am/
DBaseErrorDialog.java26 import android.view.WindowManager;
33 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); in BaseErrorDialog()
34 getWindow().setFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM, in BaseErrorDialog()
35 WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM); in BaseErrorDialog()
36 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in BaseErrorDialog()
DAppErrorDialog.java24 import android.view.WindowManager;
73 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in AppErrorDialog()
75 attrs.privateFlags |= WindowManager.LayoutParams.PRIVATE_FLAG_SYSTEM_ERROR in AppErrorDialog()
76 | WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS; in AppErrorDialog()
79 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ERROR); in AppErrorDialog()
DLaunchWarningWindow.java25 import android.view.WindowManager;
34 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); in LaunchWarningWindow()
35 getWindow().addFlags(WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in LaunchWarningWindow()
36 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE); in LaunchWarningWindow()
DAppNotRespondingDialog.java27 import android.view.WindowManager;
93 getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ERROR); in AppNotRespondingDialog()
95 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in AppNotRespondingDialog()
97 attrs.privateFlags = WindowManager.LayoutParams.PRIVATE_FLAG_SYSTEM_ERROR | in AppNotRespondingDialog()
98 WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS; in AppNotRespondingDialog()
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
DKeyguardServiceDelegate.java18 import android.view.WindowManager;
276 int flags = WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN in createScrim()
277 | WindowManager.LayoutParams.FLAG_LAYOUT_INSET_DECOR in createScrim()
278 | WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN in createScrim()
279 | WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER in createScrim()
283 final int type = WindowManager.LayoutParams.TYPE_KEYGUARD_SCRIM; in createScrim()
284 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( in createScrim()
286 lp.softInputMode = WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE; in createScrim()
289 WindowManager wm = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); in createScrim()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DImmersiveModeConfirmation.java40 import android.view.WindowManager;
71 private WindowManager mWindowManager;
79 mWindowManager = (WindowManager) in ImmersiveModeConfirmation()
170 public WindowManager.LayoutParams getClingWindowLayoutParams() { in getClingWindowLayoutParams()
171 final WindowManager.LayoutParams lp = new WindowManager.LayoutParams( in getClingWindowLayoutParams()
174 WindowManager.LayoutParams.TYPE_TOAST, in getClingWindowLayoutParams()
176 | WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN in getClingWindowLayoutParams()
177 | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in getClingWindowLayoutParams()
178 | WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED in getClingWindowLayoutParams()
181 lp.privateFlags |= WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS; in getClingWindowLayoutParams()
[all …]
/frameworks/base/services/java/com/android/server/wm/
DDisplayMagnifier.java47 import android.view.WindowManager;
176 case WindowManager.LayoutParams.TYPE_APPLICATION: in onWindowTransitionLocked()
177 case WindowManager.LayoutParams.TYPE_APPLICATION_PANEL: in onWindowTransitionLocked()
178 case WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA: in onWindowTransitionLocked()
179 case WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL: in onWindowTransitionLocked()
180 case WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG: in onWindowTransitionLocked()
181 case WindowManager.LayoutParams.TYPE_SEARCH_BAR: in onWindowTransitionLocked()
182 case WindowManager.LayoutParams.TYPE_PHONE: in onWindowTransitionLocked()
183 case WindowManager.LayoutParams.TYPE_SYSTEM_ALERT: in onWindowTransitionLocked()
184 case WindowManager.LayoutParams.TYPE_TOAST: in onWindowTransitionLocked()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/
DTranslucentFancyActivity.java23 import android.view.WindowManager;
62 getWindow().setFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND, in onCreate()
63 WindowManager.LayoutParams.FLAG_BLUR_BEHIND); in onCreate()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java39 import android.view.WindowManager;
124 WindowManager.LayoutParams.TYPE_PRIVATE_PRESENTATION, 0); in testPrivateVirtualDisplay()
148 WindowManager.LayoutParams.TYPE_PRIVATE_PRESENTATION, 0); in testPrivatePresentationVirtualDisplay()
180 WindowManager.LayoutParams.TYPE_TOAST, 0); in testPublicPresentationVirtualDisplay()
187 WindowManager.LayoutParams.TYPE_TOAST, in testPublicPresentationVirtualDisplay()
188 WindowManager.LayoutParams.FLAG_SECURE); in testPublicPresentationVirtualDisplay()
194 WindowManager.LayoutParams.TYPE_TOAST, 0); in testPublicPresentationVirtualDisplay()
200 WindowManager.LayoutParams.TYPE_TOAST, in testPublicPresentationVirtualDisplay()
201 WindowManager.LayoutParams.FLAG_SECURE); in testPublicPresentationVirtualDisplay()
234 WindowManager.LayoutParams.TYPE_TOAST, in testSecurePublicPresentationVirtualDisplay()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DLoadAverageService.java30 import android.view.WindowManager;
289 WindowManager.LayoutParams params = new WindowManager.LayoutParams( in onCreate()
290 WindowManager.LayoutParams.MATCH_PARENT, in onCreate()
291 WindowManager.LayoutParams.WRAP_CONTENT, in onCreate()
292 WindowManager.LayoutParams.TYPE_SECURE_SYSTEM_OVERLAY, in onCreate()
293 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE| in onCreate()
294 WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE, in onCreate()
298 WindowManager wm = (WindowManager)getSystemService(WINDOW_SERVICE); in onCreate()
305 ((WindowManager)getSystemService(WINDOW_SERVICE)).removeView(mView); in onDestroy()
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
DGLPerfActivity.java22 import android.view.WindowManager;
33 …getWindow().setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON, WindowManager.LayoutParams.FL… in onCreate()
/frameworks/testing/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/
DInstrumentationUiAutomatorBridge.java25 import android.view.WindowManager;
40 WindowManager windowManager = (WindowManager) in getDefaultDisplay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessDialog.java25 import android.view.WindowManager;
70 window.setType(WindowManager.LayoutParams.TYPE_VOLUME_OVERLAY); in onCreate()
72 WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS; in onCreate()
73 window.clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND); in onCreate()

1234567