3516 Commits

Author SHA1 Message Date
Jason Monk
41908a2faa am ba87ba5e: am 3bbc5a11: Merge "Ellipsize QS detail items when needed" into lmp-mr1-dev automerge: 6d72d46
* commit 'ba87ba5e4cc929f34921ff9fa875c38eca2bc1d0':
  Ellipsize QS detail items when needed
2015-02-05 23:07:41 +00:00
Jason Monk
ba87ba5e4c am 3bbc5a11: Merge "Ellipsize QS detail items when needed" into lmp-mr1-dev
automerge: 6d72d46

* commit '6d72d46b4b6fe0ec72c24ea5369c6d92fd29ba52':
  Ellipsize QS detail items when needed
2015-02-05 23:02:57 +00:00
Jason Monk
867874b06a Ellipsize QS detail items when needed
Bug: 19262637
Change-Id: I395125a7c00e558e914aff9cf9c48a363435a9b2
2015-02-05 11:54:58 -05:00
Chris Wren
930eccaf44 Don't let the heads up close too quickly.
The public API of HeadsUpNotificaitonView was not well suited to the
new requirements, so it changed slightly.

Old API:
 - showNotification: show or update a notification
 - clear: close the window and forget the notification
 - release: send the notification to the shade and forget about it.
 - releaseAndClose: release and close the window
 - dismiss: clear the notification if clearable, or release it

New API:
 - showNotification: show a new notification
 - updateNotification: show a new version of the same notification
 - removeNotification: respond to a cancel
 - release: send the notification to the shade at some point
 - releaseImmediately: send the notification to the shade right now

The new API makes updating vs. posting and removing vs. releasing more explicit.

There is a new internal concept: lingering.  The heads up lingers
after an event that would have closed it if the minimum visibility
time has not been satisfied. In the case that the notification was
deleted, the heads up may be visible, but mHeadsUp will be null.  In
this case, touches on the notification views are disabled.

More responsibility for control of the heads of policy was moved into
the HeadsUpNotificaitonView class. This should continue on master.

Some changes to support testing.

Added a test to cover all the edge cases for minimum visibility time:
 1. extend visibility when canceled too soon
 2. extend when updated with a low-priority version, fast update.
 3. extend when updated with a low-priority version, slow update.
 4. don't extend the visibility in any other case

TODO: Policy parts of HeadsUpNotificationView should be split out
into a separate HeadsUpNotificationPolicy class, and even more of the
policy should be lifted from status bar that new class.

Bug: 17878008
Change-Id: I192419d0685dd022ee7edcd792e346a4f39c6adb
2015-02-04 17:16:16 -05:00
Jason Monk
d52356aa5e Move Settings wifi tracking to SettingsLib
Make SettingsLib capable of tracking which wifi networks are
available/saved and their state.

Also modify Quick Settings to use this code rather than having
its own logic.

Bug: 19180466
Change-Id: Iff9f9aed240d79323dba41496496e8076b9fa6f2
2015-02-04 15:08:55 -05:00
Geoff Mendal
b23b7798fe Import translations. DO NOT MERGE
Change-Id: Ic5a8c3b60bfd6618b43a914c43b79eec1ffb73fe
Auto-generated-cl: translation import
2015-02-04 07:53:42 -08:00
Adrian Roos
75fa38539d Add API for light status bar
Adds a systemUiVisibility flag and links it
to the status bar icon controller. Also adds a
theme attribute for setting the flag.

Bug: 19233606
Change-Id: I8a89a10cf2746cefa2feba50dc60c5eccd2ab28d
2015-02-04 14:28:14 +01:00
Jorim Jaggi
dd0107a0db Add ability to colorize status bar
Bug: 19233606
Change-Id: I756599395c202c4d0dd04c44beac706fc19bfe17
2015-02-04 12:44:22 +01:00
Geoff Mendal
dec7d3893f Merge "Import translations. DO NOT MERGE" 2015-02-02 15:53:44 +00:00
Geoff Mendal
4af00ad2a4 Import translations. DO NOT MERGE
Change-Id: I11260e50c0c2ca497a300fe79a25810d4a0b6c9a
Auto-generated-cl: translation import
2015-02-02 07:52:02 -08:00
Jorim Jaggi
4c99d0da47 Merge "Show status bar header in SHADE_LOCKED" 2015-02-02 15:13:55 +00:00
Winson Chung
0e0b7310a8 Merge "Adding some debug controls to test multi-window." 2015-01-30 18:43:19 +00:00
Winson Chung
d16c565a60 Adding some debug controls to test multi-window.
Adding some preliminary controls to mirror the currently exposed api
to create new activity stacks, resize stacks, and to move tasks
between stacks.

