History log of /packages/apps/Calendar/src/com/android/calendar/DayView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4dcabc96044eb83be2320e753fee9b1dc266ec32 02-Oct-2012 Michael Chan <mchan@android.com> Added touch slop for horizontal scrolling

Bug: 7215879
Change-Id: I0339fe1c60067f2353ddfac84084a928cee8ca47
/packages/apps/Calendar/src/com/android/calendar/DayView.java
a498f6ed3628bd36576949acd8e0afd71fca8b02 07-Sep-2012 Michael Chan <mchan@android.com> Modify doScroll to move based on the average of the touch points

Change-Id: Id23158a43910875953077244eb7086dd38a3f7c5
/packages/apps/Calendar/src/com/android/calendar/DayView.java
b85452b2589be5f057a2d4bd8991c7c7c740752a 17-May-2012 Isaac Katzenelson <isaack@android.com> Fix eventinfo location

Change-Id: I70de0c74175b7879463a0e3c846d72807376a816
/packages/apps/Calendar/src/com/android/calendar/DayView.java
363aa9c237a33e9e1a40bdfd9039dcaaa855a5a0 17-May-2012 Michael Chan <chanm@google.com> Fix eventinfo dialog size on rotation

Bug: 6479258 Nakasi: Awkward size for the event pop-up on Nakasi portrait
Change-Id: I9077cafe0cd37c0d6f5cea81470362e36acb5327
/packages/apps/Calendar/src/com/android/calendar/DayView.java
6ab3a2c7de3719a4806d6c9cd5b53cb34a5bb017 14-May-2012 Mindy Pereira <mindyp@google.com> Make it possible to center text for all day events, top for other.

Fixes b/5534407 all day events should center vertically in day and week view

Change-Id: I69aac76e268377b1408de79e75201bc186167389
/packages/apps/Calendar/src/com/android/calendar/DayView.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/DayView.java
84fbd42c4ea8bae2a0edbd49333cb7112bf3cd51 09-May-2012 Isaac Katzenelson <isaack@android.com> Fix scrolling state in DayView

Bug: 6434694 Regression: On tablet, calendar events on week or day view don't always open
Change-Id: Id7329ff1ae6f98bff3abbc69a102d9deb2992f76
/packages/apps/Calendar/src/com/android/calendar/DayView.java
befa15c0a47a744a7c28a9be7b079a93e195c833 24-Apr-2012 Isaac Katzenelson <isaack@android.com> Fix fling in day/week view

Bug: 6334145 Day/Week view doesn't fling
Change-Id: I356a0bef55075e0efb7bce5354db66ded953f8c7
/packages/apps/Calendar/src/com/android/calendar/DayView.java
a6f5ce8f9d2b596080985b36cc1f608ca6a2d19d 21-Apr-2012 Isaac Katzenelson <isaack@android.com> Merge "Fine tune touch feedback on day/week view"
31c7812de1b56561e56f2af6928debd66e4a9124 18-Apr-2012 Isaac Katzenelson <isaack@android.com> Fine tune touch feedback on day/week view

Bug: 5933832 Day/Week/Month - touch feedback missing when events are tapped
Change-Id: Ibffe1cc3f3dd5f4e2853a91586902022386a8e04
/packages/apps/Calendar/src/com/android/calendar/DayView.java
1662b85ef3691df66820fd2a469bcb95993c14a5 19-Apr-2012 Isaac Katzenelson <isaack@android.com> Fix fade-in on sync in day/week view

Bug: 6338978 Events in Day/Week View fade in repeatedly during sync
Change-Id: I28a09289d33cd66f65e9c855bae3f8cb01c76def
/packages/apps/Calendar/src/com/android/calendar/DayView.java
989a7fe5215b378bb6dac7eae7d9970056e30c4f 18-Apr-2012 Isaac Katzenelson <isaack@android.com> Fix talkback and touch exploration in DayView

Bug: 6268304 Talk back cant read any event on the calendar home page
Change-Id: I23e6a031e276f6da2eef95488089ec3ff8ba22cc
/packages/apps/Calendar/src/com/android/calendar/DayView.java
ca0955e1dbd3176cde0d012552efdca7b5e336d6 13-Apr-2012 Isaac Katzenelson <isaack@android.com> Fix click duration in day/week view

Bug: 5933832 Day/Week/Month - touch feedback missing when events are tapped
Change-Id: I37b6c4e20c4788d8bab93dedc98f875c9ccb3423
/packages/apps/Calendar/src/com/android/calendar/DayView.java
0a30ef1efee8fee2a2aecb202afb56f971f3e604 12-Apr-2012 Isaac Katzenelson <isaack@android.com> DayView events cross fade

Bug: 6273638 Cross fade when events appear in Day/Week

Change-Id: I8329f8350c939a446c949adc73816df5b7c65c1f
/packages/apps/Calendar/src/com/android/calendar/DayView.java
056c51ec65d03c19348fb64b65a00835e5ecd600 30-Mar-2012 Isaac Katzenelson <isaack@android.com> Add touch feedback from events in day/week view

Bug: 5933832 Day/Week/Month - touch feedback missing when events are tapped
Change-Id: I2aebbf2939cb86439676fa1096cc8760d80ed7d3
/packages/apps/Calendar/src/com/android/calendar/DayView.java
df34a98e3ded7efb614f7baed8457f1e30cd6fd6 22-Mar-2012 Isaac Katzenelson <isaack@android.com> Fix day view selection bug with touch expolration

Bug: 6197842 Unable to open an event when touch exploration is enabled
Change-Id: I8a4b73f77997191e2989d3219ebb15ac16e2d1c6
/packages/apps/Calendar/src/com/android/calendar/DayView.java
b03348cec4c175846f074a656db5c121d5467e2d 15-Feb-2012 Michael Chan <chanm@google.com> Fixed the problem where the all day area is overdrawn to the next day/week

Bug: 5933383
Change-Id: Ic16296eb2daa09e5366413497b09a286958517e4
/packages/apps/Calendar/src/com/android/calendar/DayView.java
58f5055e1f3740382b4507e6eb88eebc2d6c21c1 30-Nov-2011 Michael Chan <mchan@android.com> Fixed the problem where the current time stopped updating
after scrolling 2 days/weeks. Also vertical fling has momentum again

Bug: 5683909
Change-Id: I925b6a5ed1bc09a47687e17c574249573aa3d9d8
/packages/apps/Calendar/src/com/android/calendar/DayView.java
00671d5b9254772d223587b3b831d5816476f681 22-Nov-2011 Michael Chan <mchan@android.com> b/5641558 Decrease the event size for week view in tablet

Change-Id: Ife4062ceb9b897bbb4ee5120307d4db2cfc00eb9
/packages/apps/Calendar/src/com/android/calendar/DayView.java
5d740e1320ba48ba66b72430f9896ab7d481fb54 17-Nov-2011 Michael Chan <mchan@android.com> b/5523793 Fix memory leak on rotation for agenda view

