10082 Commits

Author SHA1 Message Date
Android (Google) Code Review
82e037a4ed 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
Dirk Dougherty
9b5ea48871 doc change: Move commit 4075b4ced from guide/appendix/faq to resources/faq.
Bug: 2315781
Change-Id: I75bb4c98fa48af47c935787a5ab30ca7c1a8091d
2009-12-17 10:15:23 -08:00
Dirk Dougherty
51ae620ce2 doc change: remove existing (unchanged since sdk) samples from zip. This now contains only new samples.
Bug:2160782
Change-Id: I3f67758f207df0fdde8a46d40ba8d5873097e460
2009-12-17 10:07:46 -08:00
Scott Main
f0cdfa9955 add -since flag to droiddoc options for 7.xml,
to apply api filtering to the reference
2009-12-16 21:41:10 -08:00
Scott Main
1362bbcf76 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-16 18:48:02 -08:00
Android (Google) Code Review
26099cd9ce Merge change I7d67e1b3 into eclair
* changes:
  docs: small edits
2009-12-16 18:20:05 -08:00
Scott Main
7d67e1b365 docs: small edits 2009-12-16 18:14:37 -08:00
Android (Google) Code Review
b2aab5042b Merge change I354261e2 into eclair
* changes:
  docs: small edit to live wallpaper sentence
2009-12-16 15:30:02 -08:00
Scott Main
354261e25a docs: small edit to live wallpaper sentence 2009-12-16 15:25:35 -08:00
Trevor Johns
5ff60dff18 Updating frameworks/base/docs/html/shareables/latest_samples.zip to reflect current state of sample code as of 1d151678. 2009-12-16 15:14:43 -08:00
Scott Main
e4b0d3026a docs: update the site homepage with 2.1 announcement 2009-12-16 12:25:22 -08:00
Android (Google) Code Review
e6547423e3 Merge change I10073d50 into eclair
* changes:
  Add Annotation for optional features.
2009-12-16 12:14:11 -08:00
Android (Google) Code Review
8bda0fb0ca Merge change Iccb92649 into eclair
* changes:
  docs: fix typo
2009-12-16 11:14:40 -08:00
Scott Main
ccb926498f docs: fix typo 2009-12-16 11:13:40 -08:00
Android (Google) Code Review
d92cc9a4ba 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
Scott Main
4c4a47f421 docs: add developer dashboard page and add topic link
to it from the homepage (replacing the video topic)
2009-12-16 10:08:32 -08:00
Android (Google) Code Review
218c0763d5 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
9d2252db2c Merge change Ia36d8e74 into eclair
* changes:
  Updates to SDK troubleshooting doc, per bug 2315781.
2009-12-16 09:59:12 -08:00
Scott Main
b149ee8835 docs: add 2.1 platform notes, win usb driver notes
and fix some javadocs for PhonestateListener
2009-12-16 09:50:53 -08:00
Android (Google) Code Review
6ccc515c7f Merge change I8385f59d into eclair
* changes:
  sdk doc change for esr: Cleanup for resources tab content.
2009-12-15 21:24:15 -08:00
Dirk Dougherty
50bfb39c55 sdk doc change for esr: Cleanup for resources tab content.
Bug:2160782
Change-Id: I8385f59d764156ccc318f71e5d344c7f33330c40
2009-12-15 19:24:58 -08:00
Katarina Stenstedt
4075b4ced4 Updates to SDK troubleshooting doc, per bug 2315781.
Describes work-around for these problems: Sometimes you
can't view manifest files within Eclipse; you can't run
the GestureBuilder sample on the emulator or uninstall it
from the emulator.

Bug: 2315781
Change-Id: Ia36d8e74a9fccd106ce2cc5e9451846aacba9da4
2009-12-15 12:41:24 -08:00
Android (Google) Code Review
9148742546 Merge change I0448ef20 into eclair
* changes:
  Fix SoundPool buffer size rounding error. Bug 2327620.
2009-12-15 08:50:20 -08:00
Dave Sparks
66d28cedd9 Fix SoundPool buffer size rounding error. Bug 2327620.
AudioTrack was modified earlier to calculate minimum buffer size
based on the hardware reported latency. Previously, it was a
hard-coded value. As a result of this change, the minimum buffer
size is now variable based on hardware latency. On Passion, this
brought out a subtle rounding error in the buffer size calculation
in SoundPool. This can cause AudioTrack creation to fail based on
the requested sample rate. This fix calculates the total buffer
size first, and then does rounding before dividing by the number
of buffers.
2009-12-14 21:48:17 -08:00
Android (Google) Code Review
311bb7fcc1 Merge change I0c8814d1 into eclair
* changes:
  Removing copyrighted backgrounds/logos from ContactManager and Wiktionary samples.
2009-12-14 21:34:44 -08:00
Trevor Johns
1ff123d794 Removing copyrighted backgrounds/logos from ContactManager and Wiktionary
samples.

Bug: 2326131
2009-12-14 18:55:44 -08:00
Xavier Ducrohet
3274b9b7da Add Annotation for optional features.
This is used by the SDK to display available features in the
editors.

Change-Id: I10073d503d1b3dcb92a5dc526cd054285b85fa3a
2009-12-14 17:52:20 -08:00
Android (Google) Code Review
725218602e 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
Eric Fischer
32929413ff Avoid a crash trying to get a substring whose start is after its end.
Constrain the start of the extracted text, not just the end, to the length
of the content.

