Commit Graph

5443 Commits

Author SHA1 Message Date
Android (Google) Code Review
87793027d4 Merge change I577dd1f3 into eclair
* changes:
  Accept incoming connections if no other sink is in NonDisconnecting state.
2009-12-21 14:16:44 -08:00
Android (Google) Code Review
c717b34fa1 Merge change I2703edac into eclair
* changes:
  docs: add new device features for the uses-feature manifest element and edit some other pieces.
2009-12-19 12:30:15 -08:00
Android (Google) Code Review
4821a83057 Merge change Iab5952e1 into eclair
* changes:
  docs: add "required" attribute to the <uses-feature> docs and add a note to the CAMERA permission stating that it enables the <uses-feature> for camera. This is an incrimental update for the 2.0.1 docs. More changes to come for the 2.1 docs to include more features
2009-12-19 00:36:48 -08:00
Android (Google) Code Review
fbd84af451 Merge change Ie4b0d302 into eclair
* changes:
  docs: update the site homepage with 2.1 announcement
2009-12-18 17:13:53 -08:00
Android (Google) Code Review
9fa550aa36 Merge change Ic31c0f62 into eclair
* changes:
  docs: update the Bluetooth guide with links to the sample app, scrub the sibling files, and revise the Bluetooth package summary to point to the BT dev guide.
2009-12-18 17:12:36 -08:00
Android (Google) Code Review
9f64b89d8e Merge change I75bb4c98 into eclair
* changes:
  doc change: Move commit 4075b4ced from guide/appendix/faq to resources/faq.
2009-12-17 10:31:19 -08:00
Android (Google) Code Review
b8c3e4227d Merge change I3f67758f into eclair
* changes:
  doc change: remove existing (unchanged since sdk) samples from zip. This now contains only new samples.
2009-12-17 10:28:06 -08:00
Android (Google) Code Review
58a671247f Merge change I7d67e1b3 into eclair
* changes:
  docs: small edits
2009-12-16 18:20:05 -08:00
Android (Google) Code Review
41da2d613e Merge change I354261e2 into eclair
* changes:
  docs: small edit to live wallpaper sentence
2009-12-16 15:30:02 -08:00
Android (Google) Code Review
39cb8b4cc2 Merge change I10073d50 into eclair
* changes:
  Add Annotation for optional features.
2009-12-16 12:14:11 -08:00
Android (Google) Code Review
bba805c780 Merge change Iccb92649 into eclair
* changes:
  docs: fix typo
2009-12-16 11:14:40 -08:00
Android (Google) Code Review
3cd2d9060d Merge change I33eb64c0 into eclair
* changes:
  docs: add 2.1 platform notes, win usb driver notes  and fix some javadocs for PhonestateListener
2009-12-16 11:11:02 -08:00
Android (Google) Code Review
9e50d7c719 Merge change Ib43ec8f6 into eclair
* changes:
  docs: fix some typos in the manifest docs samples and remove the "one or more of" phrase from the syntax snippet because it interferes with the syntax coloring.
2009-12-16 10:05:10 -08:00
Android (Google) Code Review
be9952f8b3 Merge change Ia36d8e74 into eclair
* changes:
  Updates to SDK troubleshooting doc, per bug 2315781.
2009-12-16 09:59:12 -08:00
Android (Google) Code Review
fc3cad0e4e Merge change I8385f59d into eclair
* changes:
  sdk doc change for esr: Cleanup for resources tab content.
2009-12-15 21:24:15 -08:00
Android (Google) Code Review
ccb6b93540 Merge change I0448ef20 into eclair
* changes:
  Fix SoundPool buffer size rounding error. Bug 2327620.
2009-12-15 08:50:20 -08:00
Android (Google) Code Review
999e84618d Merge change I0c8814d1 into eclair
* changes:
  Removing copyrighted backgrounds/logos from ContactManager and Wiktionary samples.
2009-12-14 21:34:44 -08:00
Android (Google) Code Review
8531e0d6d9 Merge change I8f657a99 into eclair
* changes:
  Avoid a crash trying to get a substring whose start is after its end.
2009-12-14 17:41:15 -08:00
Android (Google) Code Review
c7b99dadcc Merge change Ib1eb2e9e into eclair
* changes:
  sdk doc change for esr: Add "resources" tab content. Fix links pointing to the old locations. Change Android.mk to output samples files to resources/samples. Misc other fixes.
