summaryrefslogtreecommitdiffstats
path: root/src/com/android/calendar/DayFragment.java
Commit message (Collapse)AuthorAgeFilesLines
* DayView events cross fadeIsaac Katzenelson2012-04-121-1/+5
| | | | | | Bug: 6273638 Cross fade when events appear in Day/Week Change-Id: I8329f8350c939a446c949adc73816df5b7c65c1f
* Fixed the problem where scroll has no momentum after a goto (today).Michael Chan2011-12-061-0/+1
| | | | | | | | To repo: Go to day or week view. Scroll forward 2 days. Hit Today. Scroll up or down. Bug: 5683909 Change-Id: Ia70d64daf7eb7c81b25418e50a0998b7f227da6e
* b/5045933 Highlight the current day/time when Today button is pressedRoboErik2011-10-041-5/+6
| | | | | | | | 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
* Fix warningsMichael Chan2011-08-191-14/+0
| | | | Change-Id: Ia28012de0cba552cee8e312c122ae5a3e672c541
* b/5045764 After tapping on a day from Month, back will take you back to monthMichael Chan2011-08-121-1/+1
| | | | | | Previously, back will kick you out of the app Change-Id: I2e1c36442b99017fbfe7f1e990a24f15ded4bee9
* Fix a NPE I ran intoRoboErik2011-07-201-1/+10
| | | | Change-Id: Ib6f73d7692b199c6641e92be1c90453b83b0ac9b
* Clean upMichael Chan2011-03-031-34/+0
| | | | Change-Id: I90d04b6a44642cca4e7065f3d0ed7cd2a5b70b1d
* b/3366455 Make sure all views update their time lineErik2011-01-201-0/+1
| | | | | | | | | 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
* b/3185697 Update start day of week after changeMichael Chan2011-01-191-2/+2
| | | | Change-Id: Id581e9df67cfe4d7fbbb10ee1e0452bc4a298709
* b/3369953 Fixed mini-month start date for home tzErik2011-01-191-1/+3
| | | | | | | | | 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
* b/3333788 Have a notion of selected time in addition to start/end timesMichael Chan2011-01-121-1/+1
| | | | | | | We now support controller commands such as "Go to week view showing Jan 1 to Jan 7 and select Jan 3" Change-Id: Ifcbed2eeaa7005965a0cec61fb264eae7dc2ff2c
* b/3264725 Week/Day: Remove stale events from the "next" view when events changedMichael Chan2011-01-111-0/+3
| | | | Change-Id: I4a4a42548eba1af7f61338df7b81af9801a74b5f
* b/3314295 Disables the view title and adds a date rangeErik2011-01-051-0/+2
| | | | | | | 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
* b/3240249 Show the current time when Today is pressed.Michael Chan2010-12-211-20/+15
| | | | | | | Basically, always jump to the time specified in the event except when the user taps mini-month. Change-Id: Ia507107dfa0568a0c439f5d272f35793c04f1382
* Clean up unused API from controllerMichael Chan2010-11-231-18/+1
| | | | Change-Id: Ibcd9fd6797b6562d9e3a480ad3eb0efed6894efc
* Finishes making full month use list viewErik2010-11-191-1/+12
| | | | | | | | 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
* b/3125495 catch npeMichael Chan2010-10-281-0/+3
| | | | Change-Id: I37c11ceecc2de83723d36088333107565131100d
* Update Day/Week UIMichael Chan2010-10-201-29/+1
| | | | | | | | Todo: - All day events - Pixer Perfect Change-Id: I218f6a515d7c24ffbc89ee95dfc5a737c12b5456
* Make views refresh when db is changedErik2010-08-101-2/+5
| | | | | | | | | 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
* Rename CalendarView to DayViewMichael Chan2010-07-271-17/+17
| | | | Change-Id: I853131757d57fd1144a193d85c203c5f6aadab1f
* Remove unneeded classes: MenuHelper, Day/Week View and Agenda/Day/Week/Month ↵Michael Chan2010-07-271-21/+0
| | | | | | Activities Change-Id: Id39e0529f6ff051de5deea23497b3f0f4f7fdb6b
* Bring up 1 Day ViewMichael Chan2010-07-261-3/+6
| | | | Change-Id: I1ba771c71d9a4be4636b782ec8cb6f4793b33ed5
* 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
* Fixed the problem where the first day shown is always sundayMichael Chan2010-07-211-4/+2
| | | | | | Fixed the problem in compareToVisibleTimeRange which caused unnecessary view flips Change-Id: I67b7f39aa978a797bf85d987ffae0cc2085e9411
* Modified ActionBar to send events to ControllerMichael Chan2010-07-141-0/+18
| | | | | | | | 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
* First draft of the controllerMichael Chan2010-07-111-18/+54
| | | | | | | | | | | | - 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
* First draft of DayFragmentMichael Chan2010-07-021-0/+300
Change-Id: I6e39a4e3204ac7f964dc9b9f28fbd26989030611