149485 Commits

Author SHA1 Message Date
John Reck
3d3f5f8c68 Merge "Implement TODO" into lmp-dev 2014-09-02 22:58:51 +00:00
Dianne Hackborn
526b642290 Merge "And yet more logging for slow execution." into lmp-dev 2014-09-02 22:49:38 +00:00
Alan Viverette
416387763c Don't clip preference row icons to padding
Need negative margins to align the 48dp icons correctly with Material
layout guidelines and still respect listPreferredItemPaddingStart.

BUG: 17316340
Change-Id: I2d3baa4cd2857fb73a65eba3447de33d7319b6df
2014-09-02 15:46:18 -07:00
John Reck
1661715d40 Implement TODO
Change-Id: I551ad0dab6356baa4c7787718b54d5b7337a3f26
2014-09-02 15:44:14 -07:00
Lorenzo Colitti
ca2f20deaa Merge "Use per-Network connection pools for openConnection." into lmp-dev 2014-09-02 22:40:10 +00:00
Lorenzo Colitti
089ea995ba Merge "Pass the socket mark for DNS queries to dnsmasq." into lmp-dev 2014-09-02 22:39:18 +00:00
Michael Wright
17516155d7 am 144c21c2: (-s ours) am da3b4363: DO NOT MERGE: Use a linear spline if there\'s a non-monotonic brightness curve
* commit '144c21c2a063981efe942f98c4fa22ebd5f728fc':
  DO NOT MERGE: Use a linear spline if there's a non-monotonic brightness curve
2014-09-02 22:24:30 +00:00
Alan Viverette
d379361ecb Merge "Update pointer hotspots to scale for DPI" into lmp-dev 2014-09-02 22:20:12 +00:00
George Mount
c03da0e7a9 Make Fragment Transitions match Acitivty Transitions API
Bug 17188255

Change-Id: I506a097be4010d7156caf465c95295c58612c16e
2014-09-02 15:15:12 -07:00
Alan Viverette
be0dd99bac Make sure ripple background bounds are used for invalidation
BUG: 17349157
Change-Id: Ie88fbabbc66349aea9b7d00e28ca12f93776a4a7
2014-09-02 15:05:27 -07:00
Michael Wright
144c21c2a0 am da3b4363: DO NOT MERGE: Use a linear spline if there\'s a non-monotonic brightness curve
* commit 'da3b43633fe86d69aab5cab52826e76e01f18d63':
  DO NOT MERGE: Use a linear spline if there's a non-monotonic brightness curve
2014-09-02 22:02:23 +00:00
Dianne Hackborn
7b7b754fab Merge "Add public constant for usage stats app op." into lmp-dev 2014-09-02 21:54:56 +00:00
Raph Levien
4c5ea10caf Merge "Ensure layout in getExtendedPadding calls" into lmp-dev 2014-09-02 21:53:26 +00:00
Craig Mautner
980d466342 Merge "Account for scaling effects when cropping" into lmp-dev 2014-09-02 21:53:03 +00:00
Jorim Jaggi
5172dc2f36 Status bar iconography updates
- Use new assets for location, flightmode and "more" notifications
  icon.
- Update icon size and clock to spec.
- Change from fixed width of the icons to WRAP_CONTENT, so they look
  more evenly distributed.
- Adjust subpixel rendering of battery icon to match other vector
  icons.

Bug: 16161255
Change-Id: I0a80f223b7d532bc53a201cff37b8f1cb09f08c2
2014-09-02 23:52:48 +02:00
Svet Ganov
561b893174 Merge "Move print rendering in an isolated process." into lmp-dev 2014-09-02 21:51:47 +00:00
Adrian Roos
8c8fbcf358 Merge "Disable touch dispatch while adjusting brightness" into lmp-dev 2014-09-02 21:51:47 +00:00
Shri Borde
ffc150ebed Merge "Bug 17243357: Remove MessagingConfigurationManager" into lmp-dev 2014-09-02 21:48:10 +00:00
Michael Wright
da3b43633f DO NOT MERGE: Use a linear spline if there's a non-monotonic brightness curve
Some devices may contain things like transflective displays where
they actually want the backlight brightness to decrease in the face
of high ambient light scenarios. In the interest of time, just use a
linear interpolation based on the brightness control points for these
cases but in the future we should consider adding a non-monotonic
cubic spline.

