Home | History | Annotate | Download | only in agenda

Lines Matching refs:row

105             RowInfo row = mRowInfo.get(i);
106 if (row != null && row.mType == TYPE_DAY)
138 RowInfo row = mRowInfo.get(position);
139 if (row.mType == TYPE_DAY) {
140 return row;
142 return mAgendaAdapter.getItem(row.mPosition);
151 RowInfo row = mRowInfo.get(position);
152 if (row.mType == TYPE_DAY) {
155 return mAgendaAdapter.getItemId(row.mPosition);
179 // If we have no row info, mAgendaAdapter returns the view.
183 RowInfo row = mRowInfo.get(position);
184 if (row.mType == TYPE_DAY) {
194 holder.julianDay = row.mDay;
205 holder.julianDay = row.mDay;
224 long millis = date.setJulianDay(row.mDay);
228 String dayViewText = Utils.getDayOfWeekString(row.mDay, mTodayJulianDay, millis,
247 if (row.mDay > mTodayJulianDay) {
255 } else if (row.mType == TYPE_MEETING) {
256 View itemView = mAgendaAdapter.getView(row.mPosition, convertView, parent);
262 holder.startTimeMilli = row.mEventStartTimeMilli;
271 if ((!allDay && row.mEventStartTimeMilli <= System.currentTimeMillis()) ||
272 (allDay && row.mDay <= mTodayJulianDay)) {
281 holder.julianDay = row.mDay;
285 throw new IllegalStateException("Unknown event type:" + row.mType);
533 RowInfo row = mRowInfo.get(index);
534 if (row.mType == TYPE_DAY) {
539 if (row.mEventId == id) {
540 if (row.mEventStartTimeMilli == millis) {
545 long distance = Math.abs(millis - row.mEventStartTimeMilli);
554 if (millis >= row.mEventStartTimeMilli && millis <= row.mEventEndTimeMilli) {
555 if (row.mAllDay) {
558 allDayEventDay = row.mDay;
565 long distance = Math.abs(millis - row.mEventStartTimeMilli);
569 minDay = row.mDay;
600 RowInfo row = mRowInfo.get(headerPos);
601 if (row != null) {
602 return row.mFirstDayAfterYesterday;
619 if (position >= len) return 0; // no row info at this position
622 RowInfo row = mRowInfo.get(index);
623 if (row.mType == TYPE_DAY) {
624 return row.mDay;
631 * Marks the current row as the first day that has events after "yesterday".
640 RowInfo row = mRowInfo.get(position);
641 row.mFirstDayAfterYesterday = true;
655 RowInfo row = mRowInfo.get(listPos);
656 if (row.mType == TYPE_MEETING) {
657 return row.mPosition;
679 RowInfo row = mRowInfo.get(position);
680 return row.mType == TYPE_MEETING;