Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DCursorAdapter.java81 protected DataSetObserver mDataSetObserver; field in CursorAdapter
183 mDataSetObserver = new MyDataSetObserver(); in init()
186 mDataSetObserver = null; in init()
191 if (mDataSetObserver != null) c.registerDataSetObserver(mDataSetObserver); in init()
372 if (mDataSetObserver != null) oldCursor.unregisterDataSetObserver(mDataSetObserver); in swapCursor()
377 if (mDataSetObserver != null) newCursor.registerDataSetObserver(mDataSetObserver); in swapCursor()
DCursorTreeAdapter.java406 private MyDataSetObserver mDataSetObserver; field in CursorTreeAdapter.MyCursorHelper
414 mDataSetObserver = new MyDataSetObserver(); in MyCursorHelper()
417 cursor.registerDataSetObserver(mDataSetObserver); in MyCursorHelper()
460 cursor.registerDataSetObserver(mDataSetObserver); in changeCursor()
479 mCursor.unregisterDataSetObserver(mDataSetObserver); in deactivate()
DAbsSpinner.java51 private DataSetObserver mDataSetObserver; field in AbsSpinner
104 mAdapter.unregisterDataSetObserver(mDataSetObserver); in setAdapter()
118 mDataSetObserver = new AdapterDataSetObserver(); in setAdapter()
119 mAdapter.registerDataSetObserver(mDataSetObserver); in setAdapter()
DAdapterViewAnimator.java108 AdapterDataSetObserver mDataSetObserver; field in AdapterViewAnimator
954 if (mAdapter != null && mDataSetObserver != null) { in setAdapter()
955 mAdapter.unregisterDataSetObserver(mDataSetObserver); in setAdapter()
962 mDataSetObserver = new AdapterDataSetObserver(); in setAdapter()
963 mAdapter.registerDataSetObserver(mDataSetObserver); in setAdapter()
DListView.java287 if (mDataSetObserver != null) { in addHeaderView()
288 mDataSetObserver.onChanged(); in addHeaderView()
327 if (mDataSetObserver != null) { in removeHeaderView()
328 mDataSetObserver.onChanged(); in removeHeaderView()
381 if (mDataSetObserver != null) { in addFooterView()
382 mDataSetObserver.onChanged(); in addFooterView()
421 if (mDataSetObserver != null) { in removeFooterView()
422 mDataSetObserver.onChanged(); in removeFooterView()
471 if (mAdapter != null && mDataSetObserver != null) { in setAdapter()
472 mAdapter.unregisterDataSetObserver(mDataSetObserver); in setAdapter()
[all …]
DExpandableListConnector.java70 private final DataSetObserver mDataSetObserver = new MyDataSetObserver(); field in ExpandableListConnector
88 mExpandableListAdapter.unregisterDataSetObserver(mDataSetObserver); in setExpandableListAdapter()
92 expandableListAdapter.registerDataSetObserver(mDataSetObserver); in setExpandableListAdapter()
DGridView.java190 if (mAdapter != null && mDataSetObserver != null) { in setAdapter()
191 mAdapter.unregisterDataSetObserver(mDataSetObserver); in setAdapter()
210 mDataSetObserver = new AdapterDataSetObserver(); in setAdapter()
211 mAdapter.registerDataSetObserver(mDataSetObserver); in setAdapter()
DAbsListView.java282 AdapterDataSetObserver mDataSetObserver; field in AbsListView
1963 mDataSetObserver.clearSavedState(); in setFilterText()
2932 if (mAdapter != null && mDataSetObserver == null) { in onAttachedToWindow()
2933 mDataSetObserver = new AdapterDataSetObserver(); in onAttachedToWindow()
2934 mAdapter.registerDataSetObserver(mDataSetObserver); in onAttachedToWindow()
2962 if (mAdapter != null && mDataSetObserver != null) { in onDetachedFromWindow()
2963 mAdapter.unregisterDataSetObserver(mDataSetObserver); in onDetachedFromWindow()
2964 mDataSetObserver = null; in onDetachedFromWindow()
/frameworks/support/core-ui/java/android/support/v4/widget/
DCursorAdapter.java85 protected DataSetObserver mDataSetObserver; field in CursorAdapter
189 mDataSetObserver = new MyDataSetObserver(); in init()
192 mDataSetObserver = null; in init()
197 if (mDataSetObserver != null) c.registerDataSetObserver(mDataSetObserver); in init()
356 if (mDataSetObserver != null) oldCursor.unregisterDataSetObserver(mDataSetObserver); in swapCursor()
361 if (mDataSetObserver != null) newCursor.registerDataSetObserver(mDataSetObserver); in swapCursor()
/frameworks/ex/common/java/com/android/common/widget/
DGroupingListAdapter.java103 protected DataSetObserver mDataSetObserver = new DataSetObserver() { field in GroupingListAdapter
159 mCursor.unregisterDataSetObserver(mDataSetObserver); in changeCursor()
168 cursor.registerDataSetObserver(mDataSetObserver); in changeCursor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcher.java71 mAdapter.registerDataSetObserver(mDataSetObserver); in KeyguardUserSwitcher()
236 public final DataSetObserver mDataSetObserver = new DataSetObserver() { field in KeyguardUserSwitcher