2863 Commits

Author SHA1 Message Date
Jorim Jaggi
d48d7a6d50 Merge "Fade scrim in unlock animation." into lmp-preview-dev 2014-05-31 01:09:19 +00:00
Jorim Jaggi
e29b2dbc76 Fade scrim in unlock animation.
This also introduces a startTime which gets sent from window manager
to SystemUI, which tells when the animation should start, to allow
for a more synchronized animation with fading out the scrim and
fading in the activity behind.

Bug: 15163546
Change-Id: I16212b1ef9eb76f1f98734da1d14fc5b7e626937
2014-05-31 02:48:06 +02:00
John Spurlock
2921780f71 am 2a8f11a5: Merge "Resurrect global actions, remove confirmation for Power off." into lmp-preview-dev
* commit '2a8f11a57053e52c2d0aa17c31b1c021ba0d78b8':
  Resurrect global actions, remove confirmation for Power off.
2014-05-30 23:55:56 +00:00
John Spurlock
b8a0feed04 Merge "Resurrect global actions, remove confirmation for Power off." into lmp-preview-dev 2014-05-30 23:51:13 +00:00
John Spurlock
822e5cc482 Resurrect global actions, remove confirmation for Power off.
Instead of fast forwarding to the power off confirmation dialog,
display the global actions dialog with a single item by default,
with no confirmation.

Re-configure the bugreport option, it will appear if specified
in developer settings.

Bug:15109463
Change-Id: I5a19df8684d661345e42ad305f64f01c271aae19
2014-05-30 17:51:43 -04:00
Adam Powell
2a4b95eb36 am 9aeea623: Guard against missing progress bars in window decor layouts
* commit '9aeea623fa93d5aaaa214e2bc8557fb36a58cf7a':
  Guard against missing progress bars in window decor layouts
2014-05-30 21:38:44 +00:00
Adam Powell
eec8f0cbbb Guard against missing progress bars in window decor layouts
This is temporary; in general requesting the window feature means you
have the progress bars available. This can be removed once Toolbar
supports the additional progress bar features.

Bug 15329703

Change-Id: Ica520a4fb600fd132a88c5204197185d7e0689c9
2014-05-30 11:00:00 -07:00
Dianne Hackborn
8b466c19d6 am f6550f0a: Merge "More work on voice interaction visuals." into lmp-preview-dev
* commit 'f6550f0ab2fb1abae6f9d694c87ccba9bede57f4':
  More work on voice interaction visuals.
2014-05-30 17:17:55 +00:00
Tim Kilbourn
505b28c105 resolved conflicts for merge of dfd39a7f to master
Change-Id: I51040a2e7de006a9864127bdff839dbadbf00879
2014-05-30 10:14:40 -07:00
Dianne Hackborn
2d2e30eeac Merge "More work on voice interaction visuals." into lmp-preview-dev 2014-05-30 17:11:19 +00:00
Dianne Hackborn
20d9474904 More work on voice interaction visuals.
There is now a special theme for voice interaction activities
to use, so they can be a panel that is better intergrated with
the rest of the voice interaction experience.  This is still
not completely working, I have some hacks in the demo app to
get it right; I'll fix that in a future change.

Also improve VoiceInteractor to be retained across activity
instances, for things like rotation.

And bump up the number of concurrent broadcasts that are allowed
on non-svelte devices, since they can handle more and this makes
the boot experience better when dispatching BOOT_COMPLETED.

Change-Id: Ie86b5fd09b928da20d645ec2200577dee3e6889d
2014-05-30 10:06:16 -07:00
Tim Kilbourn
d7c0c2ee45 Add global key mappings to dump output.
Example:

    mKeyMapping={
      KEYCODE_FOO=com.example/com.example.KeyReceiver
    }

Change-Id: I03ed8327cebf245ff1e3e5f2aaef3cdec1b94d98
2014-05-30 09:58:13 -07:00
Jeff Brown
a20dda4a6e Add support for wake gestures.
Bug: 15137158
Change-Id: I171c3269a7a16a00083e16e1cc4c7c1c2b98c05e
2014-05-29 15:22:40 -07:00
Craig Mautner
7a18498559 am b5b37c2b: Merge "Add methods to coordinate unlock animation." into lmp-preview-dev
* commit 'b5b37c2babe744acb002ed9b8556a9d9cd2202fc':
  Add methods to coordinate unlock animation.
2014-05-29 16:52:13 +00:00
Craig Mautner
71ac80c46a Merge "Revert "Modify task navigation to return to recent tasks." DO NOT MERGE" into lmp-preview-dev 2014-05-29 16:51:24 +00:00
Craig Mautner
b9a6c8ad99 Revert "Modify task navigation to return to recent tasks." DO NOT MERGE
This reverts commit 1a4e211e03f1f795d935058e27356a0e8bc5df7c.