Change-Id: I34f6a277e985aa834fb60f5b41a3d26c89660d35
/packages/apps/Calendar/src/com/android/calendar/DayView.java
ea3f117db073ae796453479d00e9c7664d4471c5 17-Nov-2011 RoboErik <epastern@google.com> b/5523793 Fix memory leak in DayView

DayView was leaking a time update runnable which held a reference
to AllInOneActivity. This makes sure it doesn't get held anymore.

Change-Id: I820478d630291e18d329aa7a57d7c6ba703bdcb4
/packages/apps/Calendar/src/com/android/calendar/DayView.java
99704a2787158bf670fa4a7b4e4f89ace10afa00 11-Nov-2011 Michael Chan <mchan@android.com> b/5233576 Fixed the problem where long desc are not showing

Change-Id: Ic12e5e0158021996d0b3822803a4dad8fb10d904
/packages/apps/Calendar/src/com/android/calendar/DayView.java
57756df22153a2c0155a4e743c8a658caa8ada33 10-Nov-2011 RoboErik <epastern@google.com> b/5594278 Snaps the view back if in bad state

User could get into side swiping from pinch/zoom. This makes it
so the view will reset its position when released from this state.
A more complete fix would be to prevent the side swiping if a
pinch was started first for this gesture.

Change-Id: If485aa985b69bc7234b8f4ffb47992812ac7967c
/packages/apps/Calendar/src/com/android/calendar/DayView.java
cba7f1fd22e1d7ee9d8d0828f37bc08512bf6b75 08-Nov-2011 Michael Chan <mchan@android.com> b/5478688 Pixel perfect EventInfo on tablets

Change-Id: I4db0ab0d00122b9709704a2ec9ccf02445349943
/packages/apps/Calendar/src/com/android/calendar/DayView.java
8ba049142861fe782dfd52ac06bf5e619626ed0e 21-Oct-2011 RoboErik <epastern@google.com> Merge "b/5497100 Fix substring requests in DayView"
1c1987163f49158d6ea54f034c874ec3d7b5cde1 21-Oct-2011 RoboErik <epastern@google.com> b/5497100 Fix substring requests in DayView

We had a case where we could request a substring of -1 length. This
puts a protection around it and fixes the bug that caused the bad
request.

Change-Id: I20bc901853871c32aff36011026bf2f50fb8bff2
/packages/apps/Calendar/src/com/android/calendar/DayView.java
4ecf0648e68bc9339a3d64745008a4617f7bedda 18-Oct-2011 Isaac Katzenelson <isaack@android.com> Change alpha for declined events text

Change-Id: I21fdbd7ae15abc9ad9c45251703b0f051836927e
/packages/apps/Calendar/src/com/android/calendar/DayView.java
e6109c584d27a6c25df1819a5c6ec444e789ce61 15-Oct-2011 Isaac Katzenelson <isaack@android.com> Add opacity to declined event's text

Bug: 5438462 Draw opacity on declined event titles
Change-Id: I01794649e9b756d5ccca32d04ac2429db890cdfb
/packages/apps/Calendar/src/com/android/calendar/DayView.java
d01a7b6aab2bfe79e60359137d1bfd7ec9672368 06-Oct-2011 Michael Chan <mchan@android.com> b/5419014 Fixed touch exploration for day view

Change-Id: Ib11ae2976620243467c39c69bf81b061de3623fa
/packages/apps/Calendar/src/com/android/calendar/DayView.java
5b872523e28fc778a3fc34e7e9096ca1197c6509 04-Oct-2011 RoboErik <epastern@google.com> b/5045933 Highlight the current day/time when Today button is pressed

Adds highlight to month and day views. In month view a border will
fade in around today and in day view the current time line will
flash blue.

Change-Id: I7869253f1afd61ea91ad8e7ff63722381eae1aa4
/packages/apps/Calendar/src/com/android/calendar/DayView.java
0aa0c61fcd2464f034d15f33db265b6d080f4af9 04-Oct-2011 Isaac Katzenelson <isaack@android.com> Make event info dialg box show in the middle of event

Bug: 5204879 On tablet, the way the event pop-up
Change-Id: I9cc5fd75abc939699674fe82fbd46a0e2284acb9
comes out (week and day views) must be improved
/packages/apps/Calendar/src/com/android/calendar/DayView.java
ba25b7c5031eff91d0bd21d0eb9b581db4f52b33 28-Sep-2011 Isaac Katzenelson <isaack@android.com> Change "new event hint" for day view

Bug: 5375030 When tapping on a time box on day view,
the "+" symbol should be changed with a label saying "+ New event"
Change-Id: I842b4a034a036b63a9dc9d8e7ea3d618f366a7d4
/packages/apps/Calendar/src/com/android/calendar/DayView.java
462196d197de326006aaf15f8bb7a8d83b8e2a60 26-Sep-2011 Peter Ng <petergng@google.com> Updated add event hint thickness and color

Bug: 5063676
Change-Id: I8b545922f578ae105d684242d36f6f72a05cff0d
/packages/apps/Calendar/src/com/android/calendar/DayView.java
b6fb51224b578b26e503fddae2799d03a2aaad47 22-Sep-2011 RoboErik <epastern@google.com> b/5358543 b/5358930 fix selection highlighting in dayview

Change-Id: I6b61bce6dac5824b1a8c91d4ad82866a608447e1
/packages/apps/Calendar/src/com/android/calendar/DayView.java
f7cf45455ce8cc5588479dcbb5d876f7638f79dc 15-Sep-2011 RoboErik <epastern@google.com> b/5319523 Default focus to off when entering a view

Change-Id: I04e8e72d7de381e3b58745d1704a7ef55c25a300
/packages/apps/Calendar/src/com/android/calendar/DayView.java
3c40e07972c989719723e24db6d5d8812200823b 14-Sep-2011 RoboErik <epastern@google.com> Use new whitening for declined events.

Change-Id: I289a2651eb7c87768c12719123d74d935ea35ddc
/packages/apps/Calendar/src/com/android/calendar/DayView.java
95f745f00303b00549a1d59d8ccb0b82ea91c17c 13-Sep-2011 Michael Chan <mchan@android.com> b/5063676 Add a plus in the selected time highlight

Change-Id: I9a08335455369e0118377c87ca03b4f27b2dc35a
/packages/apps/Calendar/src/com/android/calendar/DayView.java
aeae98bf8f8c5c544f65f5b6b7f29cfd31366ad5 09-Sep-2011 Michael Chan <mchan@android.com> Fix up accessibility. Remove stripes for declined events

b/5288841 Remove stripes for declined events

b/5270879 Accessibility: Interrupt the first reading of the event
from day/week view when the user taps and open an event.

b/5288922 Accessibility: Read event times when viewing an event

Also other improved on the event and time readout for accessibility