2009-12-14 12:11:08 -08:00
Ying Wang
8de909ce00 am 6f95f461: Fix the dependencies to make online-sdk-docs.
Merge commit '6f95f461098d5b9e93212cf9cc7c7a6498eecf3a' into eclair

* commit '6f95f461098d5b9e93212cf9cc7c7a6498eecf3a':
  Fix the dependencies to make online-sdk-docs.
2009-12-12 15:38:29 -08:00
Android (Google) Code Review
093a48b1ab Merge change I2ffe306f into eclair
* changes:
  Fix issue #2304284: contacts/dialer/recentcalls constantly flashing
2009-12-11 18:25:21 -08:00
Android (Google) Code Review
827573fad5 Merge change I6dc8a694 into eclair
* changes:
  Layoutlib: Add a constant for default density value.
2009-12-11 14:54:19 -08:00
Mathias Agopian
f5430db059 fix [2269582] [TOP-10][Passion_1506][APT:Camera]Sometimes camera preview screen is truncated after launching and back to home screen by home key repeatedly
When a surface is removed from the screen while it holds a "freeze lock", the
release of that lock happens in the destructor as a "safety net". However, it
doesn't trigger an update at that point.

Make sure that "freeze locks" are released from the transaction at the point
a surface is removed from the screen (if it's not on screen, it shouldn't
prevent the screen to redraw, and therefore cannot hold a freeze lock).
The refresh corresponding to that transaction will pick it up as soon as possible.
2009-12-11 00:56:10 -08:00
Android (Google) Code Review
f414887b3c Merge change I18305fec into eclair
* changes:
  Add ContactManager, MultiResolution, Wiktionary, and WiktionarySimple to samples index. Also add latest samples zip file.
2009-12-10 17:03:30 -08:00
Mathias Agopian
8f03b47432 fix [2319255] crash in openGL : from the media recorder stress test.
never call eglCreateImageKHR() with a NULL native buffer, which can
happen in OOM conditions.
2009-12-10 15:59:08 -08:00
Android (Google) Code Review
c0012deacc Merge change I24bb662a into eclair
* changes:
  Adding screenshots for development/samples/Wiktionary and development/samples/WiktionarySimple.
2009-12-09 23:42:13 -08:00
Android (Google) Code Review
054fbe7829 Merge change Ia48b3f2a into eclair
* changes:
  Fix #2313887: Device doesn't boot after rebooting device...
2009-12-09 18:41:04 -08:00
Android (Google) Code Review
d23bf4c1e7 Merge change I06398298 into eclair
* changes:
  docs: add images used in BT developer guide.
2009-12-09 18:20:21 -08:00
Android (Google) Code Review
0ef402831a Merge change Ie4cdb5a3 into eclair
* changes:
  Add --custom-package to aapt
2009-12-09 18:09:49 -08:00
Android (Google) Code Review
9eab12e8c4 Merge change I3c299167 into eclair
* changes:
  Import revised translations.  DO NOT MERGE
2009-12-09 17:59:07 -08:00
Android (Google) Code Review
9c8ab6a20a Merge change I54400322 into eclair
* changes:
  Adding screenshots for development/samples/ContactManager documentation.
2009-12-09 17:51:34 -08:00
Android (Google) Code Review
6f346aca9b Merge change Icced7a09 into eclair
* changes:
  Maintain a list of all Bluetooth docks.
2009-12-09 17:00:09 -08:00
Mathias Agopian
c5e181f8b3 fix [2315900] Monochrome camera preview screen after launching camera
this was introduced by a recent change. when we try to figure out the size of
the yuv->rgb temporary buffer, the output resolution has not been computed yet
and an invalid buffer size is used. most of the time the allocation fails
and the system reverts to "standard" GL will uses onle the Y plane.

the allocation of the temporary buffer is moved to onDraw(), the first
time it is called, by that time, the window is positioned properly.
2009-12-09 15:26:29 -08:00
Android (Google) Code Review
cb94f70d5c Merge change I0f73439a into eclair
* changes:
  Partially fix bug 2111240 Detect docking / undocking event by reporting to the AudioPolicyManager a new forced usage AudioSystem::FOR_DOCK which can take the FORCE_NONE, FORCE_BT_DOCK or FORCE_WIRED_ACCESSORY values. This CL is complemented by an update of the APM to take into account the FOR_DOCK usage.
