69426 Commits

Author SHA1 Message Date
Glenn Kasten
db9c21e754 Merge "Remove virtual from methods that don't need it" 2012-03-12 15:05:21 -07:00
Andreas Huber
b8f8809472 Merge "Documentation/API update for MediaCodec/MediaExtractor, fixes to MediaCodec." 2012-03-12 15:03:26 -07:00
Romain Guy
a007b7c39b Merge "Don't allocate new typefaces when not needed." 2012-03-12 14:56:10 -07:00
Romain Guy
4692669899 Don't allocate new typefaces when not needed.
The Typeface.create(Typeface, int) API can be used to create a new
typeface derived from an existing typeface. The implementation would
however create a new Typeface instance on every call, creating
unnecessary garbage in text-heavy applications. This changelist
adds a small cache of derived typefaces to avoid allocations whenever
possible.

Change-Id: Ib7290b3183e372aae12cf66033690e15cd4d0691
2012-03-12 14:54:01 -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
Andreas Huber
c52b980277 Documentation/API update for MediaCodec/MediaExtractor, fixes to MediaCodec.
and MediaExtractor.readSampleData now works with a non-direct byte buffer.

Change-Id: Ifbe5c152d9550c34d3b1d493e12a223eb98e8b4e
2012-03-12 14:49:43 -07:00
James Dong
1b5fa0f811 Removed the include header path since it is not needed.
o related-to-bug: 6044894

Change-Id: I15aec441dc0c75804aa33fc3e7ef977f7490922d
2012-03-12 14:46:41 -07:00
Eric Fischer
e7ee9a0504 Import translations. DO NOT MERGE
Change-Id: I183552feb00f1764db73bf6c7f16d5f5ef0f3b0f
2012-03-12 14:45:39 -07:00
Stephen Hines
3c4b03d484 Merge "Fix argument passing with dimLOD." 2012-03-12 14:45:32 -07:00
Stephen Hines
d091526841 Fix argument passing with dimLOD.
BUG=6152130

Change-Id: I5c857b692af8ec45e4cbef8140c44d72aec6600e
2012-03-12 14:42:05 -07:00
Eric Fischer
dd4a464741 Merge "Import translations. DO NOT MERGE" 2012-03-12 14:30:43 -07:00
Eric Fischer
dded0cb35d Merge "Import translations. DO NOT MERGE" 2012-03-12 14:30:21 -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
Eric Fischer
852ac0ed07 Import translations. DO NOT MERGE
Change-Id: Ic90318a02d8cc5ba9974ec78b47d156b721ee795
2012-03-12 13:58:55 -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
Alex Sakhartchouk
44e3fe99c5 Using the rs API instead.
Change-Id: I819c37f8c05ec887500db38a4e18390a1c5ea137
2012-03-12 13:52:33 -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
James Dong
46192727a4 Merge "Hide deprecated MediaRecorder.java APIs" 2012-03-12 13:37:28 -07:00
Jeff Brown
a8c67eb904 Merge "Add Java wrappers for new atrace functionality." 2012-03-12 13:25:27 -07:00
Romain Guy
6e0621794d Merge "Turn down the number of glGetError() calls." 2012-03-12 12:58:21 -07:00
Romain Guy
3fe4eb9c60 Turn down the number of glGetError() calls.
glGetError() was invoked every time a display list was updated. This
was unnecessary since display list updates do not execute OpenGL code.

Change-Id: Ia0a75a65ccf2a4701fb3a828848cd0c42f256c6c
2012-03-12 12:49:41 -07:00
James Dong
029d7e15f3 Hide deprecated MediaRecorder.java APIs
o related-to-bug: 6085208

Change-Id: I6d4d2c20756b317661c94ebe35752a040ece8283
2012-03-12 12:33:10 -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
Michael Jurka
5d1907b2f3 Merge "Fix back button state issue" 2012-03-12 11:56:55 -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
Glenn Kasten
c79b293435 Merge "Merge dup code at thread entry and param change" 2012-03-12 11:26:39 -07:00
Jean-Michel Trivi
e94434712b Merge "Extend WAV extractor for multichannel" 2012-03-12 11:21:35 -07:00
Fabrice Di Meglio
05f692e805 Merge "Make Gravity RTL APIs public" 2012-03-12 10:54:42 -07:00
James Dong
1a22cbd113 Merge "Avoid checking supported mime types or file suffixes in multiple places" 2012-03-12 10:33:38 -07:00
George Mount
60c7bcbd13 Remove Logs inadvertently added to AutoCompletePopup.
Change-Id: If5062ad8485a8f7ce66dd5b2196c8559bc6ff3e9
2012-03-12 10:28:27 -07:00
Alex Sakhartchouk
e1dd94b1a0 Merge "Split off driver code into a separate static library." 2012-03-12 09:52:47 -07:00
Eino-Ville Talvala
108708b487 Add references to MediaActionSound in Camera documentation.
Also includes a few minor doc cleanups.

Change-Id: I1742a50f92ceb2b14761e8306891e545a3cf49dd
2012-03-12 09:12:27 -07:00
Glenn Kasten
0fe52c8be8 Merge dup code at thread entry and param change
This CL is mostly just cleanup, but there are a couple of fixes marked
"FIX" below.

Merge the duplicate code that was at the beginning of threadLoop() and
after a parameter change.  cacheParameters_l() is now called at entry to
threadLoop() and after any parameter change.  It re-calculates all values
that are derived from parameters, and caches them in instance variables.

updateWaitTime_l():
 - FIX activeSleepTime depends on mWaitTimeMs, which was initially set
   to infinity.  updateWaitTime_l() was not called at entry to
   threadLoop(), so activeSleepTime was not set correctly before the
   first parameter change.

 - FIX reversed the order of calls after parameter change
   for the same reason so that updateWaitTime_l() is called before
   calculating values that are derived from wait time.

 - marked it private since now it's only called from DuplicatingThread

Change-Id: If2607d2ed66c6893d910433e48208a93c41fb7e9
2012-03-12 08:58:26 -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
Wink Saville
f4ae6aabbc Allow CDMA on LTE devices to get data connections even if otasp is needed.
Bearer Independent Protocol (BIP) connections as defined in
ETSI TS 102 223 "Smart Cards; Card Application Toolkit (CAT) (Release 11)"
need to be able to establish data connections even when not provisioned.
This can occur when trying to provision on via and EVDO network.

Bug: 6110632
Change-Id: I85722e0ba2e2606ffcf2516b8f00be6ff5271adf
2012-03-10 13:23:35 -08: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
James Dong
4f1ed0e84e Avoid checking supported mime types or file suffixes in multiple places
Change-Id: I47d24070c7bda385cd1d7fa1f6a75dbb1f82b476
2012-03-09 17:44:11 -08:00
Michael Jurka
a5d0ddba60 Fix back button state issue
Back button / down chevron button (eg when you have an IME visible)
was not getting synced on rotation changes

Bug: 6133831
Change-Id: Iefaf3babf92898fcc87a0b14c10b037de04d84e2
2012-03-09 17:41:41 -08:00
Romain Guy
772a73963d Merge "Don't bind data to missing uniforms" 2012-03-09 17:38:11 -08:00
Romain Guy
55fd2c9b2e Don't bind data to missing uniforms
Change-Id: Ib9d1f14eb0bef04e0910baa4eaf3e49cce81c0ce
2012-03-09 17:37:29 -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