261 Commits

Author SHA1 Message Date
Daniel Sandler
3679bf58fb Quickening.
+ Baseline align all header elements.
  + Make clock clickable.
  + Remove clock tile.
  + Reorder tiles.
  + Hide status bar behind panel on phones.
  + Make status bar peek animation show the whole header on phones.
  + Stop hiding status bar bits on phones.

Bug: 7350584 // baseline align header, make clock clickable,
Bug: 7351760 // hide status bar behind panel
Change-Id: I888752b64c56e80c3f5581fd8ee1cfd7c50eab7c
2012-10-16 23:21:26 -04:00
Daniel Sandler
101784e560 Flipping quick settings!
Bug: 7348917 ╰(°□°╰)
Change-Id: I16923d6d920913a4bd0d78666587ac579ac18da5
2012-10-16 02:34:09 -04:00
Daniel Sandler
e111ad300d No, that's German for "The Quick Settings, The".
Bug: ???????
Change-Id: I24ffb21b1566d98c9df6db48c4062390757cd8bc
2012-10-13 17:23:47 -04:00
Michael Jurka
071316e561 Use black bg in recents if using live wallpaper
Bug: 7282784

Change-Id: I686f8f0e36e3414ad30d23de80cbbfb2868069d4
2012-10-13 01:02:09 +02:00
Chris Wren
853a1ceae0 Merge "Copy date format style from keyguard." into jb-mr1-dev 2012-10-11 14:42:33 -07:00
Chris Wren
5fb18aa575 Copy date format style from keyguard.
Bug: 7312660
Change-Id: Ia5e728758bd1f2caa039ea6b8f8fa9abcc9f8417
2012-10-11 16:37:49 -04:00
Daniel Sandler
efb0faf1c0 Remove the double-swipe to access quick settings on phones.
On the plus side, the settings button is back!

Now that we have two buttons on the right-hand side it's
more important than ever that the notification panel header
not allow errant taps to go all the way back to the
notification panel, where they will drag/close it.

Bug: 7319756 // remove double-swipe
Bug: 7217201 // finally make the notification header black
Change-Id: I8b2d6c7a7cfaaed2bfbcd61fb45db9f234cb002d
2012-10-11 09:56:42 -07:00
Casey Burkhardt
d7059dfb9b Properly label RecentsActivity for accessibility.
Bug: 7229886

Change-Id: I440c7e9b9ef3272e287d5d4d58bcfc0e8d0735ac
2012-10-09 17:53:21 -07:00
Casey Burkhardt
bac221ff0b Accessibility enhancements within quick settings and notification shade.
Change-Id: I377c389abe3ce2285a620e60f4c8de4727f4f5c9
Bug: 7229886
2012-10-08 12:41:32 -07:00
Daniel Sandler
b88311685c Merge "Notification & settings panel help." into jb-mr1-dev 2012-10-07 13:51:57 -07:00
Daniel Sandler
b17a726f2f Notification & settings panel help.
Comes up the first time you touch the status bar; explains
where quick settings is, and even allows you to swipe down
to try it (instead of touching "OK").

Bug: 7209412
Change-Id: I72b1a91902e64b4623e0fcaf1555dc703870b59f
2012-10-07 14:48:24 -04:00
John Spurlock
01e2f4f522 Update quick settings wireless display tile per spec.
Bug:7178216
Change-Id: If917033930b0ba5a3ca0c7c8f574b069d5ecac6d
2012-10-05 17:33:31 -04:00
Daniel Sandler
4377d1494c Port unmerged notification changes from jb-dev to jb-mr1-dev
Bug 7150006

Single finger notification expansion.

If you liked these changes...

  Change Ie4e79aa5
  Change I8a6f8606
  Change I824937e9
  Change I957b6d50

You'll love this one!

Conflicts:
	packages/SystemUI/res/values/config.xml
	packages/SystemUI/res/values/dimens.xml

Fix notification gestures.

Broken by recent changes to ScaleGestureDetector, which we
were using incorrectly.

