200 Commits

Author SHA1 Message Date
Jim Miller
c120b6e99a Fix "keyguard unresponsive" bug
This fixes a bug where the code would pop up SearchPanelView and never
close it.  The result is that the overlapping window would absorb all input
events and effectively prevent the user from entering their pin/pattern/password.

The fix is to replace ImageView with KeyButtonView to make the behavior consistent
with how it's handle in home screen.

Fixes bug 7520075

Change-Id: I461bf2844c023fd7a2dffca1177cc5951f30dba0
2012-11-12 17:54:22 -08:00
Daniel Sandler
f837e4149e New asset for assist affordance on lockscreen.
Bug: 7468726
Change-Id: Ia906256f667597ac92b07ee0f5b967048b5e25d5
2012-11-07 21:17:57 -05:00
Casey Burkhardt
c7c972d832 Fixing view accessibility classification for recents.
Change-Id: I0324fe322d97ee35105d7d71442fa79663e0fdfa
Bug: 7438790
2012-10-30 17:09:28 -07:00
Svetoslav Ganov
d07f8d0b37 Merge "Re-fixing content descritpion on quick settings toggle. Bug: 7362316" into jb-mr1-dev 2012-10-22 13:45:13 -07:00
Daniel Sandler
564c03dac5 Merge "Really hide the settings button on tablets." into jb-mr1-dev 2012-10-22 12:12:48 -07:00
Daniel Sandler
7382a025a7 Really hide the settings button on tablets.
Bug: 7382185
Change-Id: Id452e2499ba2089b8cfb0071b6aedf6d1d917b35
2012-10-22 14:37:20 -04:00
Casey Burkhardt
4be114b6d4 Re-fixing content descritpion on quick settings toggle.
Bug: 7362316

Change-Id: I6d4afbcbfbe3e38a6bdd080bc60409854de08251
2012-10-19 16:29:28 -07:00
Daniel Sandler
d5483c3157 New lockscreen: allow search gesture from nav bar.
Show a lights-out pip if home is invisible but search is
still OK.

Change-Id: Ifc69c12296cc8e8cf7c89dd06173d7abf499a878
2012-10-19 16:48:12 -04:00
Daniel Sandler
a4c356cad7 Merge "Add missing layout params" into jb-mr1-dev 2012-10-18 06:35:48 -07:00
Daniel Sandler
36c06ae04a Add missing layout params
Bug: 7370474
Change-Id: I632832be22c492f006d76bfa821fd9aa48569f67
2012-10-17 22:51:27 -04:00
Svetoslav Ganov
966496f5d5 Merge "More descriptive content description for quick settings toggle. Bug: 7362316 Change-Id: I7829402793e407e7ca483e1de2583df3b6c235bf" into jb-mr1-dev 2012-10-17 12:39:19 -07:00
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
Casey Burkhardt
0312d6d94a More descriptive content description for quick settings toggle.
Bug: 7362316
Change-Id: I7829402793e407e7ca483e1de2583df3b6c235bf
2012-10-16 18:39:25 -07: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
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
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
Adam Powell
786d10921b Merge "Quick settings user display and switching" into jb-mr1-dev 2012-10-07 11:33:29 -07:00
Adam Powell
6f2a3d2982 Quick settings user display and switching
Load user information for the current user and display in quick
settings tile. Name is pulled from the contacts DB from the "Me"
profile, which will override the raw name on the system user if
needed.

Open the user switcher on the lock screen if this tile is clicked and
there is more than one user registered on the system. If there is only
one user, show the "Me" quick contact card.

Darken the background protection behind the user's name on the QS tile
layout so that it's readable against very light profile pic
backgrounds.

Bug 7175023
Bug 7257997

Change-Id: Ia1e7dd7af72dbd49113a827f9228e0a32e20a0dc
2012-10-05 22:36:13 -07: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
0c1b75c17b Bring back the notification panel handle peek animation.
Bug: 7286201
Change-Id: Id93d6a00689ffb7f97e89af935460b1debec3850
2012-10-04 15:37:13 -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
1fd3474585 Merge "Allow QS to be closed via drag on background." into jb-mr1-dev 2012-10-03 07:59:09 -07:00
Daniel Sandler
e5f7ec0576 Allow QS to be closed via drag on background.
This was already working fine for the area of the panel
below the ScrollView, but intuitively it seems that dragging
in the unused portion of a partially-filled row would behave
the same way. Because it's part of the scrolling content,
though, drags in that region are (correctly) interpreted by
the ScrollView as scrolling requests.

