136850 Commits

Author SHA1 Message Date
Adrian Roos
5d9cc668e1 Update HUN visuals to UX spec
Adds gradient, fixes wrong padding on tablets
and adds a callback mode to swipe helper.

Bug: 15106201
Change-Id: I9c3f2d24665cb3de8e70904893f56c928b0caabb
2014-05-31 13:43:44 +02: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
RoboErik
283c907a6a Merge changes I16ad392e,Ie26a7d01 into lmp-preview-dev
* changes:
  Refactor transport controls APIs
  API changes to sessions
2014-05-30 22:18:54 +00:00
Ihab Awad
3da92d6df1 Merge "DO NOT MERGE. Allow ConnectionService to ask Telecomm for ringback" into lmp-preview-dev 2014-05-30 21:50:51 +00:00
Yin-Chia Yeh
f41799e7f7 Merge "Camera2: update the range of metering weight" into lmp-preview-dev 2014-05-30 21:41:42 +00:00
Craig Mautner
9edc732477 Merge "Change PersistableBundle API per council's request" into lmp-preview-dev 2014-05-30 21:40:17 +00:00
Ihab Awad
f835897f9f DO NOT MERGE. Allow ConnectionService to ask Telecomm for ringback
Provides a pass-through from the ConnectionService API to Telecomm allowing
a ConnectionService to either play the ringbacks on its own, or ask Telecomm
to play the ringbacks on its behalf.

Bug: 15190301
Change-Id: Ib0f2ce9bf798ec0df0e6d33559174c82de059a94
2014-05-30 21:10:43 +00:00
Winson Chung
b2f4bc8727 Merge "Updating paddings to design spec." into lmp-preview-dev 2014-05-30 21:06:18 +00:00
John Spurlock
3a00419a13 Merge "QuickSettings: Fix flash when expanding panel." into lmp-preview-dev 2014-05-30 20:29:19 +00:00
John Spurlock
bc3a5e9469 QuickSettings: Fix flash when expanding panel.
Bug:15186962
Change-Id: Ib42776989d687f8873f7bd3c2567c31a23e0490f
2014-05-30 16:20:05 -04:00
Igor Murashkin
1998daf1ee Merge "camera2: Change android.lens.focusRange to Pair<Float,Float>" into lmp-preview-dev 2014-05-30 20:19:32 +00:00
Chris Wren
99f963ea04 Add people signals to Zen mode.
Depends-On: I51fcf689ddbee7715e3387b865f18a715887c943
Change-Id: I7c91dec1afeb54505426c4da59ec4d072a60c240
2014-05-30 16:16:23 -04:00
Chris Wren
4f0e39a929 Merge "Track Zen Mode status in the NotificationRecord" into lmp-preview-dev 2014-05-30 20:15:38 +00:00
Craig Mautner
0a8e160eb5 Change PersistableBundle API per council's request
Fixes bug 15192573.

Change-Id: Ib98ef132c8c12e68e805cb3c0b1f7ae75940f17c
2014-05-30 13:14:44 -07:00
Chris Wren
333a61c3a5 Track Zen Mode status in the NotificationRecord
This requires the record to be present in makeRankingUpdateForListener,
however, if the ranking object is created before the post to the handler,
then no cloning is necessary.

Depends-On: I907a1ff28123219db1c08889d723ad1b70b191ab
Change-Id: I51fcf689ddbee7715e3387b865f18a715887c943
2014-05-30 16:09:51 -04:00
Adam Powell
da44532b61 Merge "Compatibility fix for apps that construct Notification.Builders early" into lmp-preview-dev 2014-05-30 20:01:54 +00:00
Sreeram Ramachandran
b0e25870dc Merge "Support legacy routes added by apps via ensureRouteToHost()." into lmp-preview-dev 2014-05-30 19:47:50 +00:00
John Reck
ca8eb243d1 Merge "Re-jigger layers" into lmp-preview-dev 2014-05-30 19:46:24 +00:00
Wei Wang
94fec83db4 Merge "Address API review comments. 1. Moved le stuff to it's subpackage. Remove BluetoothLe for all classes except *Scanner, *ScanSetting, *Advertiser and *AdvertiseSettings. 2. Make all callbacks abstract classes instead of interfaces. 3. Moved AdvertisementData and ScanRecord out and removed AdvertiseBaseData 4. Removed newBuild and use new Builder for all builders. 5. Using setxxx in builders. 6. Misc other changes." into lmp-preview-dev 2014-05-30 19:39:11 +00:00
Santos Cordon
515e09b837 Merge "Update showCallScreen to use Telecomm (1/6)" into lmp-preview-dev 2014-05-30 19:36:41 +00:00
Adam Powell
bf06fa0479 Compatibility fix for apps that construct Notification.Builders early
Some apps in the wild are known to construct a Notification.Builder
from within their Activity constructor, passing said Activity instance
as the Context parameter. However at this point in the Activity's
lifecycle the ContextWrapper's base context has not yet been populated
and most calls to Context methods will fail.

