Home
last modified time | relevance | path

Searched refs:mDataValid (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/
DCursorRecyclerAdapter.java41 protected boolean mDataValid; field in CursorRecyclerAdapter
122 mDataValid = cursorPresent; in init()
153 if (mDataValid && mCursor != null) { in getItemCount()
164 if (mDataValid && mCursor != null) { in getItem()
177 if (mDataValid && mCursor != null) { in getItemId()
195 if (!mDataValid) { in onBindViewHolder()
262 mDataValid = true; in swapCursor()
267 mDataValid = false; in swapCursor()
299 mDataValid = mCursor.requery(); in onContentChanged()
322 mDataValid = true; in onChanged()
[all …]
/packages/apps/Settings/src/com/android/settings/dashboard/
DSearchResultsSummary.java419 private boolean mDataValid = false; field in SearchResultsSummary.SuggestionsAdapter
424 mDataValid = false; in SuggestionsAdapter()
434 mDataValid = true; in swapCursor()
437 mDataValid = false; in swapCursor()
445 if (!mDataValid || mCursor == null || mCursor.isClosed()) return 0; in getCount()
451 if (mDataValid && mCursor.moveToPosition(position)) { in getItem()
466 if (!mDataValid && convertView == null) { in getView()
517 private boolean mDataValid; field in SearchResultsSummary.SearchResultsAdapter
526 mDataValid = false; in SearchResultsAdapter()
536 mDataValid = true; in swapCursor()
[all …]