Change-Id: I3fb51c248f53a1d4c4eb23ca9fb3a76888def1de
2015-01-29 15:56:58 -08:00
John Spurlock
8cbfad3934 am 7fb346ec: am 4b41400b: am e2f4ab93: Merge "Default "pickup peforms proximity check" to false." into lmp-mr1-dev
* commit '7fb346ec209eac91b9673840e10b3c9040dbef3f':
  Default "pickup peforms proximity check" to false.
2015-01-28 18:04:56 +00:00
John Spurlock
7fb346ec20 am 4b41400b: am e2f4ab93: Merge "Default "pickup peforms proximity check" to false." into lmp-mr1-dev
* commit '4b41400b60d57f23b16702540b9d50f98aeeffb7':
  Default "pickup peforms proximity check" to false.
2015-01-28 17:58:35 +00:00
Geoff Mendal
f218141bc9 Import translations. DO NOT MERGE
Change-Id: I908acd89310fd1f9e7a974043e00d97197fcff12
Auto-generated-cl: translation import
2015-01-28 07:46:39 -08:00
Jorim Jaggi
cb4f594eca Remove dead code #11: Remove more unused classes
Change-Id: Ie78d40fd20eef859e3c0ea9269b86ff1e1471a58
2015-01-27 18:15:50 +01:00
Jorim Jaggi
3cdb3b7d0d Merge "Revert "Remove dead code #11: Remove more unused classes"" 2015-01-27 16:53:02 +00:00
Jorim Jaggi
de47e3554d Revert "Remove dead code #11: Remove more unused classes"
This reverts commit 397ca8be8de407237cd293873647c182837bc032.

Change-Id: Id7f8dbe93d2a48a7f6261232499f73b7de8dd7b1
Reason: Build breakage.
2015-01-27 16:52:24 +00:00
Jorim Jaggi
ca3e3b73b3 Merge "Remove dead code #11: Remove more unused classes" 2015-01-27 16:12:25 +00:00
Jorim Jaggi
1cf6e10126 Show status bar header in SHADE_LOCKED
Makes SHADE_LOCKED more consistent with SHADE in order to avoid
confusion about this special state. Add animations between these
states for smooth transitions.

Bug: 17446409
Change-Id: I410f0ac255abd0f453b77f42c948e814c5dfd838
2015-01-27 16:07:22 +01:00
John Spurlock
b9fe4e1713 Default "pickup peforms proximity check" to false.
Don't assume the pickup sensor will perform a proximity check before
starting to pulse.  This will add some latency, but necessary if
we can't trust the sensor.

Bug: 19083596
Change-Id: I51b7daf5ed76b2780ec5c949a75cc1fca247ddad
2015-01-26 18:55:29 -05:00
Geoff Mendal
bd1c42dc31 Import translations. DO NOT MERGE
Change-Id: I11abe22731fb5eb346f924cba7b21ac6b9a5be13
Auto-generated-cl: translation import
2015-01-26 07:34:55 -08:00
Winson Chung
6ac8bd6198 Adding dismiss-all button.
Change-Id: Iad7d5d1eddeff6af6b88a1afdf23677c8b2f3b49
2015-01-22 12:24:50 -08:00
Jorim Jaggi
397ca8be8d Remove dead code #11: Remove more unused classes
Change-Id: I3130991cb468a47aa0e198e42f20edca0836f66b
2015-01-21 16:57:12 +01:00
Jorim Jaggi
b93024f1e8 Remove dead code #10: Clean up PhoneStatusBar
- Remove carrier label
- Remove emergency calls only label
- Remove dead methods and fiels.

Change-Id: If242a8fa926d21d77fc54867f4244e7d82626fff
2015-01-21 16:56:58 +01:00
Jorim Jaggi
2325f276cf Remove dead code #9: Remove ticker code in PhoneStatusBar
Change-Id: I2236790435d89962d70c642fa1879d44981bc71b
2015-01-21 16:56:33 +01:00
Geoff Mendal
ae0b0167bc Import translations. DO NOT MERGE
Change-Id: I03276ec800985dbd5519945587620f52d6fed25a
Auto-generated-cl: translation import
2015-01-21 07:30:19 -08:00
Geoff Mendal
9563c9bef4 Import translations. DO NOT MERGE
Change-Id: I5022d077fb7b8badc66406965b2406d4250e254d
Auto-generated-cl: translation import
2015-01-19 07:13:09 -08:00
Chris Wren
4b8c47b861 Merge "Standardize notification IDs in the sysui package." 2015-01-16 22:05:52 +00:00
Chris Wren
d8775100b2 Standardize notification IDs in the sysui package.
Use the resource system to assign IDs for notifications,
so that we know there will be no collisions.

