9209 Commits

Author SHA1 Message Date
John Spurlock
1e6eb17a22 QS: Introduce cast control panel.
Make cast controller more granular, at the route level, and
bind a common detail item panel to the available routes.

Fix tile icon, add connecting label.

Remove dialog presentation, no longer needed.

Add the new empty state, and add controller state to dump.

Found a bug in keyguard when in presentation mode, added
a workaround - don't crash when no owner info in keyguard
status view.

Bug:15833210
Change-Id: I19afec390eac2260bccf4a7064065b666b7bceca
2014-07-13 12:06:21 -04:00
John Spurlock
486b78e426 QS: Introduce bluetooth control panel.
- Factor out common detail item panel view, share with Wifi.
- Add an empty state (large icon + text)
- Implement connect / disconnect for supported BT profiles.
- Wire up "scanning" state, but still waiting on asset.
- Add BT controller info to dump.

Bug:16235253
Change-Id: Icf854cafba962fe4b63767d7206e309d80b7b87b
2014-07-12 18:41:57 -04:00
Winson Chung
d336042f7a Merge "Adding missing passthrough of task affiliate id." 2014-07-11 16:34:41 +00:00
Winson Chung
8236f525f9 Adding missing passthrough of task affiliate id.
Change-Id: Ied2997418ae4c17d0d130c9e6434c0e6e645da41
2014-07-11 19:24:15 -07:00
Winson Chung
305addefcd Piping through task affiliation to Recents. 2014-07-11 19:15:17 -07:00
Winson Chung
5f1970cc4d Merge "Piping through task affiliation to Recents." 2014-07-11 23:25:18 +00:00
Chris Craik
7b7ca3cdf2 Disable setOutline() functionality, pending full removal
bug:15283203
Change-Id: Ibf127fecfcda835117c6087180c64f622b3041e4
2014-07-11 19:02:28 -07:00
Winson Chung
1f24c7e37b Initial changes to support lock-to-app on the foremost task. (Bug 16221876) 2014-07-12 00:10:11 +00:00
John Spurlock
dfd6b4e9f4 Merge "Volume: Extend the volume dialog timeout for notifications." 2014-07-10 21:35:02 +00:00
John Spurlock
ea9938ca5f Volume: Extend the volume dialog timeout for notifications.
Even when the condition panel is collapsed, increase the timeout
a bit to aid readability.

Bug:16237299
Change-Id: I36d01300a94f17e02ee35b5a6f549ed180532ad8
2014-07-11 18:51:32 -04:00
Svetoslav
15cbc8a032 Addressing comments for the print preview feature.
Change-Id: Ib72140a912e22f859258d970e0d1c4ef06e807d5
2014-07-11 16:46:46 +00:00
Svetoslav
000f88c9e8 Adding back accidentally removed constants
Change-Id: Ib99000da8f31437e7d40eceb69779a0f4c2982e1
2014-07-11 22:54:28 +00:00
Svetoslav
39afc200f2 Remove commented out dead code
Change-Id: I3e59d0ee55fd864ea0d8bc5f99cdb74d9b0e49bb
2014-07-11 22:49:59 +00:00
Svetoslav
1710e0318d Fix print preview rendered page preloading.
After the preview list is scrolled we are preloading the
pages around the ones that are shown, so now if the user
does a slight adjustment (expected after a scroll) the
pages around are rendered. There was an off by one error
and one of the bitmaps of the shown pages was reused and
as a result the wrong content was shown.

Change-Id: If04aebf46bcc637491221c6218005ecc1a7253d2
2014-07-11 22:23:58 +00:00
Svetoslav
53912d07d2 Fix the print button appearance.
Change-Id: Ie19a52eaf08e1e39bb488c5afa2344c72e646b0b
2014-07-11 21:42:06 +00:00
Jorim Jaggi
329fa24048 Split AM/PM from the rest of the time in expanded QS
This allows us to scale AM/PM independently of the rest of the time
string to allow for a different scale when QS is expanded.