Change-Id: Ic6b317fbe9ef3a00ffd854094d904945dbec3159
/packages/apps/Calendar/src/com/android/calendar/DayView.java
714c299ea5c05858e273d98efbacf20fedd328f1 10-Sep-2011 RoboErik <epastern@google.com> Adjust min event size so allday events work again

Change-Id: I699185b75d1ceb635f4439ed6bfb619e9e8735b1
/packages/apps/Calendar/src/com/android/calendar/DayView.java
433ba924de1ac26b923e2beb061812012749e4f3 07-Sep-2011 Michael Chan <mchan@android.com> b/5255359 Support overscroll and blue glow in Day/Week
Also for calendar selector

Change-Id: I01ca3d56001d65484531a70f321f88fca29ffa76
/packages/apps/Calendar/src/com/android/calendar/DayView.java
95d6fe0b672284a19699edc4727c366e3b0ccec7 06-Sep-2011 Peter Ng <petergng@google.com> Homescreen widget asset updates and layout fixes

-converted many assets into 9's
-removed unused xml and pngs
-header style changed
-event subject maxLine set to 2

also tweaked padding on event text in day view

Change-Id: I080be84e9706b91b3bcbd3f7867b11f7476e20fe
/packages/apps/Calendar/src/com/android/calendar/DayView.java
5ca51369b44901fbab6da0ac67b3001c19f2ae29 07-Sep-2011 RoboErik <epastern@google.com> b/5163556 Update day/week view

Fixes font sizes, event spacing, sidebar size for tablet.

Change-Id: I1631fd683ff0051203244976aff1db43f1affdf4
/packages/apps/Calendar/src/com/android/calendar/DayView.java
6301a5566e65e74899a03462e0c39232db30e8de 30-Aug-2011 Michael Chan <mchan@android.com> Merge "b/5235912 Don't send accessibility events if not enabled"
d0c06c6c8815d027c595cb70b01478634a84c8e0 29-Aug-2011 RoboErik <epastern@google.com> Off by one error on drawing selection

Change-Id: Ieaae8207694a95772706ba700c5055cb323a680f
/packages/apps/Calendar/src/com/android/calendar/DayView.java
be569a176153e0b4b4606a022ab30cf2f5bf719d 30-Aug-2011 RoboErik <epastern@google.com> b/5235912 Don't send accessibility events if not enabled

Change-Id: I7c38ae2074c014f0169e3223b652ff48d758eee1
/packages/apps/Calendar/src/com/android/calendar/DayView.java
6f5fc3bf685b396da65290d32dd4744aa7a9fc9d 30-Aug-2011 Michael Chan <mchan@android.com> Fix the problem where two scroll triggers the day view to zoom out
in touch exploration

Double tap on the same cell with touch exploration triggers new event creation.

BUG:5223787
Change-Id: Iae17f9769d774f14b110182ec116604b46116694
/packages/apps/Calendar/src/com/android/calendar/DayView.java
9ddc5e29f501e423e873c4a1d4cfb7e810d63ccf 29-Aug-2011 Michael Chan <mchan@android.com> Implement Touch Exploration for Day/Week view

Change-Id: I2dd87c846f6df6caf211848fc8c9b650df8b516f
/packages/apps/Calendar/src/com/android/calendar/DayView.java
edecd9a97e02ff14bd5abeec3414e1bf3cc631df 25-Aug-2011 Michael Chan <mchan@android.com> b/2891538 Create an all-day event when tapping on the all day area

Change-Id: Icb55aec1a99a129061291c0d4c2d992e2b8aff9a
/packages/apps/Calendar/src/com/android/calendar/DayView.java
96051e5cab4554529c55cfaf7518a213fcf98ce4 22-Aug-2011 RoboErik <epastern@google.com> b/5121046 Don't draw event highlight on longpress

Change-Id: I45c7a827e41b4ead243cf183c6a851f76f7adb88
/packages/apps/Calendar/src/com/android/calendar/DayView.java
17c0cea5c4e5eee7b6c1676038e9223dd971007b 20-Aug-2011 Michael Chan <mchan@android.com> Fix warnings

Change-Id: Ia28012de0cba552cee8e312c122ae5a3e672c541
/packages/apps/Calendar/src/com/android/calendar/DayView.java
96c8509c1b2e6a5b56cc4e30756d16b1d2297c43 17-Aug-2011 RoboErik <epastern@google.com> b/5174638 b/5178986 Fix margins/padding for allday icon and title spinner

Change-Id: I745350ee5ec188494399ffac3ffe06aee32a8041
/packages/apps/Calendar/src/com/android/calendar/DayView.java
73bb3ae73b067e7c926d3ac660d059b2a06309b2 11-Aug-2011 RoboErik <epastern@google.com> b/5150674 Make dialogs dismissible

Change-Id: I21dc13a8c82a1e1ec1d882e2e00fd9b3a3bb6f3d
/packages/apps/Calendar/src/com/android/calendar/DayView.java
43e794f69384bf8fd2370e71aceb1fb58d6cf958 11-Aug-2011 RoboErik <epastern@google.com> Show time as title of new event dialog

Change-Id: Ic1d8db50d3968488ccac8dc67de9697a8c5563e9
/packages/apps/Calendar/src/com/android/calendar/DayView.java
763b9308fa13c8c9c3b9a715f4daf8eba497b935 03-Aug-2011 RoboErik <epastern@google.com> b/5111195 Phone pixel perfects

-dropdown spacing fixed
-all day in monthview fixed
-monthview month numbers moved up
-allday text removed, hours now 20dips spacing on side
-week days spacing fixed
-only today's date is bolded
-current time line spacing fixed
-Agenda font colors fixed
-agenda margins fixed
-scrollfade removed
-dayview event text margins fixed
-event rectangle margins fixed
-eventinfo margins fixed

Change-Id: Ic9ea83af49221e2f9b4e03ad9731f2387f2f07e9
/packages/apps/Calendar/src/com/android/calendar/DayView.java
4ab51bf9fc2f3e6915705f39688e8244fc74028f 01-Aug-2011 RoboErik <epastern@google.com> b/5103886 Fix expand allday clicking

Change-Id: I4e897cb7e4f099dd4de960bcb22fef118ad96448
/packages/apps/Calendar/src/com/android/calendar/DayView.java
9175d29276c78a2a294ce2fce112432171ef7c7c 30-Jul-2011 RoboErik <epastern@google.com> b/5087795, b/4986945 update declined and time line assets

Change-Id: I97fd4d4c95c814c3e1c955b4e271b094daf41be4
/packages/apps/Calendar/src/com/android/calendar/DayView.java
21bd42039c92232647f54461cd20708224cc7eb6 26-Jul-2011 Michael Chan <mchan@android.com> b/5063664 b/5063498 Remove double date header. Show future times with white bg
for day and week views

