38921 Commits

Author SHA1 Message Date
Jamie Gennis
ff2dc46c12 Add camera service support for SurfaceTexture.
This change enables the use of a SurfaceTexture in place of a Surface as
the destination of camera preview frames.

Change-Id: Ic70d404c8fe261e9d5da6f1de93d6babb5b191cb
2011-01-06 13:31:53 -08:00
Andreas Huber
1932fef94a Merge "Colorconverter may not support some src/dst bitmap configurations." into honeycomb 2011-01-06 13:26:51 -08:00
Andreas Huber
cc9585fb38 Merge "If we failed to initialize the codec after transitioning to IDLE state, don't assert" into honeycomb 2011-01-06 13:26:45 -08:00
Jamie Gennis
68e4a7ac84 Add the SurfaceTexture C++ implementation.
This change adds the C++ implementation of SurfaceTexture and related
classes. The goal of this is for a SurfaceTexture to be passed to
camera service or Stagefright in place of a Surface to allow camera
preview or decoded video frames to be streamed to an OpenGL ES texture
that an application can use.

Change-Id: I55c83a7017f1ecb81c9c9e3252cbd118b914296c
2011-01-06 13:20:47 -08:00
Jamie Gennis
0a53d5c81b Add the ISurfaceComposer::createGraphicBuffer IPC.
This change adds a new binder method to the ISurfaceComposer interface.
This IPC is intended to allow SurfaceFlinger clients to allocate gralloc
buffers using SurfaceFlinger as a proxy to gralloc.

Change-Id: Ide9fc283aec5da6268ba62cfed0c3319a50b640d
2011-01-06 13:12:35 -08:00
Daniel Sandler
8896079dac Remove obsolete strings (rather than fix l10n guidelines).
Bug: 3197000
Change-Id: I8e501922d0a5d80a970281446ddeeab43ed69ea3
2011-01-06 16:06:30 -05:00
Dianne Hackborn
9f0696709b We are now Honeycomb.
Change-Id: I69dadd57184d2d80f426c1c862ed0a040c8baf03
2011-01-06 12:57:49 -08:00
Chet Haase
5977baa1fa Reuse of native display list objects
Change-Id: Ia4553e23930ad20e56c11faa7809be788a1ad4bb
2011-01-06 12:50:30 -08:00
Andreas Huber
c0dbe3a445 Colorconverter may not support some src/dst bitmap configurations.
Let it return an appropriate error code instead of asserting.

Change-Id: I7fe0dfa169e1cbdecb04c5fcbe8501e73362d05e
related-to-bug: 3328212
2011-01-06 12:42:33 -08:00
Andreas Huber
eec06d3679 If we failed to initialize the codec after transitioning to IDLE state, don't assert
during shutdown.

Change-Id: I40ac44260fb136c15d6dcb9f5ad62211640c66ec
related-to-bug: 3328222
2011-01-06 12:42:13 -08:00
Vasu Nori
42edf0f8cf Merge "requery() should close cursorwindow insead of setting it to null." into honeycomb 2011-01-06 11:37:00 -08:00
Vasu Nori
8e6a513c97 Merge "set default mode of WAL to be off." into honeycomb 2011-01-06 11:36:53 -08:00
Adam Powell
21e713d615 Merge "Fix bug 3327227 - Adjust overflow menu padding" into honeycomb 2011-01-06 11:32:51 -08:00
Cary Clark
b83a4b98de Merge "pass enter key to webkit more often" into honeycomb 2011-01-06 11:29:33 -08:00
Adam Powell
b7420fb687 Fix bug 3327227 - Adjust overflow menu padding
Change-Id: I1d946655aecfcd1965471dbd32958bf8c0c38e76
2011-01-06 11:29:08 -08:00
Xavier Ducrohet
29c288da52 Cherry-pick 9b53dd9d60a01ddb1307177c296c7b4fd6114753 from master
Change-Id: I670872542feb62c47fe693eb183b19e2eef2b20d
LayoutLib: use new API with log in init method.
2011-01-06 11:11:05 -08:00
Cary Clark
ddbda005ad pass enter key to webkit more often
If the cursor is active and on a node that doesn't want
key events, treat the enter key as a click.

