Home
last modified time | relevance | path

Searched refs:oldParent (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DReparenting.java64 ViewGroup oldParent = (ViewGroup) v.getParent();
65 ViewGroup newParent = oldParent == mContainer1 ? mContainer2 : mContainer1;
66 oldParent.removeView(v);
/frameworks/base/core/java/android/preference/
DEditTextPreference.java127 ViewParent oldParent = editText.getParent(); in onBindDialogView() local
128 if (oldParent != view) { in onBindDialogView()
129 if (oldParent != null) { in onBindDialogView()
130 ((ViewGroup) oldParent).removeView(editText); in onBindDialogView()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContextView.java115 final ViewGroup oldParent = (ViewGroup) mMenuView.getParent(); in setSplitToolbar() local
116 if (oldParent != null) oldParent.removeView(mMenuView); in setSplitToolbar()
129 final ViewGroup oldParent = (ViewGroup) mMenuView.getParent(); in setSplitToolbar() local
130 if (oldParent != null) oldParent.removeView(mMenuView); in setSplitToolbar()
DActionBarView.java303 final ViewGroup oldParent = (ViewGroup) mMenuView.getParent(); in setSplitToolbar() local
304 if (oldParent != null) { in setSplitToolbar()
305 oldParent.removeView(mMenuView); in setSplitToolbar()
383 final ViewGroup oldParent = (ViewGroup) mMenuView.getParent(); in setMenu() local
384 if (oldParent != null) { in setMenu()
385 oldParent.removeView(mMenuView); in setMenu()
404 final ViewGroup oldParent = (ViewGroup) menuView.getParent(); in setMenu() local
405 if (oldParent != null && oldParent != this) { in setMenu()
406 oldParent.removeView(menuView); in setMenu()
422 final ViewGroup oldParent = (ViewGroup) menuView.getParent(); in setMenu() local
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DConfigurationContainerTests.java337 final ConfigurationContainer oldParent = childContainer.getParent(); in addChild() local
339 childContainer.onParentChanged(this, oldParent); in addChild()
353 final ConfigurationContainer oldParent = child.getParent(); in removeChild() local
355 child.onParentChanged(null, oldParent); in removeChild()
DWindowContainerTests.java1023 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent) { in onParentChanged() argument
/frameworks/base/core/java/android/view/
DGhostView.java108 View oldParent = (View) ghostView.getParent(); in addGhost() local
109 ViewGroup oldGrandParent = (ViewGroup) oldParent.getParent(); in addGhost()
112 oldGrandParent.removeView(oldParent); in addGhost()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowContainer.java330 final WindowContainer oldParent = mParent; in reparent() local
337 final DisplayContent prevDc = oldParent.getDisplayContent(); in reparent()
341 oldParent.removeChild(this); in reparent()
355 onParentChanged(newParent, oldParent); in reparent()
359 final WindowContainer oldParent = mParent; in setParent() local
370 onParentChanged(mParent, oldParent); in setParent()
379 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent) { in onParentChanged() argument
380 onParentChanged(newParent, oldParent, null); in onParentChanged()
383 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent, in onParentChanged() argument
385 super.onParentChanged(newParent, oldParent); in onParentChanged()
DTask.java612 private void cleanUpResourcesForDestroy(ConfigurationContainer oldParent) { in cleanUpResourcesForDestroy() argument
619 saveLaunchingStateIfNeeded(((WindowContainer) oldParent).getDisplayContent()); in cleanUpResourcesForDestroy()
1081 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent) { in onParentChanged() argument
1084 final DisplayContent oldDisplay = oldParent != null in onParentChanged()
1085 ? ((WindowContainer) oldParent).getDisplayContent() : null; in onParentChanged()
1089 if (oldParent != null && newParent == null) { in onParentChanged()
1090 cleanUpResourcesForDestroy(oldParent); in onParentChanged()
1106 super.onParentChanged(newParent, oldParent); in onParentChanged()
1120 if (oldParent != null) { in onParentChanged()
1121 final Task oldParentTask = ((WindowContainer) oldParent).asTask(); in onParentChanged()
[all …]
DConfigurationContainer.java550 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent) { in onParentChanged() argument
DTaskDisplayArea.java724 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent) { in onParentChanged() argument
726 super.onParentChanged(newParent, oldParent, () -> { in onParentChanged()
750 super.onParentChanged(newParent, oldParent); in onParentChanged()
DActivityStack.java3192 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent) { in onParentChanged() argument
3195 final DisplayContent oldDisplay = oldParent != null in onParentChanged()
3196 ? ((WindowContainer) oldParent).getDisplayContent() : null; in onParentChanged()
3197 super.onParentChanged(newParent, oldParent); in onParentChanged()
DActivityRecord.java1225 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent) { in onParentChanged() argument
1226 final Task oldTask = oldParent != null ? (Task) oldParent : null; in onParentChanged()
1230 super.onParentChanged(newParent, oldParent); in onParentChanged()
1241 if (oldParent == null && newParent != null) { in onParentChanged()
DWindowState.java994 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent) { in onParentChanged() argument
995 super.onParentChanged(newParent, oldParent); in onParentChanged()
DDisplayContent.java4596 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent) {
/frameworks/av/media/mtp/
DIMtpDatabase.h110 …virtual void endMoveObject(MtpObjectHandle oldParent, MtpObjectHandle newParent,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaConnection.java882 public void updateParent(GsmCdmaCall oldParent, GsmCdmaCall newParent){ in updateParent() argument
883 if (newParent != oldParent) { in updateParent()
884 if (oldParent != null) { in updateParent()
885 oldParent.detach(this); in updateParent()
/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java1046 public synchronized boolean endMoveObject(MtpObject oldParent, MtpObject newParent, String name, in endMoveObject() argument
1050 MtpObject oldObj = oldParent.getChild(name); in endMoveObject()
1054 if (oldParent.getStorageId() != newObj.getStorageId()) { in endMoveObject()
1066 oldObj.setParent(oldParent); in endMoveObject()
1070 oldParent.addChild(oldObj); in endMoveObject()
DMtpDatabase.java625 private void endMoveObject(int oldParent, int newParent, int oldStorage, int newStorage, in endMoveObject() argument
627 MtpStorageManager.MtpObject oldParentObj = oldParent == 0 ? in endMoveObject()
628 mManager.getStorageRoot(oldStorage) : mManager.getObject(oldParent); in endMoveObject()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp182 …virtual void endMoveObject(MtpObjectHandle oldParent, MtpObjectHandle newParent,
997 void MtpDatabase::endMoveObject(MtpObjectHandle oldParent, MtpObjectHandle newParent, in endMoveObject() argument
1002 (jint)oldParent, (jint) newParent, (jint) oldStorage, (jint) newStorage, in endMoveObject()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp5594 const sp<Layer>& oldParent; in captureLayers() member in android::SurfaceFlinger::captureLayers::LayerRenderArea::ReparentForDrawing
5597 ReparentForDrawing(const sp<Layer>& oldParent, const sp<Layer>& newParent, in captureLayers() argument
5599 : oldParent(oldParent), newParent(newParent) { in captureLayers()
5603 oldParent->setChildrenDrawingParent(newParent); in captureLayers()
5605 ~ReparentForDrawing() { oldParent->setChildrenDrawingParent(oldParent); } in captureLayers()