137140 Commits

Author SHA1 Message Date
Deepanshu Gupta
58ff7de971 Fix build.
Change-Id: I877532b5056a035dbd4b0c6c55b5969d6292846a
2014-06-04 16:50:07 -07:00
Deepanshu Gupta
648a309d9b Merge "Add basic support for simulating older versions." into lmp-preview-dev 2014-06-04 23:37:37 +00:00
Igor Murashkin
6e9c5cc617 Merge "camera2: Change CaptureListener callbacks to include the session (api)" into lmp-preview-dev 2014-06-04 23:31:54 +00:00
Raph Levien
cbc9a679d8 Merge "Turn off elegantTextHeight in quantum theme" into lmp-preview-dev 2014-06-04 23:28:47 +00:00
Alan Viverette
1c121e124a Merge "Update ripple spec, fix ripple mask, rotate progress drawable" into lmp-preview-dev 2014-06-04 23:13:55 +00:00
Raph Levien
c499e97667 Turn off elegantTextHeight in quantum theme
Setting elegantTextHeight to true was a great experiment, but it led to
too much difficulty getting text to fit in space-constrained spaces
(action bar, list items). A long term solution is optical bounds, but
for the time being, just turn it off.

This patch fixes bug 14227056: "Language name displaying under Personal
dictionary are truncated in landscape mode"

Change-Id: I2b0e1ca2e7a06cd0fd9a4d84c1c07fdea2ddbf03
2014-06-04 16:09:11 -07:00
Adam Powell
2a7b35e80b Merge "Fix list navigation callbacks for ActionBarView" into lmp-preview-dev 2014-06-04 23:04:56 +00:00
Igor Murashkin
21547d66a9 camera2: Change CaptureListener callbacks to include the session (api)
* Also makes CameraDevice an abstract class (API)

Bug: 15428219
Bug: 14964443
Change-Id: I0e8c8309186aad59570aac7e0f998bb615405f0a
2014-06-04 16:03:32 -07:00
Adam Powell
c9102d743f Fix list navigation callbacks for ActionBarView
Fix a regression from a previous refactoring where the call ordering
between setNavigationMode and setListNavigationCallbacks could result
in the item selection listener being ignored.

Bug 15395053

Change-Id: I5330f2c684a21448c64c6b62eec10b96405758f7
2014-06-04 15:49:04 -07:00
Matthew Williams
64939ae385 DO NOT MERGE Redact SyncService stuff from master
Cherry-pick over from master.
This changes the API surface area, deleting things we aren't releasing.
I'll do the internal clean-up at the same time I do the SyncManager
refactor to sit on top of the TaskManager.
Bug: 14997851

Change-Id: Ieebbbcd3324827098e88b36e45e6e82315a51e65
2014-06-04 22:46:25 +00:00
Ruben Brunk
35677d1762 Merge "DNG: Hide unimplemented methods." into lmp-preview-dev 2014-06-04 22:25:18 +00:00
Deepanshu Gupta
e43dcc1d64 Merge "Distinguish between menus in ActionBar and popup." into lmp-preview-dev 2014-06-04 22:11:37 +00:00
Raph Levien
8224ad4f70 Merge "Query style from asset-created font (Minikin)" into lmp-preview-dev 2014-06-04 22:05:41 +00:00
Zhijun He
d618169619 Merge "Camera2: Update availableStreamConfigurations for JPEG sizes" into lmp-preview-dev 2014-06-04 21:56:27 +00:00
Selim Cinek
45474056ea Merge "Simplified maxPanelHeight logic." into lmp-preview-dev 2014-06-04 21:49:04 +00:00
Alan Viverette
b996d809bf Update ripple spec, fix ripple mask, rotate progress drawable
Change-Id: I4fc155bf2f12d9f324c354dee81479f9cddafac4
2014-06-04 14:35:42 -07:00
Craig Mautner
4c6debb767 Merge "Launch document sharing into unique activities" into lmp-preview-dev 2014-06-04 21:13:06 +00:00
Zhijun He
df9b74781a Camera2: Update availableStreamConfigurations for JPEG sizes
Also Fix some doc issue in availableCapabilities

