History log of /packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4e4e25a82e16872e6579af760eb17877decaceae 24-May-2012 Isaac Katzenelson <isaack@android.com> Fix NPE on rotation

Change-Id: Ie2248449bfc2b2ad36114afdea6a07b372e47fd4
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
a8133aacf45345c83fc02e2a6ddc86e62153eca8 11-May-2012 Isaac Katzenelson <isaack@android.com> move month fling mechanism into list view

Change-Id: Ia9d2ff84b4b533bc9b7f6b80889bf5319a3b601b
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
d1c319eb360191eddd0bde34b859f573fe4d6a33 10-May-2012 Isaac Katzenelson <isaack@android.com> Improve month fling

Change-Id: Ie4a43bcd97f01fe8ac1b5680b7ee9f2b94a802e2
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
031b14c2f2951feafc945c2a1691fd60bba4692b 09-May-2012 Isaac Katzenelson <isaack@android.com> More month view scroll fine tuning.

Change-Id: I50bbea1914c9f0c8ddb10c0dcfd26234fd8d4abd
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
1b5b37763f1541f7b3f6e27f13e9f82854bf8fe9 08-May-2012 Isaac Katzenelson <isaack@android.com> Fine tune month fling

Change-Id: If9e9723b288d809af2cd7adef6307726f4fde85c
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
59a44aa4bb3fac90f7ceab65da191e7fd81905f2 27-Mar-2012 Isaac Katzenelson <isaack@android.com> Add click animation to month view

Bug: 933832 Day/Week/Month - touch feedback missing when events are tapped
Change-Id: I8feb073654583a5bd2a698684c7b52134dcca8b7
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
4d2f035beb502dbd557fe31095c821d23b13608c 27-Mar-2012 Isaac Katzenelson <isaack@android.com> Improve month view animation

Bug: 5933969 Low frame rate when switching from Day/Week to Month

Change-Id: I67e17e22329823d7af38b028460b01fe8c1447d9
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
41cdd1a43d80054c6a336585c40169e1c5538fda 15-Feb-2012 Isaac Katzenelson <isaack@android.com> Alternate month colors in month view

Change-Id: I289538142ac1382e698056ab93e271686dfae0d0
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
2d30ee13aa8f1a4f0a11b91c316de64b3051d637 14-Feb-2012 Isaac Katzenelson <isaack@android.com> Fling month view one month at a time.

Bug: 5933578 Month View - Fling should stop at month boundary

When doing a fling motion on the month view perfrom the
following behavior:
1. Short fling - default fling behavior.
2. Medium fling - fling one month.
3. Long fling - fling a few months according to the fling velocity.

Change-Id: I16545dcc7960262dd28e5bf3f49b2b3612bebc51
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
252146bdc851f719a53a7ddf3178ec8dbd2e8281 01-Nov-2011 RoboErik <epastern@google.com> b/5534267 Fix day label alignment in month view

There was an old rule that made the label alignment not change in
detail view for month. The design has changed since then and is
now incorrect, so this removes the extra code for doing that.

Change-Id: I8504f55dc24c20241341647c74cb5ddc12aeafb7
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.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/month/MonthByWeekFragment.java
4cff9b80858a09ec526d42d93b51f4826a8639d4 28-Sep-2011 RoboErik <epastern@google.com> b/5382175 Add selectedTime to updateTitle event

We weren't setting the controllers current time when updating
the title which caused it to not correctly update the spinner
in the action bar.

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

Change-Id: Ifce8eed10172b6a41b945abb5a18613f975587dd
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
bb111d4d43ae96f3e74ba904f8c113f47553385b 27-Jul-2011 RoboErik <epastern@google.com> b/5081469 Fix bug caused by fw bug fix

https://android-git.corp.google.com/g/#change,123835,patchset=2
fixed a bug in fw which caused us to lose track of our loader.
This fixes that.

