137194 Commits

Author SHA1 Message Date
Evan Charlton
e62a885ea6 Merge "Expose post-dial APIs" into lmp-preview-dev 2014-06-05 22:52:07 +00:00
Deepanshu Gupta
e872209986 Merge "LayoutLib: Add assertions for typeface." into lmp-preview-dev 2014-06-05 22:38:00 +00:00
Deepanshu Gupta
edfaa50864 Merge "LayoutLib: Font variants" into lmp-preview-dev 2014-06-05 22:37:09 +00:00
Deepanshu Gupta
37f7c68cd7 Merge "LayoutLib: Add capability to simulate old versions" into lmp-preview-dev 2014-06-05 22:36:57 +00:00
ztenghui
2050d39e08 Merge "API Review: move the CreateRevealAnimator to ViewAnimationUtils" into lmp-preview-dev 2014-06-05 22:32:41 +00:00
Ji-Hwan Lee
cc15afbe12 Merge "TvContract: Add channel logo and program thumbnail" into lmp-preview-dev 2014-06-05 22:12:08 +00:00
Yorke Lee
66c11e1f84 Merge "API changes to Telephony per API review" into lmp-preview-dev 2014-06-05 22:02:22 +00:00
Alan Viverette
19c0ebca59 Merge "Fix default stroke width and NPE for line with no stroke width" into lmp-preview-dev 2014-06-05 21:57:31 +00:00
Chris Craik
56f46abdcd Merge "Fix issues around GL on incorrect thread" into lmp-preview-dev 2014-06-05 21:53:48 +00:00
Deepanshu Gupta
a19b8c111b LayoutLib: Add assertions for typeface.
Framework passes typeface along with the paint object at many places.
Paint_Delegate is supposed to have the typeface object with it. Add
assertions to ensure that the two typefaces are indeed the same.

Change-Id: I68193513c2d99f269c0458d6493f23025bbda385
2014-06-05 14:42:14 -07:00
Matthew Williams
d6cee1a47d Merge "Include forgotten file to fix build." into lmp-preview-dev 2014-06-05 20:57:51 +00:00
Matthew Williams
eb3bf68b57 Include forgotten file to fix build.
Change-Id: I4a5ddb6063e5feb18d95ee5c7fe7a126ca59d3b9
2014-06-05 13:54:25 -07:00
Yorke Lee
d8819baf85 API changes to Telephony per API review
* Make context the first argument for isLocalEmergencyNumber and
isPotentialLocalEmergencyNumber

* Hide DisconnectCause
Bug: 15432083

Change-Id: I88b5ace925e3704bd032dc9694b0c2dd871b9cf9
2014-06-05 13:48:12 -07:00
ztenghui
62f30e0bb1 API Review: move the CreateRevealAnimator to ViewAnimationUtils
b/15451650

Change-Id: If270bbf757047ce7847cab457d3836d756830124
2014-06-05 13:45:15 -07:00
Alan Viverette
3b983a74c6 Fix default stroke width and NPE for line with no stroke width
Also fixes restart on visiblity change in AnimationDrawable

BUG: 15437284
Change-Id: I698e7ffb11489061a38fbcd5cea10ba11a6abb34
2014-06-05 13:43:25 -07:00
Alan Viverette
4586b0da63 Merge "Add defaults for caption colors and edge type" into lmp-preview-dev 2014-06-05 20:37:22 +00:00
Ji-Hwan Lee
4c1959cc45 TvContract: Add channel logo and program thumbnail
Channel logo is exposed via its own content URI,
"content://android.media.tv/channel/#/logo".

Program thumbnail is added as an URI column in existing program table.

Change-Id: I8dd636bbea9d3fa991ad42ccc03a198e8c1d051d
2014-06-06 05:12:12 +09:00
Winson Chung
1494f8671e Merge "Fixing issue with broadcast being sent before boot completed." into lmp-preview-dev 2014-06-05 20:04:40 +00:00
Winson Chung
5abdceb64b Fixing issue with broadcast being sent before boot completed.
Bug: 15444478
Bug: 15109101
Change-Id: I0fd5d32761c84ff237bce8328f23907bbf12ee6a
2014-06-05 20:01:25 +00:00
Raph Levien
0ead890d1c Merge "Support for context in Minikin shaping" into lmp-preview-dev 2014-06-05 19:37:08 +00:00
Raph Levien
30d3c97f29 Merge "Support for scaleX and skewX in Minikin" into lmp-preview-dev 2014-06-05 19:26:33 +00:00
Raph Levien
a8dcbdcec8 Merge "Fix broken macStyle flags on Roboto-MediumItalic" into lmp-preview-dev 2014-06-05 19:26:21 +00:00
Chris Craik
18bf85d4ae Fix issues around GL on incorrect thread
bug:15416165
bug:15414673

