/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | GroupingListAdapter.java | 58 int cursorPosition; field in GroupingListAdapter.PositionMetadata 187 protected void addGroup(int cursorPosition, int size, boolean expanded) { in addGroup() argument 196 long metadata = ((long)size << 32) | cursorPosition; in addGroup() 227 int cursorPosition = 0; in getItemCount() local 235 count += (offset - cursorPosition); in getItemCount() 243 cursorPosition = offset + size; in getItemCount() 246 mCount = count + mCursor.getCount() - cursorPosition; in getItemCount() 262 int cursorPosition = 0; in obtainPositionMetadata() local 297 cursorPosition = (int)(descriptor & GROUP_OFFSET_MASK); in obtainPositionMetadata() 305 cursorPosition = mLastCachedCursorPosition; in obtainPositionMetadata() [all …]
|
D | CallLogGroupBuilder.java | 51 public void addGroup(int cursorPosition, int size, boolean expanded); in addGroup() argument 207 private void addGroup(int cursorPosition, int size) { in addGroup() argument 208 mGroupCreator.addGroup(cursorPosition, size, false); in addGroup()
|
D | CallLogAdapter.java | 702 public void addGroup(int cursorPosition, int size, boolean expanded) { in addGroup() argument 703 super.addGroup(cursorPosition, size, expanded); in addGroup()
|
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
D | CallLogGroupBuilderTest.java | 269 private void assertGroupIs(int cursorPosition, int size, boolean expanded, GroupSpec group) { in assertGroupIs() argument 270 assertEquals(cursorPosition, group.cursorPosition); in assertGroupIs() 278 public final int cursorPosition; field in CallLogGroupBuilderTest.GroupSpec 284 public GroupSpec(int cursorPosition, int size, boolean expanded) { in GroupSpec() argument 285 this.cursorPosition = cursorPosition; in GroupSpec() 297 public void addGroup(int cursorPosition, int size, boolean expanded) { in addGroup() argument 298 groups.add(new GroupSpec(cursorPosition, size, expanded)); in addGroup()
|
D | GroupingListAdapterTests.java | 291 int cursorPosition) { in assertPositionMetadata() argument 298 assertEquals(cursorPosition, metadata.cursorPosition); in assertPositionMetadata()
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaWindowAdapter.java | 602 int cursorPosition = info.dayAdapter.getCursorPosition(positionInAdapter - info.offset); in getAgendaItemByPosition() local 603 if (cursorPosition == Integer.MIN_VALUE) { in getAgendaItemByPosition() 608 if (cursorPosition < 0) { in getAgendaItemByPosition() 609 cursorPosition = -cursorPosition; in getAgendaItemByPosition() 613 if (cursorPosition < info.cursor.getCount()) { in getAgendaItemByPosition() 614 AgendaItem item = buildAgendaItemFromCursor(info.cursor, cursorPosition, isDayHeader); in getAgendaItemByPosition() 624 private AgendaItem buildAgendaItemFromCursor(final Cursor cursor, int cursorPosition, in buildAgendaItemFromCursor() argument 626 if (cursorPosition == -1) { in buildAgendaItemFromCursor() 629 cursor.moveToPosition(cursorPosition); in buildAgendaItemFromCursor()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationListFragment.java | 882 final int cursorPosition = conversation.position; in setActivated() local 883 final int position = cursorPosition + mListAdapter.getPositionOffset(cursorPosition); in setActivated() 897 final int cursorPosition = conversation.position; in setSelected() local 898 final int position = cursorPosition + mListAdapter.getPositionOffset(cursorPosition); in setSelected()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | RichInputConnectionAndTextRangeTests.java | 68 public MockConnection(final CharSequence text, final int cursorPosition) { in MockConnection() argument 76 TextUtils.writeToParcel(text.subSequence(0, cursorPosition), p, 0 /* flags */); in MockConnection() 77 TextUtils.writeToParcel(text.subSequence(cursorPosition, text.length()), p, in MockConnection()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | MessageNotificationState.java | 1207 int cursorPosition = -1; in checkFailedMessages() local 1222 cursorPosition = messageDataCursor.getPosition(); in checkFailedMessages() 1223 failedMessages.add(cursorPosition); in checkFailedMessages() 1240 messageDataCursor.moveToPosition(cursorPosition); in checkFailedMessages()
|