Change-Id: Id2138ffe5666a88d0d3c838ca24e88add57c8865
/packages/apps/Calendar/src/com/android/calendar/DayView.java
20b6fb580bf09dbd610a256ffd3165c03053cb70 25-Jul-2011 RoboErik <epastern@google.com> b/5073949, b/5063676 Add new event popup and fix native crash

Change-Id: I9603fd7d1e1604184fe081d16246961ce892f712
/packages/apps/Calendar/src/com/android/calendar/DayView.java
b5e3c17201b2c08ca9f3fd33f4585e1ec8fa71b1 15-Jul-2011 RoboErik <epastern@google.com> b/5021617 Fix issues with event loading in dayview

Change-Id: I021407f5a7db2ea86b693ca72cf1cfadb6b70287
/packages/apps/Calendar/src/com/android/calendar/DayView.java
7939fa59d64c1e6ac95f352e24d761dbacf67547 14-Jul-2011 RoboErik <epastern@google.com> b/5027387 Ensure an hour is as tall as min event

This clamps the height of a single hour to be no shorter than the
min height of an event. Otherwise back to back 1 hr meetings
overlap. meetings closer than 1 hour may still appear to overlap.

Change-Id: I3e5cde2d244fa95f0b77c68df7a6bc74e487bbc1
/packages/apps/Calendar/src/com/android/calendar/DayView.java
e9cd8f4513c141ca486bbd141f0fe34bb3c27f3a 02-Jul-2011 RoboErik <epastern@google.com> Another big pass on colors and spacing