Bug: 12035686
Change-Id: Ie517a587f4a9e6cd9731fcca042e24adf832d9e3
2014-06-04 20:56:20 +00:00
Adam Powell
f5188cf6d5 Merge "Fix EdgeEffect clipping and AbsListView's use of it" into lmp-preview-dev 2014-06-04 20:55:57 +00:00
Adam Powell
9be22455ac Fix EdgeEffect clipping and AbsListView's use of it
Make sure that we clip the edge glow against the edges of the view and
not against padding. If we're clipping to padding already, this will
happen automatically.

Bug 15020863

Change-Id: I4645c92f2a372d3c9fa8bb5a9fda44c0d82ac4cf
2014-06-04 13:46:55 -07:00
Raph Levien
1633caef58 Query style from asset-created font (Minikin)
This patch sets fStyle on the TypefaceImpl based on querying the font,
which is important in the Typeface.createFromAsset path. This fixes both
the style returned from getStyle() and also selects fallback fonts to
best match the style of the main font.

Fixes bug 15429916: "Typeface.getStyle always returning 0 in some L
devices".

Change-Id: I1992ba1e65e7f488d331e175f5f12843f67c2faa
2014-06-04 13:46:35 -07:00
Selim Cinek
aa402d513a Simplified maxPanelHeight logic.
Bug: 14487435
Change-Id: If171758a3143b24d7a1443c4761890670d03e49a
2014-06-04 22:41:04 +02:00
Selim Cinek
1bb443724b Merge "Fixed an animation bug" into lmp-preview-dev 2014-06-04 20:39:56 +00:00
Selim Cinek
159ffdbf00 Fixed an animation bug
Reposition animations were generated even if the shade is closed
or animations are disabled.

Bug: 15181880
Change-Id: I278278862f4b4837fe164ce2b769d9d50fa50ced
2014-06-04 22:35:43 +02:00
Ruben Brunk
8e783f7a52 DNG: Hide unimplemented methods.
Bug: 15112503
Change-Id: I31187a92b610af68fb854a27a564abf7d0635478
2014-06-04 13:21:04 -07:00
Robert Greenwalt
b2be801f07 Merge "DO NOT MERGE Report new network scores back to factories." into lmp-preview-dev 2014-06-04 19:37:19 +00:00
Eric Laurent
88db5c37ad Merge "AudioSystem JNI: fix audio gain channel count" into lmp-preview-dev 2014-06-04 19:21:57 +00:00
Robert Greenwalt
8ae980dcef DO NOT MERGE Report new network scores back to factories.
This is a first order approx of what we want - should probably be good enough in most cases.

bug:15277751

Change-Id: I10e3b25f6ad5c7e022ba966ed514d4e6a999180d
(cherry picked from commit 94a5c61cb82401dd777d0a7ac43183d92d955323)
2014-06-04 19:15:17 +00:00
Raph Levien
dd12532941 Merge "Fix incorrect getStringBounds (Minikin)" into lmp-preview-dev 2014-06-04 19:10:48 +00:00
Fabrice Di Meglio
b223ab1b43 Merge "Update permissions assets for Quantum Theme" into lmp-preview-dev 2014-06-04 18:54:08 +00:00
Fabrice Di Meglio
318875bbcf Update permissions assets for Quantum Theme
See bug: #14258811 Permissions icons are not visible in App info

Change-Id: I7167b636093cf56e3443fb46c89d693ba50eb59c
2014-06-04 11:51:07 -07:00
Eric Laurent
94236c56dd Merge "add permission for AudioManager routing APIs." into lmp-preview-dev 2014-06-04 18:10:25 +00:00
Adrian Roos
14830a332f Merge "Hide TrustAgentService in lmp-preview - DO NOT MERGE" into lmp-preview-dev 2014-06-04 18:10:03 +00:00
Craig Mautner
2c60de3f6d Launch document sharing into unique activities
If the same item is shared twice (or more) a new activity for
sharing will be launched each time. Previously the first sharing
activity would be reused.

