History log of /packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
844cac068835d7d8a80ec118da8019535c0d7450 18-Sep-2012 Sara Ting <sarating@google.com> Skip local account types when picking default calendar.

Bug:7148804
Change-Id: I491151840bc874a634c57f52d0dddf5d4a0fb922
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
8286d2f75e9c808f022c8c6b7431f50e7f60372f 13-Sep-2012 Sara Ting <sarating@google.com> Fix default calendar used when creating/editing event for the first time.

Bug:7148804
Change-Id: I99bfd9008eb0ec7697d2b6a6136cd2e203c19d96
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
8a528adbba5d46fe0d566f474bc3be190511198e 27-Jun-2012 Michael Chan <mchan@android.com> Rename calendarcommon to calendarcommon2 to workaround OEM silliness

Change-Id: I4c23023efd9df768da15160e007a0452ac23f7d6
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
5cde0374a28f91dd02e515d2956c6028144d0a9c 13-Jun-2012 Michael Chan <chanm@google.com> Fix some NPE and comparison errors.

Not all the tests are fixed.

Change-Id: I24a4b2c2525570e294facd030b4e86d6762f8485
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
c077ec06a91a2e5d82557de3c6edd83166ca9174 04-Jun-2012 Isaac Katzenelson <isaack@android.com> Fix crash in EditEvent when attendee email is null.

Bug: 6584373 Crash while editing the existing event
Change-Id: I076eb5e48ff73426cd2cd1dedf111ae9f0926649
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
ef4530b42095069916d2bf4945a2581722b7e318 17-May-2012 Michael Chan <chanm@google.com> Do not add secondary calendar as attendees

Do not add self as attendees if there are no other attendees

Change-Id: I51a515a833e46329e3b1e5be699be6d2f125f4b9
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
9e196e46b238e6bca1ef86c7d673807b78ab7016 11-May-2012 Michael Chan <chanm@google.com> Increased widget query size to 100

Also cleaned up some build warnings.

Change-Id: Ie2e9e863ca1cd8a95b94bac2ae643f7effbcb009
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
6bcafcf4f28c2d1053547694bd60b3dd9c7fbaa1 03-May-2012 Isaac Katzenelson <isaack@android.com> Fix agenda view goto behavior

Bug: 6285812 Tapping on an all day events on Tablet Agenda view makes the view to change like crazy
Change-Id: I643106a23acff88b16da3b8f45ce8c908b70506c
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
e3f85db16cfc50b25b97c64d8ab99820d579e5de 27-Apr-2012 Michael Chan <chanm@google.com> Create events with event set to confirmed instead of tentative

Bug: 6383944
Change-Id: I83e742fe4a054dc9e985613a59997fa7f9d8358d
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
8fa3111ceaab2b26a322caa873f352bb4eb3e783 07-Feb-2012 Daniel Lehmann <lehmannd@google.com> Make use of the email-uri to match QuickContact's contact search behavior

Also set the contact's lookup URI after the lookup. This allows us
to open QuickContact without doing yet another database lookup

Bug:5527023
Change-Id: Ie12d8a8d74ac91bb6714805984cb7c70067ae284
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
c6680c5819b6ad0d1914420902746fe5f86ba403 28-Oct-2011 RoboErik <epastern@google.com> b/5309787 support allowedAvailability in calendar app

Also adds support for Tentative availability.

Change-Id: Idea9424c54e2f08d020e63566567b9f0b176a5b5
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
66a3c9ee58ae73a3a1ad3bdec79aa1566582465c 25-Oct-2011 RoboErik <epastern@google.com> b/5514124 Protect against a null time zone

The db could get a null time zone in it, this protects against
trying to use the null value.

Change-Id: I43999c4321c0d64caa98fd4f7f586858d216e39a
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
1784d2de8ee81c6759bef7199a902e13de3b300f 02-Sep-2011 RoboErik <epastern@google.com> b/5247687 Remove presence from attendees in calendar