This adds color treatment for current and past time and sorts out
colors and spacing for day and week view. It also makes some
tweaks to month view and mini-month view. Mini-month visuals are
still in progress and the current home time needs to find a
better location (and doesn't exist on the phone atm).

Change-Id: I353e9bf63e4ea6ebf094ed544f4b0a9491c1e238
/packages/apps/Calendar/src/com/android/calendar/DayView.java
25996100d6ea61888ebe54d7708a9a371bb12a55 01-Jul-2011 RoboErik <epastern@google.com> Rough draft of dayView colors

This adds colors and unknown/declined/accepted appearance. This
is still a rough draft of DayView changes but should be good
for dogfooding.

Change-Id: Ia054e62200cc2eee6f560ba2b7e9fbf0c462d9a1
/packages/apps/Calendar/src/com/android/calendar/DayView.java
97326ee1ea9b1bb17e0e2bcfe344352d4bb03001 01-Jul-2011 RoboErik <epastern@google.com> Fix allDay icon direction issue

Change-Id: Ieab4df418e172dd55dd857b1431c3d5717f20148
/packages/apps/Calendar/src/com/android/calendar/DayView.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/DayView.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/DayView.java
78de8f45e8909832920ad6388c55ce3d886ddedb 02-Jun-2011 Michael Chan <mchan@android.com> Merge "Rename "transparency" to "availability" Rename "visibility" to "accessLevel""
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/DayView.java
0e9e8a522740e4083f944638a82d5bd7a6e89fa8 26-May-2011 Erik <epastern@google.com> Allow flinging between days in allday area

Pick from MR2

Change-Id: Iefce55f4e6bb2bf139bc7562d5e5c18b597c9197
/packages/apps/Calendar/src/com/android/calendar/DayView.java
91a801779ecfb3872d7923c0165f6d3d3c0db7f2 14-Apr-2011 Isaac Katzenelson <isaack@android.com> Remove padding above day/week/month view for phone

Change-Id: I3bd980e1db62b1fed18bf92dd286e71def0ccc8f
/packages/apps/Calendar/src/com/android/calendar/DayView.java
09b1b2e1e7eb9bc291d4e70c993471d3c9ffa799 05-Apr-2011 Michael Chan <mchan@android.com> Support for phone layouts
Hiding mini calendar and adjusting font sizes and margins

Submitting change for Isaac from If05df8f8

Change-Id: I43869a7960a6bed514de9c7383afd96f6c7fa498
/packages/apps/Calendar/src/com/android/calendar/DayView.java
4f58287a1e02325337e39073a50bbb880094099f 04-Mar-2011 RoboErik <epastern@google.com> b/3333449 Fix pinch/scrolling behavior

Pinch was also handling scrolling but not updating the scrollers
values causing the jumps. This lets them keep in sync.

Change-Id: I0c484f872d3359d4dbe17cca49da975b697af5d9
/packages/apps/Calendar/src/com/android/calendar/DayView.java
f9a2842a66fe858336144ba87c668efc2e18a9ac 03-Mar-2011 Michael Chan <mchan@android.com> Fix fling problems where the DayView can end up mis-drawn.
Also split the fling horizontal vs vertical at 50/50.
Previously, it favors vertical scrolls.

Change-Id: I81cb267bd70e36069b25d408bcb005133c60fda3
/packages/apps/Calendar/src/com/android/calendar/DayView.java
90a68379c01137781249156742cfc9ba21684b83 03-Mar-2011 Michael Chan <mchan@android.com> b/3280683 Lock fling/scroll to one direction

Change-Id: Ic26ed87bc7b204ce587abd1c924d2c08c94d5243
/packages/apps/Calendar/src/com/android/calendar/DayView.java
cbc6ad106295bad0bef29cb51a2dfb56be9d6bcd 01-Mar-2011 RoboErik <epastern@google.com> b/3157682 Add final expand/collapse icons

Also change animation to just switch icons when it's done
translating instead of doing rotation.

Change-Id: If06cedad398ab65ef8a38e9a0ab2dbbd5f096ff7
/packages/apps/Calendar/src/com/android/calendar/DayView.java
95d9f9172802f19e28b1cabf39b371c4ac343dc2 28-Feb-2011 Michael Chan <mchan@android.com> b/3478177 Fixed the problem of overlapped day/week views.

- Terminate animations properly. cancel() can leave the ViewSwitcher
in an inconsistent state.
- Terminate animations as soon as we are within 1 pixel of the end

Change-Id: I5b0467b821bd5dc3abfd36854e2360939e5b3cec
/packages/apps/Calendar/src/com/android/calendar/DayView.java
2fda24534978f55711526dbde747aa50d68dec40 16-Feb-2011 RoboErik <epastern@google.com> b/3157682 Makes the allday area expandable

If there are too many allday events they become impossible to
read. This makes it so that in this case we will instead hide
the excess events with information about how many are hidden
and an easy way to expand the allday area to show all the
allday events. Also fixes b/3472230

Change-Id: I5a73cc20f1edde54d90fc76fb7ac5ebd1260b073
/packages/apps/Calendar/src/com/android/calendar/DayView.java
68655b5af2b7e5f872a103858ec58a19042123ce 23-Feb-2011 RoboErik <epastern@google.com> Make column sorting for allday events handle 24h events

The column sorting code assumed allday events could be sorted
by start and end millis. With 24 hour events being drawn as
allday events this was no longer a true assumption. This adds
code for sorting these events correctly along with allday events.

Change-Id: I254f495e92e6422bdb7b9ba62e2db17c8057088b
/packages/apps/Calendar/src/com/android/calendar/DayView.java
f6c785f1dacb26523f229e1b06e3a4eb6fa4ff0d 17-Feb-2011 Michael Chan <mchan@android.com> Fixed and allowed fling while flinging

Change-Id: I8f3723b4baa9e7a4dca38da3c6273fb897cb5628
/packages/apps/Calendar/src/com/android/calendar/DayView.java
2c0a3ca970425b0237cd9d99b943a9cd17529692 17-Feb-2011 Michael Chan <mchan@android.com> b/3176306 Modified Day/Week view to fling horizontally like launcher

Change-Id: Id8f15d65f60b1cd0ab0d6245406812553ffafb0d
/packages/apps/Calendar/src/com/android/calendar/DayView.java
bbf2cbdb040108da50d763b699836e5f63fb7cce 16-Feb-2011 Michael Chan <mchan@android.com> Fixed the problem where tapping to stop a fling actually opens an event

Change-Id: Ied99e6fc1648b0aff121a25733f8b158dc7b1bd6
/packages/apps/Calendar/src/com/android/calendar/DayView.java
3f6328f579b05c02606572c777541b97aa04f9f3 16-Feb-2011 Michael Chan <mchan@android.com> b/3176306 Modified Day/Week view to use framework vertical scroller

Change-Id: I5b997a78a626c7bdcfa94c38db50ad6848d508f4
/packages/apps/Calendar/src/com/android/calendar/DayView.java
349dd91e8475a72eb68a5eae4482ce7e82c01d16 15-Feb-2011 RoboErik <epastern@google.com> Make DayView not jump on events that cross midnight

There was a bug that would cause DayView to jump to an earlier
time when tapping on an event that crossed midnight.

Change-Id: I3e9d743de036c851803c690bf8c45556ee52aff2
/packages/apps/Calendar/src/com/android/calendar/DayView.java
87f993ff96172f508d3f241f8a425f953c7eb739 04-Feb-2011 RoboErik <epastern@google.com> Jump to the tapped position when viewing an event

This makes it so opening an event popup won't jump to the start
of the event, but instead will center everything on the tapped
space.

Change-Id: Iec5623b5f6cbe120c55079e43e6bc8982d44b468
/packages/apps/Calendar/src/com/android/calendar/DayView.java
d031419da7900dab91ac9f512374d7e59bb74dce 01-Feb-2011 Erik <epastern@google.com> b/1896074 Make events longer than 24 hours allDay

This makes long events appear in the allDay area of Day/Week
view.

Change-Id: Ic79bc15fbccf56ad4d6c3ededd3774cfb89ee7e4
/packages/apps/Calendar/src/com/android/calendar/DayView.java
61a2e87e7412281d17e86ccff4352cbf32fe77e7 20-Jan-2011 Michael Chan <mchan@android.com> b/3185697 Update start day of week after change

Change-Id: Id581e9df67cfe4d7fbbb10ee1e0452bc4a298709
/packages/apps/Calendar/src/com/android/calendar/DayView.java
8307109ac75b748ae707f4d4cb9a9d28c2dbaae6 20-Jan-2011 Erik <epastern@google.com> b/3313835 Makes event toast only appear when using dpad

Change-Id: Ic979e0bb6deb0ff6ace54fc70050f5b052c3bb9c
/packages/apps/Calendar/src/com/android/calendar/DayView.java
04b288958078f8b29870dcbb2239df448c559610 20-Jan-2011 Erik <epastern@google.com> b/3369953 Fixed mini-month start date for home tz

MiniMonth wasn't setting the correct initial time when using home
time zone. This fixes that. Also adds support for changing
the selected day with a keyboard/dpad (previously it would only
update if you switched to another week).

Change-Id: I72f7dec290ae600e653626ae7dac0ab7fa3a6de0
/packages/apps/Calendar/src/com/android/calendar/DayView.java
e730eb8fccffeb703261382342003c5bd1413c66 19-Jan-2011 Michael Chan <mchan@android.com> Merge "b/3124819 New look for declined and unresponded events" into honeycomb
f2ca00946a543a19467d5dbfa3427ecf221186d4 18-Jan-2011 Michael Chan <mchan@android.com> b/3124819 New look for declined and unresponded events

Change-Id: I521ad1398e1a21d8e01a02a4ab1cda82ba523ae4
/packages/apps/Calendar/src/com/android/calendar/DayView.java
259b8f9a21fffd3858218581e9daaf689b6b888f 12-Jan-2011 Erik <epastern@google.com> b/3293809 Adds basic support for accessibility in Calendar

This adds accessibility events for navigating the views in Calendar.
-Moving times in Day/Week view says the time and any overlapping
events.
-Switching between events in the same time slot says the event.
-Opening an event popup reads the event.
-Opening edit event reads the event.
-Opening an event in search reads the event.

Fixed a bug in month view that caused a crash.

Change-Id: I734b43597fbdf76cbf693374ac8585645fab94fe
/packages/apps/Calendar/src/com/android/calendar/DayView.java
9e9e0678fe1969659dede3909c2cab6d2c3e5c8b 13-Jan-2011 Michael Chan <mchan@android.com> b/3326392 Shrink the title for week view
- Don't show day of the month if for multi-day view
- Abbreviate the month if showing multiple months

Change-Id: Iea5d190b42b7a5d17e63298b9ab389244a8ef56c
/packages/apps/Calendar/src/com/android/calendar/DayView.java
9dd340d393575ba9740ef259e62ee7a17fc76ed1 13-Jan-2011 Michael Chan <mchan@android.com> Perfecting Day View. One pixel at a time

Change-Id: I048073f7fa087ed6e0bbcfbccabbce81558e8f5b
/packages/apps/Calendar/src/com/android/calendar/DayView.java
360c67c9227c3e75cb4ea9b7350e3ed44b504f03 13-Jan-2011 Michael Chan <mchan@android.com> b/3346946 Go to Day view if the user taps on the date header

Change-Id: I67eda673070f52561e3e1a4b636c5d29eda5f42e
/packages/apps/Calendar/src/com/android/calendar/DayView.java
f0868f61983ff1b04a49f1b6f2ef6d49311011e8 12-Jan-2011 Michael Chan <mchan@android.com> b/3333788 Have a notion of selected time in addition to start/end times

We now support controller commands such as
"Go to week view showing Jan 1 to Jan 7 and select Jan 3"

Change-Id: Ifcbed2eeaa7005965a0cec61fb264eae7dc2ff2c
/packages/apps/Calendar/src/com/android/calendar/DayView.java
6d4ce6ed308da8b4d8f2e62660865e396713c025 11-Jan-2011 Michael Chan <mchan@android.com> b/3335050 Ignore scroll and swipe gestures while animating

Change-Id: I2afa4be6fa6cdb6f4a6210ae3bb4c1ee72fdfd05
/packages/apps/Calendar/src/com/android/calendar/DayView.java
2ea19fc7a1ae47035a8f84bbb6a18bd90b6f1091 08-Jan-2011 Michael Chan <mchan@android.com> b/3326392 Make room for the action bar in portrait mode

Change-Id: Iad7a84a893dd9983c281c8b67a4aad8b856d6854
/packages/apps/Calendar/src/com/android/calendar/DayView.java
f1495b68983082cb7d1cd625abefcd87dd58cf5f 06-Jan-2011 Michael Chan <mchan@android.com> Minor Week view tweaks

Fix day header alphas
Unbold hour

Change-Id: Ifaaa8f4fe0f6461e33af47fcf77d39599300d1ee
/packages/apps/Calendar/src/com/android/calendar/DayView.java
bf4aa400663a072813c87cf9c8aaee2d07abc945 05-Jan-2011 Erik <epastern@google.com> Work on pixel perfect for month view

Fixes off by one errors, spacing issues, and some color
issues.

Change-Id: I0038a3a6b6b5919533c95fa5e9eea51702d80954
/packages/apps/Calendar/src/com/android/calendar/DayView.java
eaafa2b48be7194a61754604ae37b3d62e9118d8 23-Dec-2010 Erik <epastern@google.com> b/3314295 Disables the view title and adds a date range

This puts the current date range to the right of the tabs and
turns off the view title. Also fixes the font size on the tabs.

Change-Id: I21b409001a62c74fa2d08d0f00c5a1f332edce3c
/packages/apps/Calendar/src/com/android/calendar/DayView.java
8f7a2b2fb82029bc23fce357d14f4484e80c13fd 05-Jan-2011 Michael Chan <mchan@android.com> Pixel perfecting week view

Change-Id: Ie03f09e8d22764811f7e40449ec1659d587780c0
/packages/apps/Calendar/src/com/android/calendar/DayView.java
cd405a28e6821b116dcf3c531805d0c90b6cc08c 23-Dec-2010 Erik <epastern@google.com> b/3130291 Make longpress jump to create new event

Change-Id: I8f6ce3c8bd597b88f1ab9cb70fdfce04142848b1
/packages/apps/Calendar/src/com/android/calendar/DayView.java
55a26d7062d5aa1a1b001b7271bb137276ab807e 22-Dec-2010 Erik <epastern@google.com> Fix event selection bug in recent change

Change-Id: I6e9725029f0668d44a71a754196f9155c5584bde
/packages/apps/Calendar/src/com/android/calendar/DayView.java
46a8b1117b0510a8dfd50586d5d22aa86b8dc1b9 15-Dec-2010 Michael Chan <mchan@android.com> b/3240249 Show the current time when Today is pressed.

Basically, always jump to the time specified in the event
except when the user taps mini-month.

Change-Id: Ia507107dfa0568a0c439f5d272f35793c04f1382
/packages/apps/Calendar/src/com/android/calendar/DayView.java
000ba1109e2f4e527e9227fe341598ceeb3fbca6 14-Dec-2010 Michael Chan <mchan@android.com> Updated to draw the horizontal grid on center in day/week views.

The framework recently got a fix where lines weren't drawn at the
center of the line (it was drawing on one side of the specified lines).

Change-Id: I43a5695fd8d06b88d1e15b0dd6a7a5377ba4c24d
/packages/apps/Calendar/src/com/android/calendar/DayView.java
1ba48526c2542484d91383c21d3d8e07db87df0f 13-Dec-2010 Michael Chan <mchan@android.com> b/3254371 Disable pinch while scrolling horizontally

Change-Id: Ifeb5872628419d6c8bc85a63f44788211b34799e
/packages/apps/Calendar/src/com/android/calendar/DayView.java
08ec68f143b718d300eb451047d3ba36dfae2e03 08-Dec-2010 Michael Chan <mchan@android.com> Performance improvements in day/week views:
- Don't draw events that aren't visible
- Don't loop through all the events when processing all day events
- Switched some ArrayLists to arrays

The side-effect of #1 fixes the problem where text that didn't fit an event that scroll
off the screen will be drawn on screen.

There are more improvements that can be done.
Instead of looking through all the events to draw each day, bucketize the events by day.

Change-Id: Ie97b4a1f2441f77168df2d44e2d0756a7ce27787
/packages/apps/Calendar/src/com/android/calendar/DayView.java
a7694eead7cbb293990bc89c3906e17bad36194c 08-Dec-2010 Erik <epastern@google.com> Add card style event view to search

This puts the read only card style event into search. Two big
todos for search are:
1)open an event by default on load
2)attempt to reopen an event when data changes, or open a new
default if the previous event was deleted.
3)re-examine the onPause saving behavior once b/3263703 is
resolved.