Fixes bug 14903271.

Change-Id: Ib9e618f3d42079836529e86c138a6c999350cac5
2014-06-04 11:06:42 -07:00
Jorim Jaggi
d63d298047 Merge "Fix not being able to dismiss notifications with tap." into lmp-preview-dev 2014-06-04 17:10:31 +00:00
Jorim Jaggi
787a0af8eb Fix not being able to dismiss notifications with tap.
Also fixes that the go-to-shade gesture sometimes triggers the unlock
hint animation.

Bug: 14487435
Bug: 15421928
Change-Id: Ie7e01c81a397b9b1a03baed82c1270ba4e7eb799
2014-06-04 18:57:14 +02:00
Eric Laurent
0078c7cc59 AudioSystem JNI: fix audio gain channel count
Use audio utility function instead of popcount
to get channel count from channel mask

Bug: 14815883.
Change-Id: Ia9a898c9f7f03d22caeefb418be1e33f65f7b7bb
2014-06-04 09:49:52 -07:00
Selim Cinek
ab860fb419 Merge "Fixed panel top padding animation regression" into lmp-preview-dev 2014-06-04 16:49:04 +00:00
Selim Cinek
758afb1497 Fixed panel top padding animation regression
Bug: 14487435
Change-Id: I50a56d2a3bdbcbce078e96bdb9b9d9f4249b937e
2014-06-04 18:46:12 +02:00
Robert Greenwalt
9fcabfee51 Merge "Call a network restricted only if all capabilities are restricted" into lmp-preview-dev 2014-06-04 16:44:54 +00:00
Selim Cinek
d2ff16c657 Merge "Fixed flickering in panel overscroll" into lmp-preview-dev 2014-06-04 16:40:48 +00:00
Selim Cinek
151037c5b8 Fixed flickering in panel overscroll
Bug: 14487435
Change-Id: Id4fe18231397a1bbce42c5baba0b2c4cad955c56
2014-06-04 18:38:21 +02:00
Jorim Jaggi
bc07ebb9b8 Merge "Fix Keyguard crash when in landscape." into lmp-preview-dev 2014-06-04 16:07:02 +00:00
Jorim Jaggi
6a247199ba Fix Keyguard crash when in landscape.
Bug: 15391673
Change-Id: Icb50af358a8478672265a420dd7d500a87fb3fa0
2014-06-04 17:59:37 +02:00
Jorim Jaggi
53f391c4eb Merge "Fix padding in more card." into lmp-preview-dev 2014-06-04 15:45:43 +00:00
Jorim Jaggi
ac80c44a42 Fix padding in more card.
Bug: 15392952
Change-Id: Ibcb8b3b5be161e31855f058a22566a6f7a7f326b
2014-06-04 17:42:12 +02:00
Selim Cinek
dd13c51ff3 Merge "In the speedbump view, use hasOverlappingRenderings instead of layers" into lmp-preview-dev 2014-06-04 15:34:46 +00:00
Selim Cinek
9c80964d3f In the speedbump view, use hasOverlappingRenderings instead of layers
Bug: 15181880
Change-Id: I49b0dbe1cd0ff9f7804dc68502b73fcfd87c7389
2014-06-04 17:30:07 +02:00
Selim Cinek
5b8ca9f611 Merge "Disabled touch interaction when in Quick settings." into lmp-preview-dev 2014-06-04 15:23:59 +00:00
Selim Cinek
5158d82340 Disabled touch interaction when in Quick settings.
Bug: 15308429
Change-Id: I7379b7e3d7145033ff733cef9a336e41793ab103
2014-06-04 17:22:53 +02:00