Change-Id: Idb6a8312641bbb7b55e92f0dd76147060ff280df
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
5d89406c7ca7974b5fe61b21c82634f8726439ef 13-Aug-2011 Michael Chan <mchan@android.com> Fix warnings

Change-Id: Ifce8eed10172b6a41b945abb5a18613f975587dd
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
28dab653f55caccbed32f700274f5274abaee089 22-Jul-2011 RoboErik <epastern@google.com> b/5063456 Fix event changes checks to be less agressive

Change-Id: I09571289e45a753875b3e8117027c1a95f33520b
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
152cb249897e8adbc674b0d991db1c47e597e0ff 14-Jul-2011 Andy McFadden <fadden@android.com> Correctly split recurring events that have COUNT

The code that splits recurring events for "this and all future"
edits was always adding an UNTIL part. This didn't work right
when the original event had a COUNT part.

Also, treat recurrence rules with COUNT parts as "custom".

Bug 4977517

Change-Id: I7e469fb23d7774ff2e157cc0b1c1dd9daba4fc40
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
8ed988fbac3e988f0408490a1d61101c4176686d 07-Jul-2011 Andy McFadden <fadden@android.com> Relocate common Calendar classes

Move some classes from android.pim to com.android.calendarcommon.

Switch Calendar app to build unbundled.

Bug 4575374

Change-Id: I3c344364b8fa82be1fbc21b0d1d2628957d8d07e
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
a7c0390d9c5dd4ff730de505682687fae5f5ced0 14-Jun-2011 RoboErik <epastern@google.com> Rename Calendar.java to CalendarContract.java

Change-Id: Ia6692454099322f6891b326b2c1ad919c13026b7
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
ef2add9145f058ea103ade2870a8ba899b9ed1c9 09-Jun-2011 RoboErik <epastern@google.com> Update to db v305

See change https://android-git.corp.google.com/g/#change,114333
for more details.

Change-Id: Ie28f9417c2c0f40cd26de99cf9e0555c756705d9
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
f457b754ef8da1b05eba733b99a4892f714178c1 08-Jun-2011 Erik <epastern@google.com> b/4560383 pick googlemail.com by default in germany.

Change-Id: I152e87fa8601c0cf4083cab23a9d001ac3672fd0
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
ced0eb67ef49c3203f72520c296e73d9cb4f654b 01-Jun-2011 Michael Chan <mchan@android.com> Rename "transparency" to "availability"
Rename "visibility" to "accessLevel"

Change-Id: I902fd9fbae34217faacc763fd201cb6e355f343a
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
9645d9c3e9b2cfd35c5fc89f41caf6e99153ba10 17-May-2011 Andy McFadden <fadden@android.com> Add support for different alert methods to UI

Google Calendar supports different alert methods for reminders
(e.g. pop-up message or e-mail). This change adds a UI element
that allows you to select the method for each reminder.

The set of available methods is determined by calendar attributes,
as is the maximum number of reminders.

Bug 4419019

Change-Id: I3f319e21b1919965d4859595f76206b9e96242b8
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
fea9af5d69ad3e5687a4efd72d7d3adfb8d056c8 14-May-2011 Andy McFadden <fadden@android.com> Progress toward alert method support

This replaces some of the "lists of minutes" with a list of objects
that also specify the alert method. There should be no externally
visible effects.

Bug 4419019

Change-Id: Ia555252c5c44019eaf4f1a569703a2eab6740acc
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
0e1e62408b96e1532eb6f6a609ae4c817751aaf3 06-May-2011 RoboErik <epastern@google.com> Update calendars table to v300

See change I515b3e0a for more details

Change-Id: Iee64f3868e4109ceb1cebf0503fdf7b818ffe305
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
950e8a615f3dcca0b61b2eb8f8de72ecf6825d4b 20-Apr-2011 Andy McFadden <fadden@android.com> Calendar DB upgrade

Renamed some columns.

Change-Id: Id4da9f05e5353f4a9c6dee6714a47e1e47681712
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
ae5bcce4a24c1ef3a2db2493b3dedd64a6aa35ff 14-Apr-2011 Andy McFadden <fadden@android.com> Sort and uniquify reminders

