Home
last modified time | relevance | path

Searched refs:oldParent (Results 1 – 11 of 11) 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/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/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.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.java615 private void endMoveObject(int oldParent, int newParent, int oldStorage, int newStorage, in endMoveObject() argument
617 MtpStorageManager.MtpObject oldParentObj = oldParent == 0 ? in endMoveObject()
618 mManager.getStorageRoot(oldStorage) : mManager.getObject(oldParent); in endMoveObject()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp182 …virtual void endMoveObject(MtpObjectHandle oldParent, MtpObjectHandle newParent,
991 void MtpDatabase::endMoveObject(MtpObjectHandle oldParent, MtpObjectHandle newParent, in endMoveObject() argument
996 (jint)oldParent, (jint) newParent, (jint) oldStorage, (jint) newStorage, in endMoveObject()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp5796 const sp<Layer>& oldParent; in captureLayers() member in android::SurfaceFlinger::captureLayers::LayerRenderArea::ReparentForDrawing
5799 ReparentForDrawing(const sp<Layer>& oldParent, const sp<Layer>& newParent, in captureLayers() argument
5801 : oldParent(oldParent), newParent(newParent) { in captureLayers()
5804 oldParent->setChildrenDrawingParent(newParent); in captureLayers()
5806 ~ReparentForDrawing() { oldParent->setChildrenDrawingParent(oldParent); } in captureLayers()