Change-Id: I0a1a699d6f046dde153e6a535bd6e5b7e6c8df02
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
a50f3172fdb7666f684f190d55d7ed701762fa3d 21-Jul-2011 RoboErik <epastern@google.com> b/5050084 Make month title update during flings

This makes it so the title will continue to update during a fling
but not the highlight. Also comments out the snap to week code
which the designers decided they don't want anymore.

Change-Id: I7865b62df0c530bdd52410344810400d759b1ce8
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
a8de05eced810707676281ffc9cb0e4ad5e1a3ef 21-Jul-2011 RoboErik <epastern@google.com> b/5045703 always hide declined in dna

Change-Id: I0b3941fee9448a1774e067cf13b9b0857b32b19d
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
2be617ee36c587a97fe171acf90ed23683be2d80 30-Jun-2011 RoboErik <epastern@google.com> Clean up day and date labeling and colors

Change-Id: If8289b70b35a4f49126bffb589f76ed114a027ed
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
092caec951caa0fabcd51729678e3ddcd6ca2f03 23-Jun-2011 RoboErik <epastern@google.com> DNA in mini-month!

Now in ColorVision!

Also a bunch of fixes to how we figure out
the x position for drawing stuff and some visual tweaks to get
closer to the design.

Change-Id: Ifc285ebd854c0f3a33902fe5fde73290ead4c9e0
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.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/month/MonthByWeekFragment.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/month/MonthByWeekFragment.java
b9b34ea19f7b74f6d9dceccc19cc110d68291c74 04-Mar-2011 Michael Chan <mchan@android.com> Clean up

Change-Id: I90d04b6a44642cca4e7065f3d0ed7cd2a5b70b1d
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
0271b412913bb157c92f6e42edcf535b1d3331e2 02-Mar-2011 RoboErik <epastern@google.com> b/3385145 Use current time for new events in monthview

