Home
last modified time | relevance | path

Searched refs:parentWindow (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/window/
DWindowContextTest.java241 final View parentWindow = new View(windowContext); in testWindowContextAddViewWithSubWindowType_NotCrash() local
244 parentWindow.addOnAttachStateChangeListener(listener); in testWindowContextAddViewWithSubWindowType_NotCrash()
247 mInstrumentation.runOnMainSync(() -> wm.addView(parentWindow, params)); in testWindowContextAddViewWithSubWindowType_NotCrash()
253 subWindowAttrs.token = parentWindow.getWindowToken(); in testWindowContextAddViewWithSubWindowType_NotCrash()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowStateTests.java147 final WindowState parentWindow = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testIsParentWindowHidden() local
148 final WindowState child1 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child1"); in testIsParentWindowHidden()
149 final WindowState child2 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child2"); in testIsParentWindowHidden()
152 assertTrue(parentWindow.mHidden); in testIsParentWindowHidden()
153 assertFalse(parentWindow.isParentWindowHidden()); in testIsParentWindowHidden()
157 parentWindow.mHidden = false; in testIsParentWindowHidden()
158 assertFalse(parentWindow.isParentWindowHidden()); in testIsParentWindowHidden()
165 final WindowState parentWindow = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testIsChildWindow() local
166 final WindowState child1 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child1"); in testIsChildWindow()
167 final WindowState child2 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child2"); in testIsChildWindow()
[all …]
DDisplayAreaOrganizerTest.java72 WindowContainer parentWindow = mDisplayContent.getDefaultTaskDisplayArea().getParent(); in setUp() local
75 parentWindow.addChild(mTestDisplayArea, in setUp()
76 parentWindow.mChildren.indexOf(mDisplayContent.getDefaultTaskDisplayArea()) + 1); in setUp()
/frameworks/base/core/java/android/view/
DWindowManagerImpl.java123 private WindowManagerImpl(Context context, Window parentWindow, in WindowManagerImpl() argument
126 mParentWindow = parentWindow; in WindowManagerImpl()
131 public WindowManagerImpl createLocalWindowManager(Window parentWindow) { in createLocalWindowManager() argument
132 return new WindowManagerImpl(mContext, parentWindow, mWindowContextToken); in createLocalWindowManager()
DWindowManagerGlobal.java347 Display display, Window parentWindow, int userId) { in addView() argument
359 if (parentWindow != null) { in addView()
360 parentWindow.adjustLayoutParamsForSubWindow(wparams); in addView()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java1083 WindowState parentWindow, int appOp, WindowManager.LayoutParams a, int viewVisibility, in WindowState() argument
1127 mBaseLayer = mPolicy.getWindowLayerLw(parentWindow) in WindowState()
1134 mIsImWindow = parentWindow.mAttrs.type == TYPE_INPUT_METHOD in WindowState()
1135 || parentWindow.mAttrs.type == TYPE_INPUT_METHOD_DIALOG; in WindowState()
1136 mIsWallpaper = parentWindow.mAttrs.type == TYPE_WALLPAPER; in WindowState()
1172 ProtoLog.v(WM_DEBUG_ADD_REMOVE, "Adding %s to %s", this, parentWindow); in WindowState()
1173 parentWindow.addChild(this, sWindowSubLayerComparator); in WindowState()
2876 final WindowState parentWindow = getParentWindow(); in getProcessGlobalConfiguration() local
2877 final Session session = parentWindow != null ? parentWindow.mSession : mSession; in getProcessGlobalConfiguration()
3612 final WindowState parentWindow = getParentWindow(); in registeredForDisplayAreaConfigChanges() local
[all …]
DWindowManagerService.java1538 WindowState parentWindow = null; in addWindow() local
1575 parentWindow = windowForClientLocked(null, attrs.token, false); in addWindow()
1576 if (parentWindow == null) { in addWindow()
1581 if (parentWindow.mAttrs.type >= FIRST_SUB_WINDOW in addWindow()
1582 && parentWindow.mAttrs.type <= LAST_SUB_WINDOW) { in addWindow()
1623 final boolean hasParent = parentWindow != null; in addWindow()
1627 hasParent ? parentWindow.mAttrs.token : attrs.token); in addWindow()
1630 final int rootType = hasParent ? parentWindow.mAttrs.type : type; in addWindow()
1637 if (!unprivilegedAppCanCreateTokenWith(parentWindow, callingUid, type, in addWindow()
1643 token = parentWindow.mToken; in addWindow()
[all …]
/frameworks/layoutlib/bridge/src/android/view/
DWindowManagerImpl.java76 public WindowManagerImpl createLocalWindowManager(Window parentWindow) { in createLocalWindowManager() argument
/frameworks/base/tools/preload/
Dsorttable.js414 …event = event || fixEvent(((this.ownerDocument || this.document || this).parentWindow || window).e…