Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowStateTests.java135 final WindowState parentWindow = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testIsParentWindowHidden() local
136 final WindowState child1 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child1"); in testIsParentWindowHidden()
137 final WindowState child2 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child2"); in testIsParentWindowHidden()
140 assertTrue(parentWindow.mHidden); in testIsParentWindowHidden()
141 assertFalse(parentWindow.isParentWindowHidden()); in testIsParentWindowHidden()
145 parentWindow.mHidden = false; in testIsParentWindowHidden()
146 assertFalse(parentWindow.isParentWindowHidden()); in testIsParentWindowHidden()
153 final WindowState parentWindow = createWindow(null, TYPE_APPLICATION, "parentWindow"); in testIsChildWindow() local
154 final WindowState child1 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child1"); in testIsChildWindow()
155 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/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/core/java/android/view/
DWindowManagerImpl.java114 private WindowManagerImpl(Context context, Window parentWindow, in WindowManagerImpl() argument
117 mParentWindow = parentWindow; in WindowManagerImpl()
121 public WindowManagerImpl createLocalWindowManager(Window parentWindow) { in createLocalWindowManager() argument
122 return new WindowManagerImpl(mContext, parentWindow, mWindowContextToken); in createLocalWindowManager()
DWindowManagerGlobal.java310 Display display, Window parentWindow, int userId) { in addView() argument
322 if (parentWindow != null) { in addView()
323 parentWindow.adjustLayoutParamsForSubWindow(wparams); in addView()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java1097 WindowState parentWindow, int appOp, WindowManager.LayoutParams a, int viewVisibility, in WindowState() argument
1099 this(service, s, c, token, parentWindow, appOp, a, viewVisibility, ownerId, showUserId, in WindowState()
1114 WindowState parentWindow, int appOp, WindowManager.LayoutParams a, int viewVisibility, in WindowState() argument
1177 mBaseLayer = mPolicy.getWindowLayerLw(parentWindow) in WindowState()
1184 mIsImWindow = parentWindow.mAttrs.type == TYPE_INPUT_METHOD in WindowState()
1185 || parentWindow.mAttrs.type == TYPE_INPUT_METHOD_DIALOG; in WindowState()
1186 mIsWallpaper = parentWindow.mAttrs.type == TYPE_WALLPAPER; in WindowState()
1222 ProtoLog.v(WM_DEBUG_ADD_REMOVE, "Adding %s to %s", this, parentWindow); in WindowState()
1223 parentWindow.addChild(this, sWindowSubLayerComparator); in WindowState()
3073 final WindowState parentWindow = getParentWindow(); in getProcessGlobalConfiguration() local
[all …]
DWindowManagerService.java1492 WindowState parentWindow = null; in addWindow() local
1524 parentWindow = windowForClientLocked(null, attrs.token, false); in addWindow()
1525 if (parentWindow == null) { in addWindow()
1530 if (parentWindow.mAttrs.type >= FIRST_SUB_WINDOW in addWindow()
1531 && parentWindow.mAttrs.type <= LAST_SUB_WINDOW) { in addWindow()
1567 final boolean hasParent = parentWindow != null; in addWindow()
1571 hasParent ? parentWindow.mAttrs.token : attrs.token); in addWindow()
1574 final int rootType = hasParent ? parentWindow.mAttrs.type : type; in addWindow()
1581 if (!unprivilegedAppCanCreateTokenWith(parentWindow, callingUid, type, in addWindow()
1587 token = parentWindow.mToken; in addWindow()
[all …]
/frameworks/layoutlib/bridge/src/android/view/
DWindowManagerImpl.java70 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…