28684 Commits

Author SHA1 Message Date
Gilles Debunne
6810a2442b Merge "New SpanSet class extracted from TextLine." 2012-03-13 15:56:07 -07:00
Philip Milne
b001475fc5 Merge "Fixes for bugs: #6103660, #6103957, #6104457 and #6104322." 2012-03-13 15:32:20 -07:00
Philip Milne
1018fb42cb Fixes for bugs: #6103660, #6103957, #6104457 and #6104322.
Add getters and setters to the layout widgets so as to mirror their XML apis.

Change-Id: Ie2237fd55e1c3e4ec0d08b4f8154ea7e122c1e79
2012-03-13 15:22:07 -07:00
Jeff Brown
9dc348d756 Merge "Fix spurious ANRs in native activities." 2012-03-13 15:15:48 -07:00
Jeff Brown
2b6c32ca41 Fix spurious ANRs in native activities.
Some native activities experienced ANRs when the input consumer
deferred an input event due to client-side batching.  If the
input channel was fully emptied then the client had no way of
knowing that it should wake up to handle the deferred input event.

This patch also fixes some lock issues in the native activity
input queue implementation.  In at least one error case, it
was possible for a function to exit without releasing the lock.

Bug: 6051176
Change-Id: I4d9d843237e69b9834f8d8b360031b677fcab8c3
2012-03-13 15:00:09 -07:00
Gilles Debunne
4ffb879f48 New SpanSet class extracted from TextLine.
Change-Id: I424dbd7ff0693fd465b6c83ebabba221b2eca6fe
2012-03-13 14:58:37 -07:00
Daniel Lam
2e76c992bf SurfaceTexture: Fully refactored from BufferQueue
Cleaning up camera and media interactions as part of SurfaceTexture refactoring

Change-Id: Iea2b10ff80b5f01f83ed0902c725df1d3b4c541a
2012-03-13 14:39:28 -07:00
Eric Fischer
39cfc7c1cc Merge "Import translations. DO NOT MERGE" 2012-03-13 14:25:11 -07:00
Eric Fischer
6e3735fa01 Import translations. DO NOT MERGE
Change-Id: I1797f7d37caafea3764ef0d95a3ab7b8f6bd16ab
2012-03-13 14:04:22 -07:00
Eino-Ville Talvala
586d365e00 Merge "Check for null characters being used in camera parameters." 2012-03-13 13:03:48 -07:00
Fabrice Di Meglio
41efc44754 Merge "Move LocalUtil unit tests from Frameworks to CTS" 2012-03-13 12:51:59 -07:00
Fabrice Di Meglio
1103beee44 Move LocalUtil unit tests from Frameworks to CTS
Change-Id: I9f3333a4fdf7ccbe71e5bd5a9bd0104551efb724
2012-03-13 12:49:53 -07:00
Daniel Lehmann
53567a756e Merge "Introduce READ_CALL_LOG and WRITE_CALL_LOG" 2012-03-13 12:17:45 -07:00
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
Daniel Lehmann
f06d9497af Introduce READ_CALL_LOG and WRITE_CALL_LOG
Bug:6141864

Change-Id: I66fcab2a35b8c1c73bac7cfffb9f008c82ed51e8
2012-03-12 13:45:19 -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
Eino-Ville Talvala
cb56923ba6 Check for null characters being used in camera parameters.
Change-Id: I258bce0fcadaec15e495e3303d3d7a952b72b4b5
2012-03-12 11:36:58 -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