183743 Commits

Author SHA1 Message Date
Yigit Boyar
6dafd87fb4 Fix some weight bugs in grid layout
This CL also changes how GONE views are considered.
Previously, they would still participate in weight calculations.
Now, they are ignored.

Bug: 19546781

Sub bugs:

Bug: 19571249
Bug: 19571653
Bug: 19571319
Bug: 19571841
Change-Id: I7344f757d3a76be98bb92660f07d2a0cafa9ac12
2015-03-05 22:01:14 +00:00
Eric Gilmore
87499b275b Merge "Re-fixing link, and removing trailing white space." into lmp-docs 2015-03-05 22:00:22 +00:00
John Reck
f4faeac352 Cleanup Bitmap JNI attempt #2
Original version missed a spot

This reverts commit c02977e3bbfaaedcb1b1d67e1692becc7dddd59b.

Change-Id: I56244ce10d709fcdef42a001fe4c6ba7b6bbb04d
2015-03-05 13:56:16 -08:00
Eric Gilmore
08134e649d Re-fixing link, and removing trailing white space.
Change-Id: Ic6cef9862424d5581cf0ad5b8366c7033a9fdd93
2015-03-05 13:39:21 -08:00
Derek Sollenberger
cd4ed96d10 emove uncessary include for SkPorterDuff.h (Part 2)
Change-Id: I4d29d65a2e8eaf26b1cde6a525703be248bce63d
2015-03-05 16:27:06 -05:00
Raph Levien
560a433c44 Merge "Add JNI StaticLayout.Builder" 2015-03-05 21:26:32 +00:00
Derek Sollenberger
0313f2680c Remove uncessary include for SkPorterDuff.h
Change-Id: Ibcbed5dd2dc327821fc26e87191185f0069c9911
2015-03-05 16:22:17 -05:00
Andreas Gampe
0888276a1c Frameworks/base: Use ArraySet more explicitly
In KeySetManagerService, use ArraySet more explicitly. Avoid for-each
loops.

Collections API methods on ArraySet are not very efficient. Iterators
incur two object allocations: a helper and the actual iterator object.
During boot, about 4.5K such calls are made. Using the ArraySet more
explicitly like an ArrayList/array avoids the overhead.

Bug: 19617481
Change-Id: I25df334fa1d4be3210667fb1404e3c43f2585049
2015-03-05 13:13:55 -08:00
Rich Slogar
6fd2b3c63c am f02b1abc: am 2847fc99: am cfb0978f: am bc669e3f: am dad1cbeb: am 9f485e97: am 4aba69a8: docs: sdk tools date fix
* commit 'f02b1abc2726692dd69f10c1c9e7fa69ccc4ab63':
  docs: sdk tools date fix
2015-03-05 20:11:26 +00:00
Rich Slogar
f02b1abc27 am 2847fc99: am cfb0978f: am bc669e3f: am dad1cbeb: am 9f485e97: am 4aba69a8: docs: sdk tools date fix
* commit '2847fc9912715027492bdae8567cd896b7ba8f9f':
  docs: sdk tools date fix
2015-03-05 20:05:31 +00:00
Rich Slogar
2847fc9912 am cfb0978f: am bc669e3f: am dad1cbeb: am 9f485e97: am 4aba69a8: docs: sdk tools date fix
* commit 'cfb0978fd9a6bf8fa06dee061df03fccf20fabc4':
  docs: sdk tools date fix
2015-03-05 19:59:55 +00:00
Rich Slogar
cfb0978fd9 am bc669e3f: am dad1cbeb: am 9f485e97: am 4aba69a8: docs: sdk tools date fix
* commit 'bc669e3f555519f641102b759a04a01ac5c10cad':
  docs: sdk tools date fix
2015-03-05 19:52:05 +00:00
Rich Slogar
bc669e3f55 am dad1cbeb: am 9f485e97: am 4aba69a8: docs: sdk tools date fix
* commit 'dad1cbebfabf421efc90d366d9c4fd67becf930f':
  docs: sdk tools date fix
2015-03-05 19:46:12 +00:00
Rich Slogar
dad1cbebfa am 9f485e97: am 4aba69a8: docs: sdk tools date fix
* commit '9f485e971e06dad399dd70712787f4c30da9515e':
  docs: sdk tools date fix
2015-03-05 19:39:47 +00:00
Chad Jones
b9a468eb19 Merge "Revert "Cleanup Bitmap JNI"" 2015-03-05 19:35:15 +00:00
Chad Jones
c02977e3bb Revert "Cleanup Bitmap JNI"
This reverts commit b2915245b74b3b5541b123e38403f8e26426b4b7.