Change-Id: I52c2d26d683cfb478b163a7636c151b902a7a020
/packages/apps/Calendar/src/com/android/calendar/DayView.java
78f58c119af15ed85a727e16cddd793ced4c809d 02-Dec-2010 Michael Chan <mchan@android.com> Action Bar and Search Cleanup

Search
- Transparent background
- Solid date header between events

Action Bar
- Updated Icons
- Swapped the order or done and cancel in editevent

Change-Id: I45f6209e7fa720457cbe666d6349e639d1aec333
/packages/apps/Calendar/src/com/android/calendar/DayView.java
071d56d859b0c9f9c7f002e2bee98bc1bd0fc95f 02-Dec-2010 Daisuke Miyakawa <dmiyakawa@google.com> Modify the way how to determine Sunday/Saturday

- Utils#isSaturday(), Utils#isSunday() receives column
instead of dayOfWeek.
- It is innappropriate to use mFirstDayOfWeek to calcurate
Sunday/Saturday as the date isn't shown in one day view.

Bug: 3216209
Change-Id: Ic5f905c77862985cbbca19c50c172a32f99dbd81
/packages/apps/Calendar/src/com/android/calendar/DayView.java
d9dbab823d56bf596eedaecd0935037bd39d02c1 25-Nov-2010 Michael Chan <mchan@android.com> Fix fling and drag behavior in day/week view

- Changed the horizontal drag threshold from 50px to 1/7 of the view.
That's roughly one day. So if the user slow drags less than 1/7 of
the day/week view (to take a peek at the next week), it will snap
back. Otherwise, it will flip to the next day/week.
- Changed the horizontal fling threshold from 50 to 75. Any fling
less than 75 px will snap back to the current day/week.
- Fixed the problem where doing a fling while an animation is in
progress can lead to the new animation going wrong direction

Change-Id: I6e779d38e8ddc4bc19795f1db711c392b4ab71bb
/packages/apps/Calendar/src/com/android/calendar/DayView.java
ef2185bf0c7a80154a79788915db04d4f9e7ad4d 25-Nov-2010 Michael Chan <mchan@android.com> b/3210159 In Day/Week view, don't show yellow selection box
... if the app was launch to go to the current time.
There's a current time indicator already.