Conflicts:
	packages/SystemUI/res/values/config.xml
	packages/SystemUI/res/values/dimens.xml

Change-Id: Ie534c5b2d320296531a36a9b1c22f9dd6901e0b8
2012-10-03 15:27:04 -07:00
Daniel Sandler
db9a376278 Increase the anti-jitter threshold for status bar flings.
You must move the panel at least 20dp overall, or at a speed
of 150dp/sec or more (actually quite easy; most normal
flings are 500dp/s or more) for it to be considered a fling.

Bug: 7179458
Change-Id: Ic1f4edc641cd2aa1cde89b2ee02eefdf5a0cc044
2012-10-03 15:27:40 -04:00
Michael Jurka
f175525be4 Merge "Fix bug 7138446: Icon blips in during Recents animation" into jb-mr1-dev 2012-10-02 12:28:38 -07:00
Michael Jurka
9bdaada95c Fix bug 7138446: Icon blips in during Recents animation
Add animation where icon and description of the
primary activity fades and translates in

Change-Id: Ie21b5302ac9e58ee6af219b7cde98d12a8e82697
2012-10-02 21:18:26 +02:00
Chris Wren
a64544748d renaming Sleep Mode feature.
Bug: 7267485
Change-Id: If54495436f0df1c0bf90f9bb77b043e40884bbd7
2012-10-02 10:40:57 -04:00
Daniel Sandler
6e061919f3 Merge "Prop the tablet notification panel open a bit." into jb-mr1-dev 2012-09-28 10:47:45 -07:00
Daniel Sandler
e680f5483f Prop the tablet notification panel open a bit.
It will now occupy at least 40% of the screen, vertically.

Bug: 7069227
Change-Id: I540388f6988bee591aee5b7aee1e4d25d08fad96
2012-09-28 12:22:27 -04:00
Daniel Sandler
13522a2e40 Fix panel handles on large screens.
Bug: 7171620
Change-Id: If8445210fe654aa0b8ba508f4e6f93ad6d4fca14
2012-09-27 15:08:28 -04:00
Winson Chung
c86b23b9a6 Updating time/alarm tiles, fixing issue with empty space under QuickSettings (Bug 7205141, Bug 7222371)
Change-Id: If42308a0bbc4a31ffb7f5f0b66063c3b1418ca3e
2012-09-25 16:44:29 -07:00
Winson Chung
89ba270c66 Merge "Fixing various QS issues. (Bug 7216908, Bug 7217154)" into jb-mr1-dev 2012-09-25 12:20:18 -07:00
Daniel Sandler
173bae2c67 Improvements to notification/settings panels:
A) Hide icons corresponding to the active panel with a
   downward push animation. Notes:
   1. this animation will now apply any time the status bar
	  icons are disabled via DISABLE_NOTIFICATION_ICONS.
   2. DISABLE_SYSTEM_INFO will now only hide the right hand
      icons (system status icons, battery, clock). But you
	  weren't using it anyway, right?

B) Stop pulling down the panels in response to just a touch
   on the status bar. (That should never have worked.) In
   general, we now require that a fling proceed more than
   10dp to be treated as a fling with velocity (as opposed
   to a v=0 fling, or "let-go").

C) If a panel is pulled down more than halfway and then let
   go with v=0, it is expanded. If less than halfway, it is
   contracted. (Helps fix B) above, plus it just makes good
   sense.)

Bug: 7211541 (A)
Bug: 7227237 (B)
Bug: 7228541 (B)
Change-Id: I5662269b753376804bf629239835dc212716d5c3
2012-09-25 14:38:43 -04:00
Winson Chung
f4b5ab193c Fixing various QS issues. (Bug 7216908, Bug 7217154)
- Making distinction between wifi not connected and unavailable
- Removing periods from carrier names
- Updating airplane mode icons

