Home | History | Annotate | Download | only in calendar

Lines Matching refs:info

294         DayAdapterInfo info = getAdapterInfoByPosition(position);
295 if (info != null) {
296 return info.dayAdapter.getItemViewType(position - info.offset);
305 DayAdapterInfo info = getAdapterInfoByPosition(position);
306 if (info != null) {
307 return info.dayAdapter.isEnabled(position - info.offset);
320 DayAdapterInfo info = getAdapterInfoByPosition(position);
321 if (info != null) {
322 return info.dayAdapter.getItem(position - info.offset);
336 DayAdapterInfo info = getAdapterInfoByPosition(position);
337 if (info != null) {
338 return ((position - info.offset) << 20) + info.start ;
361 DayAdapterInfo info = getAdapterInfoByPosition(position);
362 if (info != null) {
363 v = info.dayAdapter.getView(position - info.offset, convertView,
382 DayAdapterInfo info = getAdapterInfoByTime(time);
383 if (info != null) {
384 return info.offset + info.dayAdapter.findDayPositionNearestTime(time);
396 for (DayAdapterInfo info : mAdapterInfos) {
397 if (info.offset <= position
398 && position < (info.offset + info.size)) {
399 mLastUsedInfo = info;
400 return info;
414 for (DayAdapterInfo info : mAdapterInfos) {
415 if (info.start <= day && day < info.end) {
416 return info;
428 DayAdapterInfo info = getAdapterInfoByPosition(position);
429 if (info == null) {
433 position = info.dayAdapter.getCursorPosition(position - info.offset);
444 if (position < info.cursor.getCount()) {
445 info.cursor.moveToPosition(position);
446 event.begin = info.cursor.getLong(AgendaWindowAdapter.INDEX_BEGIN);
447 boolean allDay = info.cursor.getInt(AgendaWindowAdapter.INDEX_ALL_DAY) != 0;
463 event.end = info.cursor.getLong(AgendaWindowAdapter.INDEX_END);
464 event.id = info.cursor.getLong(AgendaWindowAdapter.INDEX_EVENT_ID);
521 DayAdapterInfo info;
523 info = mAdapterInfos.poll();
524 if (info != null) {
525 info.cursor.close();
526 deletedRows += info.size;
527 recycleMe = info;
529 } while (info != null);
741 // Update Adapter Info with new start and end date range
812 * Update the adapter info array with a the new cursor. Close out old
819 // Remove adapter info's from adapterInfos as needed
820 DayAdapterInfo info = pruneAdapterInfo(data.queryType);
822 if (info == null) {
823 info = new DayAdapterInfo(mContext);
827 + -info.size);
828 listPositionOffset = -info.size;
831 // Setup adapter info
832 info.start = data.start;
833 info.end = data.end;
834 info.cursor = cursor;
835 info.dayAdapter.changeCursor(info);
836 info.size = info.dayAdapter.getCount();
841 mAdapterInfos.addFirst(info);
842 listPositionOffset += info.size;
844 mAdapterInfos.addLast(info);
849 mAdapterInfos.addLast(info);