Change-Id: Ia691b93347c7eb2395933e5a5ba385ea94e08d6f
2014-05-29 16:50:59 +00:00
Craig Mautner
fdaaf91f35 Merge "Revert "Modify task navigation to return to recent tasks."" 2014-05-29 16:50:11 +00:00
Craig Mautner
719e621186 Revert "Modify task navigation to return to recent tasks."
This reverts commit 19174878e25ebfd8806595f83df7bdea1d239c07.

Change-Id: I98db2c9aa975495c5828b3d16b8b45f515e6a5fa
2014-05-29 16:49:41 +00:00
Craig Mautner
219d7a50fb Merge "Add methods to coordinate unlock animation." into lmp-preview-dev 2014-05-29 16:45:36 +00:00
Dianne Hackborn
d3a5b916b1 am c2091a1f: Merge "Add system layer for voice interaction services." into lmp-preview-dev
* commit 'c2091a1fbc463941b3e42db36e369124ac3c1013':
  Add system layer for voice interaction services.
2014-05-29 09:42:56 +00:00
Dianne Hackborn
a923758d80 Merge "Add system layer for voice interaction services." into lmp-preview-dev 2014-05-29 00:18:25 +00:00
Dianne Hackborn
e30e02f5d9 Add system layer for voice interaction services.
New window layer that voice interaction service windows
go in to.  Includes a new voice-specific content rectangle
that voice activities are placed in to.

Add specific animations for this layer, sliding down from
the top (though this can be customized by the voice interaction
service).

Also add the concept of activities running for voice interaction
services for purposes of adjusting the animation used for them,
again sliding from the top, but not (yet?) customizable by the
voice interaction service.

Change-Id: Ic9e0e8c843c2e2972d6abb4087dce0019326155d
2014-05-28 17:16:51 -07:00
Adam Powell
88e719fd3e am 49a4961e: Merge "Toolbar factoring and ActionBar functionality integration" into lmp-preview-dev
* commit '49a4961efde042f4921393f59cff86c2b7889c71':
  Toolbar factoring and ActionBar functionality integration
2014-05-28 23:07:25 +00:00
Adam Powell
e021e6ed89 Toolbar factoring and ActionBar functionality integration
Toolbars now can act in the role of ActionBar with the exception of
navigation modes. Expandable action views are now supported as well as
populating menu items from a host window.

Change-Id: If477db9c7ad9f95723f28cf73cbf03a07ce9d6ad
2014-05-28 12:36:38 -07:00
Santos Cordon
3afed57a7d Adding ITelecommService definition for Telecomm.
Until telecomm code moves into a system service, we need a way for
other apps to call into it for call-related functionality.

Initial implementation only has silenceRinger.
This is to be implemented by the telecomm code and used by
TelephonyManager (until we have a TelecommManager).

Change-Id: I9180797451dcb2e9029b20bed47f5d5cb8cddb9f
(cherry picked from commit b895606acf18dbb050c9a32106b3c9c2e5111829)
2014-05-28 03:36:36 +00:00
Jorim Jaggi
0d674623fa Add methods to coordinate unlock animation.
Introduce IWindowManager.keyguardGoingAway to notify that Keyguard
wants to dismiss it self. This method starts the state machine in
WindowAnimator which animates in the activity behind the keyguard.
Animating out the keyguard is done by the StatusBar/Keyguard
software when it receives the startKeyguardExitAnimation() callback.

Bug: 14118756

Change-Id: Id3b8f41189410bad808b4892fbec74245e59efce
2014-05-27 16:45:57 -07:00
Craig Mautner
e67a784eb2 Modify task navigation to return to recent tasks. DO NOT MERGE
Tasks launched from the recent task list will now return to the list
when they are finished. Also tasks that are launched from the
notification panel and services will now return to the list,
provided that the launcher is not front and center when they are
launched.

Fixes bug 14464114.

Change-Id: Ic0d3731fc7248d1eaa80e5ee399753d80e80c979
2014-05-24 09:50:37 -07:00
Craig Mautner
df6523f270 Modify task navigation to return to recent tasks.
Tasks launched from the recent task list will now return to the list
when they are finished. Also tasks that are launched from the
notification panel and services will now return to the list,
provided that the launcher is not front and center when they are
launched.

Fixes bug 14464114.

Change-Id: Ic0d3731fc7248d1eaa80e5ee399753d80e80c979
2014-05-23 19:03:00 -07:00
Jeff Brown
600f003133 Improve window orientation listener.
Take into account whether the device appeared to be overhead facing
down.  If so, suppress orientation changes until the device is tilted
back upright again.  This should improve behavior in situations such
as reading in bed and rolling over to one side.

Change-Id: I683515e1867626dacc71d90eaacb32e75ab41827
2014-05-22 18:23:14 -07:00
Santos Cordon
5c013261a9 Merge "Adding ITelecommService definition for Telecomm." 2014-05-22 21:21:41 +00:00
Santos Cordon
6848f72a49 Adding ITelecommService definition for Telecomm.
Until telecomm code moves into a system service, we need a way for
other apps to call into it for call-related functionality.

