Searched defs:newHolder (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
H A DDefaultItemAnimator.java72 public ViewHolder oldHolder, newHolder; field in class:DefaultItemAnimator.ChangeInfo
74 private ChangeInfo(ViewHolder oldHolder, ViewHolder newHolder) { argument
76 this.newHolder = newHolder;
79 ChangeInfo(ViewHolder oldHolder, ViewHolder newHolder, argument
81 this(oldHolder, newHolder);
92 + ", newHolder=" + newHolder
320 public boolean animateChange(ViewHolder oldHolder, ViewHolder newHolder, argument
322 if (oldHolder == newHolder) {
[all...]
H A DSimpleItemAnimator.java148 public boolean animateChange(@NonNull ViewHolder oldHolder, @NonNull ViewHolder newHolder, argument
156 if (newHolder.shouldIgnore()) {
163 return animateChange(oldHolder, newHolder, fromLeft, fromTop, toLeft, toTop);
245 * If the {@code oldHolder} is the same ViewHolder as the {@code newHolder}, you must call
259 * @param newHolder The new item that was created with the changed content. Might be null
268 ViewHolder newHolder, int fromLeft, int fromTop, int toLeft, int toTop);
267 animateChange(ViewHolder oldHolder, ViewHolder newHolder, int fromLeft, int fromTop, int toLeft, int toTop) argument
H A DRecyclerView.java3764 private void animateChange(@NonNull ViewHolder oldHolder, @NonNull ViewHolder newHolder, argument
3771 if (oldHolder != newHolder) {
3773 addAnimatingView(newHolder);
3775 oldHolder.mShadowedHolder = newHolder;
3779 newHolder.setIsRecyclable(false);
3780 newHolder.mShadowingHolder = oldHolder;
3782 if (mItemAnimator.animateChange(oldHolder, newHolder, preInfo, postInfo)) {
11830 * <code>oldHolder</code> and <code>newHolder</code> will be different ViewHolder instances
11839 * If oldHolder and newHolder are the same instance, you should call
11855 * instance with newHolder
11866 animateChange(@onNull ViewHolder oldHolder, @NonNull ViewHolder newHolder, @NonNull ItemHolderInfo preLayoutInfo, @NonNull ItemHolderInfo postLayoutInfo) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DContentProviderRecord.java78 public ContentProviderHolder newHolder(ContentProviderConnection conn) { method in class:ContentProviderRecord
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DDummyItemAnimator.java135 RecyclerView.ViewHolder newHolder, int fromLeft, int fromTop, int toLeft, int toTop) {
137 mChangesNew.add(newHolder);
139 dispatchChangeStarting(newHolder, false);
134 animateChange(RecyclerView.ViewHolder oldHolder, RecyclerView.ViewHolder newHolder, int fromLeft, int fromTop, int toLeft, int toTop) argument
H A DItemAnimatorV2ApiTest.java247 assertSame(vh, log.newHolder);
282 assertSame(newVh, log.newHolder);
328 if (change.newHolder == change.viewHolder) {
337 assertSame(newVh, logReplaced.newHolder);
339 assertSame(reused, logReused.newHolder);
423 assertSame(vh, log.newHolder);
585 assertSame(change.newHolder, newVh);
588 assertSame(change.newHolder, change.viewHolder);
673 @NonNull RecyclerView.ViewHolder newHolder, @NonNull ItemHolderInfo preInfo,
675 animateChangeList.add(new AnimateChange(oldHolder, newHolder, (LoggingInf
672 animateChange(@onNull RecyclerView.ViewHolder oldHolder, @NonNull RecyclerView.ViewHolder newHolder, @NonNull ItemHolderInfo preInfo, @NonNull ItemHolderInfo postInfo) argument
[all...]
H A DLoggingItemAnimator.java52 if (((BaseRecyclerViewAnimationsTest.AnimateChange) log).newHolder == viewHolder) {
114 @NonNull RecyclerView.ViewHolder newHolder, @NonNull ItemHolderInfo preInfo,
117 .add(new BaseRecyclerViewAnimationsTest.AnimateChange(oldHolder, newHolder,
120 return super.animateChange(oldHolder, newHolder, preInfo, postInfo);
160 RecyclerView.ViewHolder newHolder, int fromX, int fromY, int toX, int toY) {
164 if (newHolder != null) {
165 mChangeNewVHs.add(newHolder);
167 return super.animateChange(oldHolder, newHolder, fromX, fromY, toX, toY);
113 animateChange(@onNull RecyclerView.ViewHolder oldHolder, @NonNull RecyclerView.ViewHolder newHolder, @NonNull ItemHolderInfo preInfo, @NonNull ItemHolderInfo postInfo) argument
159 animateChange(RecyclerView.ViewHolder oldHolder, RecyclerView.ViewHolder newHolder, int fromX, int fromY, int toX, int toY) argument
H A DDefaultItemAnimatorTest.java366 final RecyclerView.ViewHolder newHolder,
372 result[0] = mAnimator.animateChange(oldHolder, newHolder, fromX, fromY, toX, toY);
365 animateChange(final RecyclerView.ViewHolder oldHolder, final RecyclerView.ViewHolder newHolder, final int fromX, final int fromY, final int toX, final int toY) argument
H A DBaseRecyclerViewAnimationsTest.java658 final RecyclerView.ViewHolder newHolder; field in class:BaseRecyclerViewAnimationsTest.AnimateChange
660 public AnimateChange(RecyclerView.ViewHolder oldHolder, RecyclerView.ViewHolder newHolder, argument
663 this.newHolder = newHolder;
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DDefaultItemAnimator.java71 public RecyclerView.ViewHolder oldHolder, newHolder; field in class:DefaultItemAnimator.ChangeInfo
73 private ChangeInfo(RecyclerView.ViewHolder oldHolder, RecyclerView.ViewHolder newHolder) { argument
75 this.newHolder = newHolder;
78 ChangeInfo(RecyclerView.ViewHolder oldHolder, RecyclerView.ViewHolder newHolder, argument
80 this(oldHolder, newHolder);
91 + ", newHolder=" + newHolder
319 public boolean animateChange(RecyclerView.ViewHolder oldHolder, RecyclerView.ViewHolder newHolder, argument
321 if (oldHolder == newHolder) {
[all...]
H A DSimpleItemAnimator.java146 public boolean animateChange(@NonNull RecyclerView.ViewHolder oldHolder, @NonNull RecyclerView.ViewHolder newHolder, argument
154 if (newHolder.shouldIgnore()) {
161 return animateChange(oldHolder, newHolder, fromLeft, fromTop, toLeft, toTop);
243 * If the {@code oldHolder} is the same ViewHolder as the {@code newHolder}, you must call
257 * @param newHolder The new item that was created with the changed content. Might be null
266 RecyclerView.ViewHolder newHolder, int fromLeft, int fromTop, int toLeft, int toTop);
265 animateChange(RecyclerView.ViewHolder oldHolder, RecyclerView.ViewHolder newHolder, int fromLeft, int fromTop, int toLeft, int toTop) argument
H A DRecyclerView.java4122 private void animateChange(@NonNull ViewHolder oldHolder, @NonNull ViewHolder newHolder, argument
4129 if (oldHolder != newHolder) {
4131 addAnimatingView(newHolder);
4133 oldHolder.mShadowedHolder = newHolder;
4137 newHolder.setIsRecyclable(false);
4138 newHolder.mShadowingHolder = oldHolder;
4140 if (mItemAnimator.animateChange(oldHolder, newHolder, preInfo, postInfo)) {
12781 * <code>oldHolder</code> and <code>newHolder</code> will be different ViewHolder instances
12790 * If oldHolder and newHolder are the same instance, you should call
12806 * instance with newHolder
12817 animateChange(@onNull ViewHolder oldHolder, @NonNull ViewHolder newHolder, @NonNull ItemHolderInfo preLayoutInfo, @NonNull ItemHolderInfo postLayoutInfo) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp110 GroupPropertyValuesHolder* newHolder = new GroupPropertyValuesHolder(group, propertyId, local
112 return reinterpret_cast<jlong>(newHolder);
120 PathDataPropertyValuesHolder* newHolder = new PathDataPropertyValuesHolder(path, local
122 return reinterpret_cast<jlong>(newHolder);
128 FullPathColorPropertyValuesHolder* newHolder = new FullPathColorPropertyValuesHolder(fullPath, local
130 return reinterpret_cast<jlong>(newHolder);
136 FullPathPropertyValuesHolder* newHolder = new FullPathPropertyValuesHolder(fullPath, local
138 return reinterpret_cast<jlong>(newHolder);
144 RootAlphaPropertyValuesHolder* newHolder = new RootAlphaPropertyValuesHolder(tree, local
146 return reinterpret_cast<jlong>(newHolder);
[all...]

Completed in 81 milliseconds