Searched refs:mCursors (Results 1 – 3 of 3) sorted by relevance
35 private Cursor[] mCursors; field in SortCursor61 mCursors = cursors; in SortCursor()63 int length = mCursors.length; in SortCursor()66 if (mCursors[i] == null) continue; in SortCursor()69 mCursors[i].registerDataSetObserver(mObserver); in SortCursor()71 mCursors[i].moveToFirst(); in SortCursor()74 mSortColumns[i] = mCursors[i].getColumnIndexOrThrow(sortcolumn); in SortCursor()79 if (mCursors[j] == null || mCursors[j].isAfterLast()) in SortCursor()81 String current = mCursors[j].getString(mSortColumns[j]); in SortCursor()84 mCursor = mCursors[j]; in SortCursor()[all …]
44 mCursors = cursors; in MergeCursor()47 for (int i = 0; i < mCursors.length; i++) { in MergeCursor()48 if (mCursors[i] == null) continue; in MergeCursor()50 mCursors[i].registerDataSetObserver(mObserver); in MergeCursor()58 int length = mCursors.length; in getCount()60 if (mCursors[i] != null) { in getCount()61 count += mCursors[i].getCount(); in getCount()73 int length = mCursors.length; in onMove()75 if (mCursors[i] == null) { in onMove()79 if (newPosition < (cursorStartPos + mCursors[i].getCount())) { in onMove()[all …]
617 observer.mCursors.add(cursor); in startObserving()628 observer.mCursors.remove(cursor); in stopObserving()629 if (observer.mCursors.size() == 0) { in stopObserving()645 private final CopyOnWriteArrayList<DirectoryCursor> mCursors; field in DirectoryObserver652 mCursors = new CopyOnWriteArrayList<>(); in DirectoryObserver()659 for (DirectoryCursor cursor : mCursors) { in onEvent()669 return "DirectoryObserver{file=" + filePath + ", ref=" + mCursors.size() + "}"; in toString()