Otherwise, pass key down and key up to webkit.

A companion change in external/webkit adds frames
as nodes that wants key events.

bug:3325093
Change-Id: I134d2999505925ee1e571841759cb295103b5a30
2011-01-06 13:42:11 -05:00
Vasu Nori
0e453d1115 requery() should close cursorwindow insead of setting it to null.
just in case GC takes a while to kick in.

Change-Id: I3a00b52afe1303be0c7d6bb561e5c07734e4dcb3
2011-01-06 09:52:51 -08:00
Steve Block
7a1121511d Remove some superfluous null-checks when constructing a CacheResult
Change-Id: I57f0283872b788f84fef1667f79c37f4d92a5868
2011-01-06 17:20:21 +00:00
Steve Block
67ba204aa2 Tidy up CacheManager comments and documentation
Change-Id: I3a7d3836a51ef3092652ade87f29bc84af69ee7d
2011-01-06 17:20:21 +00:00
Steve Block
e7fc1d26c5 Remove an unused non-public CacheManager method
Change-Id: Ia0bef0a66167ce948802701e1dd85e82b937dbdf
2011-01-06 17:19:58 +00:00
Vasu Nori
a22d88493e set default mode of WAL to be off.
apps will have to enable WAL explicitly.

Change-Id: Iba5c47a40f465e668ef0d538282230e99fe04ce6
2011-01-06 09:18:47 -08:00
Mike Lockwood
264f6cd0b9 Temporarily remove UsbManager support for USB host.
A new USB host API will be added in an upcoming commit

Change-Id: I5816c10c7acd236d31ab8ae255fc83c77121eea0
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-06 11:48:19 -05:00
Mike Lockwood
27480cd494 Remove support for obsolete PTP content provider
This will be replaced by a new PTP host API in an upcoming commit.

Change-Id: Ib914194e332b5c090cb8e34ed35bd691bc9f85d1
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-06 11:47:56 -05:00
Mike Lockwood
65d2a4cb5f Remove CameraBrowser test app
Change-Id: I7e04ef674746c5c2cdf421a2b9ec440d7ea831bd
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-06 11:47:25 -05:00
Mike Lockwood
215b682b8a MTP: changes to use new usb_request support in libusbhost
Change-Id: Ic091eab166a66efcde0395dcebbbc513f2322fca
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-06 11:46:55 -05:00
Steve Block
faba502a8d Update WebView useragent string for merge to WebKit r72805
Note that this is a backwards merge from Chromium release 9.0.600.0
to 9.0.597.0, to align with the Chromium 9 stable release branch.

Change-Id: I9cf18eeaa9bc6eb2964272721b686c8ea0b2b897
2011-01-06 14:30:22 +00:00
satok
82652574b7 Merge "Check null pointer agressively." 2011-01-06 02:40:07 -08:00
satok
4fdf1de47f Check null pointer agressively.
Bug: 3250622

Change-Id: I25f367ad1bd6a741282603f2f587f7a1256ef460
2011-01-06 19:35:12 +09:00
Chia-chi Yeh
f1304572ae Merge "Enable built-in echo canceler if available." 2011-01-06 01:56:27 -08:00
Chia-chi Yeh
d87be273aa Enable built-in echo canceler if available.
1. Always initialize AudioRecord with VOICE_COMMUNICATION.
2. If echo canceler is available, disable our echo suppressor.

Change-Id: Idf18d3833189a8478c1b252ebe6ce55e923280b3
2011-01-06 17:43:24 +08:00
Chia-chi Yeh
57d22a7430 Merge "Do not set back to AudioManager.MODE_NORMAL in SipAudioCall." 2011-01-06 00:10:26 -08:00
Chia-chi Yeh
4bf82df2f0 Do not set back to AudioManager.MODE_NORMAL in SipAudioCall.
Change-Id: I8f68e01e5f8c73bb8afd44312cbfadb55aab4330
2011-01-06 15:51:45 +08:00
Adam Powell
e4a04989e2 Merge "Fix a bug that could cause padded lists to draw dividers incorrectly" 2011-01-05 23:32:31 -08:00
Adam Powell
9456655f93 Fix a bug that could cause padded lists to draw dividers incorrectly
Change-Id: I6483848c55567f901ac8b1628991de3343bd3f3d
2011-01-05 23:25:33 -08:00
Dianne Hackborn
abfc847b67 am c042eb77: am 3769240b: Merge "Clear reference to the IIntentReceiver in order to avoid memory leak"
* commit 'c042eb77a5e4c3cb4f2a886d61cff17e1c9b5aed':
  Clear reference to the IIntentReceiver in order to avoid memory leak
