Searched refs:CalendarAppWidgetService (Results 1 – 4 of 4) sorted by relevance
32 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 …]
215 ArrayList<LinkedList<RowInfo>>(CalendarAppWidgetService.MAX_DAYS) in buildFromCursor()216 for (i in 0 until CalendarAppWidgetService.MAX_DAYS) { in buildFromCursor()231 val eventId: Long = cursor.getLong(CalendarAppWidgetService.INDEX_EVENT_ID) in buildFromCursor()232 val allDay = cursor.getInt(CalendarAppWidgetService.INDEX_ALL_DAY) !== 0 in buildFromCursor()233 var start: Long = cursor.getLong(CalendarAppWidgetService.INDEX_BEGIN) in buildFromCursor()234 var end: Long = cursor.getLong(CalendarAppWidgetService.INDEX_END) in buildFromCursor()235 val title: String = cursor.getString(CalendarAppWidgetService.INDEX_TITLE) in buildFromCursor()236 val location: String = cursor.getString(CalendarAppWidgetService.INDEX_EVENT_LOCATION) in buildFromCursor()239 val startDay: Int = cursor.getInt(CalendarAppWidgetService.INDEX_START_DAY) in buildFromCursor()240 val endDay: Int = cursor.getInt(CalendarAppWidgetService.INDEX_END_DAY) in buildFromCursor()[all …]
65 val service = Intent(context, CalendarAppWidgetService::class.java) in onReceive()117 val updateIntent = Intent(context, CalendarAppWidgetService::class.java) in performUpdate()
49 class CalendarAppWidgetService : RemoteViewsService() { class