/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/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
D | PageIndicator.java | 121 void updateAdapter(PagerAdapter oldAdapter, PagerAdapter newAdapter) { in updateAdapter() argument 122 if (oldAdapter != null) { in updateAdapter() 123 oldAdapter.unregisterDataSetObserver(mPageListener); in updateAdapter() 188 public void onAdapterChanged(ViewPager viewPager, PagerAdapter oldAdapter, in onAdapterChanged() argument 190 updateAdapter(oldAdapter, newAdapter); in onAdapterChanged()
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
D | PagerTitleStrip.java | 310 void updateAdapter(PagerAdapter oldAdapter, PagerAdapter newAdapter) { in updateAdapter() argument 311 if (oldAdapter != null) { in updateAdapter() 312 oldAdapter.unregisterDataSetObserver(mPageListener); in updateAdapter() 501 public void onAdapterChanged(ViewPager viewPager, PagerAdapter oldAdapter, in onAdapterChanged() argument 503 updateAdapter(oldAdapter, newAdapter); in onAdapterChanged()
|
D | ViewPager.java | 365 @Nullable PagerAdapter oldAdapter, @Nullable PagerAdapter newAdapter); in onAdapterChanged() argument 514 final PagerAdapter oldAdapter = mAdapter; in setAdapter() local 543 mAdapterChangeListeners.get(i).onAdapterChanged(this, oldAdapter, adapter); in setAdapter()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | RecyclerViewBasicTest.java | 513 public void onAdapterChanged(RecyclerView.Adapter oldAdapter, in onAdapterChanged() argument 515 super.onAdapterChanged(oldAdapter, newAdapter); in onAdapterChanged() 516 mPrevAdapter = oldAdapter; in onAdapterChanged()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 316 public void onAdapterChanged(PagerAdapter oldAdapter, PagerAdapter newAdapter); in onAdapterChanged() argument 404 final PagerAdapter oldAdapter = mAdapter; in setAdapter() local 430 if (mAdapterChangeListener != null && oldAdapter != adapter) { in setAdapter() 431 mAdapterChangeListener.onAdapterChanged(oldAdapter, adapter); in setAdapter()
|
D | RecyclerView.java | 1013 final Adapter oldAdapter = mAdapter; in setAdapterInternal() local 1020 mLayout.onAdapterChanged(oldAdapter, mAdapter); in setAdapterInternal() 1022 mRecycler.onAdapterChanged(oldAdapter, mAdapter, compatibleWithPrevious); in setAdapterInternal() 5072 void onAdapterChanged(Adapter oldAdapter, Adapter newAdapter, in onAdapterChanged() argument 5074 if (oldAdapter != null) { in onAdapterChanged() 6009 void onAdapterChanged(Adapter oldAdapter, Adapter newAdapter, in onAdapterChanged() argument 6012 getRecycledViewPool().onAdapterChanged(oldAdapter, newAdapter, compatibleWithPrevious); in onAdapterChanged() 9017 public void onAdapterChanged(Adapter oldAdapter, Adapter newAdapter) { in onAdapterChanged() argument
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | RecyclerView.java | 1101 final Adapter oldAdapter = mAdapter; in setAdapterInternal() local 1108 mLayout.onAdapterChanged(oldAdapter, mAdapter); in setAdapterInternal() 1110 mRecycler.onAdapterChanged(oldAdapter, mAdapter, compatibleWithPrevious); in setAdapterInternal() 5275 void onAdapterChanged(Adapter oldAdapter, Adapter newAdapter, in onAdapterChanged() argument 5277 if (oldAdapter != null) { in onAdapterChanged() 6224 void onAdapterChanged(Adapter oldAdapter, Adapter newAdapter, in onAdapterChanged() argument 6227 getRecycledViewPool().onAdapterChanged(oldAdapter, newAdapter, compatibleWithPrevious); in onAdapterChanged() 9436 public void onAdapterChanged(Adapter oldAdapter, Adapter newAdapter) { in onAdapterChanged() argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | GridLayoutManager.java | 3441 public void onAdapterChanged(RecyclerView.Adapter oldAdapter, in onAdapterChanged() argument 3444 if (oldAdapter != null) { in onAdapterChanged() 3455 super.onAdapterChanged(oldAdapter, newAdapter); in onAdapterChanged()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | TabLayout.java | 2207 @Nullable PagerAdapter oldAdapter, @Nullable PagerAdapter newAdapter) { in onAdapterChanged() argument
|