Home
last modified time | relevance | path

Searched refs:mDataSetObserver (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/
DCursorRecyclerAdapter.java71 protected DataSetObserver mDataSetObserver; field in CursorRecyclerAdapter
127 mDataSetObserver = new MyDataSetObserver(); in init()
130 mDataSetObserver = null; in init()
137 if (mDataSetObserver != null) { in init()
138 c.registerDataSetObserver(mDataSetObserver); in init()
249 if (mDataSetObserver != null) { in swapCursor()
250 oldCursor.unregisterDataSetObserver(mDataSetObserver); in swapCursor()
258 if (mDataSetObserver != null) { in swapCursor()
259 newCursor.registerDataSetObserver(mDataSetObserver); in swapCursor()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSuggestionsAdapterBase.java39 private DataSetObserver mDataSetObserver; field in SuggestionsAdapterBase
95 if (mDataSetObserver == null) { in setSuggestions()
96 mDataSetObserver = new MySuggestionsObserver(); in setSuggestions()
100 mSuggestions.unregisterDataSetObserver(mDataSetObserver); in setSuggestions()
105 mSuggestions.registerDataSetObserver(mDataSetObserver); in setSuggestions()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DCategoryTrack.java36 private DataSetObserver mDataSetObserver = new DataSetObserver() { field in CategoryTrack
61 mAdapter.registerDataSetObserver(mDataSetObserver); in setAdapter()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSettingsPreferenceFragment.java79 private RecyclerView.AdapterDataObserver mDataSetObserver = field in SettingsPreferenceFragment
226 mCurrentRootAdapter.unregisterAdapterDataObserver(mDataSetObserver); in registerObserverIfNeeded()
229 mCurrentRootAdapter.registerAdapterDataObserver(mDataSetObserver); in registerObserverIfNeeded()
238 mCurrentRootAdapter.unregisterAdapterDataObserver(mDataSetObserver); in unregisterObserverIfNeeded()
/packages/apps/Settings/src/com/android/settings/
DSettingsPreferenceFragment.java78 private RecyclerView.AdapterDataObserver mDataSetObserver = field in SettingsPreferenceFragment
224 mCurrentRootAdapter.unregisterAdapterDataObserver(mDataSetObserver); in registerObserverIfNeeded()
227 mCurrentRootAdapter.registerAdapterDataObserver(mDataSetObserver); in registerObserverIfNeeded()
236 mCurrentRootAdapter.unregisterAdapterDataObserver(mDataSetObserver); in unregisterObserverIfNeeded()
/packages/apps/Contacts/src/com/android/contacts/widget/
DCompositeListAdapter.java44 private DataSetObserver mDataSetObserver = new DataSetObserver() { field in CompositeListAdapter
86 adapter.registerDataSetObserver(mDataSetObserver); in addAdapter()