Home
last modified time | relevance | path

Searched refs:currentParent (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/menu/
DBaseMenuPresenter.java127 final ViewGroup currentParent = (ViewGroup) itemView.getParent(); in addItemView() local
128 if (currentParent != null) { in addItemView()
129 currentParent.removeView(itemView); in addItemView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSPanel.java498 ViewGroup currentParent = (ViewGroup) hostView.getParent(); in reAttachMediaHost() local
500 + ", current " + currentParent + ", new " + newParent); in reAttachMediaHost()
501 if (currentParent != newParent) { in reAttachMediaHost()
502 if (currentParent != null) { in reAttachMediaHost()
503 currentParent.removeView(hostView); in reAttachMediaHost()
820 ViewGroup currentParent = (ViewGroup) child.getParent(); in switchToParent() local
821 if (currentParent != parent) { in switchToParent()
822 if (currentParent != null) { in switchToParent()
823 currentParent.removeView(child); in switchToParent()
/frameworks/base/services/core/java/com/android/server/wm/
DTrustedOverlayHost.java90 void addOverlay(SurfaceControlViewHost.SurfacePackage p, SurfaceControl currentParent) { in addOverlay() argument
107 setParent(t,currentParent); in addOverlay()
DWindowOrganizerController.java1895 WindowContainer<?> currentParent = hop.getContainer() != null in reparentChildrenTasksHierarchyOp() local
1899 if (currentParent == null && newParent == null) { in reparentChildrenTasksHierarchyOp()
1901 } else if (currentParent == null) { in reparentChildrenTasksHierarchyOp()
1902 currentParent = newParent.asTask().getDisplayContent().getDefaultTaskDisplayArea(); in reparentChildrenTasksHierarchyOp()
1904 newParent = currentParent.asTask().getDisplayContent().getDefaultTaskDisplayArea(); in reparentChildrenTasksHierarchyOp()
1907 if (currentParent == newParent) { in reparentChildrenTasksHierarchyOp()
1911 if (!currentParent.isAttached()) { in reparentChildrenTasksHierarchyOp()
1913 + currentParent + " hop=" + hop); in reparentChildrenTasksHierarchyOp()
1931 final WindowContainer finalCurrentParent = currentParent; in reparentChildrenTasksHierarchyOp()
1934 + " currentParent=" + currentParent + " newParent=" + newParent + " hop=" + hop); in reparentChildrenTasksHierarchyOp()
[all …]
/frameworks/base/core/java/android/window/
DWindowContainerTransaction.java415 public WindowContainerTransaction reparentTasks(@Nullable WindowContainerToken currentParent, in reparentTasks() argument
419 currentParent != null ? currentParent.asBinder() : null, in reparentTasks()
444 public WindowContainerTransaction reparentTasks(@Nullable WindowContainerToken currentParent, in reparentTasks() argument
447 return reparentTasks(currentParent, newParent, windowingModes, activityTypes, onTop, in reparentTasks()
1504 public static HierarchyOp createForChildrenTasksReparent(IBinder currentParent, in createForChildrenTasksReparent() argument
1508 .setContainer(currentParent) in createForChildrenTasksReparent()
/frameworks/base/core/java/android/view/
DView.java11505 final ViewParent currentParent = viewAtDrawingLevel.getParent();
11506 if (!(currentParent instanceof ViewGroup)) {
11511 final ViewGroup parentGroup = (ViewGroup) currentParent;
11540 viewAtDrawingLevel = (View) currentParent;