137580 Commits

Author SHA1 Message Date
Deepanshu Gupta
86837dc24a LayoutLib: Better support for compact/elegant fonts.
Change-Id: I67439924bc6323490ea0c7d7864985b400906f8c
2014-06-12 11:11:28 -07:00
Chris Wren
20d3ba200a Merge "Fix notification update path for structural updates." into lmp-preview-dev 2014-06-12 17:09:07 +00:00
Chris Wren
1dafd04247 Fix notification update path for structural updates.
Similar logic is required for the replacement case, as is already in place
for the update case, although the actions are different.

Bug: 15588056
Change-Id: I9ad115237c589716772e569fa1979a206b77097b
2014-06-12 13:51:51 -04:00
Ihab Awad
879d8b3308 Merge "DO NOT MERGE. Port "respond via SMS message" feature to new Telecomm. (1/4)" into lmp-preview-dev 2014-06-12 17:09:07 +00:00
Selim Gurun
4473427f85 Merge "Address the API review" into lmp-preview-dev 2014-06-12 05:34:42 +00:00
Selim Gurun
ee89ab4dd5 Address the API review
Bug: 15432556

The api council asks to change the interface to an abstract class
and clarify the clearClientCertPreferences api. This change addresses
these.

Change-Id: I7979788c7c041bacbfef5ea4d94309f91279ef22
2014-06-13 10:53:55 -07:00
Winson Chung
47f166dd8c Fixing issue where we do not get the task rects, and therefore have no transitions. (Bug 15610655)
Change-Id: Ie25f0037a4f8bf8c3069d50e3a0ad670125be9a1
2014-06-13 16:01:05 +00:00
Baligh Uddin
e31d9438db Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-12 21:07:47 +00:00
Baligh Uddin
0ce9237391 Import translations. DO NOT MERGE
Change-Id: Ic15fd186de8247f8a5cad5cce87218ebec6cd81e
Auto-generated-cl: translation import
2014-06-13 07:23:57 -07:00
Baligh Uddin
da8a64b80b Import translations. DO NOT MERGE
Change-Id: Ibdd11bf4b5a0ebb0394400688dd0e38a70660a62
Auto-generated-cl: translation import
2014-06-13 07:20:46 -07:00
Sol Boucher
b8cee5175d camera2: Remove stray </p> in CameraDevice#createCaptureSession
This was causing strange indentation.
The change also clarifies how to get the supported output sizes in the
ImageReader flow: Although the doc (correctly) instructed the developer to use
StreamConfigurationMap#getOutputSizes(int) with an ImageReader, this instruction
appeared after the bulleted list of output types. Since all other items in that
list specify that getOutputSizes(Class<?>) should be used, the reader shouldn't
be expected to read beyond the list only in this specific case.

Bug: 15574400
Change-Id: Id952b46ae52322d75abbcaffea678d5ba50b22a5
2014-06-12 17:39:11 +00:00
Eino-Ville Talvala
fb587f4f6b Merge "camera2 docs: Fix instructions for using SurfaceView." into lmp-preview-dev 2014-06-12 17:09:07 +00:00
Eino-Ville Talvala
5ae1ca5b69 camera2 docs: Fix instructions for using SurfaceView.
Bug: 15597178
Change-Id: I802369e61725451ddd8df855c384608c80e12693
2014-06-12 17:02:17 -07:00
Baligh Uddin
a14185bba6 Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-12 03:30:50 +00:00
Baligh Uddin
72822c345f Import translations. DO NOT MERGE
Change-Id: Ia6b6c5883d9ea2b9ce986bfa868d68bae034d36a
Auto-generated-cl: translation import
2014-06-13 11:22:10 -07:00
Robert Greenwalt
a83ce3451d Merge "Apply API Council comments to ConnectivityManager" into lmp-preview-dev 2014-06-12 03:30:50 +00:00
Robert Greenwalt
6078b50b01 Apply API Council comments to ConnectivityManager
rename isNetworkActive -> isDefaultNetworkActive
rename registerNetworkActiveListener -> registerDefaultNetworkActiveListener
make listenForNetwork/requestNetwork take a NetworkRequest
rename NetworkCallbackListener -> NetworkCallback
rename listenForNetwork -> registerNetworkCallback
rename releaseNetworkRequest -> unregisterNetworkCallback
remove NetworkRequest param from NetworkCallback functions
rename onNetworkCapabilitiesChagned to onCapabilitiesChanged
remove onReleased
change time units in onLosing from Sec -> ms