Even though this was technically undefined behavior in the past, as
apps have little to no way to guess at these internal implementation
details it's probably best to preserve old expectations. Add a note
in Notification.Builder for future framework developers and remove the
offending call - the associated field was never used anyway.

ಠ_ಠ

Change-Id: I4cf3df10be14739babc8ae9a969d261a7ecf8beb
2014-05-30 12:32:18 -07:00
Dianne Hackborn
f69af6b6d5 Merge "Mark getRecentTasks() and getRunningTasks() as deprecated." into lmp-preview-dev 2014-05-30 19:31:28 +00:00
Dianne Hackborn
a25a8b289b Mark getRecentTasks() and getRunningTasks() as deprecated.
Change-Id: Idba79d7a4c0b9f0929f8dd27f25bd6aa548f5622
2014-05-30 12:30:35 -07:00
John Reck
d72e0a339b Re-jigger layers
Bug: 15185239
 Bug: 15238382

 Make DeferredLayerUpdater ref counted so that
 HardwareLayer:finalizer() works non-crashily on
 leaked layers
 Give DeferredLayerUpdater the ability to have a layer destroyer
 set so that leaked layers can still be recycled on the
 RenderThread
 Order layer updates based off of pushLayerUpdate() calls to fix
 issue with nested layers

Change-Id: I4449cee607f7e5126e02fed7464cf48038e3dfdf
2014-05-30 12:19:33 -07:00
Yin-Chia Yeh
97f1c85499 Camera2: update the range of metering weight
Limit the range of metering weight to 0-1000.

Bug: 15315352
Change-Id: Iceb13b72508cb3c9f758bdcb1b69b6b11ec5aaf8
2014-05-30 12:05:48 -07:00
Winson Chung
cd23c849af Updating paddings to design spec.
Change-Id: I11286937216494304c38c87280bc69ef9522c596
2014-05-30 11:44:27 -07:00
Santos Cordon
3534ede572 Update showCallScreen to use Telecomm (1/6)
- Add API methods to InCallService and ITelecommService.
- Remove old methods from ITelephony.
- Route the TelephonyManager methods through ITelecommService instead of
  ITelephony.
- Update Lock screen to use TelephonyManager instead of ITelephony.

Bug: 15008165
Change-Id: Ib674e2e48efaa1cc97d1513dc2c2b27fdb343657
2014-05-30 11:35:42 -07:00
Igor Murashkin
5743868e15 camera2: Change android.lens.focusRange to Pair<Float,Float>
Since the focus range is defined in diopters (1/distance), it just so
happens that in a range [near, far] near >= far which is against the
android.util.Range contract.

Change it to pair instead.