DisplayListRenderer must override these callbacks from
StatefulBaseRenderer, since the super implementations call GL.
Eventually, we'll just have DisplayListRenderer inherit from
StatefulBaseRenderer directly.

Change-Id: I7b20aa0ac6cae3bf6c6969c63bf9ba98ab2831ff
2014-06-05 12:22:15 -07:00
Matthew Williams
afcece8115 Merge "Add persistence of tasks for TaskManager & BatteryController" into lmp-preview-dev 2014-06-05 19:15:25 +00:00
Dan Sandler
71f507bbe9 Merge "Don't show private notifications if a secure lockscreen is merely occluded." into lmp-preview-dev 2014-06-05 18:35:49 +00:00
Matthew Williams
3d86fd2bb9 Add persistence of tasks for TaskManager & BatteryController
Tasks are persisted only if the client has the RECEIVE_BOOT_COMPLETED
permission. This applies to both periodic and one-off tasks.
Write out task as xml, using PersistableBundle for the extras data.
Todo: Add persistable bundle to xml when ag/468207 is merged.

Also added BatteryController logic.

Change-Id: I23eeeb8b3bc6ba155e7fa4ec25857a68ee8b1567
2014-06-05 18:28:43 +00:00
Raph Levien
6bfd7e7df3 Support for context in Minikin shaping
This patch uses the Minikin's new doLayout API that supports context,
and has some simple refactoring (pass css as string rather than setting
on the Layout object) to use this api.

Change-Id: I899474f81d377f3106e95ee3eb8d0fcc44c23ac2
2014-06-05 11:01:21 -07:00
Raph Levien
e95b5850ac Support for scaleX and skewX in Minikin
Passes textScaleX and textSkewX parameters, as well as paint flags from
the paint to Minikin, to support nontrivial scale and stretch of text.
Passing paint flags should minimize kerning artifacts arising from
mismatch of glyph rendering in layout and drawing.

Also, replaces unsafe snprintf to a fixed size buffer with a safe
version, which still avoids an allocation per layout operation.

This is part of the fix for bug 15186705 "Usability of the suggestion
strip in recent OTA's is severely reduced"

Change-Id: I79788383135836f4c21fb84405f36382627bf959
2014-06-05 10:57:18 -07:00
Selim Cinek
03b62b3c7f Merge "Fix PanelView over expanding behavior." into lmp-preview-dev 2014-06-05 17:57:15 +00:00
Jorim Jaggi
47c85a3525 Fix PanelView over expanding behavior.
Fixes a bug that the panel height was wrongly calculated and lagging
one frame behind. Also fixes the animation when overscrolling and
then flinging the panel to collapse. In addition, the logic to handle
the over expanding is much cleaner and calculated in an absolut
manner (before, it was relative an really complicated to understand).

Bug: 14487435
Change-Id: If8dbb3e063ef63f51f6dac0ae5bf276480514103
2014-06-05 19:54:42 +02:00
Deepanshu Gupta
ad69aee5ed LayoutLib: Font variants
Update to support font variants properly.

Change-Id: Iabe37babd9ddce80a9ba9eca7e0e5a0ffb090646
2014-06-05 10:34:12 -07:00
Raph Levien
d40f746b70 Fix broken macStyle flags on Roboto-MediumItalic
This is a fix for bug 15432929 "Seeing italics instead of bold"

The Roboto-MediumItalic font had macStyle of 3 (bold italic), which
caused it to be selected as a best match for a request of just bold.
This patch changes it to 2 (italic), leaving all else unchanged.