bug: 15142362
Change-Id: Ibc96e3f461706efe1eafa0d85605249cfd6e9fdd
2014-06-11 23:17:46 -07:00
Baligh Uddin
9aa192c210 Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-12 03:30:50 +00:00
Baligh Uddin
7a5ae205fc Import translations. DO NOT MERGE
Change-Id: Ic5be9149b760c096c0c850e8a9a0f60bd62d819c
Auto-generated-cl: translation import
2014-06-13 12:01:20 -07:00
Jorim Jaggi
67de52cd2e Merge "Bigger clock." into lmp-preview-dev 2014-06-12 05:34:42 +00:00
Christoph Studer
c511555670 Prevent duplicate notifications
Don't trust mNotificationData being sorted consistently
at all times...which it actually should. But apparently isn't.

Instead of using binary search to find the previous instance of
the notification when it's updated, use a simple linear scan.

Bug: 15589158
Change-Id: I7a09d0c64e35bd1930b8992d19da1393f4e4bb4e
2014-06-14 20:45:54 +00:00
Jorim Jaggi
220bf5cf9a Bigger clock.
Also fixes a bug where notifications would be wrongly padded
on Keyguard after rotating the screen.

Bug: 15244051
Change-Id: I2418692c3d2ffdd5fe642361f2924629bf9a75eb
2014-06-14 22:43:12 +02:00
Jorim Jaggi
ea384193d9 Change style of clock in status bar.
Bug: 15570452
Change-Id: I39ec2e2a18d382f378d5cccd94a6a8630b55a240
2014-06-14 06:22:34 +02:00
Jorim Jaggi
587e9e1831 Merge "Revert "Improve unlock motion."" into lmp-preview-dev 2014-06-13 21:09:46 +00:00
Jorim Jaggi
cc693247dc Revert "Improve unlock motion."
This reverts commit 03599a4c8fcc539948174136878f5e0ceec1eeda.

Change-Id: Iacd5f7ecd755ee2c8efdf1e37060a21702bcf08a
2014-06-14 03:04:35 +00:00
Alan Viverette
a35064931f DO NOT MERGE Fix bright foreground & hint colors
BUG: 15616463
Change-Id: I747a3fd30e701bd2ee40df5faf2688cd5af4ee14
(cherry picked from commit cf8b6f0610868a59fd8777d8aa3c865facc73e5b)
2014-06-13 22:59:02 +00:00
Jorim Jaggi
fd9d4414e8 Improve unlock motion.
Bug: 15244051
Change-Id: Ib33a7a8e27a2dc191c6e18ffe1cd2725dfa3bb37
2014-06-12 06:08:12 +02:00
Jorim Jaggi
8f4ac9e214 Merge "Revert "Introduced fading views for the camera interaction on the lockscreen."" into lmp-preview-dev 2014-06-12 03:30:50 +00:00
Jorim Jaggi
a27b004ca0 Revert "Introduced fading views for the camera interaction on the lockscreen."
This reverts commit 4f963c1b557010bf453af500b00f36b68988f8e2.

Change-Id: I8c7df9d115be1b89b57fb9c9bb2a12b4c1d45520
2014-06-14 03:58:56 +00:00
Nick Kralevich
c2c7516139 Merge "update mLastSlash for gdbserver" into lmp-preview-dev 2014-06-12 05:34:42 +00:00
Nick Kralevich
63948b8d89 update mLastSlash for gdbserver
the gdbserver special case wasn't updating mLastSlash. Fix it.

(cherry picked from commit 195b23ef712c51dc8d2f3a1f1943a27054dc4e74)

