Home
last modified time | relevance | path

Searched refs:cursorPosition (Results 1 – 3 of 3) sorted by relevance

/frameworks/ex/common/java/com/android/common/widget/
DGroupingListAdapter.java53 int cursorPosition; field in GroupingListAdapter.PositionMetadata
201 protected void addGroup(int cursorPosition, int size, boolean expanded) { in addGroup() argument
210 long metadata = ((long)size << 32) | cursorPosition; in addGroup()
240 int cursorPosition = 0; in getCount() local
248 count += (offset - cursorPosition); in getCount()
256 cursorPosition = offset + size; in getCount()
259 mCount = count + mCursor.getCount() - cursorPosition; in getCount()
276 int cursorPosition = 0; in obtainPositionMetadata() local
311 cursorPosition = (int)(descriptor & GROUP_OFFSET_MASK); in obtainPositionMetadata()
319 cursorPosition = mLastCachedCursorPosition; in obtainPositionMetadata()
[all …]
/frameworks/ex/common/tests/src/com/android/common/widget/
DGroupingListAdapterTests.java302 int cursorPosition) { in assertPositionMetadata() argument
309 assertEquals(cursorPosition, metadata.cursorPosition); in assertPositionMetadata()
/frameworks/base/core/java/android/database/
DDatabaseUtils.java767 int cursorPosition, int cursorWindowCapacity) { in cursorPickFillWindowStartPosition() argument
768 return Math.max(cursorPosition - cursorWindowCapacity / 3, 0); in cursorPickFillWindowStartPosition()