2011-01-05 22:48:10 -08:00
Johannes Carlsson
d3f36dfdea am 73fef3c7: am b5a8654d: Clear reference to the IIntentReceiver in order to avoid memory leak
* commit '73fef3c7c0986468d75e3ef09d2255c3509a80c9':
  Clear reference to the IIntentReceiver in order to avoid memory leak
2011-01-05 22:48:05 -08:00
Dianne Hackborn
d541f0cbdc am 4302886f: am c91f9fe5: Merge "Avoiding cyclic references when unbinding from a service" into gingerbread
* commit '4302886f8f77c3f53cdc094069f3550dd56bc812':
  Avoiding cyclic references when unbinding from a service
2011-01-05 22:48:00 -08:00
Adam Powell
1470f9c24e Merge "Fix bug 3326380 - ListView motion scrolling stops too early when list is padded" 2011-01-05 22:38:35 -08:00
Adam Powell
a13fc67b81 Fix bug 3326380 - ListView motion scrolling stops too early when list
is padded

Change-Id: Iaca31e030aefc87f115d5022c2a42aefd73b88ea
2011-01-05 22:37:33 -08:00
Brian Carlstrom
33a385bcc4 Merge "Import libcore_to_document definition from libcore/Docs.mk" 2011-01-05 21:53:32 -08:00
Dianne Hackborn
1122566613 Merge "Implement issue #3326435: Battery stats improvements" 2011-01-05 21:35:56 -08:00
Adam Powell
fde439751a Merge "Fix bug 3242965 - Unreadable text in context menus using legacy theme" 2011-01-05 21:10:16 -08:00
Adam Powell
cfff00ef7f Fix bug 3242965 - Unreadable text in context menus using legacy theme
Change-Id: I716a93cdea36d7870601e3cdf43522240c2d1111
2011-01-05 21:06:26 -08:00
Dianne Hackborn
c1b40e361c Implement issue #3326435: Battery stats improvements
Keep track of discharge while screen is on vs. off.

Checkin looks like:

5,0,u,dc,1,1,1,0

The last four numbers are, from left:

- Maximum battery drain over time period.
- Minimum battery drain over time period.
- Battery drain while screen was on.
- Battery drain while screen was off.

Change-Id: Ie4026a7cc8aabb2a6d47d03d2e278aa51c2d5ddf
2011-01-05 21:02:01 -08:00
Joe Onorato
f4e4b2753d Merge "Make the volume keys adjust the media volume by default if the device is not "voice capable."" 2011-01-05 20:53:14 -08:00
Joe Onorato
7998559032 Merge "Fix the 3G icon shows as G." 2011-01-05 20:53:05 -08:00
Dianne Hackborn
c042eb77a5 am 3769240b: Merge "Clear reference to the IIntentReceiver in order to avoid memory leak"
* commit '3769240b7976bfa50bb7bf235747b7f6bb7be08e':
  Clear reference to the IIntentReceiver in order to avoid memory leak
2011-01-05 19:28:33 -08:00
Johannes Carlsson
73fef3c7c0 am b5a8654d: Clear reference to the IIntentReceiver in order to avoid memory leak
* commit 'b5a8654dea9ea8443b41f8ff3668ae4074e13a07':
  Clear reference to the IIntentReceiver in order to avoid memory leak
2011-01-05 19:13:29 -08:00
Dianne Hackborn
3769240b79 Merge "Clear reference to the IIntentReceiver in order to avoid memory leak" 2011-01-05 19:10:15 -08:00