Change-Id: Idd7d7f33eec4ea5024c83de6b10d3d1a6ab2b17a
2015-03-05 19:34:26 +00:00
Rich Slogar
9f485e971e am 4aba69a8: docs: sdk tools date fix
* commit '4aba69a8a7f58541ce76429252dd0c9650b40f35':
  docs: sdk tools date fix
2015-03-05 19:33:56 +00:00
Brian Attwell
54b804fa74 Merge "Prioritize regular names over phonetic names. P1" 2015-03-05 19:26:36 +00:00
Rich Slogar
4aba69a8a7 docs: sdk tools date fix
Change-Id: Ieb0a5193a5bbf7efd1e5852be4b0db421d08db14
2015-03-05 11:24:45 -08:00
Hiroshi Yamauchi
172da26d45 Deprecate things that rely on Debug.startAllocCounting.
android.os.Debug.startAllocCounting() is deprecated but other things
that rely on it or do not make sense without it aren't deprecated.

Bug: 8241521
Change-Id: Ib769cb8f4e96f41ed310e17e7345acb2a630a076
2015-03-05 11:22:37 -08:00
John Spurlock
b32fc97282 AudioService: Add current stream devices to dumpsys output.
Change-Id: I57ed785154d8d75ac0f189a479252a725e80bd5a
2015-03-05 13:58:00 -05:00
Wale Ogunwale
47d740b92b Merge "Made AM package debug log more configurable." 2015-03-05 18:51:33 +00:00
John Reck
35da7d904b Merge "Cleanup Bitmap JNI" 2015-03-05 18:12:35 +00:00
Raph Levien
4c1f12efcf Add JNI StaticLayout.Builder
This patch adds a native C++ Builder object for StaticLayout to
complement the Java one introduced in a previous patch.

The Builder object contains state used in constructing a layout, as well
as temporary buffers, to avoid having to allocate such. In particular,
it holds a break iterator, so avoids the cost of constructing that in
the common case of a single locale.

Change-Id: I1125103b7ccf00b8674c1586c3ea8d5d915fdd5b
2015-03-05 10:07:33 -08:00
John Reck
b2915245b7 Cleanup Bitmap JNI
Fix a bunch of places where mNativeBitmap was being
poked at directly, switch them either to the NDK API
or to GraphicsJNI where it made sense

Change-Id: I6b3df3712d6497cba828c2d3012e725cb4ebb64d
2015-03-05 09:55:02 -08:00
Julia Reynolds
be331a3809 Merge "Add security check for clearDeviceInitializer in the service." 2015-03-05 17:52:21 +00:00
Andreas Gampe
d833ba8d4e am ecb48c16: am 9c0ba24f: am 6695b992: Merge "Frameworks/base: Add removeAll for ArraySet"
* commit 'ecb48c16b7839bdcda84ac0ba7c61248b814eb71':
  Frameworks/base: Add removeAll for ArraySet
2015-03-05 17:41:14 +00:00
Chris Craik
a0bfb2d99f Merge "Fix push shader to native" 2015-03-05 17:37:45 +00:00
Andreas Gampe
ecb48c16b7 am 9c0ba24f: am 6695b992: Merge "Frameworks/base: Add removeAll for ArraySet"
* commit '9c0ba24f3b54fa7916626f3d76ec6818d78ca47e':
  Frameworks/base: Add removeAll for ArraySet
2015-03-05 17:33:13 +00:00
Chris Craik
6170cd1f35 Fix push shader to native
bug:19586908
Change-Id: Ie6205bc76667222f2df2da60a27244988f3a2b3b
2015-03-05 09:32:19 -08:00
Glenn Kasten
9e86f6139b Fix USB typos
Change-Id: Iefa610a81e9155dcfc687c514611bb7dbba5d7f9
2015-03-05 09:29:50 -08:00
Andreas Gampe
9c0ba24f3b am 6695b992: Merge "Frameworks/base: Add removeAll for ArraySet"
* commit '6695b9920d15f8d9a17d6b0c66b863d1c2e38584':
  Frameworks/base: Add removeAll for ArraySet
