• Home
  • History
  • Annotate
  • only in /packages/apps/DeskClock/src/com/android/deskclock/widget/
History log of /packages/apps/DeskClock/src/com/android/deskclock/widget/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3de6101352a49cb7f70a42d0a00cfe68cd78a23a 14-Oct-2013 Isaac Katzenelson <isaackatz@google.com> Fix content description of time in alarms list

Bug: 11169940
Change-Id: I90ae1606097e9e1ba218ae72e56a97d63da9e48e
(cherry picked from commit 8d96e0448699b7b9d36fd8d82c7738ed526673cd)
extTime.java
f9c17a244f7ac320808b45cf4d9d4bbe8c5343c0 11-Oct-2013 Isaac Katzenelson <isaackatz@google.com> Use best time formatting for widget

Bug: 11119295
Change-Id: I7d463eb5d4ab7268fdfdfc38613042a45dd901e6
(cherry picked from commit 8b8542c44a744b7afc5c9af34bbfec924e13a963)
extTime.java
6963d4e54776a1b848fbd7e2c7535e7aef2e3740 10-Oct-2013 Isaac Katzenelson <isaackatz@google.com> Use best time formatting for clock - part 2

Bug: 11119295
Change-Id: I72fed7082b13b12863af1b79ce4b0a15ef554216
(cherry picked from commit 3a4ba0db218b830af3dd17fde2952125a2e50fdc)
extTime.java
8ecc6f2c6e1697940bf611d5e3e830dd9c590643 30-Sep-2013 Alon Albert <aalbert@google.com> Replace DigitialClock with TextTime

Bug: 10823373
Change-Id: I67a5baf46fb7273130eb2ad3fdcac497f96a1ea5
(cherry picked from commit 1f33a02b053c1de549f2d3bf23df93d83defac98)
extTime.java
5a20d3df4f265058adc639cfbc2db701f1c4d711 14-Sep-2013 Robyn Coultas <coultasr@android.com> Fixed incorrect child measurement

Bug: 9367918

The measurement specification EllipsizeLayout gave the child views
did not cause the child to return the width it could use, but instead
it just returned the value it had in the original layout measurement
cycle.

Change-Id: I46d5a8e6582eb21725251376eccf57fac57d4817
(cherry picked from commit 600418628ff5c3c98847d825ae370d7803377a05)
llipsizeLayout.java
f8d45553007a3447953eb3bc40715d7e80a8ba89 13-Sep-2013 Isaac Katzenelson <isaackatz@google.com> Adjusting logs for timers

Bug: 10686452
Change-Id: Ia7227985d3fb851fea3975a29a9b7a953656b0f3
(cherry picked from commit d73459eee307459d478983e00b2a4084c6e8273b)
gv/ReorderHelper.java
gv/StaggeredGridView.java
148c8e33b6ad80f51163d06786628a0e303b3a40 07-Sep-2013 Sam Blitzstein <sblitz@google.com> Fix timer gridview animations.

Bug: 10516184
Change-Id: I75fe04af25281179a11c7118ab844b23d5bec3bb
(cherry picked from commit 1aa24a276dd7aa4f92f6e443bcd8279cf70d14a8)
gv/SgvAnimationHelper.java
gv/StaggeredGridView.java
f772f7438f4a98ddde6eaf49d73d551e46425d93 30-Aug-2013 Sam Blitzstein <sblitz@google.com> Use Keep's StaggeredGridView for timers.

Also update header and background layouts.

Bug: 10516184
Change-Id: Ibe73ce965acb11796c21e9df4b35e6bb830aabb3
(cherry picked from commit 4c68a4b737d7776fd23e857eb612f89c6dba3ec0)
gv/GridAdapter.java
gv/OverScrollerSGV.java
gv/ReorderHelper.java
gv/ReorderUtils.java
gv/SgvAnimationHelper.java
gv/StaggeredGridView.java
3bc02950da8c14ec04199043f41a9ffc13290c8d 12-Aug-2013 Sam Blitzstein <sblitz@google.com> Move alarm to its own tab.

