182804 Commits

Author SHA1 Message Date
Jeff Sharkey
a18a2e3428 Switch to incremental API parsing.
Incremental API parsing works on a single class at a time, which
greatly reduces memory pressure.  For example, linting a typical
current.txt would use ~100MB before; now it only uses about ~15MB!

Change-Id: Id084b3dd2f6513d0e919790d5a5d629f80637ce8
2015-02-22 16:00:19 -08:00
ztenghui
06518aa8de Merge "Correctly name the lightRadius" 2015-02-20 22:56:55 +00:00
Alan Viverette
c0a9a7ad6d Merge "Use ObjectAnimator for fading scrollbars, set initial duration to 1500" 2015-02-20 22:31:49 +00:00
Daniel Rosenberg
8e4b80eda7 Merge "Disable checking bootimage build fingerprint against vendor" 2015-02-20 22:05:39 +00:00
Alan Viverette
955471300c Merge "Update time picker to match latest Material spec" 2015-02-20 22:03:06 +00:00
Jason Sams
10a58c8aec am 28c7c788: am a15ac5fe: am adb52ef7: Merge "Implement finalizer for RS contexts."
* commit '28c7c788a97d8ba133c263d4ebde8629b5af0335':
  Implement finalizer for RS contexts.
2015-02-20 21:27:44 +00:00
Daniel Rosenberg
159c205dea Disable checking bootimage build fingerprint against vendor
There is currently an issue somewhere regarding these checks on
some devices. Disabling them until those issues are resolved.

Bug: 19058575
Change-Id: Id5ce93c2d4069d3058636b8e12317e200229472b
Signed-off-by: Daniel Rosenberg <drosen@google.com>
2015-02-20 13:18:20 -08:00
John Reck
2517bc6dad Merge "C++11 style fixups" 2015-02-20 20:41:00 +00:00
Jason Sams
28c7c788a9 am a15ac5fe: am adb52ef7: Merge "Implement finalizer for RS contexts."
* commit 'a15ac5fea3c88f908bf808d7b4cda276fb3f513f':
  Implement finalizer for RS contexts.
2015-02-20 20:07:56 +00:00
Alexandra Gherghina
d4d18e29a4 Merge "Javadoc fix-up" 2015-02-20 20:02:35 +00:00
Jason Sams
a15ac5fea3 am adb52ef7: Merge "Implement finalizer for RS contexts."
* commit 'adb52ef7034d4d3e0eee58cedae2a343d29771b9':
  Implement finalizer for RS contexts.
2015-02-20 20:00:40 +00:00
Jason Sams
adb52ef703 Merge "Implement finalizer for RS contexts." 2015-02-20 19:51:54 +00:00
Ying Wang
0697478135 Merge "Fix docs." 2015-02-20 19:51:19 +00:00
Ying Wang
7f38aab7ab Fix docs.
Change-Id: Iaa7f498dac5b87ee8f3cc6cfeabb04b51ce93245
2015-02-20 11:50:09 -08:00
Alexandra Gherghina
d75ea627d7 Javadoc fix-up
Bug: 18551835
Change-Id: I7f28deb6f95f889aefc957e5914ad4fb0dd37952
2015-02-20 19:43:23 +00:00
Wale Ogunwale
3c8fde83e4 Merge "Revert "Defer tap outside stack until multiwindows"" 2015-02-20 19:35:45 +00:00
Chris Craik
e1a0858fb0 Merge "Glop layer mesh rendering" 2015-02-20 19:30:40 +00:00
Alan Viverette
72710f11ec Use ObjectAnimator for fading scrollbars, set initial duration to 1500
Fairly intensive refactoring of ScrollabilityCache.

Change-Id: I88669c0b9b79ca12a237606d5ff8be0e7e8b37ba
2015-02-20 11:10:22 -08:00
John Reck
c87be99c6e C++11 style fixups
Change-Id: I356d02338820bfef41a9e278c88dafc17cfe1cf9
2015-02-20 10:58:48 -08:00
ztenghui
62aa44c5ee Correctly name the lightRadius
b/18282208

