Searched refs:CalendarAppWidgetService (Results 1 – 4 of 4) sorted by relevance
21 import com.android.calendar.widget.CalendarAppWidgetService.CalendarFactory;102 MatrixCursor cursor = new MatrixCursor(CalendarAppWidgetService.EVENT_PROJECTION, 0); in testGetAppWidgetModel_1Event()132 MatrixCursor cursor = new MatrixCursor(CalendarAppWidgetService.EVENT_PROJECTION, 0); in testGetAppWidgetModel_AllDayEventLater()170 … CalendarAppWidgetModel actual = CalendarAppWidgetService.CalendarFactory.buildAppWidgetModel( in testGetAppWidgetModel_AllDayEventLater()180 Object[] row = new Object[CalendarAppWidgetService.EVENT_PROJECTION.length]; in getRow()181 row[CalendarAppWidgetService.INDEX_ALL_DAY] = new Integer(allDay); in getRow()182 row[CalendarAppWidgetService.INDEX_BEGIN] = new Long(begin); in getRow()183 row[CalendarAppWidgetService.INDEX_END] = new Long(end); in getRow()184 row[CalendarAppWidgetService.INDEX_TITLE] = new String(title); in getRow()185 row[CalendarAppWidgetService.INDEX_EVENT_LOCATION] = new String(location); in getRow()[all …]
256 mMaxJulianDay = mTodayJulianDay + CalendarAppWidgetService.MAX_DAYS - 1; in CalendarAppWidgetModel()266 new ArrayList<LinkedList<RowInfo>>(CalendarAppWidgetService.MAX_DAYS); in buildFromCursor()267 for (int i = 0; i < CalendarAppWidgetService.MAX_DAYS; i++) { in buildFromCursor()283 long start = cursor.getLong(CalendarAppWidgetService.INDEX_BEGIN); in buildFromCursor()284 long end = cursor.getLong(CalendarAppWidgetService.INDEX_END); in buildFromCursor()285 final String title = cursor.getString(CalendarAppWidgetService.INDEX_TITLE); in buildFromCursor()287 cursor.getString(CalendarAppWidgetService.INDEX_EVENT_LOCATION); in buildFromCursor()291 final int endDay = cursor.getInt(CalendarAppWidgetService.INDEX_END_DAY); in buildFromCursor()292 final int color = cursor.getInt(CalendarAppWidgetService.INDEX_COLOR); in buildFromCursor()294 .getInt(CalendarAppWidgetService.INDEX_SELF_ATTENDEE_STATUS); in buildFromCursor()[all …]
72 Intent service = new Intent(context, CalendarAppWidgetService.class); in onReceive()125 Intent updateIntent = new Intent(context, CalendarAppWidgetService.class); in performUpdate()
53 public class CalendarAppWidgetService extends RemoteViewsService { class