HomeSort by relevance Sort by last modified time
    Searched refs:listPosition (Results 1 - 7 of 7) sorted by null

  /packages/apps/Dialer/src/com/android/dialer/calllog/
GroupingListAdapter.java 142 public int getGroupSize(int listPosition) {
143 if (listPosition < 0 || listPosition >= mGroupMetadata.size()) {
147 return mGroupMetadata.valueAt(listPosition);
154 public Object getItem(int listPosition) {
155 if (mCursor == null || listPosition < 0 || listPosition >= mGroupMetadata.size()) {
159 int cursorPosition = mGroupMetadata.keyAt(listPosition);
  /frameworks/ex/common/java/com/android/common/widget/
GroupingListAdapter.java 56 private int listPosition = -1;
145 mPositionMetadata.listPosition = -1;
271 if (metadata.listPosition == position) {
275 int listPosition = 0;
308 listPosition = mPositionCache.keyAt(index);
318 listPosition = mLastCachedListPosition;
328 listPosition += (offset - cursorPosition);
332 mPositionCache.append(listPosition, i);
333 mLastCachedListPosition = listPosition;
340 if (position < listPosition) {
    [all...]
  /packages/apps/Dialer/tests/src/com/android/dialer/calllog/
GroupingListAdapterTests.java 168 private void assertMetadata(int listPosition, int groupSize, String objectValue) {
169 assertEquals(groupSize, mAdapter.getGroupSize(listPosition));
170 MatrixCursor cursor = (MatrixCursor) mAdapter.getItem(listPosition);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
IndexerListAdapter.java 161 int listPosition = listView.getPositionAt(listView.getTotalTopPinnedHeaderHeight());
162 int position = listPosition - listView.getHeaderViewsCount();
176 View topChild = listView.getChildAt(listPosition);
192 listView.setFadingHeader(index, listPosition, isLastInSection);
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DatePickerDialog.java 185 int listPosition = -1;
187 listPosition = mDayPickerView.getMostVisiblePosition();
189 listPosition = mYearPickerView.getFirstVisiblePosition();
192 outState.putInt(KEY_LIST_POSITION, listPosition);
211 int listPosition = -1;
219 listPosition = savedInstanceState.getInt(KEY_LIST_POSITION);
263 if (listPosition != -1) {
265 mDayPickerView.postSetSelection(listPosition);
267 mYearPickerView.postSetSelectionFromTop(listPosition, listPositionOffset);
  /frameworks/base/core/java/android/widget/
DatePickerCalendarDelegate.java 545 int listPosition = -1;
549 listPosition = mDayPickerView.getMostVisiblePosition();
551 listPosition = mYearPickerView.getFirstVisiblePosition();
556 mMaxDate.getTimeInMillis(), mCurrentView, listPosition, listPositionOffset);
574 final int listPosition = ss.getListPosition();
575 if (listPosition != -1) {
577 mDayPickerView.setPosition(listPosition);
580 mYearPickerView.setSelectionFromTop(listPosition, listPositionOffset);
DatePicker.java 549 long maxDate, int currentView, int listPosition, int listPositionOffset) {
557 mListPosition = listPosition;

Completed in 1223 milliseconds