Also adds a marshaler for Pairs since they didn't have one before
(and aren't parcelable).

Bug: 15335269
Change-Id: If2f3259aeec072438a1c18c1b9728a4c81e92a40
2014-05-30 11:28:49 -07:00
Sreeram Ramachandran
515350a5e2 Support legacy routes added by apps via ensureRouteToHost().
Change-Id: I0ee1ca89fdc859d75a89021ca8c1902811b1e4a9
(cherry picked from commit fb17b32550de624b7f476b70b7a2fc77f31dde7d)
2014-05-30 18:21:34 +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
Adam Powell
a24114e7b1 Merge "Fix bad casts in action bars" into lmp-preview-dev 2014-05-30 17:49:19 +00:00
John Spurlock
303170e5c2 Merge "QuickSettings: Maintain tile panel Y in detail mode." into lmp-preview-dev 2014-05-30 17:40:23 +00:00
RoboErik
c47fa84b0a Refactor transport controls APIs
This merges TransportPerformer into MediaSession + a
TransportControlsCallback and makes TransportController into an
inner class on MediaController called TransportControls. Also makes
the PlaybackState and Metadata part of the session APIs instead of
transport controls.

Change-Id: I16ad392e6d318abe3119ad5d89656d253af25e16
2014-05-30 10:35:44 -07:00
Adam Powell
76d1466dfc Fix bad casts in action bars
Not all DecorToolbars are themselves views. Use the interface
passthrough instead.

Bug 15335176

Change-Id: I88f1701822406d4204d344aef855a4a707e4c7ab
2014-05-30 10:34:40 -07:00
Sebastien Hertz
8d07a14ee4 Merge "Report runtime information to DDMS" into lmp-preview-dev 2014-05-30 17:31:52 +00:00
John Spurlock
3e04cc8c9b QuickSettings: Maintain tile panel Y in detail mode.
Hide the brightness slider to reduce visual clutter.
Stabilize the tile panel further by preventing it from
shrinking to less than the tiles height.

Bug:15341870
Change-Id: I785ff9c13f8489e86e3bdc8dde45ebd39f9a1413
2014-05-30 13:14:16 -04:00
Dianne Hackborn
2d2e30eeac Merge "More work on voice interaction visuals." into lmp-preview-dev 2014-05-30 17:11:19 +00:00
Tim Kilbourn
1d285b091b Merge "Add global key mappings to dump output." into lmp-preview-dev 2014-05-30 17:09:12 +00:00
Yuhao Zheng
8407968db6 Merge "DO NOT MERGE - Wifi Passpoint API change" into lmp-preview-dev 2014-05-30 17:08:07 +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
Vinit Deshpande
c05cb5ffb3 Merge "DO NOT MERGE: Revert "Make Wifi WPS API available on application layer"" into lmp-preview-dev 2014-05-30 15:55:54 +00:00
Amith Yamasani
fc2ae28f78 Merge "Tweak LauncherApps API based on feedback" into lmp-preview-dev 2014-05-30 15:49:21 +00:00
Selim Cinek
a02fe523cc Reduced overexpansion when expanding the panel
Bug: 14486987
Change-Id: Ic1546e1661e3afe842b044abf636421d2620bddd
2014-05-30 15:32:52 +00:00
Selim Cinek
79525b2f02 Merge "Implemented the appear animation for the pattern security." into lmp-preview-dev 2014-05-30 15:32:39 +00:00
Selim Cinek
3018197cf0 Implemented the appear animation for the pattern security.
Also refactored AppearAnimationUtils slightly to support this.

Bug: 15163546
Change-Id: I411fad20c410875dcf7bc465ea545ed90aac187e
2014-05-30 17:29:22 +02:00
Martijn Coenen
748fca45fc Merge "Address HCE API review comments." into lmp-preview-dev 2014-05-30 14:52:48 +00:00
Adrian Roos
4314f6d5fa Eagerly dismiss Keyguard when launching notifications and phone
Uses the new code path when launching phone that delays the launch
until the Keyguard is actually dismissed, which fixes another way
for 14622312 to pop up. Also adds a flag to prevent the Keyguard
from waiting for the launch animation to finish.

Bug: 15280103
Bug: 14622312

Change-Id: Id24e40785c9f760648140e5572b1d39889d3666b
2014-05-30 16:01:43 +02:00
Jorim Jaggi
5c0727ff2d Merge "Cache whether a password/pattern is set." into lmp-preview-dev 2014-05-30 12:30:55 +00:00
Yuhao Zheng
0cb59f2c03 DO NOT MERGE - Wifi Passpoint API change
- hide package android.net.wifi.passpoint
- extend android.net.wifi APIs for Passpoint credential management
  > hide for preview

Bug: 15191967
Change-Id: Ic90818cf5c91e93dd7890774543e08b842edc594
2014-05-29 23:53:21 -07:00