Change-Id: I823acb887120b6a7ea511f4cf4c8f5452a2d21d3
/packages/apps/Calendar/src/com/android/calendar/DayView.java
50f0a360d23d97a81405e1271359e5d8bc492c0f 25-Nov-2010 Michael Chan <mchan@android.com> b/3158955 b/3112683 Don't center to the selected hour when tapped.

Change-Id: I17677bb7883ad650a3149726116c94cdce788935
/packages/apps/Calendar/src/com/android/calendar/DayView.java
030803e32522be52a1ddeb436edbd024942d7c4f 22-Nov-2010 David Brown <dab@google.com> Fix broken DayView X position after a failed fling

When handling a fling gesture, we switch to the next or previous DayView
if the fling is long enough, and if it's more horizontal than vertical.

In the case where we *don't* switch, though, we still need to reset
mViewStartX to make sure we don't get left in a partially-scrolled state.

TESTED: Both week and day views. Originally I could reproduce the bug
very easily, now I can't.

Bug: 3197125
Change-Id: Iafd27d5246d7e0a25890b238ec7d414fc4c7e3b8
/packages/apps/Calendar/src/com/android/calendar/DayView.java
e98dd73c67205b01f5348271d9a7a630003ecf52 19-Nov-2010 David Brown <dab@google.com> Don't update the mini-month until the day or week transition finishes

Previously we would send an event to the controller (to update the
mini-month) as soon as we recognized the fling gesture. Now, we delay it
until after the ViewSwitcher animation finishes, to avoid a stutter at the
moment you lift your finger.

This also fixes an unreported bug where the mini-month wouldn't get
updated at all if you dragged left or right and then lifted your finger
without moving. (In that case we'd animate to the next or previous week,
but the mini-month would stay put.) That's fixed because we now send the
controller event from switchViews() rather than from doFling().

Bug: 3138116
Change-Id: Ib3ea9a9b356d802338dc9b33622a0a8dfcdad28b
/packages/apps/Calendar/src/com/android/calendar/DayView.java
1ec87639bd05857bcb2c4a0acc189c0ff413a287 19-Nov-2010 Michael Chan <mchan@android.com> b/3185081 fixed the gray box problem in all day event
Update day/week view per design spec
Cleaned up and removed some magic numbers, off-by-one issues

Change-Id: I92a233b6ac891f9c1ab7ae224dcd1091da6a657d
/packages/apps/Calendar/src/com/android/calendar/DayView.java
0a0f7f3b2ca79419d417626f11b119d5a8b92f45 13-Nov-2010 Michael Chan <mchan@android.com> b/3186856 Fixed a ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException: index=-1 length=21
at java.util.ArrayList.get(ArrayList.java:313)
at com.android.calendar.DayView.getEventLayout(DayView.java:1938)
at com.android.calendar.DayView.getSelectedLayout(DayView.java:1966)

Change-Id: I5eb44bb6bcc0ea563fc8705814f1d44028bd19e0
/packages/apps/Calendar/src/com/android/calendar/DayView.java
c5f92d7bdeb1950ace783cc022aa41a4b4f00cd6 12-Nov-2010 Erik <epastern@google.com> b/3188954 & b/3188992 Fixes uses of home tz

Change-Id: Ife639ea40b327c50648b693dce4d5fdb9c70186a
/packages/apps/Calendar/src/com/android/calendar/DayView.java
36a4668f603c432d08ad156cd7c731f9838c0212 11-Nov-2010 Michael Chan <mchan@android.com> b/3186856 Ensure that the width and height of event text are >= 0
If not, StaticLayout throws IllegalArgumentException

Change-Id: Ia7abec755987d70b6b4b0648755fa4155bda4674
/packages/apps/Calendar/src/com/android/calendar/DayView.java
f056fac66fe2845bfd88e9571f8fceb9180264a0 10-Nov-2010 Michael Chan <mchan@android.com> Cap the length of event text in day view to 500.
Smooth out the jitter for scale gestures
Clean up

Change-Id: If42b3b7748edd65918b83d9a860e8ea0571552a0
/packages/apps/Calendar/src/com/android/calendar/DayView.java
02041687c35441e8a21cb763f1fc3a26525292ef 09-Nov-2010 David Brown <dab@google.com> DayView performance: use drawLines() instead of multiple drawLine() calls

Bug: 3166290
Change-Id: Id4623581ae83135496923bb6f4a1e711635f9678
/packages/apps/Calendar/src/com/android/calendar/DayView.java
f63bf8348e504760a12d840c7107f326c0e2cada 29-Oct-2010 Michael Chan <mchan@android.com> Integrate Bidi patch into master branch
https://review.source.android.com//#change,18517

Disable ellisis to workaround framework b/3167132
Clip canvas draw region until we can set height for a StaticLayout b/3167128
Misc cleanup

Change-Id: I61b99c0a501a5ea9833b86058be914791b594f55
/packages/apps/Calendar/src/com/android/calendar/DayView.java
3e7015267340b09d142dfcd3ff8acda257711023 21-Oct-2010 Shachar Shemesh <lingnu@gmail.com> Draw events through a StaticLayout.

Less code, and supports Bidi much better (i.e. - BiDi is now supported).

Change-Id: Id279ceaf66abc8290cde9ce1b9e5e94ad551b6ea
/packages/apps/Calendar/src/com/android/calendar/DayView.java
d885c1a5876735bbf2c0086956101bd70bac37e7 26-Aug-2010 Michael Chan <mchan@android.com> Controls the numbers of hours shown via vertical pinch gesture

Change-Id: I3e951424bb4f8aae30e06dd64c59db3b74dc66a8
/packages/apps/Calendar/src/com/android/calendar/DayView.java
3937a47bc5a1afb9701e1d0565fae31f5800590d 02-Nov-2010 Erik <roboerik@android.com> First draft of turning on hardware acceleration

This enables hardware acceleration and does some tweaks to
the draws to make them still usable by the user. The draw
code still needs to be tweaked to match the UI design and
for performance.

Change-Id: Icf86e16e2e3a0c79b852fc48fcbdb1ffde656f73
/packages/apps/Calendar/src/com/android/calendar/DayView.java
9c1f7b6c194a42a39bacdaa25e887dc5f12ec478 02-Nov-2010 Michael Chan <mchan@android.com> Draw All-day events with new holographic theme. 1st draft

TODO
1) +X if more than 3 events
2) all day event column for day view

Change-Id: I537cc890316a69f256a816a4bf9b9141ab3af440
/packages/apps/Calendar/src/com/android/calendar/DayView.java
c29b2d3342d43c2662dd2fe51a28bc7e8acd7b36 26-Oct-2010 Erik <roboerik@android.com> Remove the bitmap draw/copy from DayView