Reminders are now sorted before display, and sorted+uniquified before
being saved.

Also, removed a redundant function.

Bug 3409286

Change-Id: I858708c166bad686cbc2db826d964612bc9f29d8
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
b9b34ea19f7b74f6d9dceccc19cc110d68291c74 04-Mar-2011 Michael Chan <mchan@android.com> Clean up

Change-Id: I90d04b6a44642cca4e7065f3d0ed7cd2a5b70b1d
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
11bd6bec90cba2e51ed4e0e0e4ed1fdacf4fea04 24-Feb-2011 RoboErik <epastern@google.com> b/3485513 Allow deletion of location/description

We were skipping writing loc/desc if they were empty. Now they
will be cleared properly in the db.

Change-Id: Ic469ec13fdd8b2463cd37527330f1bb0fe0c4e05
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
74318092f1c512cc66cffc0df5354515a1d2f09b 24-Dec-2010 Erik <epastern@google.com> Save event status when making a new event

Change-Id: I4d6a0776af2d2e0d4ec074a6d053274c2478e728
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
364309f0bb9c3aeee8efd0c24faf478f7c62c6d7 23-Dec-2010 Erik <epastern@google.com> b/2781781 Copies attendees to new exception events

The code that saves a response to an event from the popup view
didn't copy the attendees over to the new event exception. This
adds code to do that. A larger change still needs to be done to
make a single code path for getting an event model and saving the
event.

Change-Id: I90f0a6c501f63691048365a58b8646c8934c609b
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
66b2067e0a389180f909eb0a528bea5f6becca23 20-Dec-2010 Michael Chan <mchan@android.com> b/3299524 Added defensive code to handle null values for duration and rrule

Change-Id: I84650163d1df944691c0a0943f30759473498c57
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
bf7c96b7adbae17d822cb8dec45fdf253a16df51 13-Dec-2010 Michael Chan <mchan@android.com> b/3280008 Fixed NPE in EditEventHelper.getContentValuesFromModel

Change-Id: I4521207fd46937e5bd4b9713318a79d04d54a4e3
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
deced8999da73effe4133e2317c262fea7910090 11-Dec-2010 Michael Chan <mchan@android.com> Added support for 'response' through ACTION_VIEW of events

Change-Id: I873b1144adb23e28cd84ad66248f649ad0f5586c
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
3400a2bfc1e6be435ea2bb0f436a6ef338446504 07-Dec-2010 Erik <epastern@google.com> Implement 'card' style for EditEvent

A todo for this change is to remove the extra gravities once
b/3259292 is fixed. Also fixes a bug with rotating new events.

Change-Id: If07fc053bf986bc8361e7dc9001e1bd653bb4364
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
4ebfbd26b1bc2f351d7e1657ccef261b1504b88c 30-Nov-2010 Erik <epastern@google.com> Fix npe when creating new event

Change-Id: Idf6be0c4c07b54a2bf341ead4038ca5236c8e168
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
59ead671b50514b49749fcd6a1d4186a270239d2 30-Nov-2010 Erik <epastern@google.com> Adds saving/restoring on rotation to EditEventFragment

As part of this the CalendarEventModel needed to be serializable
which required switching its Uri to a String and then parsing it
when used as a Uri.

Change-Id: I36a95ca1dce444e08cc6b5339d0b6441b1d0dfd2
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
9d5f351e45e20ff04da6f9118031cc2cc7419905 06-Nov-2010 Michael Chan <mchan@android.com> Show the calendar for existing events.
Previous we were hiding the calendar spinner for existing events.

Change-Id: I902d90408b2344cefa6cc4ef227430fd406d5501
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
5f62079ab9daefe95ede87631766e99e8b4a2220 27-Oct-2010 Erik <roboerik@android.com> Moves Edit Event back into an activity

Also updates the permissions for adding reminders to events and
fixes b/3125518, b/2976280, and b/3023359.

TODO Check exceptions to see if they haven't been synced yet
before allowing them to be edited.

