Searched refs:cursorPosition (Results 1 – 4 of 4) sorted by relevance
/frameworks/ex/common/java/com/android/common/widget/ |
D | GroupingListAdapter.java | 53 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/ |
D | GroupingListAdapterTests.java | 302 int cursorPosition) { in assertPositionMetadata() argument 309 assertEquals(cursorPosition, metadata.cursorPosition); in assertPositionMetadata()
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
D | Hwc2Test.cpp | 2036 const hwc_rect_t cursorPosition = testLayer->getCursorPosition(); in setCursorPosition() local 2038 cursorPosition.left, cursorPosition.top, outErr)); in setCursorPosition() 3045 const hwc_rect_t cursorPosition = testLayer->getCursorPosition(); in TEST_F() local 3047 cursorPosition.left, cursorPosition.top, outErr)); in TEST_F() 3075 const hwc_rect_t cursorPosition = testLayer->getCursorPosition(); in TEST_F() local 3077 badLayer, cursorPosition.left, cursorPosition.top, in TEST_F()
|
/frameworks/base/core/java/android/database/ |
D | DatabaseUtils.java | 764 int cursorPosition, int cursorWindowCapacity) { in cursorPickFillWindowStartPosition() argument 765 return Math.max(cursorPosition - cursorWindowCapacity / 3, 0); in cursorPickFillWindowStartPosition()
|