28669 Commits

Author SHA1 Message Date
Glenn Kasten
a2d68c9394 Merge "Whitespace and indentation" 2012-03-13 11:35:12 -07:00
George Mount
e5359373e0 Merge "Support "prev" for IME input." 2012-03-13 11:16:47 -07:00
Glenn Kasten
18db49a462 Whitespace and indentation
Fix indentation to be multiple of 4.
Make it easier to search:
  sp< not sp < to
  "switch (...)" instead of "switch(...)" (also "if" and "while")
Remove redundant blank line at start or EOF.
Remove whitespace at end of line.
Remove extra blank lines where they don't add value.

Use git diff -b or -w to verify.

Change-Id: I966b7ba852faa5474be6907fb212f5e267c2874e
2012-03-13 11:09:47 -07:00
Siva Velusamy
4faaed97ab Merge "ActivityManager: add option to allow OpenGL trace." 2012-03-12 18:10:36 -07:00
Siva Velusamy
b48e029107 Merge "Expose a function to set OpenGL Trace level." 2012-03-12 18:10:19 -07:00
Xia Wang
4b87e4a56c Merge "Fix test flakiness" 2012-03-12 17:55:18 -07:00
Jeff Sharkey
b8c81768d9 Merge "Let <path-permission> block unprotected providers." 2012-03-12 17:54:33 -07:00
Fabrice Di Meglio
34ba5a0a16 Merge "Make public more RTL APIs" 2012-03-12 16:09:21 -07:00
Jeff Brown
ed6aa3da03 Merge "Fix potential NPE in SQLiteProgram." 2012-03-12 15:53:33 -07:00
Chet Haase
81a0647c30 Merge "Handle view properties at the native level" 2012-03-12 15:48:32 -07:00
Fabrice Di Meglio
25ba197fa7 Make public more RTL APIs
- LocaleUtil will help developers to get the layout direction from a Locale

Change-Id: I184ebcc9c208464b20f0454e7a915426640c74f0
2012-03-12 15:44:15 -07:00
Chet Haase
a1cff5043d Handle view properties at the native level
Basic functionality of handling View properties (transforms,
left/right/top/bottom, and alpha) at the native DisplayList level.
This logic is disabled for now (via compile-time flags in View.java and
DisplayListRenderer.h) as we continue work on it (there is no advantage
to the new approach until we optimize invalidation and rendering paths
to use the new code path).

Change-Id: I370c8d21fbd291be415f55515ab8dced6f6d51a3
2012-03-12 15:41:48 -07:00
Jeff Brown
b2679481b5 Fix potential NPE in SQLiteProgram.
Bug: 6122537
Change-Id: I76a12f58f08b708065dfdd11c78f54701d90873b
2012-03-12 15:35:28 -07:00
Dianne Hackborn
035c20f5b4 Merge "Add new READ_EXTERNAL_STORAGE permission." 2012-03-12 15:26:46 -07:00
Dianne Hackborn
7924512aa1 Add new READ_EXTERNAL_STORAGE permission.
Also adds some initial compatibility code for dealing with it.

Change-Id: I104bff11798349e4aaa6da9b7be787b257daa1bb
2012-03-12 15:07:31 -07:00
George Mount
0fe3c9aa2f Merge "Remove Logs inadvertently added to AutoCompletePopup." 2012-03-12 14:53:48 -07:00
Fabrice Di Meglio
25182b8af9 Merge "Improve View Javadoc for padding" 2012-03-12 14:51:55 -07:00
Eric Fischer
dd4a464741 Merge "Import translations. DO NOT MERGE" 2012-03-12 14:30:43 -07:00
Jeff Sharkey
110a6b6252 Let <path-permission> block unprotected providers.
When accessing a ContentProvider that is unprotected by top-level
permissions, and caller doesn't hold a matching <path-permission>
permission, revoke the default top-level access.

This enables an otherwise unprotected provider to enforce permissions
on specific paths.

Bug: 6131916
Change-Id: Icab89f765ccd90b1acea6988b05f00877fe2c11e
2012-03-12 14:09:34 -07:00
Fabrice Di Meglio
30a21e1bfe Improve View Javadoc for padding
Change-Id: Ib7c8ee5bcde57e112ba0bb700fed9f2a135b1cdb
2012-03-12 14:07:42 -07:00
Xia Wang
6d3c2f0cad Fix test flakiness
Disable soft AP before start the wifi stress test.
If soft AP test failed with AP enabled, the wifi client can not be
enabled.

Change-Id: Ie6950f6b5b662727f2e811d9b81aeb0f4f7cda91
2012-03-12 13:58:45 -07:00
Adam Powell
eeebe9f008 Merge "Respect default styles when constructing GridViews with 1-arg constructor" 2012-03-12 13:47:41 -07:00
Eric Fischer
06ac153fe0 Import translations. DO NOT MERGE
Change-Id: I782f85b8c4819c0362b549c72e7f02f07976ac88
2012-03-12 13:46:56 -07:00
Adam Powell
48774533f1 Respect default styles when constructing GridViews with 1-arg constructor
Fixes public bug http://code.google.com/p/android/issues/detail?id=26757

Change-Id: If78b6210485558c5630445bdd4d6312386aaf2b5
2012-03-12 13:41:37 -07:00
Jeff Brown
a8c67eb904 Merge "Add Java wrappers for new atrace functionality." 2012-03-12 13:25:27 -07:00
Siva Velusamy
92a8b22e74 ActivityManager: add option to allow OpenGL trace.
This patch adds an option to enable tracing of OpenGL functions.
OpenGL tracing can be enabled by passing "--opengl-trace" option
to am start.  This option requires either a device in debug mode,
or that the application itself has debug permission set.