Change-Id: I8a629f07375faaa34a1b5ebeb307605f12f75173
2012-09-25 10:26:39 -07:00
Daniel Sandler
5a8aefa6c8 No more double-swiping to toggle panels on tablets.
This also fixes up the drag regions so that quick settings
is only assigned the right 1/3 of the display (or 100dp,
whichever is larger). It had been that more than half of the
status bar, when dragged, would pull down QS.

Bug: 7217002
Change-Id: I515b6e19deab305b99784c7287d8f04fa9b22dc7
2012-09-25 10:20:00 -04:00
Winson Chung
34563e2dc5 Fixing various QuickSettings issues (Bug 7210343, Bug 7174839, Bug 7174738)
- Using startActivityFromUser() for multiuser settings intents
- Show Wifi/Bluetooth Off labels when they are off
- Removing quotes from SSID name
- Only showing the IME tile under the same conditions that the notification is showing
- Making tile labels uppercase

Change-Id: Ic4a085cda600da019eab259b22c9041d1a0b5d29
2012-09-21 17:22:30 -07:00
Winson Chung
3ed6f9456a Showing QuickContacts card, adding brightness bar timeout and width, fixing wifi display icon visibility. (Bug 7186309, Bug 7175023)
Change-Id: Iea717e97bf90301bef68b06e1a35644e24ab029d
2012-09-21 11:59:12 -07:00
Daniel Sandler
ced8d21f5a Add string for 'Ethernet'.
Bug: 6676469
Change-Id: Icbeb3e96b8580850a8392f443dc277488631bcab
2012-09-21 07:32:04 -07:00
Jeff Brown
89d5546d7f Add support for remembering Wifi display devices.
Add a setting to globally disable Wifi display.

Fixed a bug where the wifi display broadcast receiver
was running on the wrong thread.

Removed the wifi-display QuickSettings dialog, all functionality
has been moved to Settings.

Bug: 7178216
Bug: 7192799
Change-Id: I9796baac8245d664cf28fa147b9ed978d81d8ab9
2012-09-19 22:04:44 -07:00
Winson Chung
5f623011db Making QS scrollable and making numerous tweaks.
- Updating new assets (all line up)
- Updating brightness tile to reflect auto state
- Fixing network tile asset colors
- Adding press feedback

Change-Id: I857f141258eefec65243454cb69905cbd2a10bf6
2012-09-17 14:59:39 -07:00
Winson Chung
d4726d062e Adding rotation lock tile to quick settings (on tablets).
Change-Id: Ia68c07051acc1f0f42dde0b1322db034b5d54506
2012-09-14 12:28:40 -07:00
Winson Chung
ed1395f398 Updating Wifi/Mobile tiles to reflect actual connection state with new assets.
Change-Id: Ic1cd78c77f94f1c9cf9bbc1bcea3082ca536d94c
2012-09-13 18:16:02 -07:00
Winson Chung
eaa5ab01a1 Updating assets, fixing Battery tile to show proper states.
Change-Id: I0df6d62f57e8034f17d6add31416b050af8a0c15
2012-09-13 16:36:59 -07:00
Winson Chung
2a4057d2e9 Updating IME tile with proper subtype name.
Change-Id: Ie7fed20873f51e3b2b4def14532df00d71762418
2012-09-12 18:30:53 -07:00
Benoit Goby
45f6aaa558 UsbDebuggingActivity: Strings update after review
Bug: 7056209
Change-Id: I447b021973332414e5e57a3b7066bf25dfccb628
2012-09-11 16:10:35 -07:00
Winson Chung
1679b36800 Adding brightness dialog to quick settings.
Change-Id: I81f640138057c26320d41f70c7f47a518fc1bd4a
2012-09-10 20:20:22 -07:00
Winson Chung
e641b6a99c Adding alarm to quick settings.
- Cleaning up some code

Change-Id: Iaea2077084ba16b4fb4d47c8b2df5da6983ceb91
2012-09-10 20:20:03 -07:00
Jeff Brown
508257bdfc Add skeleton Wifi-Display tile in QS.
Pop up a little dialog when the tile is touched with options
to connect, scan and disconnect.

