/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
H A D | AbsSpinnerBindingAdapter.java | 30 SpinnerAdapter oldAdapter = view.getAdapter(); 32 if (oldAdapter != null && oldAdapter.getCount() == entries.length) { 35 if (!entries[i].equals(oldAdapter.getItem(i))) { 56 SpinnerAdapter oldAdapter = view.getAdapter(); 57 if (oldAdapter instanceof ObservableListAdapter) { 58 ((ObservableListAdapter) oldAdapter).setList(entries);
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | RecycledViewPoolTest.java | 130 TestAdapter oldAdapter = null; 132 oldAdapter = new TestAdapter(); 135 pool.onAdapterChanged(oldAdapter, null, !notCompatibleWithPrevious);
|
H A D | RecyclerViewBasicTest.java | 603 public void onAdapterChanged(RecyclerView.Adapter oldAdapter, argument 605 super.onAdapterChanged(oldAdapter, newAdapter); 606 mPrevAdapter = oldAdapter;
|
H A D | RecyclerViewLayoutTest.java | 5193 public void onAdapterChanged(RecyclerView.Adapter oldAdapter, argument 5195 super.onAdapterChanged(oldAdapter, newAdapter);
|
/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/ |
H A D | PagerTitleStrip.java | 313 void updateAdapter(PagerAdapter oldAdapter, PagerAdapter newAdapter) { argument 314 if (oldAdapter != null) { 315 oldAdapter.unregisterDataSetObserver(mPageListener); 504 public void onAdapterChanged(ViewPager viewPager, PagerAdapter oldAdapter, argument 506 updateAdapter(oldAdapter, newAdapter);
|
H A D | ViewPager.java | 367 * @param oldAdapter the previously set adapter 371 @Nullable PagerAdapter oldAdapter, @Nullable PagerAdapter newAdapter); 520 final PagerAdapter oldAdapter = mAdapter; 549 mAdapterChangeListeners.get(i).onAdapterChanged(this, oldAdapter, adapter); 370 onAdapterChanged(@onNull ViewPager viewPager, @Nullable PagerAdapter oldAdapter, @Nullable PagerAdapter newAdapter) argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ViewPager.java | 316 public void onAdapterChanged(PagerAdapter oldAdapter, PagerAdapter newAdapter); argument 404 final PagerAdapter oldAdapter = mAdapter; 430 if (mAdapterChangeListener != null && oldAdapter != adapter) { 431 mAdapterChangeListener.onAdapterChanged(oldAdapter, adapter);
|
H A D | RecyclerView.java | 1013 final Adapter oldAdapter = mAdapter; 1020 mLayout.onAdapterChanged(oldAdapter, mAdapter); 1022 mRecycler.onAdapterChanged(oldAdapter, mAdapter, compatibleWithPrevious); 5065 * adapter uses a different ViewHolder than the oldAdapter. 5067 * @param oldAdapter The previous adapter instance. Will be detached. 5069 * @param compatibleWithPrevious True if both oldAdapter and newAdapter are using the same 5072 void onAdapterChanged(Adapter oldAdapter, Adapter newAdapter, argument 5074 if (oldAdapter != null) { 6009 void onAdapterChanged(Adapter oldAdapter, Adapter newAdapter, argument 6012 getRecycledViewPool().onAdapterChanged(oldAdapter, newAdapte 9017 onAdapterChanged(Adapter oldAdapter, Adapter newAdapter) argument [all...] |
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | RecyclerView.java | 1154 final Adapter oldAdapter = mAdapter; 1161 mLayout.onAdapterChanged(oldAdapter, mAdapter); 1163 mRecycler.onAdapterChanged(oldAdapter, mAdapter, compatibleWithPrevious); 5489 * adapter uses a different ViewHolder than the oldAdapter. 5491 * @param oldAdapter The previous adapter instance. Will be detached. 5493 * @param compatibleWithPrevious True if both oldAdapter and newAdapter are using the same 5496 void onAdapterChanged(Adapter oldAdapter, Adapter newAdapter, argument 5498 if (oldAdapter != null) { 6447 void onAdapterChanged(Adapter oldAdapter, Adapter newAdapter, argument 6450 getRecycledViewPool().onAdapterChanged(oldAdapter, newAdapte 9723 onAdapterChanged(@ullable Adapter oldAdapter, @Nullable Adapter newAdapter) argument [all...] |
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | GridLayoutManager.java | 3558 public void onAdapterChanged(RecyclerView.Adapter oldAdapter, argument 3561 if (oldAdapter != null) { 3572 super.onAdapterChanged(oldAdapter, newAdapter);
|