Change-Id: I5b6edcb37b710464c6ff0f5c05583bb7da720ff3
2015-02-20 10:53:40 -08:00
Alan Viverette
adbc95f015 Update time picker to match latest Material spec
Also removes saveLayerAlpha() call from radial time picker's disabled
drawing path.

Bug: 19431361
Change-Id: I18641bb9544107bb8704fc43d0dd6c5b18ff99ce
2015-02-20 10:51:33 -08:00
Wale Ogunwale
b3b8fef9e3 Revert "Defer tap outside stack until multiwindows"
This reverts commit baf6bef001a582fea275bf891294cf1fe9d5472e.

Bug: 19424251
2015-02-20 09:36:35 -08:00
Yohei Yukawa
576f722175 Merge "Normalize deprecated 2-letter language code when necessary." 2015-02-20 17:33:52 +00:00
Yohei Yukawa
f487e0e395 Normalize deprecated 2-letter language code when necessary.
This is a follow up CL for I7d932e60311b80c05be8f02c9e803f18da0e0054,
which revealed that we could not use deprecated 2-letter code like "in"
to query subtype which has new language codes like "id".

This CL addresses the above issue by normalizing the language code
with Locale#Locale(String, String) before comparing one to another.

Change-Id: I26e3aa0333aa3c76c80a3c1c9090cc2b368c8e10
2015-02-21 02:26:40 +09:00
Alexandra Gherghina
eeab1fa96c Merge "New intent action for returning account migration result" 2015-02-20 16:46:24 +00:00
Wale Ogunwale
822237858a Merge "Remove activity and window stacks when last task is removed." 2015-02-20 16:30:49 +00:00
John Reck
df570c6e66 Merge "Initial attempt at jank-tracking stat collection" 2015-02-20 16:28:30 +00:00
John Reck
ba6adf66d3 Initial attempt at jank-tracking stat collection
Is a bit naive, perhaps overly aggressive, but sorta works

Change-Id: I01a774e00dbe681439c02557d9728ae43c45ce50
2015-02-20 08:27:38 -08:00
Yohei Yukawa
e55524ef04 Merge "Add tests for Ibb9eb9f65323795d139 and I6571d464a46453934f0" 2015-02-20 15:28:35 +00:00
Adrian Roos
1156da8c0d am 309b71e5: am 823bf307: am b5e787c1: am 26b0d973: Merge "Fix change IME content description" into lmp-mr1-dev
* commit '309b71e53086c9bd3b7610799836d66d64aed654':
  Fix change IME content description
2015-02-20 14:53:48 +00:00
Adrian Roos
309b71e530 am 823bf307: am b5e787c1: am 26b0d973: Merge "Fix change IME content description" into lmp-mr1-dev
* commit '823bf307a248f332f708fd8b359008df837722eb':
  Fix change IME content description
2015-02-20 14:46:45 +00:00
Yohei Yukawa
e72d1c8274 Add tests for Ibb9eb9f65323795d139 and I6571d464a46453934f0
This CL adds several unit tests for following CLs, both of which enabled
InputMethodUtils (and dependent IMF logic) to handle 3 letter language codes
and conversion from deprecated two-letter codes to new ones correctly.
- Ibb9eb9f65323795d139b16d76b7e7e36a4e0568c
- I6571d464a46453934f0a8f5e79018a67a9a3c845

As described in tests, the input method framework has already been able to
recognize 3 letter language codes.  However, there remain inconsistencies
when we use deprecated 2-letter code to query subtype like "in" but the
subtype has new language codes like "id".  Subsequent CLs are supposed to
address remaining issues.

bug: 10090157
Change-Id: I7d932e60311b80c05be8f02c9e803f18da0e0054
2015-02-20 23:41:36 +09:00
Adrian Roos
823bf307a2 am b5e787c1: am 26b0d973: Merge "Fix change IME content description" into lmp-mr1-dev
* commit 'b5e787c1c5a1845e0b8de53f1452a7a6cdeb4c93':
  Fix change IME content description
2015-02-20 14:39:30 +00:00
Adrian Roos
b5e787c1c5 am 26b0d973: Merge "Fix change IME content description" into lmp-mr1-dev
* commit '26b0d973d8c2b05e6141fb4808fbb0a28cb7f713':
  Fix change IME content description