Change-Id: Ic28934904e11ca34cfede8429520d2d87aaf84cd
2014-06-05 10:24:33 -07:00
Chris Wren
3af4edf572 Merge "Disable the attention light on devices that do not have it." into lmp-preview-dev 2014-06-05 16:49:13 +00:00
Chris Wren
2d6b2f9be3 Merge "A notification that emerges from Zen Mode interception should beep." into lmp-preview-dev 2014-06-05 16:44:50 +00:00
Chris Wren
5116a821b9 Disable the attention light on devices that do not have it.
If the attention and notificaiton light are mapped to the same
physical LED, then pulsing the attention light can turn off the
notification light. See bug for detailed discussion.

Bug: 12900389
Change-Id: I2703af23f50ecc3e92140b9843aaf340d520bce5
2014-06-05 12:38:13 -04:00
Chris Wren
a344656a01 A notification that emerges from Zen Mode interception should beep.
If a notificaiton emerges from Zen Mode due to a ranking
reconsideration (possibly because a long-running query resolved an
important person) then it should get the oportunity buzz, beep, blink,
and send accessibility events.

Save what we need to know about the old notificaiton record on the new
record so we don't have to hold onto it.

Bug: 15383458
Change-Id: I15c7834fef03ff6a676e78e9d2caae24f00720ef
2014-06-05 12:38:13 -04:00
Eric Laurent
a335e14b6b Merge "remove debug log in AudioPortEventHandler." into lmp-preview-dev 2014-06-05 15:18:35 +00:00
Yorke Lee
8089ce7cbc Merge "API changes per API review for contacts" into lmp-preview-dev 2014-06-05 13:43:35 +00:00
Dan Sandler
4b22bdfa84 Don't show private notifications if a secure lockscreen is merely occluded.
Bug: 15430088
Change-Id: I27187216462b5bb7d52c3f85b9444348138fd9ea
2014-06-05 03:04:34 -04:00
Selim Cinek
7256a852ce Merge "Changed the default success color of the lockpatternview to white." into lmp-preview-dev 2014-06-05 05:36:22 +00:00
Selim Cinek
bd8deb0e3b Changed the default success color of the lockpatternview to white.
Since it was distracting when unlocking

Bug: 13735707
Change-Id: I6b9c5baa22dc5c102f36bdf9a99390c5dd1690ba
2014-06-05 07:25:01 +02:00
Ihab Awad
f73b23e7a1 Merge "DO NOT MERGE. Implement connection error dialogs (1/4)" into lmp-preview-dev 2014-06-05 05:24:38 +00:00
Selim Cinek
35066c385f Merge "Changed the LockPatternView assets to quantum" into lmp-preview-dev 2014-06-05 05:03:11 +00:00
Selim Cinek
2cb687e7b9 Changed the LockPatternView assets to quantum
Bug: 13735707
Change-Id: Id999adbd8a4aeb3ca91fcb9957ec38ec75ff91b0
2014-06-05 06:59:08 +02:00
Eric Laurent
e94379beba remove debug log in AudioPortEventHandler.
Bug: 14815883.
Change-Id: Ib5076fcfe8a36d1dd772b072fdf3400e57acc61c
2014-06-04 20:09:13 -07:00
Dan Sandler
c03f429b9f Merge "Platlogo: The icon now matches the activity." into lmp-preview-dev 2014-06-05 02:26:40 +00:00
Alan Viverette
e88aee8ad8 Add defaults for caption colors and edge type
BUG: 8151470
Change-Id: I4d7b75bf647aeded77b4000cdcd37e9ace46a374
2014-06-04 18:35:42 -07:00
Yorke Lee
1ca440b38f API changes per API review for contacts
* Improve documentation for REMOVE_DUPLICATE_ENTRIES
* Hide android.provider.ContactsContract.PinnedPositions, it will be
reworked and improved for L.
* Hide android.provider.ContactsContract.Preferences - we will rework
the various apps that are relying on this to use their own preferences
instead
* Remove inheritance of hidden interfaces in android.provider.Contacts

Bug: 15430304
Change-Id: I0f96e8a506083df21023f9b95655f0ce5244bdce
2014-06-04 18:16:26 -07:00
Eino-Ville Talvala
b530848032 Merge "Camera2: Invoke onError callbacks for failure to open" into lmp-preview-dev 2014-06-05 01:08:54 +00:00
Deepanshu Gupta
c8e2d0a4f8 LayoutLib: Add capability to simulate old versions
Let the IDE know that we can simulate older versions of platform.

Change-Id: Idec6d24296dd0ae04a2d808c14604629e265d458
2014-06-04 17:08:48 -07:00