Searched refs:oldAdapter (Results 1 – 8 of 8) sorted by relevance
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
D | AbsSpinnerBindingAdapter.java | 30 SpinnerAdapter oldAdapter = view.getAdapter(); in setEntries() local 32 if (oldAdapter != null && oldAdapter.getCount() == entries.length) { in setEntries() 35 if (!entries[i].equals(oldAdapter.getItem(i))) { in setEntries() 56 SpinnerAdapter oldAdapter = view.getAdapter(); in setEntries() local 57 if (oldAdapter instanceof ObservableListAdapter) { in setEntries() 58 ((ObservableListAdapter) oldAdapter).setList(entries); in setEntries()
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | PagerTitleStrip.java | 319 void updateAdapter(PagerAdapter oldAdapter, PagerAdapter newAdapter) { in updateAdapter() argument 320 if (oldAdapter != null) { in updateAdapter() 321 oldAdapter.unregisterDataSetObserver(mPageListener); in updateAdapter() 507 public void onAdapterChanged(ViewPager viewPager, PagerAdapter oldAdapter, in onAdapterChanged() argument 509 updateAdapter(oldAdapter, newAdapter); in onAdapterChanged()
|
D | ViewPager.java | 370 @Nullable PagerAdapter oldAdapter, @Nullable PagerAdapter newAdapter); in onAdapterChanged() argument 518 final PagerAdapter oldAdapter = mAdapter; in setAdapter() local 547 mAdapterChangeListeners.get(i).onAdapterChanged(this, oldAdapter, adapter); in setAdapter()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | RecyclerViewBasicTest.java | 359 public void onAdapterChanged(RecyclerView.Adapter oldAdapter, in onAdapterChanged() argument 361 super.onAdapterChanged(oldAdapter, newAdapter); in onAdapterChanged() 362 mPrevAdapter = oldAdapter; in onAdapterChanged()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 342 public void onAdapterChanged(PagerAdapter oldAdapter, PagerAdapter newAdapter); in onAdapterChanged() argument 430 final PagerAdapter oldAdapter = mAdapter; in setAdapter() local 456 if (mAdapterChangeListener != null && oldAdapter != adapter) { in setAdapter() 457 mAdapterChangeListener.onAdapterChanged(oldAdapter, adapter); in setAdapter()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | RecyclerView.java | 940 final Adapter oldAdapter = mAdapter; in setAdapterInternal() local 947 mLayout.onAdapterChanged(oldAdapter, mAdapter); in setAdapterInternal() 949 mRecycler.onAdapterChanged(oldAdapter, mAdapter, compatibleWithPrevious); in setAdapterInternal() 4695 void onAdapterChanged(Adapter oldAdapter, Adapter newAdapter, in onAdapterChanged() argument 4697 if (oldAdapter != null) { in onAdapterChanged() 5476 void onAdapterChanged(Adapter oldAdapter, Adapter newAdapter, in onAdapterChanged() argument 5479 getRecycledViewPool().onAdapterChanged(oldAdapter, newAdapter, compatibleWithPrevious); in onAdapterChanged() 8353 public void onAdapterChanged(Adapter oldAdapter, Adapter newAdapter) { in onAdapterChanged() argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | GridLayoutManager.java | 3111 public void onAdapterChanged(RecyclerView.Adapter oldAdapter, in onAdapterChanged() argument 3114 if (oldAdapter != null) { in onAdapterChanged() 3125 super.onAdapterChanged(oldAdapter, newAdapter); in onAdapterChanged()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | TabLayout.java | 2199 @Nullable PagerAdapter oldAdapter, @Nullable PagerAdapter newAdapter) { in onAdapterChanged() argument
|