2015-02-20 14:32:44 +00:00
Adrian Roos
26b0d973d8 Merge "Fix change IME content description" into lmp-mr1-dev 2015-02-20 14:28:38 +00:00
Tom Hudson
806a6f07a3 Fix onDrawText for non-absolute positioning
If we were drawing text with drawTextAbsolutePos() false, we would
draw the first character at 0,0 but subsequent characters would get
improperly offset by y. (or x if vertical text)

Change-Id: I4e76cd9d95bf1bb6ac021d99ef7cdd6333a290ba
2015-02-20 13:08:47 +00:00
Alexandra Gherghina
db4bc57760 New intent action for returning account migration result
Bug: 18551835
Change-Id: Ifc5dedf1753a7779793a8b056bac5f5733a2783d
2015-02-20 11:55:52 +00:00
Nicolas Prevot
f580c91618 Merge "Dump the profile/device owner when dumping device policy state." 2015-02-20 10:33:18 +00:00
Clara Bayarri
7415d6667e Merge "Floating Toolbars: Wrap the ActionMode creation in DecorView" 2015-02-20 10:26:15 +00:00
Santos Cordon
c86703f575 Merge "Add PHONE_ACCOUNT_ADDRESS to the call log DB." 2015-02-20 08:45:49 +00:00
Santos Cordon
d4ceaf6167 Add PHONE_ACCOUNT_ADDRESS to the call log DB.
Also update some javadoc comments.

Change-Id: If0f8fa0148b3aed74ed434b1017a279ce29b3842
2015-02-19 23:43:12 -08:00
Santos Cordon
e37e615258 Merge "Small update to PhoneAccountHandle ID javadoc." 2015-02-20 07:26:52 +00:00
Santos Cordon
8b338d47e0 Small update to PhoneAccountHandle ID javadoc.
Change-Id: I31832347689e1e9291cd6b9c100918668fa4b056
2015-02-19 22:45:30 -08:00
Santos Cordon
6a9a89acd0 Merge "Add Sub-ID-from-phone-account converter method." 2015-02-20 05:20:38 +00:00
Chris Craik
f27133df2d Glop layer mesh rendering
Change-Id: I2d902819d5d77f496b67d4d25a298782903e410d
2015-02-19 18:06:05 -08:00
Dianne Hackborn
5f83382c40 Merge "Add some detailed data as part of battery history." 2015-02-20 01:41:29 +00:00
Dianne Hackborn
d1eccbea38 Add some detailed data as part of battery history.
Every time the battery level changes, a new extended
detailed use data structure is written to the history.
This currently only contains delta CPU use since the
last detailed entry (total CPU and to three uids), but
it gives us the infrastructure for adding more detailed
data in the future.

A detail entry for regular history looks like:

     Details: cpu=15730u+2307s (u0a57=11312u+502s, 1000=2344u+701s, 0=473u+991s)
              /proc/stat=15377 usr, 1797 sys, 197 io, 0 irq, 8 sirq, 23103 idle (42.9% of 6m 44s 820ms)

u is user-space cpu time, s is system/kernel time.

The equivalent check-in output is:

9,h,0,Dcpu=15730:2307/10057:11312:502/1000:2344:701/0:473:991
9,h,0,Dpst=15377,1797,197,0,8,23103

Also add a new "unplug" command to the battery service,
to easily put it into a state where it always considers
the device to be running on battery.

Change-Id: Ic76d966f11e592b9dd671879977bf999ebc11eef
2015-02-19 17:37:12 -08:00
Craig Mautner
4f9796e028 Merge changes Ib2def344,Ifd15736b
* changes:
  Permit layout when stopped if reporting draw
  Refactor computeScreenConfigurationLocked and more.
2015-02-20 01:35:17 +00:00
Jason Sams
d22a6f09dc Implement finalizer for RS contexts.
Fixes memory leak when apps forget to call .destroy() on the context.

Change-Id: Ida4685768e92cfe3875da38846d17b86cc386cd0
2015-02-19 17:19:52 -08:00
Wale Ogunwale
df33727718 Merge "Fixed issue with focused stack frame not displaying in multi-window." 2015-02-20 01:06:14 +00:00