Initial implementation only has silenceRinger.
This is to be implemented by the telecomm code and used by
TelephonyManager (until we have a TelecommManager).

Change-Id: I9180797451dcb2e9029b20bed47f5d5cb8cddb9f
2014-05-21 22:49:09 -07:00
John Spurlock
b4e69a040d Merge "Hide the keyguard scrim when the status bar comes back." 2014-05-21 21:29:23 +00:00
John Spurlock
8fdfe624aa Hide the keyguard scrim when the status bar comes back.
Since status bar is now the keyguard.

This is an attempt to fix the bad state where the KeyguardScrim
is shown incorrectly when SystemUI is forcibly replaced.

Change-Id: I0416ed400e023a3fa136ce5f884f191edbbd6b94
2014-05-21 17:10:10 -04:00
RoboErik
5b53148a4e Merge changes I1cbdff1d,I23906b4c
* changes:
  Handle headsethook voice launching
  Add 5s timeout to wakelock
2014-05-21 19:59:11 +00:00
Narayan Kamath
d862ebb603 resolved conflicts for merge of fcc4fed3 to master
Change-Id: Icebca982b01debd67a1470c02651ef8936f6e5b0
2014-05-21 12:07:35 +01:00
Jeff Brown
fcc4fed3c1 am 6fb904bf: Merge "Make power button behavior configurable." into klp-modular-dev
* commit '6fb904bfd1f943547d6e5bc6f199ffec2290da01':
  Make power button behavior configurable.
2014-05-21 08:40:33 +00:00
Jeff Brown
6d8fd27e51 Make power button behavior configurable.
Allow power button to be used to either go to sleep as usual,
which may doze, or skip that completely and really go to sleep.
May also really go to sleep and go home all at once.

Bug: 14406056
Change-Id: Ia19e2551b9c2a72271bb2eddd5c0d1749761e019
2014-05-20 21:24:38 -07:00
Maurice Lam
92dfff4bc8 Merge "Disable swipe-to-reveal nav bar / status bar during setup" 2014-05-20 23:15:42 +00:00
RoboErik
9a9d0b5f6f Handle headsethook voice launching
This launches voice search when headsethook is long pressed unless
you're in a call. The handling is done in MediaSessionService. This
CL also adds a switch to the new APIs to the fallback event handler
which was missed previously.

Change-Id: I1cbdff1d6e9f5293885dd8aaed8ba13cb15b36d4
2014-05-20 14:57:46 -07:00
Maurice Lam
99c6e072aa Disable swipe-to-reveal nav bar / status bar during setup
Make the system refuse to show system navigation bar when immersive
mode is on before finishing setup.

Change-Id: Id6383e13bdb7e4c4b93b2fbaf83c154c387af694
2014-05-20 09:38:22 -07:00
Adrian Roos
cffd1e42d3 Fix typo causing immersive mode transition flickering.
Bug: 15095056
Change-Id: Ibc75bb4f61070f4cf00756ab1a216255e38932af
2014-05-20 13:48:37 +02:00
Winson Chung
4661a2574a Merge "Fixing regression in dismissing Recents." 2014-05-19 21:13:13 +00:00
Winson Chung
6cb485fd2e Fixing regression in dismissing Recents.
- Restoring app info functionality when developer options are enabled and you long-press on the app icon.

Change-Id: I8a20ff5f595eefa20db5528c0d5b1a1f0b110834
2014-05-19 14:06:13 -07:00
RoboErik
b4f4f69e4c Merge "Move media key processing to sessions" 2014-05-19 19:28:54 +00:00
Winson Chung
958e559b98 Merge "Initial changes to enable keyboard support with alternate Recents. (Bug 14067913)" 2014-05-19 16:25:40 +00:00
Adam Powell
236bcc3ad1 Merge "Action bar refactoring, round 1" 2014-05-18 21:08:05 +00:00
Adam Powell
4369e7d0b0 Action bar refactoring, round 1
Decouple PhoneWindow and ActionBarView to allow for using Toolbar in
some circumstances later.

Change-Id: I907743e06c3a1203e21cfd84860a1884c66f3527
2014-05-17 14:16:08 -07:00
Adrian Roos
34e6544551 Implement system bar color runtime API
Change-Id: Iacf36c6d92a2f779eb933218817721c8ed3c3344
2014-05-17 03:13:11 +02:00
Winson Chung
1e8d71b605 Initial changes to enable keyboard support with alternate Recents. (Bug 14067913)
Change-Id: Icc5d2a784ed3c3c27143eb04cbb4305549ee223a
2014-05-17 00:31:50 +00:00
RoboErik
8a2cfc309a Move media key processing to sessions
Send all media key events over to the MediaSessionService instead
of AudioManager. This does not affect volume handling yet, so it
is possible to get into a state where volume will be handled by
a different thing than media buttons. Except for corner cases
this shouldn't be noticable.

Change-Id: I00a576175d9c82937f0836e509b9a98d5cb77b83
2014-05-16 15:10:27 -07:00