History log of /packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e0942157628776cff5573da8ce85fb3f3c3cfc35 09-May-2012 Mindy Pereira <mindyp@google.com> Fix event title font size.

Fixes b/6434236 Nakasi: Make month view text 12dps

Change-Id: I36e541236870d8fb3cc7c1f00e3ead2c0190841e
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.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/MonthWeekEventsView.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/MonthWeekEventsView.java
458a67d9a63836b4b08b24d58f4a91514de97268 01-Dec-2011 Andy McFadden <fadden@android.com> Change tablet month view event layout

Two changes to the way that events are presented in the tablet
month view. First, we no longer show the times for each event
(which appear on a second line, roughly doubling the vertical space
consumed) unless we can do so for all events on that day. Second,
all-day events now get a full-width rectangle to make them easily
distinguishable from non-all-day events.

Also, the decision for whether to use framed vs. filled boxes is
made based on whether the attendee status is INVITED, rather than
NONE (the former indicating an invitation you haven't responded to,
the latter indicating you created an event for yourself). This
brings the month view behavior in sync with the week view.

Bug 5567167

Change-Id: I986b92acc38e70774fa33e2aaeb063878e31c9a3
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
69f9b450fc255203b758f445163f371c22c816c0 18-Nov-2011 Andy McFadden <fadden@android.com> Reshuffle month layout code

Some changes to the code that renders cells on the tablet month view:

- Font heights were computed with ascent only. Now descent is
included as well.
- Padding constants that implicitly included font descents have been
trimmed to compensate.
- Font metrics are rounded to the nearest integer rather than
truncated.
- The "vertical space required" computation didn't match the rendering
code, causing us to show one fewer event than we could in certain
cases (e.g. portrait view with 5+ events).

The layout itself hasn't changed at all -- what we draw now is a
pixel-for-pixel match with what we had previously.

Relates to bug 5567167

Change-Id: I98c80e8454a68a418422ddd3153bddeddabf29f0
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
c76ed496f5aa09ec85cc304b70c527c73cf8243e 11-Nov-2011 RoboErik <epastern@google.com> b/5601898 Touch up month view for MR1

Change-Id: Ic1c7d9dd1cf9ab381a8e129568fa8c396ac945e0
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
a74b9e2e0c7dce78cf7e343a30d34accea0891cc 02-Nov-2011 RoboErik <epastern@google.com> b/5534275 Remove more events square in month view

Change-Id: Ib73ebbc998e397cf76ad9f24bc7dfcd9fa5b07a8
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.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/MonthWeekEventsView.java
210642aa1f8bec18f7275cddb9a3b50fad3f4218 15-Sep-2011 RoboErik <epastern@google.com> Update declined event color treatments across app

Change-Id: I7c049e783cf5cc1bcc8e10b90402d98afd917830
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
da532a723613001f1175c067aece5f859d079bfc 01-Sep-2011 RoboErik <epastern@google.com> b/5248106 Account for show week num in month view

Change-Id: If259d3bb4a221683da8505ba2441bef04ad1fb8f
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
f658df6b9c285f24c45cdca3ab90f2ca65e5b7cf 01-Sep-2011 RoboErik <epastern@google.com> b/5163556 update visuals for tablet month view

Change-Id: Id3b4235c0124947ebdbe1a235df2775874a08833
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
aeebdbcf782a531bc972078cf05e70f21112ecaf 31-Aug-2011 RoboErik <epastern@google.com> Fix allday event accessibility message

Change-Id: Ie4f44fbb882362464b5fc9c9ab7029a8472c2189
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
044a43c3c1789ba93d83ae68d799d94dc4e4ecf2 29-Aug-2011 Michael Chan <mchan@android.com> Fixed crash where tapping on a day in month
before events are loaded and touch exploration is on.

Change-Id: Ifb68579a6379afdcc79e4090c109fcbf47a83929
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
93c08b7693d8246305c75dc2416f70321ce9c1a2 26-Aug-2011 RoboErik <epastern@google.com> b/5216482 Final tweak to simple month views

Change-Id: I4680e69b7414b78e13471c6da89d47b60b83524f
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
f9cb58df1deab65ad426d7997fe3e3fdfeef2850 26-Aug-2011 RoboErik <epastern@google.com> b/5216482 Add state to calendar visibility accessibility events

Change-Id: I6972ba13c498d75d1a8036309455e6a86368da8a
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
4aabaae0bd9d59b7ef3ff43c58c040da68454484 26-Aug-2011 Erik Pasternak <roboerik@android.com> Revert "Don't do accessibility work if accessibility is off"

This reverts commit 2fbcd2ae057254bfaae2fc077fea7365cea70761
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
2fbcd2ae057254bfaae2fc077fea7365cea70761 26-Aug-2011 RoboErik <epastern@google.com> Don't do accessibility work if accessibility is off

Change-Id: I3e4db448a5539ee87cdfabd1e804b20b277a7f69
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
67f16905cd1efe0fef4e86ff5ddea7069b80b98d 26-Aug-2011 RoboErik <epastern@google.com> b/5216482 add touch exploration to monthview

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

Change-Id: Ifce8eed10172b6a41b945abb5a18613f975587dd
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.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/month/MonthWeekEventsView.java
a8d8ebd77b91ea94f9d680d343ee1c891bec7f5c 02-Aug-2011 RoboErik <epastern@google.com> Visuals update of Month View on tablet

Swaps events/dates to be in line with phone. Adds responded
treatment to events. Makes better use of space.