2015-03-05 17:15:58 +00:00
Andreas Gampe
6695b9920d Merge "Frameworks/base: Add removeAll for ArraySet" 2015-03-05 17:10:31 +00:00
Julia Reynolds
1c3754a35c Add security check for clearDeviceInitializer in the service.
Bug: 19230954
Change-Id: I5c648492bef0d2b579b6f59b91afc890e3092d36
2015-03-05 11:47:14 -05:00
Derek Sollenberger
af34354812 Merge "Remove references to SkPorterDuff as it is deprecated." 2015-03-05 15:45:28 +00:00
Tom Hudson
8124e6a98c Merge "Fix bug, change crashes to warnings" 2015-03-05 15:40:46 +00:00
Tom Hudson
b1476ae7d5 Fix bug, change crashes to warnings
Improve behavior when we get a call to draw 0 points.
Replace one ALWAYS_FATAL statements with noop.

Change-Id: I864b7a9633dfa3dc6eefa403beca4cc7ae14074f
2015-03-05 10:31:52 -05:00
John Spurlock
bac61add4f Merge "Add a list verb to the settings cmd." 2015-03-05 15:26:36 +00:00
Mady Mellor
138bc2f37b Merge "Text selection changes - smart handles & drag accelerator" 2015-03-05 15:15:26 +00:00
Benjamin Franz
43261140c3 Clean up the lock task APIs for COSU devices.
Clean up and increase readability of internal handling of lock task mode APIs.
Add a public API to query the lock task mode state with pinned and locked as
possible outcomes. Additionally, change wording in lock task toasts when in
locked mode and update the javadoc regarding onLockTaskModeEntering and
onLockTaskModeExiting to represent the actual behaviour.

Bug: 19377096
Change-Id: Ia563078ca6ef6d6fc7e75130e6b94ba18af69340
2015-03-05 15:02:27 +00:00
Andrew Shulaev
3782882192 Merge "Added function to render a drawable in all available states" 2015-03-05 14:39:54 +00:00
Derek Sollenberger
a9aded1f62 Remove references to SkPorterDuff as it is deprecated.
Change-Id: Ic0722cfef4ed61aa546c495924397097a45cfe77
2015-03-05 09:37:34 -05:00
John Spurlock
0510c2ee60 Add a list verb to the settings cmd.
Change-Id: I8a203eefced3431085fd1981b1d120baab2cb77a
2015-03-05 08:35:37 -05:00
Andrew Shulaev
1f158819bc Added function to render a drawable in all available states
This reverts commit 01cdf8b135be3bf67b9386dc929109c3db82c730.

Change-Id: I596855047d78c3c718744ad61432fc45e1239634
2015-03-05 11:51:38 +00:00
Diego Perez
d5e11f6f47 Merge "Fix crash when shadowSize is 0" 2015-03-05 10:13:02 +00:00
Lorenzo Colitti
be93f28d5b Merge "Enable Ethernet if the device has FEATURE_USB_HOST." 2015-03-05 08:23:32 +00:00
Lorenzo Colitti
0ea7b1b094 Enable Ethernet if the device has FEATURE_USB_HOST.
Any device that supports USB OTG is capable of running Ethernet
via a USB OTG cable and Ethernet to USB adapter.

Currently, we only start the Ethernet system service if the
device has FEATURE_ETHERNET, but this requires that every device
explicitly declare FEATURE_ETHERNET, which causes bugs like
http://b/18515146 , where the L OTA broke Ethernet on nakasi.

Therefore, start the Ethernet service on all devices that have
FEATURE_USB_HOST.

Bug: 18515146
Change-Id: I3b4e85d1ad8e1aea9baa046a27f5b4dd68c42028
2015-03-05 16:06:43 +09:00
smain@google.com
49c00ffbad am 9f4e1f7f: am b488a256: am 4f674bbd: am 8b2be54a: am 182059f8: am ca10a435: am f4bbec09: Merge "add tags for wakelock and other API names" into lmp-docs
* commit '9f4e1f7f501b934b72e7abefecc61b5666ee4463':
  add tags for wakelock and other API names
2015-03-05 06:40:13 +00:00
Brian Carlstrom
ec5032c1cd am 233baedc: am 686a1b2f: am 165c2564: Merge "Manually add SignalStrength to preloaded-classes"
* commit '233baedce82ba244e06044dca803496dc2c48a9c':
  Manually add SignalStrength to preloaded-classes
2015-03-05 06:35:09 +00:00
smain@google.com
9f4e1f7f50 am b488a256: am 4f674bbd: am 8b2be54a: am 182059f8: am ca10a435: am f4bbec09: Merge "add tags for wakelock and other API names" into lmp-docs
* commit 'b488a256308c8c7598da19d109be99d19a08a76d':
  add tags for wakelock and other API names
2015-03-05 06:32:35 +00:00