summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Calendar: Fix translatability of buttons listMichael Bestas2016-05-012-2/+2
| | | | | | | * Revert change to AOSP array, move to new array * Convert entries to string references, set as untranslatable Change-Id: I490a78aa81e826835044a03a0bb4f2578644d7ba
* Fix alerts in doze modeniks2552016-04-111-1/+1
| | | | Change-Id: Icc41b5f65ab51cfb71c1036c6f4450bd2f6fc697
* prepareForSave: Dont set time in allday eventsStephen Bird2015-10-181-4/+5
| | | | Change-Id: I0e887b9e4fb6f36b8dd0d452cbcac0c175d93bdc
* Calendar: when sharing calendar events use File.createTempFileRaj Yengisetty2015-10-181-5/+16
| | | | | | | Also handle ENAMETOOLONG when the event title is too long for the file name. Change-Id: I25dea55b3aa93b877d6b95404ef8b5f1cbeb9897
* Calendar: fix recurrence picker switchdankoman2015-10-181-0/+1
| | | | | | | Let switch pull style from framework instead of using local resource. Change-Id: I75ffa8bea5bd83c4c7680c3a7608350203f7b6d3
* Check date string size before trimming itStephen Bird2015-10-181-3/+4
| | | | Change-Id: I69a29d5a0d3309bc84b8e6f2dbbcebc7addda0af
* Fix for days that are expected to be 3chars end up being longer.Stephen Bird2015-10-181-1/+3
| | | | | | | | | Example - Spanish: Lun. -> Lun Mar. -> Mar ect... Change-Id: Ie58b82e7fa1f195b79a88b019c6b51df858c6704
* Calendar:"ADD ACCOUNT" has no function when long tapping date to creat new ↵michael.yang2015-10-181-1/+1
| | | | | | | event in month view. Change-Id: I6fd7deb3a23bc48be806e8b5beffccbc8bf96c40 (cherry picked from commit 5e169ae4220f18291a6ba2b45bc9495add1acfbb)
* Calendar: add feature to select/deselect all events in delete viewRaj Yengisetty2015-10-181-1/+19
| | | | Change-Id: I1301d921474d848d6c877eb904bd7a00df13c48a
* Calendar: do not auto save events when importingRaj Yengisetty2015-10-182-1/+8
| | | | | Change-Id: Ia359592ef99becab0fda94a938e5cafd639eaebb (cherry picked from commit d276a6b69d1d1751176ed84a40d9b13ba63b476b)
* Calendar - Fix the title in Year View on tablets. Rohit Yengisetty2015-10-181-3/+5
| | | | | | | The title is decoupled from the action bar on tablets, so there is a need to provide an accurate date range to generate said title. Change-Id: I7c482c0d18e2a7079e2f7ff68f2921042cb7bf0b
* Calendar - Bug fixes in DeleteEvents activityRohit Yengisetty2015-10-181-12/+9
| | | | | | | | | > stop checkboxes from stealing touch events > correct listview's getChildAt usage > fix onDestroyActionMode from inadvertently triggering onItemCheckedStateChanged with wrong parameters Change-Id: Ibd151c4de4b373733a9ae6e0b982c088de7bd5ad
* Calendar : Respond to calendar events share intentRohit Yengisetty2015-10-188-114/+603
| | | | | | | | | Retrofit existing classes to support launching Calendar in "shareable" mode. User will have the ability to select calendar events for whom vcs files will be generated and sent to the requester. Change-Id: I2b0162ea53a4392149aa49765b8b070db36daa8a
* Calendar - Added provisions to show/hide Floating Action Button.Rohit Yengisetty2015-10-184-7/+136
| | | | | | | YearView actively shows/hides FAB when the user scrolls to keep all the content accessible. Change-Id: I8005861cb6ecf98758782c034adcc19e30951df8
* Calendar : Add ability to import/export from sdcardDanesh M2015-10-188-41/+462
| | | | Change-Id: Ia2ae56b50bff764786cdd37b760eb6b94a63743f
* Calendar : Add lollipop uxDanesh M2015-10-183-15/+17
| | | | Change-Id: Ibc7bc2267b464c4f8c3d07c2406ed2cf87e7febb
* Support sharing calendar events as .vcs files to MMS.Matt Garnes2015-10-183-9/+81
| | | | | | | | | | - Export calendar events to a temporary .vcs file. Currently, the actual file format is still ical, this may need to be reformatted to actually contain only vCalendar content. - Share this specifically to the com.android.mms package when the share button is clicked. - Share the event as ical .ics to all other applications. Change-Id: If337360b17d4071d580087ecc97a2397d0563ff6
* Calendar : Adding Year ViewRohit Yengisetty2015-10-185-4/+624
| | | | | | | Depends on changes to datetimepicker @ http://review.cyanogenmod.org/#/c/79480/ Change-Id: Ie528d8c1753477b94a9c477f5735a198565afd4d
* Calendar - Add the ability to share calendar events through an ics file.Rohit Yengisetty2015-10-187-2/+729
| | | | | | | | | | | | iCal specification rescources: http://build.mnode.org/projects/ical4j/apidocs/index.html http://www.kanzaki.com/docs/ical/ iCal validators: http://icalvalid.cloudapp.net http://severinghaus.org/projects/icv/ Change-Id: I87b12fd37aa7e3ad29bea79d4dbb152f868ff4f8
* Calendar: Display the lunar and festival if the language is Chinese.yingying2015-10-184-6/+474
| | | | | | | If the current language is Chinese, it will display the lunar and festival for month, week and day view Change-Id: Ib948e2aef30d9129f2d0eeeade41b31f432e7de4
* Revert "Calendar: Support display the lunar info."Matt Garnes2015-10-186-373/+4
| | | | This reverts commit d18341a463bee0b027785ed0f3cee9d0a7f00763.
* Revert "Calendar: To display the complex lunar info."Matt Garnes2015-10-184-49/+37
| | | | This reverts commit 3dc108642c87bc85085e7b5dd40d0a227ead24ff.
* Improve delete handling strings.Danny Baumann2015-10-181-1/+2
| | | | Change-Id: I5e9d6ab5a805b9968fcb8ed2453061de51cd9a69
* Calendar: Use TextUtils to check for null/empty string.Adnan2015-10-181-1/+2
| | | | Change-Id: Icdbc97939a51c5fa2db8cacbeb9c9fe815f927e4
* Calendar: Revamp deleting calendar events UI.Adnan2015-10-181-78/+90
| | | | | | | - Use contextual action bar instead of weird spinner/action bar combo - Actually influence behavior and let the user know they're deleting something Change-Id: Idec775f84b873211d6c6a46be120ea82b8a0b9e5
* Calendar: Handle the date set action in the onDateSet callbackkaiyiz2015-10-181-24/+31
| | | | | | | | | | | | | When the user press the done button on the dialog, it maybe couldn't get the right date. For example, the user input the date value by keyboard, and press the done before keyboard exit. So we need handle the date set action in the onDateSet callback. And if the user cancel the date set action, we will do nothing. CRs-Fixed: 652859 Change-Id: I124cbd7998cdb167cd4a94b9fc0926fef03a230d
* Calendar: The delete events option status changed after rotate screenkaiyiz2015-10-181-0/+6
| | | | | | | | | | | | | | Calendar through LoadManager to query the total number of events, and update the delete events option status in onLoadFinished method. But this method will be called at the first time load data or data have changed, so can't update option status when rotating screen. Calls the initLoader function in onCreate and onResume ensure that the onLoadFinished can be callback. CRs-Fixed: 650667 Change-Id: Id96f28bf648de374fb5d2cb7e0827e072f5342bd
* Calendar: Check if the duration is empty before parser it when delete the eventskaiyiz2015-10-181-6/+9
| | | | | | | | | | | | If the event end time is 0, it will calculate the end time by "duration" string. But if the "duration" is null, it will lead the NullPointerException. So check the duration string is empty or not before use it to get the end time when delete the events. CRs-Fixed: 650814 Change-Id: I97350db4103959b851367beae53f09200a2a29b8
* Calendar: Support for deleting events (rest of the features)Aravind Asam2015-10-182-18/+162
| | | | | | | | | | * Includes highlight for selected items. * Spinner-style select all, deselect all. * Improvements asset files updated. * Add the TW strings for it. * Show the delete events menu as the config. Change-Id: I1781bd8748487bc51da8988f7ae74927c0e179c1
* Calendar: Add the "Go to" menu for user to go to any date as selectkaiyiz2015-10-181-0/+64
| | | | | | | | | When user press the menu button, it will show the "Go to" item, and the user could select any date to view. CRs-Fixed: 587493 Change-Id: Ia90f9c5697cf36a753534a0256947fa5e3a58576
* Support for deleting calendar eventsAravind Asam2015-10-182-0/+395
| | | | | | First version. Includes support for deleting some or all events. Updates for comments.. Change-Id: Id61ce184396f3c1e084de68ab082b056378a537a
* Calendar: To display the complex lunar info.yingying2015-10-184-37/+49
| | | | Change-Id: Iae448e24c6d05bd7fde7873b3f575310a227112e
* Calendar: Do not show "Map" action if there isn't resolve app.yingying2015-10-181-7/+21
| | | | | | | | | | | | Sometimes the phone didn't contains the map application, and there isn't application to resolve the view map action. So the Calendar needn't to show the "Map" action on the statusbar under this case. CRs-fixed: 619204 Change-Id: I475a3285b23cfbac3a078fb6e89ca6c46575e9bf
* Calendar: Fix the issue of Calendarkaiyiz2015-10-181-1/+1
| | | | | | | | Set the time for t1 but not for t. CRs-fixed: 530201 Change-Id: I9d6cebf11e3e42672c07466dbb737464fbf18daf
* Calendar: Support display the lunar info.yingying2015-10-186-4/+374
| | | | | | | | - It will show the lunar info on the Month, Week and Day view. - If the current displayed language is not Chinese, it will not show the lunar info for on these views. Change-Id: I1aeb4bc27dbdd127e69ceb0bf50abc1509cf4bb2
* Calendar: Cursor remains constant after locking and unlockingkaiyiz2015-10-181-2/+1
| | | | | | | | | | The focus will be cleared at the end of the thread. Do not clear the focus and save the current focus state for resuming. CRs-Fixed: BZ1200 Change-Id: I2fd1b8f67caaac0afef87959cafe5a56efed48a2
* Calendar: Selected item should be selected after rotationkaiyiz2015-10-182-1/+11
| | | | | | | | | | | | It dismiss dialog when activity pause and create a new one when it resume, but didn't save the selected state. Save the selected state, and resotre the state when create the dialog. CRs-Fixed: 428296 Change-Id: Ia6df7cccc3914057f6b1d9e7dced596486b995d3
* Add an option for the default view to show on startupVeeti Paananen2015-10-182-3/+21
| | | | | | | | Typically, the Calendar application opens with the previously used view (day, week, ...). This adds an option to select another view as the default when starting the app. Change-Id: I43c549b777ed30f67a18c6a862d2d833c5528d54
* Allow configuring the delay for snoozing calendar reminders.Danny Baumann2015-10-186-5/+140
| | | | | | | This allows both configuring the default snooze delay as well as ask for the delay whenever snoozing a reminder. Change-Id: Ib875c231535ff4f53dc7c97dd15a6a4b29f48fba
* Force a manual, incremental sync one time, as early as possible.Sam Blitzstein2013-12-043-0/+55
| | | | | | | | | | Either at package replacement (doesn't seem to work), restart, or app load. Only do this one time. This is to ensure the database goes through the proper upgrade path in case its in a bad state. Bug: 11828610 Change-Id: I850bef5d105fcb806f74b3fdffba1dfef03a0a1b
* Use the correct version code check for K.Sam Blitzstein2013-10-091-3/+1
| | | | Change-Id: I190d33b06263e15157ea457d6ab76dc4fe5e497a
* Merge "Process RSVP Intent Without Event Editor" into ics-ub-calendar-fuchsiaAlon Albert2013-09-131-35/+77
|\
| * Process RSVP Intent Without Event EditorAlon Albert2013-08-021-35/+77
| | | | | | | | | | | | | | | | When processing an RSVP Intent (https://www.google.com/calendar/event?action=RESPOND) there's no need to open the event. Simpy update the RSVP directly from the intent handler. Change-Id: I66c8c533b8babe64aa4083dc998b497c04ded2c9
* | Merge "Abort onClick if no Window Focus" into ics-ub-calendar-fuchsiaIsaac Katzenelson2013-09-062-20/+27
|\ \
| * | Abort onClick if no Window FocusAlon Albert2013-09-062-20/+27
| | | | | | | | | | | | | | | Bug: 9526263 Change-Id: I46a03c5d542dfe57f71c885e3156a44185a690cb
* | | Merge "Support PreferenceActivity.isValidFragment" into ics-ub-calendar-fuchsiaIsaac Katzenelson2013-09-061-0/+6
|\ \ \
| * | | Support PreferenceActivity.isValidFragmentAlon Albert2013-09-061-0/+6
| |/ / | | | | | | | | | | | | Bug: 10114368 Change-Id: Ifbca00ef9bf58153dc34aa52def877eb0fdadaec
* / / Use setExact on K and up only.Isaac Katzenelson2013-09-032-1/+14
|/ / | | | | | | | | Bug: 9926186 Change-Id: Ib81c56b01f1c28f811c0e96582582c4bb5d32c37
* / Call build() on the Builder, not the Style.Daniel Sandler2013-08-201-9/+7
|/ | | | | | | | | | There are bugs in Style.build() around extras that this avoids. This CL also uses the setStyle() API to make it more explicit that calling build() on the Builder will still include everything in the Style. Bug: 10387352 Change-Id: I5f3d8d59944885d2c87369cbdc81cb57f248fcc7
* Fixed crash when changing recurrent event.Paul Sliwowski2013-07-231-1/+2
| | | | | Bug: 9735508 Change-Id: I90eb878598b758bfe0dcbb5ea33dc315b08f4487