Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DLayerRenderArea.cpp30 const sp<Layer>& oldParent; member
32 ReparentForDrawing(const sp<Layer>& oldParent, const sp<Layer>& newParent, in ReparentForDrawing()
34 : oldParent(oldParent) { in ReparentForDrawing()
38 oldParent->setChildrenDrawingParent(newParent); in ReparentForDrawing()
40 ~ReparentForDrawing() { oldParent->setChildrenDrawingParent(oldParent); } in ~ReparentForDrawing()
/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.java129 ViewParent oldParent = editText.getParent(); in onBindDialogView() local
130 if (oldParent != view) { in onBindDialogView()
131 if (oldParent != null) { in onBindDialogView()
132 ((ViewGroup) oldParent).removeView(editText); in onBindDialogView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/
DShadeViewDifferLogger.kt31 oldParent: String?, in logDetachingChild()
37 str2 = oldParent in logDetachingChild()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContextView.java116 final ViewGroup oldParent = (ViewGroup) mMenuView.getParent(); in setSplitToolbar() local
117 if (oldParent != null) oldParent.removeView(mMenuView); in setSplitToolbar()
130 final ViewGroup oldParent = (ViewGroup) mMenuView.getParent(); in setSplitToolbar() local
131 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/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/tests/wmtests/src/com/android/server/wm/
DConfigurationContainerTests.java411 final ConfigurationContainer oldParent = childContainer.getParent(); in addChild() local
413 childContainer.onParentChanged(this, oldParent); in addChild()
427 final ConfigurationContainer oldParent = child.getParent(); in removeChild() local
429 child.onParentChanged(null, oldParent); in removeChild()
DWindowContainerTests.java1141 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent) { in onParentChanged() argument
/frameworks/base/services/core/java/com/android/server/wm/
DWindowContainer.java357 final WindowContainer oldParent = mParent; in reparent() local
364 final DisplayContent prevDc = oldParent.getDisplayContent(); in reparent()
368 oldParent.removeChild(this); in reparent()
382 onParentChanged(newParent, oldParent); in reparent()
383 onSyncReparent(oldParent, newParent); in reparent()
387 final WindowContainer oldParent = mParent; in setParent() local
394 onSyncReparent(oldParent, mParent); in setParent()
399 onParentChanged(mParent, oldParent); in setParent()
408 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent) { in onParentChanged() argument
409 onParentChanged(newParent, oldParent, null); in onParentChanged()
[all …]
DTask.java945 private void cleanUpResourcesForDestroy(ConfigurationContainer oldParent) { in cleanUpResourcesForDestroy() argument
951 saveLaunchingStateIfNeeded(((WindowContainer) oldParent).getDisplayContent()); in cleanUpResourcesForDestroy()
1382 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent) { in onParentChanged() argument
1385 final DisplayContent oldDisplay = oldParent != null in onParentChanged()
1386 ? ((WindowContainer) oldParent).getDisplayContent() : null; in onParentChanged()
1390 if (oldParent != null && newParent == null) { in onParentChanged()
1391 cleanUpResourcesForDestroy(oldParent); in onParentChanged()
1408 super.onParentChanged(newParent, oldParent); in onParentChanged()
1426 if (oldParent != null) { in onParentChanged()
1427 final Task oldParentTask = ((WindowContainer) oldParent).asTask(); in onParentChanged()
[all …]
DConfigurationContainer.java640 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent) { in onParentChanged() argument
DTaskDisplayArea.java961 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent) {
963 super.onParentChanged(newParent, oldParent, () -> {
987 super.onParentChanged(newParent, oldParent);
DActivityRecord.java1301 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent) { in onParentChanged() argument
1302 final Task oldTask = oldParent != null ? (Task) oldParent : null; in onParentChanged()
1306 super.onParentChanged(newParent, oldParent); in onParentChanged()
1317 if (oldParent == null && newParent != null) { in onParentChanged()
DWindowState.java1216 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent) { in onParentChanged() argument
1217 super.onParentChanged(newParent, oldParent); in onParentChanged()
DDisplayContent.java4791 void onParentChanged(ConfigurationContainer newParent, ConfigurationContainer oldParent) { in onParentChanged() argument
/frameworks/av/media/mtp/tests/MtpFuzzer/
DMtpMockDatabase.cpp300 void MtpMockDatabase::endMoveObject(MtpObjectHandle oldParent, MtpObjectHandle newParent, in endMoveObject() argument
305 __func__, oldParent, newParent, oldStorage, newStorage, handle, succeeded); in endMoveObject()
DMtpMockDatabase.h109 void endMoveObject(MtpObjectHandle oldParent, MtpObjectHandle newParent,
/frameworks/av/media/mtp/
DIMtpDatabase.h112 …virtual void endMoveObject(MtpObjectHandle oldParent, MtpObjectHandle newParent,
/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java1053 public synchronized boolean endMoveObject(MtpObject oldParent, MtpObject newParent, String name, in endMoveObject() argument
1057 MtpObject oldObj = oldParent.getChild(name); in endMoveObject()
1061 if (oldParent.getStorageId() != newObj.getStorageId()) { in endMoveObject()
1073 oldObj.setParent(oldParent); in endMoveObject()
1077 oldParent.addChild(oldObj); in endMoveObject()
DMtpDatabase.java607 private void endMoveObject(int oldParent, int newParent, int oldStorage, int newStorage, in endMoveObject() argument
609 MtpStorageManager.MtpObject oldParentObj = oldParent == 0 ? in endMoveObject()
610 mManager.getStorageRoot(oldStorage) : mManager.getObject(oldParent); in endMoveObject()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaConnection.java906 public void updateParent(GsmCdmaCall oldParent, GsmCdmaCall newParent){ in updateParent() argument
907 if (newParent != oldParent) { in updateParent()
908 if (oldParent != null) { in updateParent()
909 oldParent.detach(this); in updateParent()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp240 …virtual void endMoveObject(MtpObjectHandle oldParent, MtpObjectHandle newParent,
1066 void MtpDatabase::endMoveObject(MtpObjectHandle oldParent, MtpObjectHandle newParent, in endMoveObject() argument
1071 (jint)oldParent, (jint) newParent, (jint) oldStorage, (jint) newStorage, in endMoveObject()