History log of /packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/AlarmItemViewHolder.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0f88e650de100a240f9a3499cead3680c139927d 10-Sep-2016 Christine Franks <christyfranks@google.com> Adds animation for repeat days

Bug: 30766405
Test: Manual - expand and collapse repeat days
Change-Id: I0e240d5061b8cb1b0909815fbe10cb189a66e7d4
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/AlarmItemViewHolder.java
87f4b763f206cca755e7ce03baf3ef33c33be29e 07-Oct-2016 Sean Stout <sstout@google.com> Tapping timer text toggles timer state.

Bug: 31656192
Test: manual - tap timer text to toggle state.
Change-Id: Iaacc17b936d01c34d06306b668491df64497c1aa
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/AlarmItemViewHolder.java
647c0fcb5e8a87b87110c02a1d717ff801b41bd7 01-Sep-2016 Christine Franks <christyfranks@google.com> Alarm layout changes.

Add label icon and delete text to expanded alarm, and change the expand
and collapsed view holder layouts to use GridLayout.

Bug: 30769781
Test: Manual - matched the expanded alarm layout to new mocks
Change-Id: Id906cea18513ddedb24fae9e49cba707dbdaf578
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/AlarmItemViewHolder.java
511281ba1af2223bb2034733d347f7b841b9bc93 12-Oct-2016 Sean Stout <sstout@google.com> Change to use AccessibilityDelegateCompat for alarm items.

Bug: 32114318
Test: manual - Checked talkback on API 19, 23, and 25
Change-Id: I7c06c7fa1feaf96a270cbbfac059fd3892c79c58
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/AlarmItemViewHolder.java
340e7ec3ee120dbc567ba7118cd840bec883e925 22-Aug-2016 Christine Franks <christyfranks@google.com> Expand/Collapse animation

Fixes: 25421235
Test: Manual - 1) tap items to expand, 2) tap items to
collapse, 3) do so repeatedly, 4) tap an item while
another item is expanded, and 5) scroll.

Change-Id: I62a79281bc1b6bf98c44e13116abb8ff641fbb48
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/AlarmItemViewHolder.java
62a86d5b84bb7d8a8f5a5cf4f071323ca812a901 29-Sep-2016 Sean Stout <sstout@google.com> Talkback gives correct description for alarm view holders.

Bug: 29746209
Test: Manually tap expanded and collapsed alarm view holder.
Change-Id: Ifa64c154cc703959395441d077d3747c7201065e
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/AlarmItemViewHolder.java
5cfd2d323e7a1b39beecf4cd7c4d1cb429006534 04-Aug-2016 Christine Franks <christyfranks@google.com> Change snooze notification to 'Dismiss'.

Bug: 29984995
Change-Id: I49867b6f8ea099fd94cb1b241c0f227ed77fd172
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/AlarmItemViewHolder.java
659c1be632ffa006eee20069079b47dad3741fdc 18-Jul-2016 Sean Stout <sstout@google.com> Listeners only registered when itemHolder is no longer null

Bug: 30138019
Change-Id: I3d13143eec1d1124f7898f069658e52c55bbd17f
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/AlarmItemViewHolder.java
f6db24692cc99e7912e88a90661f6a5a4d626c21 20-Jun-2016 James Lemieux <jplemieux@google.com> Fix talkback for collapsed and expanded alarms

Bug: 29433244
Change-Id: I98b5e54f42b27859cffa21337a18246e15e370df
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/AlarmItemViewHolder.java
be4385190b52cd2b3e682d8b81faecfd5d3b2d78 19-Mar-2016 James Lemieux <jplemieux@google.com> Stop setting fixed 12-hour and 24-hour time formats in layouts

For quite some time, these time formats have been chosen dynamically
by ICU using the current Locale. They are fetched via
android.text.format.DateFormat.getBestDateTimePattern(...)

These static formats set in layout code are at best irrelevant and at
worst red herrings.

Change-Id: If29dd3d87307bb1a01deff5f48e99a51c1d93a95
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/AlarmItemViewHolder.java
2d8f84da53787e00b7b1258efcc3bb609307a98d 17-Mar-2016 James Lemieux <jplemieux@google.com> Remove unused Handler

Change-Id: I47a5b1e48001dcd22dd2e8823fc1dfaa7517d230
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/AlarmItemViewHolder.java
e9f16067e8618896f86de4dd6165719ddda83c9d 16-Mar-2016 James Lemieux <jplemieux@google.com> Fix the alarm list animations

Bug: 25421235

Specifically, after this change these animations are improved:

- create alarm
- delete alarm
- enable/disable alarm

When creating, deleting or mutating alarms the ClockProvider
is consulted discretely many times and produces many notifications.
This in turn causes many rapid reloads of the alarm data and
interrupts ongoing animations in the alarm list. To sidestep this
problem for the time being (until a larger refactoring can remove
the root problem of spammy provider notifications), updates to the
alarm RecyclerView are queued and processed only after the ongoing
animation completes.

Change-Id: Iec88fa944a498516424ca65744a11e46fe42d39d
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/AlarmItemViewHolder.java
07c1568abb89b9882e18b514fccf33d68c4266ec 12-Mar-2016 James Lemieux <jplemieux@google.com> Stop using dedicated view to indicate silent state of alarm

Bug: 23940484

Before this change a line existed in expanded and collapsed alarms
that would indicate "Silent ringtone" or "Alarm volume muted" for each
alarm. This has been removed in favor of a new design.

After this change, if the user selects a non-silent ringtone, a filled bell
icon is displayed next to the name of the ringtone in expanded alarm
cards. If the user selects the silent ringtone, an empty bell icon is
displayed next to the localized word "Silent".

A separate solution for incorporating "Alarm volume muted" will be
proposed in the future.

Change-Id: Ia4abdeb18434ab8fd8a7b45d2c49ead25ed6eab1
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/AlarmItemViewHolder.java
1692031401c9896805a35e31c152b12e6e663c51 07-Dec-2015 Dylan Phan <lerp@google.com> Add alarm volume muted indicators

Bug: 23940484

Also introduce ItemAdapter abstraction.

Change-Id: Ib308300c3a7493f7582e16734745d263a6179b09
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/AlarmItemViewHolder.java