Also animate alarm expansion.

Change-Id: Icdebc6a18f34cfe55af70491d07dde4b1dc675c5
wipeablelistview/LogTag.java
wipeablelistview/LogUtils.java
wipeablelistview/SwipeHelper.java
wipeablelistview/SwipeLayout.java
wipeablelistview/SwipeableListView.java
wipeablelistview/Utils.java
0ef61b9b14ec00c58c952deffe5f700838b65a9c 09-Mar-2013 Chet Haase <chet@google.com> Removing unused inner class DrawableWithAlpha

Change-Id: Ia4b97f5a2ea834b60dd754cd9d58f42efed062a1
ultiwaveview/TargetDrawable.java
eafb30c1b58818885bc01408effde84563bc5981 08-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> Slide unlock cannot get accessibility focus (deskclock).

1. There are two overlaid views, one is the GlowPadView and the
other is the SlidingChallengeLayout. Since the GlowPadView is
on top of the other view it has to consume the hover events or
they will be dispatched to the view behind it which results
the the GlowPadView not getting accessibility focus.

bug:7496770

Change-Id: Ibfb8ec1494600cb9bf3ab57867daa896735b2308
ultiwaveview/GlowPadView.java
ea6e9a11bdbb64ca4bde0ee9889ea20b115af737 12-Oct-2012 Robyn Coultas <coultasr@android.com> Optimize world clock layout

Bug: 7326209
Change-Id: Ie28836d3ba2b15d5156dc0f0021bf183fd300a18
llipsizeLayout.java
3012eefc84559507168982a7fc53dff667582b00 16-Oct-2012 Chiao Cheng <chiaocheng@google.com> Adding unlock-like slider control for alarm dismiss/snooze.

This is a re-addition of something that was previously added and then removed:
I65be41b889446ae7232488bfc2809bd2add93f6f

- Ported GlowPadView and helper classes over to clock app. Framework version
relies on a couple hidden api's so there are minor changes to the code.
- Added necessary drawables to support slider.
- Added special paddings for 7" and 10" tablet.

Bug: 7353387
Change-Id: I6101bebdb4be6f0208d171fbfadc4317f9fac675
ultiwaveview/Ease.java
ultiwaveview/GlowPadView.java
ultiwaveview/PointCloud.java
ultiwaveview/TargetDrawable.java
ultiwaveview/Tweener.java
2a6b929796cdcac7553c732d94e60d9b47dff859 12-Oct-2012 Chiao Cheng <chiaocheng@google.com> Add swipe protection around alarm on/off switch.

Prevent swipe to delete around the area of the on/off switch.

Bug: 7339299
Change-Id: Ia19ebffe1970cb58ac4c7c2fe5135a85cfbd73c9
wipeablelistview/SwipeHelper.java
aba3c451dccd54617947628045367c65febdee6b 11-Oct-2012 Chiao Cheng <chiaocheng@google.com> Major layout change for alarm list.

- Dim off alarms.
- Adjusted swipe helper to remember the starting alpha of the animated view.
This is required because an alarm may already be dimmed and thus not at
1f alpha.
- Change on/off buttons to switch.
- Change expand/collapse target to span width.

Bug: 7323086, 7317880
Change-Id: I9d9f0561c55dc8739372f93a695286123d29db80
wipeablelistview/SwipeHelper.java
af70181fffc83d61d949714b4893a37863e63c2e 09-Oct-2012 Isaac Katzenelson <isaack@android.com> Make accidental alarm deletion harder

Bug: 7308745

Change the thresholds for swipe speed and location so it is harder to
delete the alarm when swiping accidentally.
This is a temporary fix so we can postpone doing the deletion using CAB.