Bug: 10671709
Change-Id: I403e89f6ec953f6e2e63520b86e2cd464ebce6b3
2015-01-16 16:19:32 -05:00
John Spurlock
e873e5f3f9 Merge "Update three remaining png-based status bar icons to vectors." 2015-01-15 16:39:19 +00:00
Geoff Mendal
07adc61c66 Import translations. DO NOT MERGE
Change-Id: I819509b5730478b287816b9f6f8c09623bd12dd2
Auto-generated-cl: translation import
2015-01-12 07:10:22 -08:00
John Spurlock
49d058f0e5 Update three remaining png-based status bar icons to vectors.
Change-Id: I855464164e3ed8c01c4a2347938edc57f354e176
2015-01-08 18:20:26 -05:00
John Spurlock
f55bb573b2 Remove two obsolete status bar icons.
Change-Id: I054d90044b889642ae3ba7affce71304ca44ca8d
2015-01-07 11:36:32 -05:00
Jorim Jaggi
26118d5260 Merge "Remove dead code #7: Remove unused SysUI resources" 2015-01-07 16:09:44 +00:00
Jorim Jaggi
d1a9feb322 Merge "Remove dead code #2: Remove unused Keyguard resources" 2015-01-07 16:04:41 +00:00
Geoff Mendal
719d5b3df0 Import translations. DO NOT MERGE
Change-Id: Idcfd4c630d636eeaaafd95085223178e395d0584
Auto-generated-cl: translation import
2015-01-07 06:38:31 -08:00
Jorim Jaggi
a9ef7929b8 Remove dead code #7: Remove unused SysUI resources
Change-Id: I6e338dee76063d7d200967bef0ed1122c2769d42
2015-01-07 15:20:28 +01:00
Jorim Jaggi
a29e81bc7f Remove dead code #2: Remove unused Keyguard resources
Change-Id: If5e2b62556e6ee158e09e399c7ddec337dba15d5
2015-01-07 15:00:16 +01:00
Jason Monk
e6fc4911e2 Show saved networks in QS sub-panel.
Bug: 18365695
Change-Id: If32ea2e69c2100c706632ab1f90e2e99bbf230f6
2015-01-05 14:33:26 -05:00
Geoff Mendal
269cbab0cd Import translations. DO NOT MERGE
Change-Id: I71ee9b0879e33e6fe00883877ee712a93f451357
Auto-generated-cl: translation import
2015-01-05 06:43:14 -08:00
Baligh Uddin
9939422efa Import translations. DO NOT MERGE
Change-Id: I941e39b33f0dd49c4e0385d22787823acef5d93a
Auto-generated-cl: translation import
2014-12-31 11:16:03 -08:00
Baligh Uddin
4cb74d8d08 Import translations. DO NOT MERGE
Change-Id: I260f664c1fc1196d913cd7daeacb6a20550f057c
Auto-generated-cl: translation import
2014-12-29 13:22:41 -08:00
Baligh Uddin
0dbb961e8f Import translations. DO NOT MERGE
Change-Id: Idf18f4ddf1f44a5618c1087b722eca4847b137a2
Auto-generated-cl: translation import
2014-12-23 00:44:58 -08:00
Baligh Uddin
3fa832bbfa Import translations. DO NOT MERGE
Change-Id: I2096264002a0f4dad73672f5834327f151e95788
Auto-generated-cl: translation import
2014-12-23 00:28:11 -08:00
Geoff Mendal
7fb57f3968 Import translations. DO NOT MERGE
Change-Id: I7048b2f5e758fb9b6448402c4a8bb8114ddb39dd
Auto-generated-cl: translation import
2014-12-17 06:56:49 -08:00
Geoff Mendal
8f0d3694f6 Import translations. DO NOT MERGE
Change-Id: Ib6806ea69f69ba66b4dc09a46b6e86d0ace3e734
Auto-generated-cl: translation import
2014-12-17 06:44:29 -08:00
Geoff Mendal
1d60e76c5e Import translations. DO NOT MERGE
Change-Id: Ib24c34c76cbfdc490acb59d462a8c920a22139b2
Auto-generated-cl: translation import
2014-12-15 07:02:33 -08:00
Geoff Mendal
111a81669e Import translations. DO NOT MERGE
Change-Id: I18accc4c251f9f5bbaa69512b317898637daed64
Auto-generated-cl: translation import
2014-12-15 06:50:18 -08:00