Home
last modified time | relevance | path

Searched refs:newParent (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java974 public synchronized boolean beginMoveObject(MtpObject obj, MtpObject newParent) { in beginMoveObject() argument
976 Log.v(TAG, "beginMoveObject " + newParent.getPath()); in beginMoveObject()
981 getChildren(newParent); // Ensure parent is visited in beginMoveObject()
982 if (newParent.getChild(obj.getName()) != null) in beginMoveObject()
985 if (obj.getStorageId() != newParent.getStorageId()) { in beginMoveObject()
992 newObj.setParent(newParent); in beginMoveObject()
993 newParent.addChild(newObj); in beginMoveObject()
999 obj.setParent(newParent); in beginMoveObject()
1013 public synchronized boolean endMoveObject(MtpObject oldParent, MtpObject newParent, String name, in endMoveObject() argument
1018 MtpObject newObj = newParent.getChild(name); in endMoveObject()
[all …]
DMtpDatabase.java618 private int beginMoveObject(int handle, int newParent, int newStorage) { in beginMoveObject() argument
620 MtpStorageManager.MtpObject parent = newParent == 0 ? in beginMoveObject()
621 mManager.getStorageRoot(newStorage) : mManager.getObject(newParent); in beginMoveObject()
629 private void endMoveObject(int oldParent, int newParent, int oldStorage, int newStorage, in endMoveObject() argument
633 MtpStorageManager.MtpObject newParentObj = newParent == 0 ? in endMoveObject()
634 mManager.getStorageRoot(newStorage) : mManager.getObject(newParent); in endMoveObject()
692 private int beginCopyObject(int handle, int newParent, int newStorage) { in beginCopyObject() argument
694 MtpStorageManager.MtpObject parent = newParent == 0 ? in beginCopyObject()
695 mManager.getStorageRoot(newStorage) : mManager.getObject(newParent); in beginCopyObject()
/frameworks/av/media/mtp/
DIMtpDatabase.h107 … virtual MtpResponseCode beginMoveObject(MtpObjectHandle handle, MtpObjectHandle newParent,
110 …virtual void endMoveObject(MtpObjectHandle oldParent, MtpObjectHandle newParent,
114 … virtual MtpResponseCode beginCopyObject(MtpObjectHandle handle, MtpObjectHandle newParent,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaConnection.java625 GsmCdmaCall newParent; in update() local
630 newParent = parentFromDCState(dc.state); in update()
632 if (Phone.DEBUG_PHONE) log("parent= " +mParent +", newParent= " + newParent); in update()
672 if (newParent != mParent) { in update()
676 newParent.attach(this, dc); in update()
677 mParent = newParent; in update()
689 ", hasNewParent=" + (newParent != mParent) + in update()
830 public void updateParent(GsmCdmaCall oldParent, GsmCdmaCall newParent){ in updateParent() argument
831 if (newParent != oldParent) { in updateParent()
835 newParent.attachFake(this, GsmCdmaCall.State.ACTIVE); in updateParent()
[all …]
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DReparenting.java65 ViewGroup newParent = oldParent == mContainer1 ? mContainer2 : mContainer1;
67 newParent.addView(v);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationInflater.java298 NotificationContentView newParent = redactAmbient ? publicLayout : privateLayout; in apply() local
314 newParent, newParent.getAmbientChild(), newParent.getVisibleWrapper( in apply()
483 NotificationContentView newParent = redactAmbient in finishIfDone() local
487 newParent.setAmbientChild(result.inflatedAmbientView); in finishIfDone()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp184 … virtual MtpResponseCode beginMoveObject(MtpObjectHandle handle, MtpObjectHandle newParent,
187 …virtual void endMoveObject(MtpObjectHandle oldParent, MtpObjectHandle newParent,
191 … virtual MtpResponseCode beginCopyObject(MtpObjectHandle handle, MtpObjectHandle newParent,
1037 MtpResponseCode MtpDatabase::beginMoveObject(MtpObjectHandle handle, MtpObjectHandle newParent, in beginMoveObject() argument
1041 (jint)handle, (jint)newParent, (jint) newStorage); in beginMoveObject()
1047 void MtpDatabase::endMoveObject(MtpObjectHandle oldParent, MtpObjectHandle newParent, in endMoveObject() argument
1052 (jint)oldParent, (jint) newParent, (jint) oldStorage, (jint) newStorage, in endMoveObject()
1058 MtpResponseCode MtpDatabase::beginCopyObject(MtpObjectHandle handle, MtpObjectHandle newParent, in beginCopyObject() argument
1062 (jint)handle, (jint)newParent, (jint) newStorage); in beginCopyObject()
/frameworks/native/services/surfaceflinger/
DLayer.cpp1564 sp<Layer> newParent = nullptr; in reparentChildren() local
1569 newParent = handle->owner.promote(); in reparentChildren()
1570 if (newParent == nullptr) { in reparentChildren()
1576 newParent->addChild(child); in reparentChildren()
1580 client->updateParent(newParent); in reparentChildren()
1588 void Layer::setChildrenDrawingParent(const sp<Layer>& newParent) { in setChildrenDrawingParent() argument
1590 child->mDrawingParent = newParent; in setChildrenDrawingParent()
1600 sp<Layer> newParent = handle->owner.promote(); in reparent() local
1601 if (newParent == nullptr) { in reparent()
1610 newParent->addChild(this); in reparent()
[all …]
DSurfaceFlinger.cpp4760 const sp<Layer>& newParent; in captureLayers() member in android::SurfaceFlinger::captureLayers::LayerRenderArea::ReparentForDrawing
4762 ReparentForDrawing(const sp<Layer>& oldParent, const sp<Layer>& newParent) in captureLayers() argument
4763 : oldParent(oldParent), newParent(newParent) { in captureLayers()
4764 oldParent->setChildrenDrawingParent(newParent); in captureLayers()
/frameworks/base/services/core/java/com/android/server/wm/
DSurfaceAnimator.java201 void reparent(Transaction t, SurfaceControl newParent) {
202 … t.reparent(mLeash != null ? mLeash : mAnimatable.getSurfaceControl(), newParent.getHandle());
DWindowContainer.java976 protected void reparentSurfaceControl(Transaction t, SurfaceControl newParent) { in reparentSurfaceControl() argument
977 mSurfaceAnimator.reparent(t, newParent); in reparentSurfaceControl()
DAppWindowToken.java1880 protected void reparentSurfaceControl(Transaction t, SurfaceControl newParent) { in reparentSurfaceControl() argument
1882 t.reparent(mSurfaceControl, newParent.getHandle()); in reparentSurfaceControl()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingGroup.java443 private boolean removeFromParentIfDifferent(MessagingMessage message, ViewGroup newParent) { in removeFromParentIfDifferent() argument
445 if (parent != newParent) { in removeFromParentIfDifferent()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DExpr.java274 private void onParentSwapped(Expr oldParent, Expr newParent) { in onParentSwapped() argument
277 mParents.add(newParent); in onParentSwapped()
/frameworks/base/telecomm/java/android/telecom/
DCall.java2116 private void fireParentChanged(final Call newParent) { in fireParentChanged() argument
2123 callback.onParentChanged(call, newParent); in fireParentChanged()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...