Change-Id: If06d08e838fa641b891594fddf061e8f6d889565
wipeablelistview/SwipeHelper.java
fa2e368e5f00fc8f78b9a47f55d86ccfc99750d2 07-Oct-2012 Chiao Cheng <chiaocheng@google.com> Changed "Off On" button to single text toggle.

Removing dual text on/off button as per UX discussin.

Bug: 7301302
Change-Id: Ide72b4d006090bc7064b09d480c2f16c66411641
extToggleButton.java
00c0d8672ea4741a23ff875ca1a992b8ad080e78 06-Oct-2012 Chiao Cheng <chiaocheng@google.com> Fixing unique primary key error.

The undo feature is re-using primary keys. The existing check for existing keys
is not 100% correct. Fixed by actually checking the database right before an
insert. Also wrap in transaction to guarentee atomicity.

Remove undo bar when action bar is used.

Updated alarm toast to be consistent with in-place editing. Anytime alarm is
enabled, toast will be displayed.

Bug: 7299177
Change-Id: Iedce94b2ddf06002c2da239af9299151d3e267ab
ctionableToastBar.java
0cb70993e26f300f92423bfced0d8cb3efc3f304 05-Oct-2012 Chiao Cheng <chiaocheng@google.com> Adding undo feature for alarm swipe delete.

Bug: 7288024
Change-Id: I5fdbeff6dd63a2ce56371d531f120aaf7da3a71a
ctionableToastBar.java
ce943dc24ab05b5b0742ec17e0510e58d2a66508 04-Oct-2012 Chiao Cheng <chiaocheng@google.com> Removing blue background for on/off button.

Bug: 7288361
Change-Id: I45da8d35b469b98ef6868d70247e3c8e5ed83d80
extToggleButton.java
2b99424fe59984b9efabae3920fb42e77e653786 03-Oct-2012 Sam Blitzstein <sblitz@google.com> Changed alarm alert back to buttons.

Bug: 7274296
Bug: 7266885
Bug: 7260959
Change-Id: I6188b9c99f5f7706ec79e522b97e8b273dc92727
ultiwaveview/Ease.java
ultiwaveview/GlowPadView.java
ultiwaveview/PointCloud.java
ultiwaveview/TargetDrawable.java
ultiwaveview/Tweener.java
5c3795c271bc6160f0ae2056627e9e96ffdc335c 02-Oct-2012 Chiao Cheng <chiaocheng@google.com> Completely new alarm list with in-place editing.

- No longer using separate dialog for setting alarms in the normal workflow.
Set alarm dialog is still needed to handle external extends. Fate of old
set alarm activity is still to be decided.
- Removed dialog theme for sw600dp screens.
- Added label edit dialog.
- Added custom on/off button to improve smoothness of clicks by increasing
hit box of clickable area.

Bug: 6164920
Change-Id: I19567658535f3ec78755328a147376a81d5363a8
extToggleButton.java
wipeablelistview/LogTag.java
wipeablelistview/LogUtils.java
wipeablelistview/SwipeHelper.java
wipeablelistview/SwipeLayout.java
wipeablelistview/SwipeableListView.java
wipeablelistview/Utils.java
30f1f6a8177e5742f4e8b67eb54b87d4f8bd2938 26-Sep-2012 Chiao Cheng <chiaocheng@google.com> Adding unlock-like slider control for alarm dismiss/snooze.

- Ported GlowPadView and helper classes over to clock app. Framework version
relies on a couple hidden api's so there are minor changes to the code.
- Added necessary drawables to support slider.
- Updated proguard flags so that introspected animation methods are not
stripped from slider widget.
- Changed lock screen view to be consistent with normal activity since existing
landscape width is not wide enough to hold new layout. Removed the need for
AlarmAlert. Using only AlarmAlertFullScreen now.

Change-Id: I65be41b889446ae7232488bfc2809bd2add93f6f
ultiwaveview/Ease.java
ultiwaveview/GlowPadView.java
ultiwaveview/PointCloud.java
ultiwaveview/TargetDrawable.java
ultiwaveview/Tweener.java