Bug: 16177564
Change-Id: I472db549c875f6975583a6a426cb1ebc2fc37ac3
2014-07-11 20:43:23 +00:00
John Spurlock
e217145b69 Merge "Zen: Be more defensive against old time conditions." 2014-07-10 21:21:20 +00:00
John Spurlock
bc5858f489 Zen: Be more defensive against old time conditions.
Bug:16192570
Change-Id: If5097174fac89c5d809271241645d1efca92476e
2014-07-11 14:33:18 -04:00
Winson Chung
083baf99ff Fixing a few potential crashes, preparing for Task affiliations framework changes.
- Deferring widget host listening to speed up startup
- Ensuring that we animate to the right task position in the stack and not just the front-most
- Removing assumption that we can only get screenshots for the most recent task
2014-07-11 17:36:57 +00:00
Jorim Jaggi
fb98a5023e Fix weird state when tracking and pressing back
Bug: 10934514
Change-Id: I60bbd6005e664033ed22c87b404ddc918e5f2c0e
2014-07-11 15:28:58 +00:00
John Spurlock
be8df5aea8 Merge "Volume: delay dismissing panel when starting settings." 2014-07-10 21:35:02 +00:00
John Spurlock
1dad272337 Volume: delay dismissing panel when starting settings.
Bug:16211952
Change-Id: I067721d932076dafb35c6afd99583301acff9bea
2014-07-11 11:07:53 -04:00
Leon Scroggins III
d66a8719b0 Merge "Simplify Shader.setLocalMatrix." 2014-07-10 21:35:02 +00:00
Leon Scroggins III
ab87983a11 Simplify Shader.setLocalMatrix.
Previously, calling setLocalMatrix updated any Paint that had the
Shader attached. This depended on deprecated behavior in Skia. Use
new Skia APIs, and do not modify any Paints that use the Shader.

In addition, update callers to call setShader (again) after modifying
the Shader.

Sample app at ag/499573 for testing.

Depends on I673801444f0a8fd4f192b5b7effdde1aa83e702b in external/skia.

BUG:14315916
Change-Id: I3c3316377874e89fccc85afb864bc038b0ef3890
2014-07-10 18:01:22 -04:00
Jorim Jaggi
2c5baca5ed Fix panel height when only one notification is shown
Also fix the place holder height for the stack when QS is expanded.

Change-Id: Ia28373c21b5d2155e735425d5657dde2dec49c6d
2014-07-11 15:35:45 +02:00
John Spurlock
caebf6ff00 Merge "QS: Recenter feedback for non-dual tiles." 2014-07-10 21:35:02 +00:00
John Spurlock
529aa73af2 QS: Recenter feedback for non-dual tiles.
And dial the radius down a bit.

Bug:15168179
Change-Id: I946c556b6c31a74a526368097c5c16a7ddbc9749
2014-07-10 22:49:16 -04:00
John Spurlock
f84a1b87c7 QS: Enable wifi entering detail (if disabled).
Bug:16215297
Change-Id: I3cf2b7fadec0b10aeb894db5dc0b92d8b83511f7
2014-07-10 22:23:38 -04:00
John Spurlock
8263c3e064 Volume: Elide collapsed condition title if no end.
And make expanded title non-clickable.

Bug:16211705
Change-Id: I675b8ad8d08dca9a3f38292c45b771dc6532de77
2014-07-10 20:33:27 -04:00
John Spurlock
980f9925bb Merge "Volume: Use accent color for selected radio button." 2014-07-10 21:21:20 +00:00
John Spurlock
f7d22132c2 Volume: Use accent color for selected radio button.
Bug:16212456
Change-Id: Ic1badeaf6eec98cd2780592660a36d7087bb677b
2014-07-10 19:03:00 -04:00
John Spurlock
136c5ae2ce Merge "Volume: Promote alarm warning to title." 2014-07-10 21:28:08 +00:00
John Spurlock
86d04fdaa1 Volume: Promote alarm warning to title.
Bug:16211556
Change-Id: I839e08d1ba26ba825a9799f92c9b600feb91a81b
2014-07-10 18:37:45 -04:00
Christoph Studer
1d599da842 NotificationListenerService API: Avoid unnecessary allocations
Instead of producing Ranking objects, RankingMap just populates
them now, allowing developers to re-use objects and avoid
unnecessary allocations.

Also rename isInterceptedByDnd() to meetsInterruptionFilter(),
since DND is not a concept anymore.