Change-Id: I77788bfe97c9108943b1f947ce81afe8293d78a0
2012-03-12 12:18:53 -07:00
Fabrice Di Meglio
05f692e805 Merge "Make Gravity RTL APIs public" 2012-03-12 10:54:42 -07:00
George Mount
60c7bcbd13 Remove Logs inadvertently added to AutoCompletePopup.
Change-Id: If5062ad8485a8f7ce66dd5b2196c8559bc6ff3e9
2012-03-12 10:28:27 -07:00
George Mount
a34a5ed951 Support "prev" for IME input.
Bug 6152403
 WebKit change: I09e5f63d41bb88a632f70b010e8ab4851bf90bab

Change-Id: I6d339d724616b9f156458dd4223d3b991191b13d
2012-03-12 07:36:30 -07:00
George Mount
c4ffe77a71 Merge "Add back auto-completion and auto-fill." 2012-03-12 07:10:28 -07:00
Ken Wakasa
d85d590ed3 Merge "Add missing bullet points in javadoc of InputMethodManager.java" 2012-03-10 08:01:12 -08:00
Jeff Sharkey
ce8668f809 Merge "Save timezone when setting data cycle reset date." 2012-03-09 18:33:44 -08:00
Fabrice Di Meglio
e8dc07dcdb Make Gravity RTL APIs public
- also move unit tests to CTS
- also small improvement for View Javadoc

Change-Id: I166d5a10f4a00f1b46c90468c8b11906b438e1ea
2012-03-09 17:32:16 -08:00
Xia Wang
d65a4f62fe Merge "Allow CM/WIFI tests running with wifi-only flag." 2012-03-09 17:17:51 -08:00
Gilles Debunne
d122d8eb3e Merge "Re-use the display list valid flag, save a boolean" 2012-03-09 17:16:21 -08:00
Jeff Sharkey
9bf3150cfa Save timezone when setting data cycle reset date.
Instead of cycle reset at midnight UTC, use midnight of timezone
active when user last set cycle reset date.  Tests to verify, and
also to test leap year behavior.

Bug: 5938567
Change-Id: Ie06f7f0fa242d23110f9586a3f4f7037af87b31b
2012-03-09 17:10:05 -08:00
Ken Wakasa
384f8bad60 Add missing bullet points in javadoc of InputMethodManager.java
Change-Id: I2e9c04569b52705972d5a67b17d48405315dd3d3
2012-03-10 10:05:57 +09:00
Fabrice Di Meglio
73ba0df14f Merge "Make Drawable RTL APIs public" 2012-03-09 17:02:56 -08:00
Xia Wang
776cca3b3a Allow CM/WIFI tests running with wifi-only flag.
Change-Id: I12ab8f6f0335574a5af6db497ed76e6d5fec3ab7
2012-03-09 16:59:39 -08:00
Romain Guy
5a5dc1c634 Merge "Use the actual screen size for the max bitmap cache size." 2012-03-09 16:59:35 -08:00
Romain Guy
887c2eea31 Use the actual screen size for the max bitmap cache size.
Change-Id: I2177f91aea7c449c377fde6337180d15487cecef
2012-03-09 16:57:58 -08:00
Fabrice Di Meglio
06e1ec6462 Make Drawable RTL APIs public
- also optimize imports

Change-Id: I2649a539a5784293d09179981a5d57e900219246
2012-03-09 16:37:45 -08:00
John Reck
c419610477 Merge "Remove wrong nativeSubtractLayers" 2012-03-09 16:19:09 -08:00
Svetoslav Ganov
19a07d9747 Merge "AccessibilityServiceInfo does not convert correctly feedback type to string." 2012-03-09 16:05:10 -08:00
Glenn Kasten
dc4bb3fcae Merge "Use audio_policy_output_flags_t consistently" 2012-03-09 16:02:08 -08:00
Svetoslav Ganov
c6c25f9e28 AccessibilityServiceInfo does not convert correctly feedback type to string.
1. When the feedback type is set to TYPES_ALL_MASK the method
   feedbackTypeToString was not generating a string with all
   feedback types. Also the generated string sometimes could
   have a comma appended after the last feedback type name
   - this happens if the feedback type contains unknown type
   flag.

Change-Id: I848c520cf7dae16dcd882f68275869c7ab656dd7
2012-03-09 16:01:23 -08:00
Ken Wakasa
559c4841a6 Merge "Fix obvious typos under frameworks/base/core" 2012-03-09 15:52:06 -08:00
George Mount
bcd5dd7c9a Add back auto-completion and auto-fill.
Bug 5993316

 Webkit Change: I9d09a924a579d2d4551bff0489670de71d04757e

Change-Id: If00d42c0cb4f2c207f0d502e297741e1d6a68bf4
2012-03-09 15:45:32 -08:00
John Reck
d09666cbf0 Remove wrong nativeSubtractLayers
Bug: 5338388

Change-Id: I6b40d29d53df67bc04e8e52627b5d0c2769c28a5
2012-03-09 15:44:45 -08:00
Jeff Brown
481c1570dc Add Java wrappers for new atrace functionality.
Instrument a few parts of the input dispatcher and the
view hierarchy.

Change-Id: I49285c9fb3502253baa1ffed60f521b8c24fccaf
2012-03-09 15:43:50 -08:00