Bug: 15611140
Change-Id: I308ad00943d916866ee8d2507a41b7032e6b524e
2014-09-02 14:47:37 -07:00
Adrian Roos
9dc3209913 Disable touch dispatch while adjusting brightness
Prevents new pointers from being added while the shade
is transparent so that nothing gets touched by accident.

Bug: 17113634
Change-Id: I4a607d08dbccd467280159060846edd32db9c512
2014-09-02 23:38:59 +02:00
Craig Mautner
78505d8d09 Account for scaling effects when cropping
When a scaled window inherits the crop from an attached animating
window the scaling must be accounted for or the crop will obscure
the scaled window.

In the case of the bug that this CL fixes, the SurfaceView containing
a video was scaled down from 1920x1080 by a factor of 0.562 to fit in
1080 width. The crop applied to the window was 1080 but this was passed
to surfaceflinger which ended up cropping the width to 608 due to the
scaling.

Applying the scaling factor to the crop rectangle fixes this bug.

Fixes bug 16334217.

Change-Id: Iafefe43d3696d9fbff01a3666096348468a41e1a
2014-09-02 14:36:31 -07:00
Adrian Roos
38b4670d46 Merge "Don't drop up or cancel touch events" into lmp-dev 2014-09-02 21:35:59 +00:00
Dianne Hackborn
36927a3600 And yet more logging for slow execution.
Change-Id: Idd485d3b4339e22a38fd688cbd435818ca38d233
2014-09-02 14:32:02 -07:00
Raph Levien
463cf1aea8 Ensure layout in getExtendedPadding calls
There are cases in which getExtendedPaddingTop() and Bottom can get
called even without a valid layout. This patch just makes sure there
is some reasonable layout available.

Fix for bug 14819392 "java.lang.NullPointerException in
android.widget.TextView"

Change-Id: I203899402ddfe857a688b16b7855a8991eee82b7
2014-09-02 14:23:18 -07:00
Adrian Roos
ce5474b837 Don't drop up or cancel touch events
Otherwise you're gonna have a bad time.

Bug: 17113634
Change-Id: I24fa13a4379bab0cef014010058d08096abda094
2014-09-02 23:19:56 +02:00
Yohei Yukawa
cc24e2b6a2 API Review: CursorAnchorInfo
This CL introduces following combinable flags as a replacement
of CHARACTER_RECT_TYPE_* constants.
- CursorAnchorInfo.FLAG_HAS_VISIBLE_REGION
- CursorAnchorInfo.FLAG_HAS_INVISIBLE_REGION

This CL also replaces #isInsertionMarkerClipped() with
flags.

Rationale:
getCharacterRectFlags() should return a set of flags, rather
than enum-like types.

getInsertionMarkerFlags() is more consistent with
getCharacterRectFlags() than isInsertionMarkerClipped().
It is also open for future extension.

BUG: 17200900
Change-Id: Ia8cbb9f6b41cd9509fc0147fd68763dfde593ffc
2014-09-02 14:08:39 -07:00
Shri Borde
7237972bff Bug 17243357: Remove MessagingConfigurationManager
It is replaced with SmsManager.getCarrierConfigValues

Change-Id: I560a53427b08746f2a7ed2e540ecb2c978b7ebd0
2014-09-02 14:00:21 -07:00
Jason Monk
f1c9c23e6a Correct hotspot notification asset
Bug: 17318568
Change-Id: I643ed22547370eef6f4b91f37ec9496e09428112
2014-09-02 16:39:15 -04:00
Jorim Jaggi
4dc653aaa2 Merge "Fix outdated time when turning on screen" into lmp-dev 2014-09-02 20:26:39 +00:00
Jean-Michel Trivi
859f4f7272 Merge "Restore permission check for mic muting" into lmp-dev 2014-09-02 20:23:00 +00:00
Mathieu Chartier
8c94a8f280 Merge "Add missing null check to ninePatchInsets" into lmp-dev 2014-09-02 20:07:05 +00:00
Jorim Jaggi
d09def7511 Fix outdated time when turning on screen
Force a synchronous update of the clock view when turning on the
screen. Also wait for the Keyguard window to be drawn when turning
on the screen.