Bug: 15415840
Bug: 16099064
Change-Id: If9861cbdf14593e641a4d4ffd1b967647eb8e2b8
2014-07-10 21:37:56 +00:00
Jorim Jaggi
1e2554b997 Implement two-finger pull down to QS.
Bug: 14590707
Change-Id: I7f88a5b26e88c79e19d4e6c7f4cc8277ffcb2d57
2014-07-10 21:30:52 +00:00
Julia Reynolds
3ff3db5f5c Merge "INSTALL_NON_MARKET_APPS lives in Secure again." 2014-07-10 00:38:28 +00:00
Julia Reynolds
25838509d8 INSTALL_NON_MARKET_APPS lives in Secure again.
Change-Id: Ib3c7a48b8dc2d649f2f6c8e8cd822ab342634afd
2014-07-10 12:29:40 -04:00
Winson Chung
1e44934f02 Fixing issue where we were responding to SCREEN_OFF and going home even if Recents was not visible. (Bug 16204632)
Change-Id: Id29d4190f63bfa3986d15975418f47a3a79fcb83
2014-07-10 20:59:42 +00:00
Wink Saville
47d8d1b0a8 Ignore hasService in updateTelephonySignalStrength
A possible reason for empty triangle is there is no service, I'm
temporarily ignoring hasService in updateTelphonySignalStrength and
adding more debug.

Add logSSC to see history of Service State Changes.

Bug: 16148026
Change-Id: Ia463997eac7b062653b3cef00570d3fffc115ad3
2014-07-10 20:02:43 +00:00
Jorim Jaggi
6bdc9bae74 Merge "Add glyph rerasterization hack for SystemUI." 2014-07-09 20:06:40 +00:00
Jorim Jaggi
362dd6d632 Add glyph rerasterization hack for SystemUI.
Change-Id: I39d84e981b828b501801349d7a5e70a089b5f14e
2014-07-10 01:07:44 +00:00
Adrian Roos
74185a3982 Merge "Add AlarmClock API to AlarmManager" 2014-07-10 00:35:26 +00:00
Adrian Roos
c42a1e1071 Add AlarmClock API to AlarmManager
Adds a new kind of alarm that represents an alarm clock and
a way to query the next scheduled alarm clock.

Deprecates Settings.System.NEXT_ALARM_FORMATTED.

Bug: 14589952
Change-Id: I297eeeff36d07adcda010afac183d0f5ee37dc99
2014-07-10 17:07:36 +00:00
Narayan Kamath
ff110bd61a Multi-arch application installs.
Each application now has two ABIs, the primary
and the secondary. The app is always launched with
the primary, but the secondary might be used by other apps
that load the given applications code. This implies we
must:

- dex2oat the app both ways.
- extract shared libraries for both abis.

The former is relatively straightforward but the latter
requires us to change the layout for shared libs that we
unpack from applications. The bulk of this change deals
with the latter.

This change continues to fill in nativeLibraryPath during
scans for backwards compatibility. This will be removed in
a future patch.

Change-Id: Ia943dd11ef815c5cbfc60f17929eaa2a652a385a
2014-07-10 17:16:14 +01:00
Jorim Jaggi
d4aafe9b70 Add battery level in status bar on Keyguard when charging
Also fixes flickering in the header when overscrolling the
notifications.

Change-Id: I3d6aa95e364298718c6d8b050a1091e7ccd7609d
2014-07-10 21:44:01 +02:00
Paul Jensen
ff6ecccdc8 Merge "Enable network validations and add app to handle captive portal login." 2014-07-10 00:32:18 +00:00
Paul Jensen
869868be65 Enable network validations and add app to handle captive portal login.
Network validation prevents networks claiming to provide internet connectivity
from becoming the default network in cases where internet connectivity is not
found to actually exist.
If a captive portal is encountered the appropriate broadcasts and notifications
are surfaced to allow apps to handle signing in.  If no app handles signing in,
my system app will handle it.

Bug:15409233
Bug:15409354

Change-Id: Ie240d7eac4bdbab8cc7578782bd72d8b26de7951
2014-07-10 13:14:01 -04:00
Jorim Jaggi
266f677f1b Fix that everything lights up when clicking on the header
Bug: 16133698
Change-Id: I2eafb7efd3b605b0b39c5dcf5a828b3f866775d9
2014-07-10 17:33:20 +00:00
Winson Chung
78155d5d14 Merge "Fixing random crash when transitioning to Recents, ensuring we don't update the TextView unnecessarily." 2014-07-09 21:30:41 +00:00
Winson Chung
bdbb87dd74 Fixing random crash when transitioning to Recents, ensuring we don't update the TextView unnecessarily.
Change-Id: I93ab512642f6e95ee96e041614f063f46420bb39
2014-07-09 14:39:52 -07:00