History log of /packages/apps/Calendar/src/com/android/calendar/DayFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/DayFragment.java
d9c9a548ea5b0862482b6079c2e1a581c4f6b899 07-Dec-2011 Michael Chan <mchan@android.com> Fixed the problem where scroll has no momentum after a goto (today).

To repo: Go to day or week view. Scroll forward 2 days. Hit Today.
Scroll up or down.

Bug: 5683909
Change-Id: Ia70d64daf7eb7c81b25418e50a0998b7f227da6e
/packages/apps/Calendar/src/com/android/calendar/DayFragment.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/DayFragment.java
17c0cea5c4e5eee7b6c1676038e9223dd971007b 20-Aug-2011 Michael Chan <mchan@android.com> Fix warnings

Change-Id: Ia28012de0cba552cee8e312c122ae5a3e672c541
/packages/apps/Calendar/src/com/android/calendar/DayFragment.java
fb0ec227f0d4b3108438c88a6b6d234f5e40fb5c 13-Aug-2011 Michael Chan <mchan@android.com> b/5045764 After tapping on a day from Month, back will take you back to month

Previously, back will kick you out of the app

Change-Id: I2e1c36442b99017fbfe7f1e990a24f15ded4bee9
/packages/apps/Calendar/src/com/android/calendar/DayFragment.java
a60657d3f50d8943f27b9e649953690d797cc7f9 21-Jul-2011 RoboErik <epastern@google.com> Fix a NPE I ran into

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

Change-Id: I90d04b6a44642cca4e7065f3d0ed7cd2a5b70b1d
/packages/apps/Calendar/src/com/android/calendar/DayFragment.java
4d090a71665abd77cbf6dd582915acd24bd8f741 20-Jan-2011 Erik <epastern@google.com> b/3366455 Make sure all views update their time line

If you switched to the week before or after the current week,
then went home, then returned to calendar, then switched back to
the current week with a fling the current time updater wasn't
being run. Made sure that all views keep track of the current time.

Change-Id: Ibcddf9cbbc2ab3cf1f747d4795490c981d9eb389
/packages/apps/Calendar/src/com/android/calendar/DayFragment.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/DayFragment.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/DayFragment.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/DayFragment.java
03f5c96b8163de6709e2b1fa1df61eb15f5958f6 11-Jan-2011 Michael Chan <mchan@android.com> b/3264725 Week/Day: Remove stale events from the "next" view when events changed

Change-Id: I4a4a42548eba1af7f61338df7b81af9801a74b5f
/packages/apps/Calendar/src/com/android/calendar/DayFragment.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/DayFragment.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/DayFragment.java
ab348bbe0f26896407e0ae22dae76106839fc87b 23-Nov-2010 Michael Chan <mchan@android.com> Clean up unused API from controller

Change-Id: Ibcd9fd6797b6562d9e3a480ad3eb0efed6894efc
/packages/apps/Calendar/src/com/android/calendar/DayFragment.java
40bcd101b212c9863c3110c05a487a7ae6ebc3ca 17-Nov-2010 Erik <epastern@google.com> Finishes making full month use list view

This is the last piece to get parity with the old month view code
using a list view for rendering the month. This version should be
much faster. Also fixes a couple more bugs with home time zone.

Change-Id: I7661ef7cf0290d714d7c053155ad6048355d8a3e
/packages/apps/Calendar/src/com/android/calendar/DayFragment.java
e6131a56b85db5a26639aa4e22e1f266c63b2da8 29-Oct-2010 Michael Chan <mchan@android.com> b/3125495 catch npe

Change-Id: I37c11ceecc2de83723d36088333107565131100d
/packages/apps/Calendar/src/com/android/calendar/DayFragment.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/DayFragment.java
954c871f4753d3182314d7027c0dd17c236d9ca7 06-Aug-2010 Erik <roboerik@android.com> Make views refresh when db is changed

Added code to trigger a refresh of all views when the calendar db
is changed. The observer is managed by AllInOneActivity which sends
notifications through the CalendarController to the individual
fragments. Also fixed a bug where we were creating an extra DayFragment.

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

Change-Id: I853131757d57fd1144a193d85c203c5f6aadab1f
/packages/apps/Calendar/src/com/android/calendar/DayFragment.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/DayFragment.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/DayFragment.java
0558defd2215696cee0768ce2bf2cb4da56efc42 23-Jul-2010 Michael Chan <mchan@android.com> Added getInstance method for CalendarController
This is unique in that it creates a singleton for each Activity/Context.
Fixes NPE b/2835494 b/2859217 b/2859195

Change-Id: I986fb72cc1f1cd876694f142e9f136b065c7d0e0
/packages/apps/Calendar/src/com/android/calendar/DayFragment.java
487552be8ae3c1b148211c0fbf594d2b73727fd6 21-Jul-2010 Michael Chan <mchan@android.com> Fixed the problem where the first day shown is always sunday
Fixed the problem in compareToVisibleTimeRange which caused unnecessary view flips

Change-Id: I67b7f39aa978a797bf85d987ffae0cc2085e9411
/packages/apps/Calendar/src/com/android/calendar/DayFragment.java
3458a1775920dda53099b7f1913cd4ec4c8b4095 14-Jul-2010 Michael Chan <mchan@android.com> Modified ActionBar to send events to Controller
Modified the Controller to switch day/week/month fragment when it receives a goto event with a view specified.

Switch to using FragmentTransactions for adding views to each pane

Change-Id: Ifedfe860008882311f7d41447348fb1520aa5233
/packages/apps/Calendar/src/com/android/calendar/DayFragment.java
83b0fe36b523192a504a1d2baf2f36676a80b9d5 09-Jul-2010 Michael Chan <mchan@android.com> First draft of the controller

- Controller calls registered views for registerd actions/events.
- Launch with centering on time from intent or current time if no intent
- Set Action bar title (although it includes the day for debugging purposes)
- Modified the goTo methods in month and day fragments so that it will only flip views as needed.

Known issue:
Event filtering code is there but it doesn't work yet.

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

Change-Id: I6e39a4e3204ac7f964dc9b9f28fbd26989030611
/packages/apps/Calendar/src/com/android/calendar/DayFragment.java