Change-Id: I52c6bbeb5483f8f6e20dd17de29ab703a6c8ebef
2014-06-13 21:44:48 -07:00
Selim Cinek
1aed973665 Introduced fading views for the camera interaction on the lockscreen.
Bug: 15126905
Change-Id: I82b0050a4216873d9cd191b32d1e5bf6871acbd6
2014-06-12 03:33:14 +00:00
Christian Robertson
5a1f97abca Merge "New geometric system bar icons" into lmp-preview-dev 2014-06-12 03:30:50 +00:00
Christian Robertson
7f37ab64a1 New geometric system bar icons
Bug: 15599260
Change-Id: I37688f368ce22f1dc30119fe174ce701c7c147cc
2014-06-13 17:42:45 +00:00
Christian Robertson
38187927cd Merge "Tunings for touch ripple animations" into lmp-preview-dev 2014-06-12 21:07:47 +00:00
Christian Robertson
4b65f0ebee Tunings for touch ripple animations
Added a log based interpolator (it's faster in the beginning and smoother
at the finish than the decelerate interpolator)

Scaled the timing and opacity of the falloff ripple based on the size
of the outer bounding radius. Backing circles aren't as apparent for
Smaller touch targets.

BUG: 15591274
2014-06-13 00:19:40 +00:00
Jorim Jaggi
0a27be899c Fix blank lockscreen.
Bug: 15281241
Change-Id: If315891274a97fa5cc579554b83b85cf3c87f0fb
2014-06-11 15:45:22 +02:00
Daniel Sandler
c776997e87 Clean up progress bars for media & other notifications.
Bug: 15147533
Change-Id: Ib4905203c004232bd7d78fe9fa316aa5688eaaa2
2014-06-11 13:18:59 +00:00
Jessica Hummel
542588e3ba Update documentation so it meets api requirements
Change-Id: Ice52dc3d5ecca77f81d3df1b43179c94aece6fef
bug:15023443

Conflicts:
	api/current.txt
	core/java/android/app/admin/DeviceAdminReceiver.java
2014-06-11 11:37:53 +01:00
Ihab Awad
d76faab7b3 DO NOT MERGE. Port "respond via SMS message" feature to new Telecomm. (1/4)
Bug: 15275904
Bug: 15196474
Change-Id: If9aeae519047b221aa2c178d8d2903c4e2054a6d
2014-06-10 18:12:44 -07:00
Jean Chalard
1f3bb8477b Merge "Fix a CTS test" into lmp-preview-dev 2014-06-10 22:29:12 +00:00
Jean Chalard
0a993100f9 Fix a CTS test
SpannableStringBuilder should throw an exception when the
parameters to #insert and related methods are in the wrong
order.
We'll have to reopen b/9570771 and deal with it separately.

Bug: 14965397
Change-Id: I01847e0010d23f98ad3def8ba030d36570528900
2014-06-11 18:03:05 +09:00
Yohei Yukawa
13592c623c Merge "Rename CursorAnchorInfoBuilder with Builder" into lmp-preview-dev 2014-06-10 22:36:02 +00:00
Robert Greenwalt
f5ccb5cc7d Merge "Fix Build" into lmp-preview-dev 2014-06-10 22:12:51 +00:00
Robert Greenwalt
6f0ec45a3b Fix Build
Change-Id: Iebbce8eaf21b3d2ba01ec720812d38018b13529e
2014-06-11 18:36:36 -07:00
Robert Greenwalt
130669992c Fix build breakage.
Change-Id: Ideb32704ce5dc37ef36b05609f88da2aa55b3a00
2014-06-11 18:06:55 -07:00
Robert Greenwalt
9468ddee2d Merge "Missed an api update." into lmp-preview-dev 2014-06-11 21:23:31 +00:00
Robert Greenwalt
10e049b651 Missed an api update.
Fix build.

Change-Id: I2563ec3c26e1c8dbb9abea9f87537a87ce5fda41
2014-06-11 16:57:03 -07:00
Robert Greenwalt
f09d128517 Merge "Fix wifi connectivity issues." into lmp-preview-dev 2014-06-11 21:23:31 +00:00
Sreeram Ramachandran
fb7690d4e1 Fix wifi connectivity issues.
http://ag/480881 changed RouteInfo.getDestination() to return an IpPrefix
instead of a LinkAddress. This makes the equals() comparison always fail.

So, when ConnectivityService.updateRoutes() is given identical routes, instead
of realizing that there's no diff, it would consider them different, and thus
add and remove the same route. The add would fail, since the route already
existed in netd, but the remove would succeed, leaving the system with no routes
and thus no connectivity.

Bug: 15564210
Change-Id: I2003b0fcb809cc20837dc489c58af37891ca4556
2014-06-11 23:02:59 +00:00