Bug: 16904617
Change-Id: I38f78a38cfe35ccd067cd420d2bad626bd955ad6
2014-09-02 22:05:42 +02:00
Selim Cinek
58703e651c Merge "Notifications are now selectable by the Keyboard" into lmp-dev 2014-09-02 20:01:07 +00:00
Jorim Jaggi
4b149860b8 Merge "Remove different layout for landscape in Keyguard" into lmp-dev 2014-09-02 20:01:03 +00:00
Jorim Jaggi
e82f90e72e Remove different layout for landscape in Keyguard
Bug: 15422177
Change-Id: I8a643a8f6dcfed1530f17e8de6a5cc69533528b4
2014-09-02 21:54:25 +02:00
Jason Monk
f71edcaa14 Enforce permissions on start/stopLockTaskModeOnCurrent
Bug: 17308601
Change-Id: If3c941e206236023108a55360a627d24ca8ba608
2014-09-02 15:38:46 -04:00
Dianne Hackborn
c8838dfbec Merge "Fix issue #17322903: Crash in systemUI while launching an app from recents tab" into lmp-dev 2014-09-02 19:38:25 +00:00
Jason Monk
092be7de02 Don't show add user for simple user switcher
Bug: 17200801
Change-Id: Ideeabf52cae5a6c874fbc9d68be3e79a815db971
2014-09-02 15:26:13 -04:00
Chris Craik
0fd79c955b Merge "Fix precision issues for roundrect clipping" into lmp-dev 2014-09-02 19:25:09 +00:00
Svet Ganov
13f542cabd Move print rendering in an isolated process.
Security review of the PDF rendering code revealed that it is
not sercure. Therefore, this code must be run in a sandbox.
This change moves the rendering code in an isolated process.

bug:16897933

Change-Id: I711ce42a56892db1837950137bfaa79e1d61a7c4
2014-09-02 11:40:44 -07:00
Tsuwei Chen
1611c21dfd Merge "Reload GPS configuration after carrier info is available. Bug: 17110478 Change-Id: I1ecb71c4ca661df3dfeaea1622d73caeacb1350e" into lmp-dev 2014-09-02 18:36:37 +00:00
Paul Lawrence
e2c88d39b2 Add constants so we can distinguish decryption failures
Bug: 17213613
Change-Id: I6bc10a1ed0855f6946ea9eb2f8d2db00c1af327c
2014-09-02 18:26:32 +00:00
Christopher Tate
e93e6c81f2 Merge "Don't rewrite package restrictions unconditionally in findPreferredActivity()" into lmp-dev 2014-09-02 18:09:08 +00:00
Dianne Hackborn
5064e7c70c Add public constant for usage stats app op.
Change-Id: Ibc031b50e9fa4f1bd0955e0afd98e8b1bd77b905
2014-09-02 10:57:16 -07:00
Michael Wright
02aa75a083 Merge "VirtualDisplay.Callbacks -> Callback" into lmp-dev 2014-09-02 17:54:45 +00:00
Jean-Michel Trivi
5f4cfd3ab7 Merge "Move *_AUDIO_PLUG actions from Intent to android.media.AudioManager" into lmp-dev 2014-09-02 17:52:46 +00:00
Alan Viverette
376d10e99e Update pointer hotspots to scale for DPI
Also updates the bitmap resources, which weren't scaled correctly
for their respective DPI buckets.

BUG: 16459309
Change-Id: Iedc781e2ee47a8b960390fea718cb08bcfb84ae3
2014-09-02 10:45:30 -07:00
Svet Ganov
6906771d76 Merge "Magnification bounds not always animated on a looper thread." into lmp-dev 2014-09-02 17:43:18 +00:00
Jorim Jaggi
210052e7c7 Merge "Use separate icon group for signal/battery in QS header" into lmp-dev 2014-09-02 17:43:11 +00:00
Jorim Jaggi
06d551ac62 Use separate icon group for signal/battery in QS header
This reverts the terrible hack that reattaches the system icons when
expanding QS. This primarily fixes that the alpha of the icons was
wrong when closing the shade, but also fixes flickering when expanding
the shade.

Bug: 17338013
Change-Id: Ifcbe03eca43ed7639059734e23d740c1b8a7a9de
2014-09-02 17:42:25 +00:00