Change-Id: Ic9e28344899310692ace36c322974df175f82e08
2012-09-08 23:15:12 -07:00
Winson Chung
d63c597865 Initial changes to add QuickSettings.
Change-Id: If510f74d6046929e5e8a794c6dc2fddb15a03d6b
2012-09-08 15:55:31 -07:00
Daniel Sandler
32f6fd55b1 New "Start dreams" launcher shortcut.
Change-Id: Ice46fc8b99dae615e421ccf4eb6ca6f2a76cbe5f
2012-09-06 11:52:10 -04:00
Michael Jurka
8481980495 Merge "Porting old code for min alpha for items in recents" into jb-mr1-dev 2012-09-05 03:40:15 -07:00
Daniel Sandler
e32bb6c9c6 Merge "Only show the BeanFlinger screensaver to the worthy." into jb-mr1-dev 2012-09-04 12:29:04 -07:00
Michael Jurka
adf0b21590 Porting old code for min alpha for items in recents
Change-Id: I68dce175b3a2c0263c5df1ef787c28d6c622e879
2012-09-04 05:15:26 -07:00
Daniel Sandler
0bcf4adcde Only show the BeanFlinger screensaver to the worthy.
(That is: you must have discovered the flying-jellybeans
easter egg to gain permanent access to the Dreams version of
same.)

Change-Id: I65ce39c0ab5b61f492a3637e3c31b3c91f4f0f89
2012-08-31 16:18:31 -04:00
Daniel Sandler
25bb8eec2d Turn off deadzone flash, replacing it with logcat.
Change-Id: I30db97e5c3a6ef3a06e6065ccf087a7f6d1f9286
2012-08-30 17:10:50 -04:00
Daniel Sandler
c26185bb7b Expand the navbar dead zone briefly after touches elsewhere.
For now, each time the dead zone captures a touch, it will
flash to let you know that's what happened. We should
probably turn this off before shipping.

Note also that this currently only expands the navbar on
ACTION_DOWN elsewhere in the UI (because this is the only
time ACTION_OUTSIDE is generated); this isn't perfect and
we'll need to do some mucking about with the input system to
get information about ongoing drags or additional pointers
down, but this CL is a good start and introduces the general
mechanism for expanding and contracting the dead zone.

Change-Id: I43e63aed1e541fd07d83fde4d66bcb5be89b69d2
2012-08-29 20:11:21 -04:00
Chris Wren
b8ea2f59e2 [phones] Only allow double-flick opening of the quicksettings panel.
Bug: 7043587
Change-Id: I39d208626c477e8c081c9d81c3124eb631152998
2012-08-24 12:20:30 -04:00
Michael Jurka
cb2522c86d Recents: apps scale down to thumbnails now
As a part of this change, Recents is now an
activity.

Known issues:
* Jank: jump-cut as app icon appears suddenly
  after the aniamtion
* Preloading recents is broken on phones without
  soft nav bar and on tablets
* Thumbnail window from animation lingers/flashes
  sometimes

Change-Id: Ie6f991f3c2e1e67f9ed84eb6adba9174ed957248
2012-08-23 04:53:53 -07:00
Benoit Goby
4e68bd420b Add UsbDebuggingManager and UsbDebuggingActivity
The UsbDebuggingManager listens to adbd requests and displays a dialog
when the public key authentification fails, for the user to confirm if it
wants to allow USB debugging from the attached host. If the user chooses
to always allow USB debugging, the UsbDebuggingManager writes the public
key to adbd's config file so that the public key authenfication succeeds
next time.

Change-Id: I115c828331d8e326c380844ee33915d5dff22260
2012-08-20 13:44:34 -07:00
Daniel Sandler
8e72c9e19c Quick settings come to all Android devices.
I mean, real soon now.

Change-Id: I9a15b49f271e7ae06eb48a402f58270d8adccbf4
2012-08-15 09:52:43 -04:00