This cuts out the code that did a separate draw to a bitmap
and then copied it over to the canvas and instead draws directly
to the canvas. This allows us to also have a background image
and speeds up draws significantly.

Change-Id: I3a7c396c182477dfe17e6d5d65acc45f986b9af5
/packages/apps/Calendar/src/com/android/calendar/DayView.java
11638ad4fb56b978770aebe75deac7a0e6ac60d2 26-Oct-2010 Erik <roboerik@android.com> Fix double fling in DayView and speed up scroll

The double scroll was that during a fling it was actually snapping
back to the current day then getting a goto event that caused a
fling. The speed issue is something with the background image
rendering, so we have temporarily disabled the background image
and a single color background is being drawn instead.

Change-Id: I8a986eb56e93b08051fa6892d41e3a7e4168f39a
/packages/apps/Calendar/src/com/android/calendar/DayView.java
ba902466b19b11d587468e354edc58e542707747 25-Oct-2010 Michael Chan <mchan@android.com> Enable selection hightlight

Change-Id: Icb62f8c32c70e4e282ab825c3e100d23ce49b70e
/packages/apps/Calendar/src/com/android/calendar/DayView.java
11ca73595534d2b2c18ab8c31a735c9e683c9379 23-Oct-2010 Michael Chan <mchan@android.com> Day/week UI tweaks
- Fixed the problem where the day clashes with the date in the 1 day view
- Remove selection colors for selected day and hour at the top and left respectively.
- Change to 9 hour days (enough to show text for 1/2 hour event)
- Draw a line through the calendar color square to show declined event
- Selection color applied to the event rect instead of the calendar color square
- Draw border around event and calendar color square
- Fixed some spacing layout issue

Change-Id: Iade405dfd051fcaa90a1122c003faadd05304e3b
/packages/apps/Calendar/src/com/android/calendar/DayView.java
c514df21767542285fe6cf333b148fff079a30f2 25-Oct-2010 Daisuke Miyakawa <dmiyakawa@google.com> Count all-day-events correctly.

Bug: 3070685
Change-Id: I4967fd62eb2453ee5d274ce5e7d6828cee646b14
/packages/apps/Calendar/src/com/android/calendar/DayView.java
1c90bad8385f481b754e66e80bb415b31f7bdfc6 23-Oct-2010 Daisuke Miyakawa <dmiyakawa@google.com> Fix possible memory leak.

mCanvas holds a reference to mBitmap, so MiniMonthView/DayView
may keep the content without nullifying mCanvas too.

Not 100% sure whether this fixes 2643197, but we should not
let mCanvas hold the reference anyway, and possibly fix the
persistent bug.

Bug: 2643197
Change-Id: I779b4ece61f55d1357598d8ded4b422ecaeea67f
/packages/apps/Calendar/src/com/android/calendar/DayView.java
3eea5ad7329f522d9fe091ca51ad09b809bba34b 21-Oct-2010 Michael Chan <mchan@android.com> Update Day/Week UI
Todo:
- All day events
- Pixer Perfect

Change-Id: I218f6a515d7c24ffbc89ee95dfc5a737c12b5456
/packages/apps/Calendar/src/com/android/calendar/DayView.java
27d671cdba3e8b50219def2c9e1118abe987f908 13-Oct-2010 Daisuke Miyakawa <dmiyakawa@google.com> Use long instead of float.

Bug: 3091447
Change-Id: I18bd22ee64181db4cd6f6c01cc42be919e8b543c
/packages/apps/Calendar/src/com/android/calendar/DayView.java
46b05ffc746a3150b6bad5d3a72138ffa38b0a99 29-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Make remeasure() consider relation between events.

This changes affect the logic in DayView but doesn't affect
that in FullMonthView/MiniMonthView, as they don't use
column values in Event class.

Bug: 3031917
Change-Id: I1815f065fe6c5d14cae995a79b70dd796b482439
/packages/apps/Calendar/src/com/android/calendar/DayView.java
731f1cb808b7586b93615b408ab2636081fab0dc 29-Sep-2010 Erik <roboerik@android.com> Add home tz support to day view

Change-Id: I59d1629ade69f355b51412b3086e9cc71dbcbd6d
/packages/apps/Calendar/src/com/android/calendar/DayView.java
697157470a6f0d8e7b806af9b4fb7fbe0bccae87 26-Aug-2010 Erik <roboerik@android.com> Make dayview display a consistent cell height

This changes how the number of hours displayed is determined. Instead of
a fixed number of hours this now uses a fixed cell height. Further work
to add pinch to modify is in progress.

Change-Id: Ia17ea31fb8f7522f4376f560a4f4276eef6a1216
/packages/apps/Calendar/src/com/android/calendar/DayView.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/DayView.java
344c69e88c32ea40386c40d420c83bece9c2d556 27-Jul-2010 Michael Chan <mchan@android.com> Tapping behavior for Day/WeekView
- Show EventInfo if tapped on an event.
- Select time block if not selected.
- Launch create event if taped on already selected time.

Change-Id: I6912e4dd9c82b95a162e28cde5a30a948696baed
/packages/apps/Calendar/src/com/android/calendar/DayView.java
d190418220467c02327dd9b3ae1eae238889720b 27-Jul-2010 Michael Chan <mchan@android.com> Rename CalendarView to DayView

Change-Id: I853131757d57fd1144a193d85c203c5f6aadab1f
/packages/apps/Calendar/src/com/android/calendar/DayView.java
4484b04707d5570a6de4a5a4b228a9bb273bbab7 27-Jul-2010 Michael Chan <mchan@android.com> Remove unneeded classes: MenuHelper, Day/Week View and Agenda/Day/Week/Month Activities

Change-Id: Id39e0529f6ff051de5deea23497b3f0f4f7fdb6b
/packages/apps/Calendar/src/com/android/calendar/DayView.java
75d9b567e1fd3b9c6945cd0afe28781f5a19c6c8 27-Jul-2010 Michael Chan <mchan@android.com> Bring up 1 Day View

Change-Id: I1ba771c71d9a4be4636b782ec8cb6f4793b33ed5
/packages/apps/Calendar/src/com/android/calendar/DayView.java
ef1a51d6dda6dd8a013bf0937f10c6eb2041b888 02-Jul-2010 Michael Chan <mchan@android.com> First draft of DayFragment

Change-Id: I6e39a4e3204ac7f964dc9b9f28fbd26989030611
/packages/apps/Calendar/src/com/android/calendar/DayView.java
146de36083f6ce8b7e8a1f974d3990594a36bfec 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Calendar/src/com/android/calendar/DayView.java
2cb8df4a54d65554c34faa79d8b2a46a86ff7b52 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Calendar/src/com/android/calendar/DayView.java
a390cbfd25a5f3b2f002df725b7580bc78bd9edf 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/packages/apps/Calendar/src/com/android/calendar/DayView.java