summaryrefslogtreecommitdiff
path: root/core/java/android/provider/Calendar.java
Commit message (Collapse)AuthorAgeFilesLines
* Rename Calendar.java to CalendarContract.javaRoboErik2011-06-141-2213/+0
| | | | Change-Id: Iadb22f39d1cb3d57d1636360df24ef484a9edb58
* Merge "Update Calendar main comment"RoboErik2011-06-141-2/+46
|\
| * Update Calendar main commentRoboErik2011-06-141-2/+46
| | | | | | | | Change-Id: I5fbbf8d6830a8fdecde2f74b51420bfede87cde9
* | Remove @hide on SyncColumns, make them protectedRoboErik2011-06-131-3/+2
| | | | | | | | Change-Id: I375f6ca9a0ebe03b256bdb089c943571d06c9e6d
* | Make interfaces protected so they get included in apiRoboErik2011-06-131-11/+11
|/ | | | | | | | Private interfaces do not get included in the api for classes that implement them. We need to make them at least protected before they will show up in the apis. Change-Id: Ie90d2b58c7f123e734f0a6af5ec6402be6984f82
* Upgrade of Calendar db to 305RoboErik2011-06-101-174/+229
| | | | | | | Name changes for db upgrade and reorganization for easier referencing of calendar/event columns. Change-Id: Ic892729e1fa11c7971d99ec17d930db9300d44e9
* Use public constantsAndy McFadden2011-06-091-3/+3
| | | | | | | | | Some of the internal doc references were using non-public ways to get at constants. Bug 4575374 Change-Id: I4884d8db964950d92b3f26634724b201674bea8c
* Add a URI for recurring event exceptionsAndy McFadden2011-06-081-0/+8
| | | | | | | | Part of a larger Calendar provider change. Bug 4473786 Change-Id: I0cb4260ea590da0c48b55d0ca3ee586e00d37b36
* Add columns:Alon Albert2011-06-071-5/+38
| | | | | | | | Events.lastSynced: flag marking this as a duplicate of the lastSynced sate of the event Events.sync_data7: General purpose sync column (will be used for editUrl in Google Sync Adapter) Calendars.canPartiallyUpdate: Flag indicating sync adapter can perform partial updates. Change-Id: I5c153fb9cbf43dd1def0267c2f912a59038b28c1
* Cleanup of Calendar.java to prep for apiRoboErik2011-06-061-264/+568
| | | | | | | | Added comments. Made internal only stuff private. Added @hide to methods only used by the provider. Added/altered methods for consistency across contract classes. Change-Id: I4d810995042583f1ab05b859f320828f83329e90
* Work on changing syncx to cal_syncxRoboErik2011-05-311-19/+23
| | | | Change-Id: I756ff09c43f39ad52a8793011d3192d59eb574eb
* Add original_id definition for cal db v301RoboErik2011-05-201-14/+12
| | | | | | Also removed dtstart2 and dtend2 definitions. Change-Id: Id0408c6bf535a800c715ea08b78aabb2ede2dc9c
* Update Calendars table to v300RoboErik2011-05-101-64/+101
| | | | Change-Id: I8e922f97733faed800a91ea926e1a3bea229ebea
* Adds Calendars sync only columns to the contractRoboErik2011-05-061-0/+29
| | | | Change-Id: I76d649f52e5f2a8bde4b52036df3366c5c5a979a
* Calendar DB upgradeAndy McFadden2011-04-201-16/+33
| | | | | | Renamed some columns. Change-Id: I61ad8cfd1c78a58b5f9ade656a98ea45a77ad419
* Add comment about not changing calendar authorityErik2011-02-141-0/+4
| | | | Change-Id: I1d5423ceda17b0e594520b3236e984584fedcbbb
* Fix bug #1776278 (consider supplying our own (unique) eid for calendar ↵Fabrice Di Meglio2010-11-041-0/+2
| | | | | | | | entries created on the device) - modify EventsEntity iterator to take care of the SYNC_ADAPTER_DATA column Change-Id: I3d08a4ebdca5b595aad7c56b9f5d6259522297e2
* am 86e19914: am b92788aa: Merge "Adds time zone functionality into fw as a ↵Erik2010-09-151-0/+74
|\ | | | | | | | | | | | | | | | | hidden api" into gingerbread Merge commit '86e1991428c2bc78354965c51b2821ae16f32a55' * commit '86e1991428c2bc78354965c51b2821ae16f32a55': Adds time zone functionality into fw as a hidden api
| * Adds time zone functionality into fw as a hidden apiErik2010-09-141-0/+74
| | | | | | | | | | | | | | | | | | This is the start of work towards pushing api that is needed for Calendar to become unbundled into frameworks. This adds functions for getting and setting time zones for the Calendar app. The new methods are currently hidden. Change-Id: I1b4265b23630c46d9730a179ec02da8d6c0e03ea
* | Added support for full-text search in CalendarMason Tang2010-07-191-1/+28
| | | | | | | | Change-Id: I716eba966ad072ac62a61f3cfbfe15b623f8ab94
* | Fix bug #2846543 Delete HIDDEN column from the "Calendars" tableFabrice Di Meglio2010-07-161-7/+3
| | | | | | | | | | | | | | - suppress the "hidden" column from the Calendar API - add generic "sync5" column which will contain the "hidden" calendar state from the server Change-Id: Ib2048e9f0fc59f4f544bc6f1787af82fde3984d5
* | Fix bug #2793828 (Sync/visible setting on the phone should not affect what's ↵Fabrice Di Meglio2010-07-081-0/+1
| | | | | | | | | | | | | | | | visible on the web.) - introduce "sync4" column into Calendars table to store "selected" from Web calendar Change-Id: I2dfebb6e4a2ec85e758626a4e2b9c8b1315f095f
* | Fix bug #2779582 (Columns cleanup for the Calendars table)Fabrice Di Meglio2010-07-071-8/+22
| | | | | | | | | | | | | | - suppress deprecated "url" column - replace eventsUrl / editUrl / selfUrl columns by sync1 / sync2 / sync3 Change-Id: I2bff61a90655c98ee0964a880934c514b42ac342
* | Fix bug #2772731 (Start deprecation of "url" Calendars column in favor of ↵Fabrice Di Meglio2010-06-161-2/+2
| | | | | | | | | | | | | | | | "eventsUrl" column) - suppress references to Calendars.URL Change-Id: Ic1fa5059516ff294940345addf930554aef0a0a9
* | Fix bug# 2772317 (CalendarDatabaseHelper internal cleanup)Fabrice Di Meglio2010-06-161-1/+40
| | | | | | | | | | | | - use constants defined into Calendar interfaces Change-Id: I0cb8f71f7fbad61c9d9ee97db5ffeb307cd8169f
* | Fix bug #1661857 (switch from using meta feed to the new allcalendars feed)Fabrice Di Meglio2010-06-141-62/+190
| | | | | | | | | | | | | | | | - add more properties to Calendars: selfUrl, editUrl, eventsUrl and deleted - add CalendarsEntity and associated iterator - cleaup interfaces definition for Calendars / Events columns by factorising Sync and Account columns Change-Id: I730e9d377316d458f7d225ce85966c7048ad26a9
* | Added access fields for second timezone columns.Erik2010-05-031-0/+18
|/ | | | | | | This adds public access to DTSTART2, DTEND2, and EVENT_TIMEZONE2. These are being used for work on allDay events. Change-Id: I5b10eff08e2e61a71bf628ddea70dfb201a5c2b3
* Expose _id in ExtendedProperties subValuesMarc Blank2010-04-291-3/+7
| | | | | | | | | | | * ExtendedValues' "name" and "value" columns are exposed in Entry entity subvalues, but it is clumsy to change a value, as the _id of the ExtendedValues row isn't also exposed. (We otherwise have to perform a potentially slow query) * This CL adds the _id column to the columns exposed Bug: 2638762 Change-Id: Iaffeffed620af78439f5f73aa5f3257b0f8a0fd0
* b/2483233 Made each reminder time a unique intentErik2010-03-171-2/+2
| | | | | | | | Snoozing alarms was causing a leapfrog effect which would drop the alert in the middle because of PendingIntent. By making each intent unique to a given time this will no longer occur. Change-Id: I6ca6821f7f8879a299775f4fca4e2ad0de55f1bc
* Add ORGANIZER_CAN_RESPOND to Calendars columnMarc Blank2010-03-111-2/+7
| | | | Change-Id: I6c3030772fb769546175a024804f8cd2debfd98c
* Fix bug #2493102 (Sync keeps getting stuck, or at least very slow)Fabrice Di Meglio2010-03-101-34/+75
| | | | | | | - use sql bindargs and extract usefull sql statements - code cleaning and formatting Change-Id: I717bf063b3f009e7369b70618f834d780ad6baa3
* Remove unused Calendar.insertVEvent methodKen Shirriff2010-03-011-117/+0
|
* Rename _SYNC_LOCAL_ID to _SYNC_DATAMarc Blank2010-03-011-3/+6
| | | | | | | * This is being used as a discretionary column by Exchange calendar sync, so rename to avoid association with old usage Change-Id: I544e285fa04d252c945c1953b57ef67da0e588ae
* Put _SYNC_LOCAL_ID into event entitiesMarc Blank2010-02-281-0/+1
| | | | | | | * This column is used by the Exchange sync adapter when sending change emails to attendees. Change-Id: Ib23c07a30b41bfcbae874ae8aaa448fae2cfb6c3
* Define the new lastSyncedAttendeeStatus columnMarc Blank2010-02-251-3/+10
| | | | Change-Id: I567ca24770fb401ed5a2bdfce5709e77b6fb4202
* Make ACCOUNT_NAME/ACCOUNT_TYPE consistent.Ken Shirriff2010-02-051-14/+14
| | | | | | | | Some code was using "account_name" and some was using "_sync_account". Also move definitions so they can be accessed by Event, Calendar, and EventsEntity. bug 2420732
* Fix ExtendedProperties EntityIterator.Ken Shirriff2010-01-271-2/+3
| | | | | | The iterator was using the wrong cursor. bug 2399618
* Change calendar authority to com.android.calendar.Ken Shirriff2010-01-251-1/+1
| | | | bug 2388178
* Add SyncState class for calendar provider.Ken Shirriff2010-01-221-0/+21
| | | | This parallels the SyncState on ContactsContract.
* Use AUTHORITY constant for calendar.Ken Shirriff2010-01-211-12/+16
| | | | | | This will allow the calendar authority to be changed later. bug 2388178
* Fix calendar sync_account / type constants to be consistent.Ken Shirriff2010-01-111-2/+2
| | | | The EventsEntity names need to match the rest of the Calendar names.
* b/2293263 Finished removing busyBits references.Erik2010-01-071-74/+0
| | | | | Removed the rest of the busyBit functionality. Along with other changes all busyBits uses should now be removed.
* b/2358627 and b/2293263 Fixed eventDay bugs.Erik2010-01-071-1/+2
| | | | | Changed query so that all days an event occurs on can be marked. Also fixes index out of bounds error.
* b/2293263 Replaced busybit functionality with eventDay functionality.Erik2010-01-041-3/+57
| | | | | | Made changes to start stripping out busybits and replace them with checks only to see if an event eists on a given day. This file ties into several other areas so not all busybits references were removed and those that were have been commented out to make it easier to find errors.
* b/2224837 Changed the plumbing of how alerts/notifications work.Michael Chan2009-12-151-27/+44
| | | | | | | | Instead of processing each notification separately event (scheduling an alarm with AlarmManager for each event, posting notification to NotificationManager for each event, etc), only one alarm should be fired for each wake-up time. AlertService will look through the CalendarAlerts table and decides how to update the notication manager. This is more efficient and simplifies the codecode. It is also the long-term fix to elimiate overlapping notification ring tones e.g. DrooDrooDrooooid b/2194249 Also consolidated alarm scheduling code to one place. Change-Id: If58ce278d55b28abad703f8aeee466d44952fcd0
* Remove unused SOURCE_ID constant.Ken Shirriff2009-12-141-5/+0
|
* Add account name / type query parameters for calendar Events.Ken Shirriff2009-12-111-0/+14
|
* - removed the concept of Entity from the ContentProvider APIsFred Quintana2009-12-091-3/+231
| | | | | | - removed the parcelling ability from Entity and EntityIterator and made them public - added an EntityIterator abstract implementation that allow easy wrapping of a Cursor - changed the VCard code to use the new APIs
* moved the gdata library to vendor/googleFred Quintana2009-11-241-55/+1
|
* Calendar: add CALLER_IS_SYNCADAPTER parameter.Ken Shirriff2009-11-051-18/+27
|