Change-Id: I41def7b130b7dc0f5d38ecefc89d70c8bb0a4def
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
e9baa2499d9592343e30c983116e3f8dc921d3b0 21-Jul-2011 RoboErik <epastern@google.com> b/5056592, b/5056770 Color tweaks

Fixes month view grid lines and agenda view where

Change-Id: Icd671afe48a8444152ba12c7f30fdc1d24a0b03b
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.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/month/MonthWeekEventsView.java
7d66103066f04ba2b7c4ddfcfdafd0368ad9d9cb 07-Jul-2011 Andy McFadden <fadden@android.com> Unbundling tweak

Substitute getContext() for mContext, as the latter is not directly
accessible from an unbundled app.

Bug 4575374

Change-Id: Id0c9cbaf577ca9e1a73f9cd7c1c63a27e1d3d9eb
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
64d67bea6bdb8516c1685b0bb19bc217c3cbe14e 30-Jun-2011 RoboErik <epastern@google.com> Fix bolding and make today black

Change-Id: If20bb625cf9e9675570d063f05ddbe9dc79c6152
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
67d628eaed439a4b109e5e35f2d536c99680aaf6 29-Jun-2011 RoboErik <epastern@google.com> Month colors update for current month/today

Also bold today's day number

Change-Id: I367036e9b2314d277d98be9668fbeb38edde25b4
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.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/MonthWeekEventsView.java
3bff945d29d6ef277391745cd160f3bf16b98905 23-Jun-2011 RoboErik <epastern@google.com> First step of month view visual refresh

-Changes the line colors to white and makes them a single pixel
-Moves the month number right and busybits left on phones
-colors busybits light gray and black
-removes busybits background
-fixes font sizing issues

Change-Id: I9fe61b8eff5f04fe04aebcc707ba5b6274e05416
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
3f888688c0f2644ad3de032d5d1cf623a7b092fd 08-Jun-2011 Andy McFadden <fadden@android.com> Minor tweaks to support Calendar unbundling

A collection of minor changes:
- stop using VMRuntime.getRuntime().setMinimumHeapSize()
- access the View's context through getContext()
- don't use VisibleForTesting

Bug 4575374

Change-Id: I7328cd95728e96e3c772a96350c63271ee61ba8a
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
7203d809b39fb07caab177d8e8bd9428097b73b6 18-May-2011 Erik <epastern@google.com> b/4445335 Fix month view paint setup order.

The superclass was calling the method to setup the paint before
the sizes for fonts could be loaded the first time around.

Change-Id: Ie1ea295468610e001e018ac997aad1fc188a026e
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
71b9ce3a20ebaff8f7e40fc0e5ec2a388bcc394c 06-May-2011 Isaac Katzenelson <isaack@android.com> Show overlap time in BusyBits in month view

Change-Id: Ic298843a17f54eb4bb4d977d369d257926753d62
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
72a9459e1f4cec02ad9e8dbdf824d66920b762ee 05-May-2011 Isaac Katzenelson <isaack@android.com> Improved algorithm for BusyBits

Change-Id: I543d10c18e1968b3197d8d78c75182bba7bd8a2c
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
c18dd7aea8c8ee06dd34f268ea9e0e9e7c235b7f 19-Apr-2011 Isaac Katzenelson <isaack@android.com> Support events that span multiple days in "Busy Bits"

Change-Id: Ieccdc0b47e5ab474298512dd6b14832b5774d470
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
82400dd70331df7885dd59b809c4bc0667046320 15-Apr-2011 Isaac Katzenelson <isaack@android.com> Support for "Busy Bits" in month view

Change-Id: I80e4ab5c55113c3f15c396443c29351bb2dc60fa
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
3a814eb59a087d12bda420c02356534c8e51e670 15-Apr-2011 Isaac Katzenelson <isaack@android.com> Use config file setting for popping event with agenda view

Change-Id: I2b9eda4ab28970c4df13d56003bd8f01ef8670cf
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
ff5c4345f794ec12b0a92f284434ddc1c88ff3a8 15-Apr-2011 Isaac Katzenelson <isaack@android.com> Config file support for "show details in month"

Change-Id: Ib1249e21da0dbded9f459e11baee424d1ba2ad0e
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.java
96a0b5436f79157e8175b3b761fd5ccfe26a7f62 13-Apr-2011 Isaac Katzenelson <isaack@android.com> Support for combined Month/Agenda view

Change-Id: I37ce180b7a7f5dbc65e2c1f4737d76f56e6c4699
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.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/month/MonthWeekEventsView.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/month/MonthWeekEventsView.java
f445411ff661014c4b5a37e2f97552989e9278ec 15-Feb-2011 RoboErik <epastern@google.com> Fix crash in portrait with more than 4/day allday events

Change-Id: I66faf75f2e82ca84cd9d6c7cce4a1a476711f702
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.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/month/MonthWeekEventsView.java
ef896fda8812d5f31aa87e8e1525d6f9d8b61e9c 13-Jan-2011 Erik <epastern@google.com> b/3349218 Bug fixes to month view

Fixes day nums in month view being off by one and empty
space at the bottom in portrait mode.

Change-Id: I503529a2fb028c317da2a81211ae4da760cead12
/packages/apps/Calendar/src/com/android/calendar/month/MonthWeekEventsView.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/MonthWeekEventsView.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/MonthWeekEventsView.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/MonthWeekEventsView.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/MonthWeekEventsView.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/MonthWeekEventsView.java