Approver: ryanpc
Bug: 2323813
2009-12-14 17:35:36 -08:00
Trevor Johns
7c0f00ccdd Adding list of articles to docs/html/resources/articles/index.jd. 2009-12-14 16:08:05 -08:00
Scott Main
b43ec8f631 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-14 14:37:53 -08:00
Android (Google) Code Review
7585586ce5 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
Dirk Dougherty
22558d0be8 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.
Bug: 2160782
Change-Id: Ib1eb2e9e3fe3a7b2ad16387dbf888646a1195221
2009-12-14 11:40:02 -08:00
Dianne Hackborn
9602d9adf4 Fix issue #2325782 Missing location features
Change-Id: I56a07438b5840f530f7508b1ef4904cea737a550
2009-12-14 11:00:40 -08:00
Eric Laurent
da4cc34308 Fix issue 2324029: In-call (and other) audio screwed up after using Pandora (ERD72).
The problem is due to spurious headset connection indications received from event observer when a 3.5mm headset w/o mic is connected.
In this particular case, The HeadsetObserver first received a valid indication of headset with mic connection, followed by a headset with mic disconnection and finally a headset w/o mic connection.
The HeadsetObserver delays the headset disconnection intent to leave time to music app to pause music before the output path is switched.
As the last headset w/o mic connection indication is received from the event observer before the intent corresponding to the spurious headset with mic disconnection is broadcast, the later is discarded. Results a state where the headset with mic is always considered as connected.

The fix consists in not canceling pending intents when a new headset state is received and carrying the HeadsetObserver state with the delayed message triggering the broacast of the disconnection intent.
2009-12-14 03:45:41 -08:00
Ying Wang
54bb575e85 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
Dianne Hackborn
9b52a2184e Fix #2269582 Sometimes camera preview screen is truncated
There were a few places in the window manager where we wouldn't cause
a layout after making a window visible.  This would leave it using
whatever size and position it last have since we don't layout windows
when they are not visible.

Also includes a little part I missed in the security issue that
allowed wallpapers to see input on the lock screen.

Change-Id: Icd7e037ad9a67ac936bc7039d87ed68f49502d73
2009-12-11 18:35:07 -08:00
Android (Google) Code Review
474731d5ef Merge change I2ffe306f into eclair
* changes:
  Fix issue #2304284: contacts/dialer/recentcalls constantly flashing
2009-12-11 18:25:21 -08:00
Dianne Hackborn
871ecdce67 Fix issue #2304284: contacts/dialer/recentcalls constantly flashing
Make sure the application is always given the most recent configuration
when launcher.  Use the current configuration, instead of whatever happens
to be set by the app, for reporting what it was launched with.

Change-Id: I2ffe306f56cc9092b640546dd0a28d2c29b9c0b3
2009-12-11 15:24:33 -08:00
Android (Google) Code Review
62d4395bdb Merge change I6dc8a694 into eclair
* changes:
  Layoutlib: Add a constant for default density value.
2009-12-11 14:54:19 -08:00
Xavier Ducrohet
a8ba3114e8 Layoutlib: Add a constant for default density value.
Change-Id: I6dc8a694bbdae2385d4e877ea04a6b4325a5719e
2009-12-11 14:20:54 -08:00
Christopher Tate
2624fbcaaa Fix #2320798: Device hang then runtime restart
The system_server process is deadlocking between event dispatch and window
manager code.  This change fixes the lock scoping to eliminate the deadlock.

Change-Id: I00f029e4d51d7432119ad3aeec260df215b52546
2009-12-11 12:49:33 -08:00
Jaikumar Ganesh
551ed72940 Use UNDEFINED priorities when unpaired.
For the docks, we can set if a device is preferred or not
before pairing process. This was getting overridden when we pair.
This problem doesn't happen with normal headsets.

Dr No: Eastham
Bug: 2318290
2009-12-11 12:00:31 -08:00
Mathias Agopian
f9b0e82668 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
Ying Wang
6f95f46109 Fix the dependencies to make online-sdk-docs.
Without the framework library, 'make online-sdk-docs' can not find symbols
 in the framework library.
2009-12-10 17:08:14 -08:00
Android (Google) Code Review
7eb6ec1f44 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
083a557c25 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
Roman Nurik
0e71bdc6ac Add ContactManager, MultiResolution, Wiktionary, and WiktionarySimple to samples index. Also add latest samples zip file. 2009-12-10 11:45:33 -08:00
Android (Google) Code Review
b9b45a5e26 Merge change I24bb662a into eclair
* changes:
  Adding screenshots for development/samples/Wiktionary and development/samples/WiktionarySimple.
2009-12-09 23:42:13 -08:00
Dave Sparks
14f8940472 Fix media player decode function. Bug 2317821.
There was a recent change to OpenCORE that broke the MediaPlayer::decode()
function for all OpenCORE supported formats (MP3, AAC, and AMR-NB/WB). The
affect is that SoundPool is unreliable for all of these formats. This patch
changes the logic in the AudioCache object that processes messages from the
media player. The old logic was fragile. This change should make it more
robust against changes.
2009-12-09 20:36:31 -08:00