Searched refs:CalendarAppWidgetService (Results 1 – 5 of 5) sorted by relevance
21 import com.android.calendar.widget.CalendarAppWidgetService.CalendarFactory;101 MatrixCursor cursor = new MatrixCursor(CalendarAppWidgetService.EVENT_PROJECTION, 0); in testGetAppWidgetModel_1Event()131 MatrixCursor cursor = new MatrixCursor(CalendarAppWidgetService.EVENT_PROJECTION, 0); in testGetAppWidgetModel_AllDayEventLater()170 … CalendarAppWidgetModel actual = CalendarAppWidgetService.CalendarFactory.buildAppWidgetModel( in testGetAppWidgetModel_AllDayEventLater()178 Object[] row = new Object[CalendarAppWidgetService.EVENT_PROJECTION.length]; in getRow()179 row[CalendarAppWidgetService.INDEX_ALL_DAY] = new Integer(allDay); in getRow()180 row[CalendarAppWidgetService.INDEX_BEGIN] = new Long(begin); in getRow()181 row[CalendarAppWidgetService.INDEX_END] = new Long(end); in getRow()182 row[CalendarAppWidgetService.INDEX_TITLE] = new String(title); in getRow()183 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()281 final long eventId = cursor.getLong(CalendarAppWidgetService.INDEX_EVENT_ID); in buildFromCursor()282 final boolean allDay = cursor.getInt(CalendarAppWidgetService.INDEX_ALL_DAY) != 0; 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()290 final int startDay = cursor.getInt(CalendarAppWidgetService.INDEX_START_DAY); 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
79856 name=com.android.calendar.widget.CalendarAppWidgetService$CalendarFactory