The new QuickSettingsScrollView works around this by
ignoring touch events if its contents are too small to be
scrolled. So in the common case (QS tiles on a phone) you
will be able to drag in any empty area and have your taps
interpreted by the PanelView (which hands them off to the
handle to collapse the view).

We don't handle drags in empty areas when there are too many
tiles to show on-screen, and really, it's impossible to do
so: this gesture should then definitely be interpreted as a
scroll.

Bug: 7203193
Change-Id: I4cfcb029481a88d3604c7105185e8bcb7dbde8a5
2012-10-03 10:40:00 -04:00
Chris Wren
6ac833c9e3 Merge "re-use status bar DateView in QuickSettings." into jb-mr1-dev 2012-10-02 13:57:30 -07: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
9c022dff03 re-use status bar DateView in QuickSettings.
Bug: 7221083
Change-Id: Ic1cb7118d8e5f83a8e5e1101a609791a1e0fbab1
2012-10-02 14:48:42 -04:00
Daniel Sandler
6aa06b969f Merge "Fix notifications dismiss button." into jb-mr1-dev 2012-10-02 10:49:36 -07:00
Daniel Sandler
60a835101f Fix notifications dismiss button.
The handle (which is now being drawn by the window and not by itself)
was floating over it.

Bug: 7267529
Change-Id: Ia8902f64ac81616c640bc42400272933063852f4
2012-10-02 10:39:09 -04:00
Casey Burkhardt
2868059d93 Hiding appropriate nodes for accessibility in recents.
Bug: 6855305
Change-Id: I2c9fac2cfc777f912ff78283bbe6b3a9666f17c6
2012-10-01 17:57:16 -07:00
Daniel Sandler
195b6e1239 Merge "Fix panel handles on large screens." into jb-mr1-dev 2012-09-28 06:50:57 -07:00
Winson Chung
efba3235fc Fixing various QS issues. (Bug 7217102)
- Certain tiles were not updating strings based on configuration changes
- Updating bluetooth icon
- Fixing issue where QuickContacts is not being launched per-user

Change-Id: I5936e856b5454d608f9c7ddb6b81d9b566bb03ea
2012-09-27 17:18:23 -07: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
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
Daniel Sandler
666d47502b Return carrier label to notification panel.
If it makes you feel any better, it was there all along...

Bug: 7027535
Change-Id: Ib1add55f1bfe1958e15fa6a2960a821ccfb9d949
2012-09-25 01:21:06 -04: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
c19d4488ea Bugreport in Quick Settings (if you turn it on).
Bug: 7190871
Change-Id: I8d10f18daed08aac1878cf6ba8937855d9494abd
2012-09-21 01:48:21 -04: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
Daniel Sandler
63bcc14c43 Merge "Remove settings and rotation buttons from notification panel." into jb-mr1-dev 2012-09-18 13:33:21 -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
Daniel Sandler
6e5fe432f3 Remove settings and rotation buttons from notification panel.
Thanks to quick settings, these are redundant.

Bug: 7142026
Change-Id: If38abda3635c4f11a7fa7fa221f4d821f998e445
2012-09-16 15:34:36 -04:00
Winson Chung
4f49d9450f Adding data type overlay to network tile.
Change-Id: Iae3c188e2f7f03bd1ebaddc756021be312ddb0aa
2012-09-14 14:02:07 -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
eaa5ab01a1 Updating assets, fixing Battery tile to show proper states.
Change-Id: I0df6d62f57e8034f17d6add31416b050af8a0c15
2012-09-13 16:36:59 -07:00
Winson Chung
43229d7075 Adding IME tile.
- Adding checks for telephony before showing RSSI tile

Change-Id: I1dc4fb7a07d9693d8c6a96678ac9d4ff9abafe44
2012-09-12 18:06:23 -07:00