summaryrefslogtreecommitdiffstats
path: root/src/com/android/calendar/EventInfoActivity.java
Commit message (Collapse)AuthorAgeFilesLines
* Removed deprecated getFragmentTransaction() callsMason Tang2010-08-201-3/+5
| | | | Change-Id: I0be92bc89be32b2aa9ca2957b641b7f1ae6bec7a
* Implemented a search activity, two pane results layoutMason Tang2010-08-201-2/+69
| | | | | | | | - The new search activity uses its own instance of CalendarController - Some modifications to the event info fragment were necessary - Activity title is still being set erroneously by the fragment Change-Id: Ib2810a3330f9272ed824d5341abd49bb7a842772
* Converted EventInfo into a fragmentMason Tang2010-08-131-1147/+12
| | | | | | | | - Also fixed a bug where onResume for search did not work properly - Refactored EventInfo to use an AsyncQueryService instead of calling managed queries, parallelized the queries as much as possible to speed up UI Change-Id: I93554c76e569a11013fcd8c232d9cfb0d20ec46c
* Added getInstance method for CalendarControllerMichael Chan2010-07-221-2/+2
| | | | | | | This is unique in that it creates a singleton for each Activity/Context. Fixes NPE b/2835494 b/2859217 b/2859195 Change-Id: I986fb72cc1f1cd876694f142e9f136b065c7d0e0
* Added create/edit/view/delete event and open settings and manage calendars ↵Michael Chan2010-07-131-9/+6
| | | | | | to controller Change-Id: Id9755206e130ee4ebb4a086a9fa3c74d0473a2fe
* Refactor DeleteEventHelper to allow null activities if exitWhenDone is false.Michael Chan2010-07-011-1/+1
| | | | Change-Id: I000d009934f2f2cdefd35db47b5bb7526d7cec23
* Moves EditEvent into a fragmentErik2010-06-301-6/+6
| | | | Change-Id: Ifcf4683ff8122102d4b8917aacb7a7d5df5751ae
* Remove EditEvent.java and update all references.Erik2010-06-241-10/+11
| | | | | | | Also fixes some menu inconsistencies between editing a recurring event and deleting a recurring event. Change-Id: I61eb9b3b97d4a127efbfdc377485d1fcb32e49fb
* Changes to DeleteEventHelper to make it asyncErik2010-06-221-1/+2
| | | | | | | | This changes DeleteEventHelper to be able to use a CalendarEventModel when doing deletes and to use all asynchronous calls for creating deletes/inserts/queries. Change-Id: I83fbf1ec0e58ddfc7913b18bf20737bf60c04c47
* Creates an EditEventView with as little app logic as possibleErik2010-06-161-1/+1
| | | | | | | | | | | This is work on separating the UI and the logic for Calendar. The view should be responsible only for updating a model in response to user interaction and notifying the controller when it is finished. All other work should be handled at the fragment or activity level. This version does not introduce the use of fragments. They will come in the next version. It does make all the event queries asynchronous. Change-Id: If967c77f39bbbe09490a5fe5e78151e828c8e6cf
* Fix bug #1661857 (switch from using meta feed to the new allcalendars feed)Fabrice Di Meglio2010-06-141-2/+2
| | | | | | - upate to support Calendar columns refactoring Change-Id: I3736391039b3c6a5aa4342a50117a175c8bd0bfb
* am 4dcea88c: merge from open-source masterThe Android Open Source Project2010-06-091-1/+2
|\
| * merge from open-source masterThe Android Open Source Project2010-06-091-1/+2
| |\ | | | | | | | | | Change-Id: Ibd856b06b087b82635de7316f391d6066c3f11db
| | * Fixed a npe in Calendar on EmulatorChristian Mehlmauer2010-06-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This happened when working in the emulator. Open the calendar, add a new Event with standard values (only enter a description) and click done. A new Notification will pop up with this newly created event. Click on it, and then on the Eventdetail. A NPE will occur, because the mCalendarOwnerAccount seems to be null in the emulator. Now the variable is reset to "" if it is null (like the initial value). When there are attempts to save this variable, there's already a check if != "", so it will not be stored. The other calls to this variable are only .equals() Change-Id: I0a27547a3849c260d12310771992df496d3b2e94
* | | am ec5daf68: merge from open-source masterThe Android Open Source Project2010-05-181-3/+0
|\| |
| * | merge from open-source masterThe Android Open Source Project2010-05-181-3/+0
| |\| | | | | | | | | | Change-Id: Ic1aed0d5f6e1ad337b84e8619c3f6e2f22565ed1
| | * Removed some Warnings, Added Type argumentsChristian Mehlmauer2010-05-171-3/+0
| | | | | | | | | | | | Change-Id: Ie52eecf14773768c97e23ae7f96a80df1d067ade
* | | b/2633629 Makes deleting an exception set it to canceledErik2010-04-271-0/+1
|/ / | | | | | | | | | | | | | | Instead of deleting exceptions we just want to mark them as canceled so the UI will hide them. Incremental instance expansion for changes in the eventStatus are still needed to make this a smooth operation. Change-Id: Id00656e4613ab384f094d4f2b4a75a9d0979c59f
* | Revert "b/2622128 Fix crash from editEvent and EventInfoActivity"Erik2010-04-261-1/+0
| | | | | | | | | | This reverts commit b6a9b7130b754ef2c965a4ddb6134bc82e8a605c. Moving this to master instead of froyo.
* | b/2622128 Fix crash from editEvent and EventInfoActivityErik2010-04-231-0/+1
| | | | | | | | | | | | | | those two activities perform their own query and I didn't add the originalEvent column to them for previous fix. Change-Id: Ib26c22015599b453e5c7a4b3bc485b11bbb41166
* | b/2531257 More work on cleaning up owner account for dupesErik2010-03-231-5/+6
| | | | | | | | | | | | | | | | Moved the owner account to a second line when calendar names are duplicated. This gives more space for long calendar names and long owner accounts. Owner accounts will also now be gray when shown. Change-Id: I9deec627159bb6a6a6eb3c569c255e6ede342ff0
* | b/2531257 Will only display owner account if different than cal nameErik2010-03-221-2/+3
| | | | | | | | | | | | | | | | Previously would display 'name <account>' if two calendars had the same name. Now we won't display <account> if it's the same as the name. This affects EventInfoActivity and SelectCalendarsActivity. Change-Id: Ie810430e11d4b15f1a3518f9328daf727134976b
* | b/2494603 Improve UI to disambiguate calendars with the same nameMichael Chan2010-03-161-0/+25
| | | | | | | | | | | | | | | | | | Added checks for calendars with duplicated names and if found will now include the owner e-mail with the display name. Also did some minor layout changes for German ( b/2516982 ). And started a tests class for Utils. Change-Id: I567c6552a8c17b2c7e73d23312ac60f5dc85a1ec
* | b/2507842 Added code to hide response spinner if not supportedErik2010-03-121-2/+8
| | | | | | | | | | | | | | | | | | Added code to check the organizerCanRespond flag in the Calendars table as part of the logic to decide if the my response spinner should be displayed. If the account for the calendar is the organizer and organizerCanRespond is set to 0 we will no longer display the spinner. Change-Id: I7fb1ef808320c65a7679aed265591b356a1d1dfd
* | b/2505788 Small cleanup following change Ic986c877Erik2010-03-111-1/+1
| | | | | | | | | | | | Followup on a quick fix. Just some code tidying. Change-Id: Ic0d62a35e06d3c263aa088ab1f5feb241c6924ec
* | b/2505788 Added check so we only dirty an event if an update occurredErik2010-03-101-4/+8
| | | | | | | | | | | | | | onPause was updating the hasAlarm field even if it didn't change. Added a check so we only update hasAlarms if it changed. Change-Id: Ic986c877e24cf49009d6e72bafc47952ce5e63bd
* | b/2496984 Pulled out -1 attendee id into a constantErik2010-03-101-4/+5
| | | | | | | | | | | | | | in order to improve ease of future changes and readability. See also change I9e557689. Change-Id: I4e7da55f63e0defb61f8df5946b0d1b38b98ce0d
* | b/2496984 Added check for invalid attendee when saving responseErik2010-03-101-0/+5
| | | | | | | | | | | | | | | | Monkey was managing to save without a valid ownerAccount being found which caused an attendee id of -1 to be passed in. Added a check to protect against this. Change-Id: I9e55768965594dd43e0cf488852acf928ff09dce
* | b/2492707 If all guests have no response will be called 'Guests' not 'Maybe'Erik2010-03-091-5/+19
| | | | | | | | | | | | | | | | Now if no one has responded (or responses aren't available, such as Ex2003) guests will be listed under the heading 'Guests <#>' instead of 'Maybe <#>'. Once a response is received they will again be listed under Yes/No/Maybe. Change-Id: I1711428629a81380991cc6110f94bf4bf9057649
* | b/2486000 Fixed check to see if attendees are organizer.Erik2010-03-041-2/+3
| | | | | | | | | | | | We were doing an equals instead of equalsIgnoreCase check to see if we were the organizer of an event which was causing the wrong information to be displayed in EventInfo.
* | b/2171008 Made onPause update hasAlarm in db.Erik2010-03-031-0/+7
| | | | | | | | | | Added an update for hasAlarm to onPause so adding/removing reminders will be saved correctly from EventInfoActivity.
* | b/2336411 Added check to ensure cursor is not empty.Erik2010-03-011-1/+4
| | | | | | | | | | Looks like monkey was cancelling before an event could be loaded causing an empty cursor to be returned. Added a check to guard against this.
* | Unbundling: pull the recurrence string formatting out of EventRecurrenceKen Shirriff2010-02-261-1/+2
| | | | | | | | | | | | | | | | and move to the calendar app. The motivation is to make EventRecurrence not depend on string resources, and to move UI stuff into the app. This will make it easer to move EventRecurrence into a library.
* | Always use a consistent name for SharedPreferences.Jeff Hamilton2010-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | The code was relying on the package name for SharedPreferences, which is problematic if running under a new package name. Also, remove the use of the shared user ID. Change-Id: I9d2c8c78588d7b9868318153d0788addb84f11a6
* | Pulled in ContactsAsyncHelper as part of unbundling. Longer term, that part ↵Michael Chan2010-02-091-3/+4
| | | | | | | | | | | | of the coded needs to cleaned up with a proper a adapter and batched up queries when getting pictures. Change-Id: I58555e3a1299b5cac60c56b6731cf57401dc0f1c
* | First step in unbundling CalendarMichael Chan2010-02-031-3/+4
|/ | | | Change-Id: I12cf0e4141c069514dec78344592532848983abc
* set the attendee email when changing your own attendance in the attendees ↵Debajit Ghosh2009-10-021-2/+5
| | | | table, so some calendar provider code can update the self attendance in the Event.
* Fasttrack->QuickContactEvan Millar2009-09-301-3/+3
| | | | Change-Id: I78c9166f01511172f2ba72fc2d595014e7690bd7
* Change FasttrackBadgeWidget->QuickContactBadgeEvan Millar2009-09-301-3/+3
| | | | Change-Id: Ib2c1fa93fe92833b4dd13ab4552816ed12904765
* fix bug in event response logic: if guests have been hidden, you should be ↵Debajit Ghosh2009-09-281-4/+10
| | | | able to respond to the event.
* Renaming Presence and Presence-related columns.Dmitri Plotnikov2009-09-271-6/+6
| | | | Change-Id: I6740a0ff129648f6dabc52dae55c05c434673ac2
* make EventInfoActivity handle hasAttendeeData.Debajit Ghosh2009-09-271-16/+26
| | | | | | only show organizer if we know the organizer and if we're not the organizer. only allow editing response if we're not the organizer. show the event as an invite if we're not the organizer.
* b/2071368 Switch to use the new fasttrack widget and asset from the frameworkMichael Chan2009-09-231-57/+38
| | | | | | | | | Removed the user's status from the list because 1) it doesn't make sense for event without other guests and 2) there's a response spinner for events with guests. b/2092806 Eliminate the unneeded badge refreshes after fasttrack goes away Change-Id: I5a2d7d3265dce97b23e279259ed0541247f7123a
* be sure to close the presence cursor when displaying event info.Debajit Ghosh2009-09-201-24/+29
|
* Switching to streamlined naming of contact Data columns.Dmitri Plotnikov2009-09-181-5/+4
| | | Change-Id: I42a8f731c8b77eba267ca0dcc5c57e0d893f18ec
* Switch Calendar to new FastTrack API.Jeff Sharkey2009-09-181-20/+28
| | | | | | | | | As part of http://b/2087222 we have a new API specifically for launching FastTrack. This allows SHOW_OR_CREATE to be returned to its original behavior. I've tested this change and confirmed that it's WAI, and may have also fixed up some deprecated references.
* - b/2067801 Show event organizer in event infoMichael Chan2009-08-311-20/+55
| | | | | | - b/2065026 Moved attendence status on top of other guests' status - In event info, hide "Add reminder" when adding is not possible i.e. reminders > 5 or busy/free calendar - Show the Edit event option when appropritate i.e. has write calendar access and (event creator or guest_can_edit flag on)
* No more guessing. Save the attendence response to the correct attendee. Show ↵Michael Chan2009-08-281-42/+42
| | | | | | the attendence response option only when appropriate. b/2061105
* - Update eventinfo to use the new contacts2 apiMichael Chan2009-08-261-54/+83
| | | | | | | - Added sorting to the guests - Improved performance on start of event info. - Less change of ANRs on launch since queries are moved to background thread - Integration with the fast track
* Don't load presence as it's not working right now.Jeff Hamilton2009-08-211-2/+3
|