summaryrefslogtreecommitdiffstats
path: root/core/java/android/pim
Commit message (Collapse)AuthorAgeFilesLines
* Remove the entire PIM directory.Daisuke Miyakawa2012-02-212-349/+0
| | | | | | | | | ContactsAsyncHelper had been used by multiple projects, but now only Phone app is using that. By moving the file to Phone package, the entire PIM directory becomes unnecessary. Bug: 5236130 Change-Id: I3daf087dbeb9059c2884dbf0e4d40d1508790aa3
* Use higher resolution in in-call UI if available.Daniel Lehmann2011-07-141-1/+1
| | | | | | | | | In the process, I created a second overload to the function that returns the photo to allow returning either the high-res or the thumbnail version Bug:5033899 Change-Id: I7be257eb54b296445e20561d318a70c382d6ade9
* Relocate common Calendar classesAndy McFadden2011-07-083-2063/+0
| | | | | | | | Move some classes from android.pim to com.android.calendarcommon. Bug 4575374 Change-Id: Iab09cb331a0a74f6b951ab5e5b7c207e8f1b939c
* Remove native EventRecurrence parserAndy McFadden2011-06-281-44/+1
| | | | | | | | Switch over to the new parser. Bug 4575374 Change-Id: If78d8042fb266182900398f7fc464a048c779966
* Reduce definition of monthly rep testAndy McFadden2011-06-241-0/+17
| | | | | | | | | | The repeatsMonthlyOnDayCount() function was returning true for events like FREQ=MONTHLY;BYDAY=TU which actually appear weekly. This is not the desired behavior of the function. Bug 4522027 Change-Id: I03ef68b429828097c8bad7fcd374e7c9eb4c7b03
* Port EventRecurrence.parse() from nativeAndy McFadden2011-06-211-45/+605
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a Java-language implementation of EventRecurrence.parse(), to make it easier to relocate it for the benefit of unbundled Calendar. Differences from the native version: - enforces that FREQ appears first - allows (but ignores) X-* parts - improved validation on various values - error messages are more specific - enforces that only one of UNTIL and COUNT may be present [disabled] - allows lower-case property and enumeration values [disabled] As part of the transition process, both versions of the parser are called on every request, and the results are compared. If the results are different a warning message is logged. An unnecessary constructor was removed. This also this moves some EventRecurrence tests out of CalendarProvider, into coretests, and adds a simple parse test with the examples from the RFC. Bug 4575374 Change-Id: If737ed1272fda65c93363d87b2da12b85e644f5b
* Rename Calendar.java to CalendarContract.javaRoboErik2011-06-141-34/+34
| | | | Change-Id: Iadb22f39d1cb3d57d1636360df24ef484a9edb58
* Remove the deprecated things from Config.java. These haven't been working ↵Joe Onorato2011-04-072-5/+3
| | | | | | since before 1.0. Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
* am 1aba843d: am ccc802e1: Merge "Support quoted parameters" into gingerbreadAlon Albert2011-02-221-0/+17
|\ | | | | | | | | * commit '1aba843dc327490a749059bcddff90e8048ed75c': Support quoted parameters
| * Support quoted parametersAlon Albert2011-02-181-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | iCalendar RFC http://www.ietf.org/rfc/rfc2445.txt says: 4.1.1 List and Field Separators Property parameters with values containing a COLON, a SEMICOLON or a COMMA character MUST be placed in quoted text. So we must be able to support this. Bug: 3463510 Change-Id: Ie0463fdc2d5cbc340801cc8cc5b4f00e374f2954
| * Refrain warning when not appropriate. Do not mergeDaisuke Miyakawa2010-10-041-3/+5
| | | | | | | | Change-Id: I0066a3d0a2204cfc4beacb69aafccb35b9326bbb
| * Merge "Fix bug #2585298 (google calendar sync clears eventTimezone field for ↵Fabrice Di Meglio2010-09-271-1/+3
| |\ | | | | | | | | | recurring allDay events)" into gingerbread
| | * Fix bug #2585298 (google calendar sync clears eventTimezone field for ↵Fabrice Di Meglio2010-09-241-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | recurring allDay events) - force UTC timezone if recurrence is corresponding to an "allday" event Change-Id: I3603438c0ad8019051ed4a8bd39d4aa7c0401eb1
| * | Add necessary logic removed during backportDaisuke Miyakawa2010-09-261-3/+25
| |/ | | | | | | | | | | | | | | | | | | | | | | Makes importer import contcats into an appropriate group. Without this logic, all imported contacts are stored in "Other Groups". This logic is removed in my previous submit, while it shouldn't be. Bug: 3036599 Change-Id: Ic1dc7253d807fbde4352afe2082984c3b7227267
| * Fix again.Daisuke Miyakawa2010-09-022-3/+7
| | | | | | | | Change-Id: I7393e1e9e9aa3f8612d143840109f1c5193f692f
| * VCard refactoring backport.Daisuke Miyakawa2010-09-0222-1979/+3034
| | | | | | | | Change-Id: Icf265ce7f83c1e2bd5db0c3d9bd4c142afd6db34
| * Fix vCard so that it looks at IM correctly.Daisuke Miyakawa2010-08-241-1/+3
| | | | | | | | Change-Id: I3afc01e2e5f55c254606379f353b030ea297ee36
| * Make vCard importer/exporter aware of multi-byte parameters.Daisuke Miyakawa2010-08-173-15/+68
| | | | | | | | | | Bug: 2922186 Change-Id: Ic877940242d87ef918bf8d4dac601d37b296259b
* | Make vCard code a separated static library.Daisuke Miyakawa2010-05-2028-8322/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move the library to a separate directory in framewokr/base, and rename its package from android.pim.vcard to com.android.vcard. - Move all tests for the library under the directory. - Confirm all tests for vCard are successful. It would be better for us to have this directory somewhere else (like external/). But I'll submit this here now and move it to the right place as soon as possible. From the view of build mechanism, we can do that immediately. BUG: 2689523 Change-Id: I435e10571b7160bfcc029bed7c37aaac1c6fd69a
* | Remove duplicate definition of flag.Jaikumar Ganesh2010-05-131-24/+0
| | | | | | | | Change-Id: I9bdcdf5f12677162f0b735a277fce8a75fa13d39
* | resolved conflicts for merge of 0de3cc9b to masterJaikumar Ganesh2010-05-131-1/+25
|\ \ | |/ | | | | Change-Id: I9fcf892de6ebe90c6a4be19d02e3a009ddda89aa
| * Add FLAG_RERAIN_PHONE_NUMBER_FORMATTING.Daisuke Miyakawa2010-05-103-19/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes using PhoneNumberUtils takes unexpected side effects. For example, PAUSE mark (#) is removed and operation on the phone number does not work well in some devices. I also concern removing the PhoneNumberUtils logic since some other mobile phones cannot understand # or alphabets and starts emitting errors after the modification. I'll add a flag instead of just removing the code and let users choose it. Bug: 2329952 Change-Id: I4ffdd01ebb8ac320b8b67a5848a747af13c6ad1a
| * Make vCard allow users to refrain image export. Useful whenDaisuke Miyakawa2010-04-202-3/+13
| | | | | | | | | | | | | | receivers cannot accept image data. Bug: 2603200 Change-Id: I3c490b2de37ebb2780df4a27a440df3b0afacb3a
* | move favorites and my contacts group handling to theFred Quintana2010-04-271-20/+0
| | | | | | | | | | | | provider and sync adapter Change-Id: I768d7407a42a72b24ece8abb1891d050c8b6760e
* | vCard refactoring.Daisuke Miyakawa2010-04-219-82/+109
| | | | | | | | Change-Id: Ie6c5e0edae4a13279d5118f0380d863e4ff05727
* | Refactoring vCard: remove Shift_JIS information from flags.Daisuke Miyakawa2010-04-203-89/+31
| | | | | | | | Change-Id: I34ef498b3312178e7d358b0c8ebc34703abfc771
* | Refactor vCard: clean up test code.Daisuke Miyakawa2010-04-201-1/+1
| | | | | | | | | | Bug: 2605996 Change-Id: Icdd8f56c1c21af35c55305cb9cc124cbf43174fc
* | Refactor vCard: move utilities for unit tests to test_utils directory.Daisuke Miyakawa2010-04-203-83/+103
| | | | | | | | Change-Id: I4ef92633fb5eedc05f13ba53ca4ebc7e3e7ef8ce
* | Refactor vCard so that it correctly choose charset while importingDaisuke Miyakawa2010-04-199-192/+183
| | | | | | | | | | | | some files. Change-Id: I27600e260cd7ca42a25481d5ff61f262c9328d61
* | Refactor vCard code.Daisuke Miyakawa2010-04-1610-148/+161
| | | | | | | | | | | | | | | | - make the usage of VCardSourceDetector. - simplyfy flag usage. - remove unnecessary argument "canceled" Change-Id: I6dd9723df7230be7478f6817c0ac2e6cbedc6ca7
* | Fix bug #2585298 (google calendar sync clears eventTimezone field for ↵Fabrice Di Meglio2010-04-121-5/+4
| | | | | | | | | | | | | | | | | | recurring allDay events) - fix RecurrenceSet so that all day recurring events have a UTC timezone set - code formatting Change-Id: Iaa622a696d9d995d9921dd721130ef02dc64aa6b
* | Add comments for vCard parser.Daisuke Miyakawa2010-04-096-99/+144
| | | | | | | | | | Bug: 2576594 Change-Id: I3303a350bdea7b1b84bd1fb318d31ba5a229457d
* | Refactor vCard parser so that its implementation detail would be hidden from ↵Daisuke Miyakawa2010-04-086-1292/+1397
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | users. Move the current implementation or 2.1 and 3.0 to VCardParserImpl_V21 and VCardParserImpl_V30. - From the view of users, it is strange to make vCard 3.0 inherit vCard 2.1. - Those two specifications still have similar implementation detail, so make implementation of vCard 3.0 inherits vCard 2.1 makes sense from technical view point. Now VCardParser_V21 and VCardParser_V30 are independent class. Remove strict mode in vCard 3.0, since strict parsing is not necessary from the view of actual use, and needs to extra effort to support it. Bug: 2576738 Change-Id: I1d5cb6cffffb53337faa2dd7c519e7254e12da86
* | Modify comments.Daisuke Miyakawa2010-04-074-150/+245
| | | | | | | | | | Bug: 2576594 Change-Id: I7d38bd4c738befddeb4e7ce14ac84032fb764d9d
* | Add FLAG_REPRAIN_PHONE_NUMBER_FORMATTING.Daisuke Miyakawa2010-04-073-18/+65
| | | | | | | | | | Bug: 2329952 Change-Id: I263f581c8146abc372a2cb287e6e61766fefd9b6
* | Let vCard importer/exporter select charset.Daisuke Miyakawa2010-04-066-224/+384
|/ | | | | | | There are some other bug where charset for import/export is used during vCard handling. Bug: 2572064 Change-Id: I0aef8a6eba0a7e9263e47368a43dbba05efa91b0
* revert the stripping of System Group:Fred Quintana2010-04-011-1/+1
| | | | | | | from the names of google system groups Change-Id: I677a7abb42a0c3d70d7e7009325f76a4644f1cb1 http://b/issue?id=2558197
* some changes due to an API reviewFred Quintana2010-03-301-5/+0
| | | | | | | | | | | | | | | - make EntityIterator extend Iterator and thus not throw a RemoteException, instead converting it into a RuntimeException. - rename ActiveSyncInfo to SyncInfo - change getActiveSync to getCurrentSync - remove the accessors in SyncInfo and instead make the final fields publicly accessible - made AbstractThreadedSyncAdapter.cancelSync not take a thread Change-Id: I99fde5585bc5f1e95f4873ffbba189074a8d6372 http://b/issue?id=2553539 http://b/issue?id=2553541 http://b/issue?id=2553550
* Added a comment to make it clearer that the operation has to be the firstDaniel Lehmann2010-03-181-0/+2
| | | | | | Bug:2521447 Change-Id: I155d0b328115d007116a0fe4560e703647ec2fb5
* Make the VCardEntry more robust against badly behaving resolvers. ↵Daniel Lehmann2010-03-181-2/+5
| | | | | | | | Additionally make the ImportTestResolver return the right result Bug:2521447 Change-Id: I39e3e686b1fd75f5e633a467f6ccb736751355ed
* Removed compatibility function (was left in before to not break the build)Daniel Lehmann2010-03-121-6/+0
| | | | | | Bug:2501468 Change-Id: I6b163eb3ce02ed899882d1b6534c1afb6fe1e7c3
* Framework changes to allow VCards containing multiple entriesDaniel Lehmann2010-03-121-3/+15
| | | | | | Bug:2501468 Change-Id: I004997c6ed9351e2600e7446615af9e60a14fda8
* Expose the Uri of the newly created contactDaniel Lehmann2010-03-082-42/+55
| | | | | | Bug: 2448065 Change-Id: Ie1de3c02981ae471b7772cac289a07f0fc870f31
* Merge "Use "My Contacts""Daisuke Miyakawa2010-03-031-1/+1
|\
| * Use "My Contacts"Daisuke Miyakawa2010-03-041-1/+1
| | | | | | | | Bug: 2487348
* | Handle the string "default" and ignore it appropriately.Daisuke Miyakawa2010-03-041-1/+3
|/
* Remove DateException and obsolete DateUtils functions.Ken Shirriff2010-03-011-26/+0
| | | | These functions are deprecated and no longer used.
* Unbundling: pull the recurrence string formatting out of EventRecurrence.Ken Shirriff2010-02-261-63/+0
| | | | A separate change moves it to the calendar app.
* Purge CallLog.Daisuke Miyakawa2010-02-241-143/+10
|
* Fix bug #2449594 (device should fold RRULEs, etc., that are longer than 75 ↵Fabrice Di Meglio2010-02-231-3/+51
| | | | | | | | chars) also fix a NPE in populateComponent() when Calendar.Events.ALL_DAY property was not defined Change-Id: Ia5f15755b5af437ee1e661122193f318868ddf6d