2009-12-09 11:46:50 -08:00
Android (Google) Code Review
654fd5c185 Merge change Id22c0137 into eclair
* changes:
  Throttle low priority RS threads by sleeping once per frame to avoid starving other apps.
2009-12-09 11:07:16 -08:00
Android (Google) Code Review
8d96b7af4b Merge change Ib548dbb2 into eclair
* changes:
  improve video performance to minimize the tearing effect seen in 720p movies
2009-12-09 01:39:23 -08:00
Mathias Agopian
69ff5de1b7 improve video performance to minimize the tearing effect seen in 720p movies
always rescale videos to their target size using copybit during yuv->rgb
conversion. this improves performance of the GPU pass and doesn't require
linear filtering to be enabled. Also always use 16-bits buffers.

the average processing time for 720p dropped from ~50ms to ~30ms
2009-12-08 19:29:38 -08:00
Android (Google) Code Review
4f22b67c93 Merge change Ifd95b9f5 into eclair
* changes:
  Fix #2313382: SECURITY: Live wallpapers get touch events through the lock screen.
2009-12-08 18:40:37 -08:00
Android (Google) Code Review
4d104e6d66 Merge change If990cab0 into eclair
* changes:
  Make sure to acknowledge stale broadcasts
2009-12-08 14:07:50 -08:00
Android (Google) Code Review
fe07788498 Merge change I705b1d33 into eclair
* changes:
  GpsLocationProvider: Do not release wakelock until the GPS engine is fully off
2009-12-07 17:17:47 -08:00
Android (Google) Code Review
b7e2059005 Merge change Ia5ef9acd into eclair
* changes:
  remove an old STOPSHIP comment
2009-12-07 16:59:46 -08:00
Android (Google) Code Review
d958f3c7bb Merge change I38227501 into eclair
* changes:
  Add API to get Active Sinks.
2009-12-07 15:49:50 -08:00
Android (Google) Code Review
6c0dae34e2 Merge change Ib097fbbf into eclair
* changes:
  DO NOT MERGE  Reverting change I53e91db7.
2009-12-07 15:27:19 -08:00
Android (Google) Code Review
ec68a21530 Merge change I204e4787 into eclair
* changes:
  Fix updating Bluetooth icon on status bar and for Wifi.
2009-12-07 15:27:02 -08:00
Android (Google) Code Review
ac16968db1 Merge change I53e91db7 into eclair
* changes:
  Filter out minor Connectivity Notifications.
2009-12-07 15:04:52 -08:00
Android (Google) Code Review
587385b096 Merge change I771bebb9 into eclair
* changes:
  Add Java exceptions to catch RS calls with no context or no surface.
2009-12-07 12:55:38 -08:00
Eric Laurent
fed9382a6a Fix issue 2306779: Runtime restart - Init failed at android.media.ToneGenerator.
The ToneGenerator failed to initialize because no more tracks were available in AudioFlinger mixer.

All tracks were used because the duplicating output was failing to free the tracks on audio hardware output mixer when exiting due to a misplaced test on output activity: output tracks where only freed if the duplicating output was active when exiting.

The fix consists in freeing the output tracks when the duplicating thread is destroyed without condition.
2009-12-07 12:30:22 -08:00
Android (Google) Code Review
0aa2563bb7 Merge change I9cc489a2 into eclair
* changes:
  Fix issue 2304669: VoiceIME: starting and canceling voice IME yields persistent "error 8" state on future attempts and breaks voice search.
2009-12-07 11:00:54 -08:00
Android (Google) Code Review
f5009537a4 Merge change Ibb9b1de1 into eclair
* changes:
  1) Capture the start memory before the test started 2) Report the mem diff to zero if it is negative.
2009-12-07 10:51:16 -08:00
Eric Laurent
5291095089 Fix issue 2304669: VoiceIME: starting and canceling voice IME yields persistent "error 8" state on future attempts and breaks voice search.
Fixed AudioFlinger::openInput() broken in change ddb78e7753be03937ad57ce7c3c842c52bdad65e
so that an invalid IO handle (0) is returned in case of failure.
Applied the same correction to openOutput().
Modified RecordThread start procedure so that a failure occuring during the first read from audio input stream is detected and causes
the record start to fail.
Modified RecordThread stop procedure to make sure that audio input stream fd is closed before we exit the stop function.

Fixed AudioRecord JAVA and JNI implementation to take status of native AudioRecord::start() into account
and not change mRecordingState to RECORDSTATE_RECORDING if start fails.
2009-12-07 05:37:47 -08:00