This adds a fix so that if the user taps today and ends up
in the current month (doesn't stop the scroll prematurely)
and then taps the new event button the app will use the
current time instead of the default time for that month.
Also adds a fix so tapping the create event button will
always create an event on the half hour.

Change-Id: I709df6dbab4d216884f755c8703a325ae30cfa91
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
ff982e820f7c1e5f369ea71bf1e6fc511778bac4 01-Mar-2011 RoboErik <epastern@google.com> b/3497123 Fix sorting of non-allday events

Moving 24+h events to allday caused more issues. This queries
non-allday and allday events separately so they all end up in
their respective correct ordering.

Change-Id: I2028346969f38cf72587f6e80fc7e8f005819fc3
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
bdd7af6fb85c67e3156feee2e898906cb4c53f34 24-Feb-2011 RoboErik <epastern@google.com> b/3393896 Make Today stand out in minimonth

Now with fake bold and midnight updates!

Change-Id: If852d2246da6b653a6e9481242c200eb64852a2f
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
63cd053150e00fde045b019dbe0f48b8a9ed3559 26-Jan-2011 Erik <epastern@google.com> b/3395354 Make month view always go to correct time

Also makes month views not animate if they're moving more
than two visible ranges and fixes a bug with popups not
being created after pressing home and then launching an
event from the widget.

Change-Id: I5cf32170227f839e14af018141efe0224d324497
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
e3ab9ec7b0d7001b93a25f55556529f6a1fb1871 25-Jan-2011 Erik <epastern@google.com> b/3384018 Make month view refresh after instances change

The loader's observer watches the cursor, which cp2 doesn't send
updates to correctly. This ties month view in to the app's CR
observer so it will update when the db gets updated.

Change-Id: I00a8fe4b60f2d95e639ee97f5f5dfda3db857026
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.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/month/MonthByWeekFragment.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/month/MonthByWeekFragment.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/month/MonthByWeekFragment.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/month/MonthByWeekFragment.java
0ac1b7644ce0c4f0c72482f553872a83cbf10032 22-Dec-2010 Erik <epastern@google.com> Fix loader issue in month view

The loader for events in month view wasn't reloading when we
updated the params. Adds a call to onContentChanged to force a
reload.

Change-Id: I8cecbb9b31057fd08cf6974c2bc6d9b966108992
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
1d6d7c6fee68b1641ce8664caf5d6832bf6bb618 16-Dec-2010 Dianne Hackborn <hackbod@google.com> Prepare for some changes to LoaderManager/Loader.

Sorry it is a bit ugly, it is to allow this change to be
checked in prior to the first stage of the framework change
without breaking the build.

Change-Id: Id33ecd2aabf7fa50ceb9a1b6ac8ddf2bf0745ac6
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
e21674aefc9755ba519dfc5b3ff4348be4814903 24-Nov-2010 Erik <epastern@google.com> Renames simple month files to fit fw naming style

Change-Id: Ic1b3833f943d91d6d87e9d93696e745d0b4000e7
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
ca56a02bc75ca52eca0c2670be0ee4146f292624 24-Nov-2010 Erik <epastern@google.com> Comment simple fragment, cleanup code, fix a couple bugs

Fixes miniMonth launching DayView instead of staying in WeekView,
a loading error when the app is initially launched in month
view, and makes it so the time in week/day view will only get
changed if the user scrolls to a new month (instead of always
going to the middle of the month when toggling between month and
week view).

Change-Id: I824a7937199cdbe8f55d6ea70e53013f6230e02b
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.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/month/MonthByWeekFragment.java
91b01ed605e36fc5a7a924c226597a62c789b50d 23-Nov-2010 Erik <epastern@google.com> Fix support for arbitrary week lengths

Change-Id: I11bf2b2070ba78d426d4bac49f693d0c816f64a0
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
db08870a2c8b9de543705eed2f296a8018f00a05 23-Nov-2010 Erik <epastern@google.com> b/3221589 Fix NPE if onResume gets called while the activity is being destroyed

Change-Id: Ie60b52ff66cfb0dc8bdcbd87446e5a39f28b70e0
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
144edfa3f69dd13d2ae5f107a8f4d422f11dc620 22-Nov-2010 Erik <epastern@google.com> Fixes some bugs with full month view

1. The background on mini-month was lost, put it back
2. switching between month and week kept moving the date back.
--Now it moves to the middle of the month if you swap back and forth and then sticks

Change-Id: I2a072e4829ae9d5450202d27ea852033fcc315d9
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.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/month/MonthByWeekFragment.java
3553621c824afe1f3eacbe8555678005ca1264a1 12-Nov-2010 Erik <epastern@google.com> More work on making full month view use listview

This adds new classes and further cleans up the simple views
in prep for moving the full month view over to using a list view.
In this change the view has not yet been switched in the main
app. Also fixes b/3197307.

Change-Id: I032af9037f5b2c8a7b7ed7f1c5e115296077e0dd
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
82b318634af1b6594e60cfd1f2df4d3845f80587 10-Nov-2010 Erik <epastern@google.com> Refactors mini month, adds initial full month list view support

This refactors the mini month components to extract base classes
that can be used as general purpose date pickers. There will still
be work necessary for moving the base components into frameworks
including refactoring necessary methods into public api. Some
initial support for loaders is also added in this change.

Change-Id: I9437a2615dc1b575867fe61b47c3d1abbe0e4d0e
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
124b831510317b41acf3e391b25882a785272654 04-Nov-2010 Erik <roboerik@android.com> Adds day of the week headers to mini-month view

Also cleans up some of the visuals for drawing each week:
-Draws week separator lines all the way across
-Correctly places week number

Change-Id: I6a4980d3450582369899e0e839405d13641276ed
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java
981874e61ecf29a96a77601a3172b2503b6537ee 06-Oct-2010 Erik <roboerik@android.com> Work on making month view a list view

This reworks mini month view to use a list view for scrolling to
improve efficiency. Also has some code prep for extending to
full month view and redoes some of the visuals to be closer to
the design doc.

Change-Id: I83d1b5bc8c2386094357225f9638a4830fec955e
/packages/apps/Calendar/src/com/android/calendar/month/MonthByWeekFragment.java