/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | Reparenting.java | 64 ViewGroup oldParent = (ViewGroup) v.getParent(); 65 ViewGroup newParent = oldParent == mContainer1 ? mContainer2 : mContainer1; 66 oldParent.removeView(v);
|
/frameworks/base/core/java/android/preference/ |
D | EditTextPreference.java | 127 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/ |
D | ActionBarContextView.java | 115 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()
|
D | ActionBarView.java | 303 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/ |
D | ConfigurationContainerTests.java | 337 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()
|
D | WindowContainerTests.java | 1023 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent) { in onParentChanged() argument
|
/frameworks/base/core/java/android/view/ |
D | GhostView.java | 108 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/ |
D | WindowContainer.java | 330 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()
|
D | Task.java | 612 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 …]
|
D | ConfigurationContainer.java | 550 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent) { in onParentChanged() argument
|
D | TaskDisplayArea.java | 724 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent) { in onParentChanged() argument 726 super.onParentChanged(newParent, oldParent, () -> { in onParentChanged() 750 super.onParentChanged(newParent, oldParent); in onParentChanged()
|
D | ActivityStack.java | 3192 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()
|
D | ActivityRecord.java | 1225 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()
|
D | WindowState.java | 994 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent) { in onParentChanged() argument 995 super.onParentChanged(newParent, oldParent); in onParentChanged()
|
D | DisplayContent.java | 4596 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent) {
|
/frameworks/av/media/mtp/ |
D | IMtpDatabase.h | 110 …virtual void endMoveObject(MtpObjectHandle oldParent, MtpObjectHandle newParent,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaConnection.java | 882 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/ |
D | MtpStorageManager.java | 1046 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()
|
D | MtpDatabase.java | 625 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/ |
D | android_mtp_MtpDatabase.cpp | 182 …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/ |
D | SurfaceFlinger.cpp | 5594 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()
|