Change-Id: I0fe7777d69d61da6cc17b4a0714ed020bd2fc1d6
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
e5149edad36737783356778819a9c66993a9cf28 30-Oct-2010 Michael Chan <mchan@android.com> b/2584631 Don't set status to "accept" for secondary account at event creation.

Change-Id: I5ca45fe482d951308f13998a183aa21691471768
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
29190975b9238dd6841f822f82f2fb83b0557f36 27-Oct-2010 Daisuke Miyakawa <dmiyakawa@google.com> Fix shrinking-multi-day-event bug.

Bug: 3099492
Change-Id: I74d266ce00e025a7e19279deb52ed62cf15a82f1
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
ddbf80860566df8425f38a32190e9a64cad4e389 27-Oct-2010 Michael Chan <mchan@android.com> Fixed the problem where the user was allowed to edit events in read-only calendars
Hide the minus button if the user doesn't have permission to remove attendees

Change-Id: I65794a104e9c318e360f6f13c5e83ddd67a45908
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
bdcb9fcc732d52708fafb068f535a2c93ff2356f 18-Oct-2010 Daisuke Miyakawa <dmiyakawa@google.com> Replace ListView for Attendees with LinearLayout

Stop using ListView + Adapter implementation and use LinearLayout.

- rename AttendeesAdapter to AttendeesView.
- let attendee list maintained by LinearLayout (using tag),
instead of manually having it with an array.
- remove unnecessary logic which has existed in the adapter.

TODO:
We still see some issue similar to 3101699.

Change-Id: Ic19343795a6f9d16632f7338d4d087e4fb44ddc0
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
352e1a2f834460bd54e03ce94cadd36a46debacb 28-Sep-2010 Michael Chan <mchan@android.com> Major bug fixing in EventInfo and EditEvent

In EventInfo/Popup:
Fixed reminders and response
Set a fixed height
Renamed Edit event button to Open event in the Event popup
Enabled Open event button unless it's a free/busy calendar
Removed action bar buttons in Event popup
Disallow reminders for busy/free calendars
TODO: Update UI only if everything is loaded

In Edit Event:
Switch to side-by-side label format
Have everything ready before removing "Loading" msg
Added organizer
Restrict adding of attendees:
For non-organizers, write permission to the calendar is sufficient.
For organizers, the user needs a) write permission to the calendar
AND b) ownerCanRespond == true AND c) attendee data exist
(this means num of attendees > 1, the calendar owner's and others).
TODO: Attendees do not always show up. Need to switch from listview to linear layout
TODO: Move to one column format for portrait in EditEvent

Turned on Holo.light theme but the light version isn't ready in the framework yet.
Removed dependency to android.test.runner

b/3052155
b/2709441
b/3060967
b/3060985

Change-Id: I4a25fecf3ade6a7924ba7b55801daced3dca6fa7
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
dd95df57c8c5a58a85c4c0effad5652dec14f621 27-Aug-2010 Erik <roboerik@android.com> Move EditEventFragment into AllInOneActivity

This change makes AllInOneActivity be the launch point for edit event
and causes it to take over as a full screen view. This way we can
handle message passing between edit event and the rest of calendar
as well as maintain the actionbar items.

Also fixes b/2954347

Change-Id: Ib28e5382abbfe4f72a183c0945f27e61b7fd176e
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
d845fbe558d5229102b58cce70a1b29fe6cb6967 12-Aug-2010 Erik <roboerik@android.com> New Edit Event layout

Some large changes to EditEvent including a new two-pane layout,
an attendance widget, and a list of attendees with remove buttons.
This also removes a lot of the excess layout code and cleans up
the theme code.

Change-Id: I87ab3511f7bb6501f2aa4bf6d33b5d4f8e6f4936
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java
fbce65e53c7a111955f638db5bf8bee35381e5b7 16-Aug-2010 Erik <roboerik@android.com> Moved EditEvent into a sub package.

Change-Id: I4bba4ec6651ec90f8d0a7c83c76340ed080178f0
/packages/apps/Calendar/src/com/android/calendar/event/EditEventHelper.java