OSDN Git Service

android-x86/frameworks-base.git
14 years agoam 64dd5be5: Merge change Ia78b0a2d into eclair
Mike Reed [Wed, 7 Oct 2009 19:33:47 +0000 (12:33 -0700)]
am 64dd5be5: Merge change Ia78b0a2d into eclair

Merge commit '64dd5be583bab8218e54068bbf70edc5fc6087c8' into eclair-mr2

* commit '64dd5be583bab8218e54068bbf70edc5fc6087c8':
  add (hidden) setHasAlpha() to allow clients like the view's cache to hint that a bitmap is opaque.

14 years agoMerge change Ia78b0a2d into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 19:22:50 +0000 (15:22 -0400)]
Merge change Ia78b0a2d into eclair

* changes:
  add (hidden) setHasAlpha() to allow clients like the view's cache to hint that a bitmap is opaque.

14 years agoMerge change Ia98129b9 into eclair-mr2
Android (Google) Code Review [Wed, 7 Oct 2009 19:01:25 +0000 (15:01 -0400)]
Merge change Ia98129b9 into eclair-mr2

* changes:
  Fix preference caching to increase recycling of preference views.

14 years agoam e4b6639d: (-s ours) Merge change I9db1edea into eclair
Eric Fischer [Wed, 7 Oct 2009 18:41:26 +0000 (11:41 -0700)]
am e4b6639d: (-s ours) Merge change I9db1edea into eclair

Merge commit 'e4b6639dbcfe9c5a429fb6f216790d69d1b3a6e8' into eclair-mr2

* commit 'e4b6639dbcfe9c5a429fb6f216790d69d1b3a6e8':
  Import revised translations.   DO NOT MERGE

14 years agoam 0c3154d3: Fix issue #2163654: deadlock, runtime restart
Dianne Hackborn [Wed, 7 Oct 2009 18:41:19 +0000 (11:41 -0700)]
am 0c3154d3: Fix issue #2163654: deadlock, runtime restart

Merge commit '0c3154d3fc54a1b3d8358a2932042cca729327b9' into eclair-mr2

* commit '0c3154d3fc54a1b3d8358a2932042cca729327b9':
  Fix issue #2163654: deadlock, runtime restart

14 years agoadd (hidden) setHasAlpha() to allow clients like the view's cache to hint that a...
Mike Reed [Wed, 7 Oct 2009 18:38:05 +0000 (11:38 -0700)]
add (hidden) setHasAlpha() to allow clients like the view's cache to hint that a bitmap is opaque.

Knowing that a 32bit bitmap is opaque is a performance boost for some blits.

14 years agoMerge change I9db1edea into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 18:36:15 +0000 (14:36 -0400)]
Merge change I9db1edea into eclair

* changes:
  Import revised translations.   DO NOT MERGE

14 years agoMerge change Ib8f16340 into eclair-mr2
Android (Google) Code Review [Wed, 7 Oct 2009 18:36:07 +0000 (14:36 -0400)]
Merge change Ib8f16340 into eclair-mr2

* changes:
  Fix ConnectivityManager permissions check.

14 years agoFix issue #2163654: deadlock, runtime restart
Dianne Hackborn [Wed, 7 Oct 2009 00:18:05 +0000 (17:18 -0700)]
Fix issue #2163654: deadlock, runtime restart

Don't hold a lock when the activity thread is telling the activity manager
to release a provider.

This requires that the activity manager now keep a reference count on the
providers, because without the lock it is possible for activity thread to
call in to request the provider again before it has finished telling
about the release.

Change-Id: I5f912903891f4edae85e28819d4e6f14b8f2e688

14 years agoreset webTextView size if focus bounds changes
Cary Clark [Tue, 6 Oct 2009 21:40:53 +0000 (17:40 -0400)]
reset webTextView size if focus bounds changes

When the focus bounds is changed by webkit, reflect that
change on the UI side in the WebTextView. On the WebCore
side, add the focus-changed state to the Draw record,
which is sent whenever a new picture is recorded.

On the WebView side, set a bit when receiving the Draw
record, and check that bit when the picture is first drawn.
This additional delay is required so that the bit isn't
checked until after the new nav cache is swapped in.

If the bit is set when the draw occurs, clear it, and
set up the WebTextView's bounds.

companion change in external/webkit
fixes http://b/issue?id=2118781

14 years agoam 4625758d: Merge change I2c5f1e76 into eclair
Bjorn Bringert [Wed, 7 Oct 2009 05:59:59 +0000 (22:59 -0700)]
am 4625758d: Merge change I2c5f1e76 into eclair

Merge commit '4625758d0b909ccfc9f40b707666b1b21e9e8ffd' into eclair-mr2

* commit '4625758d0b909ccfc9f40b707666b1b21e9e8ffd':
  Fix back button handling in ACTV

14 years agoMerge change I2c5f1e76 into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 05:55:33 +0000 (01:55 -0400)]
Merge change I2c5f1e76 into eclair

* changes:
  Fix back button handling in ACTV

14 years agoam f038004f: changes from Sync Manager API Review: bug 2164262
Fred Quintana [Wed, 7 Oct 2009 05:55:12 +0000 (22:55 -0700)]
am f038004f: changes from Sync Manager API Review: bug 2164262

Merge commit 'f038004f4a5e4fab18df9c87573ba1e82790c30f' into eclair-mr2

* commit 'f038004f4a5e4fab18df9c87573ba1e82790c30f':
  changes from Sync Manager API Review: bug 2164262

14 years agoam 460b60c9: Revert "temporarily disable the use of glTexImage2D for sw buffers on...
Mathias Agopian [Wed, 7 Oct 2009 05:34:21 +0000 (22:34 -0700)]
am 460b60c9: Revert "temporarily disable the use of glTexImage2D for sw buffers on sholes."

Merge commit '460b60c9b064ef02e9eaf56ecf2f266fd7c4089c' into eclair-mr2

* commit '460b60c9b064ef02e9eaf56ecf2f266fd7c4089c':
  Revert "temporarily disable the use of glTexImage2D for sw buffers on sholes."

14 years agochanges from Sync Manager API Review: bug 2164262
Fred Quintana [Wed, 7 Oct 2009 00:05:58 +0000 (17:05 -0700)]
changes from Sync Manager API Review: bug 2164262

14 years agoRevert "temporarily disable the use of glTexImage2D for sw buffers on sholes."
Mathias Agopian [Wed, 7 Oct 2009 05:23:23 +0000 (22:23 -0700)]
Revert "temporarily disable the use of glTexImage2D for sw buffers on sholes."

This reverts commit c131c5671965b69b0dee3e4afa3b3dd5e3c0c405.

Approved by Hiroshi

14 years agoam 773fd131: Merge change I3429f77a into eclair
Brett Chabot [Wed, 7 Oct 2009 02:42:08 +0000 (19:42 -0700)]
am 773fd131: Merge change I3429f77a into eclair

Merge commit '773fd13130948397cac5178e16d17975a06a738b' into eclair-mr2

* commit '773fd13130948397cac5178e16d17975a06a738b':
  Suppress flaky test HeapTest#testOomeLarge.

14 years agoMerge change I3429f77a into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 02:35:27 +0000 (22:35 -0400)]
Merge change I3429f77a into eclair

* changes:
  Suppress flaky test HeapTest#testOomeLarge.

14 years agoSuppress flaky test HeapTest#testOomeLarge.
Brett Chabot [Wed, 7 Oct 2009 02:13:31 +0000 (19:13 -0700)]
Suppress flaky test HeapTest#testOomeLarge.

BUG 2170975

14 years agoam 26fe45dc: Merge change I4961c959 into eclair
Mathias Agopian [Wed, 7 Oct 2009 02:18:06 +0000 (19:18 -0700)]
am 26fe45dc: Merge change I4961c959 into eclair

Merge commit '26fe45dcb3df12eda94d93f1473cd6a2f5f345c7' into eclair-mr2

* commit '26fe45dcb3df12eda94d93f1473cd6a2f5f345c7':
  fix [2152536] ANR in browser

14 years agoam 62443f5f: Fix issue 2139634: DTMF tones on Sholes popping, hissing (audio latency...
Eric Laurent [Wed, 7 Oct 2009 02:18:00 +0000 (19:18 -0700)]
am 62443f5f: Fix issue 2139634: DTMF tones on Sholes popping, hissing (audio latency too high).

Merge commit '62443f5f4517ba17d911975e695f1ab75bfdbf77' into eclair-mr2

* commit '62443f5f4517ba17d911975e695f1ab75bfdbf77':
  Fix issue 2139634: DTMF tones on Sholes popping, hissing (audio latency too high).

14 years agoam c404ed2b: Fix failing unit test; the test was using a deprecated API making it...
Romain Guy [Wed, 7 Oct 2009 02:17:55 +0000 (19:17 -0700)]
am c404ed2b: Fix failing unit test; the test was using a deprecated API making it fail on WVGA devices.

Merge commit 'c404ed2be5d29c8932a3d69b53fea4653c9b868b' into eclair-mr2

* commit 'c404ed2be5d29c8932a3d69b53fea4653c9b868b':
  Fix failing unit test; the test was using a deprecated API making it fail on WVGA devices.

14 years agoam c131c567: temporarily disable the use of glTexImage2D for sw buffers on sholes.
Mathias Agopian [Wed, 7 Oct 2009 02:17:49 +0000 (19:17 -0700)]
am c131c567: temporarily disable the use of glTexImage2D for sw buffers on sholes.

Merge commit 'c131c5671965b69b0dee3e4afa3b3dd5e3c0c405' into eclair-mr2

* commit 'c131c5671965b69b0dee3e4afa3b3dd5e3c0c405':
  temporarily disable the use of glTexImage2D for sw buffers on sholes.

14 years agoam 9d6a685b: Merge changes I430cf57b,I51f02f67,I464f13f3 into eclair
Mathias Agopian [Wed, 7 Oct 2009 02:17:44 +0000 (19:17 -0700)]
am 9d6a685b: Merge changes I430cf57b,I51f02f67,I464f13f3 into eclair

Merge commit '9d6a685ba939f413a8d3e1e97627593aa1cdf6cb' into eclair-mr2

* commit '9d6a685ba939f413a8d3e1e97627593aa1cdf6cb':
  fix [2168528] enable glTexImage2D code path in SF for software-only buffers
  fix [2168531] have software-only gralloc buffer side-step the HAL
  fix [2167050] glTexImage2D code path buggy in SurfaceFlinger

14 years agoam fe7c2a50: Merge change I996db8da into eclair
Jason Sams [Wed, 7 Oct 2009 02:17:38 +0000 (19:17 -0700)]
am fe7c2a50: Merge change I996db8da into eclair

Merge commit 'fe7c2a50148ac9f0d6fbe0030fc53f457c10870a' into eclair-mr2

* commit 'fe7c2a50148ac9f0d6fbe0030fc53f457c10870a':
  Fix tls crash on startup if more than one RS contexts are created in one process.

14 years agoMerge change I4961c959 into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 02:10:17 +0000 (22:10 -0400)]
Merge change I4961c959 into eclair

* changes:
  fix [2152536] ANR in browser

14 years agofix [2152536] ANR in browser
Mathias Agopian [Wed, 7 Oct 2009 02:00:57 +0000 (19:00 -0700)]
fix [2152536] ANR in browser

A window is created and the browser is about to render into it the
very first time, at that point it does an IPC to SF to request a new
buffer. Meanwhile, the window manager removes that window from the
list and the shared memory block it uses is marked as invalid.
However, at that point, another window is created and is given the
same index (that just go freed), but a different identity and resets
the "invalid" bit in the shared block. When we go back to the buffer
allocation code, we're stuck because the surface we're allocating for
is gone and we don't detect it's invalid because the invalid bit has
been reset.

It is not sufficient to check for the invalid bit, I should
also check that identities match.

14 years agoFix issue 2139634: DTMF tones on Sholes popping, hissing (audio latency too high).
Eric Laurent [Tue, 6 Oct 2009 03:29:18 +0000 (20:29 -0700)]
Fix issue 2139634: DTMF tones on Sholes popping, hissing (audio latency too high).

This change is a complement to the main fix in kernel driver for the same issue (partner change #1250).
It removes clicks sometimes heard after the end of the tones while audio flinger is sending 0s to the audio output stream.
The problem was that the sleep time between two writes was more than the duration of one audio output stream buffer which could cause some underrun.

Also fixed a recent regression in ToneGenerator that made that the end of previous tone was repeated at the beginning of current one under certain timing circumstances when the maximum tone duration was specified.

14 years agoFix failing unit test; the test was using a deprecated API making it fail on WVGA...
Romain Guy [Wed, 7 Oct 2009 01:38:27 +0000 (18:38 -0700)]
Fix failing unit test; the test was using a deprecated API making it fail on WVGA devices.

Change-Id: I407c7baa5606aaee875f51d6e96ce8a0117fc375

14 years agotemporarily disable the use of glTexImage2D for sw buffers on sholes.
Mathias Agopian [Wed, 7 Oct 2009 00:59:43 +0000 (17:59 -0700)]
temporarily disable the use of glTexImage2D for sw buffers on sholes.

we're going to first cut a build without this change.

Approved by Dr. Hiroshi.

14 years agoFix ConnectivityManager permissions check.
Robert Greenwalt [Wed, 7 Oct 2009 00:52:40 +0000 (17:52 -0700)]
Fix ConnectivityManager permissions check.

bug: 2160462

14 years agoMerge changes I430cf57b,I51f02f67,I464f13f3 into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 00:46:37 +0000 (20:46 -0400)]
Merge changes I430cf57b,I51f02f67,I464f13f3 into eclair

* changes:
  fix [2168528] enable glTexImage2D code path in SF for software-only buffers
  fix [2168531] have software-only gralloc buffer side-step the HAL
  fix [2167050] glTexImage2D code path buggy in SurfaceFlinger

14 years agofix [2168528] enable glTexImage2D code path in SF for software-only buffers
Mathias Agopian [Tue, 6 Oct 2009 01:20:39 +0000 (18:20 -0700)]
fix [2168528] enable glTexImage2D code path in SF for software-only buffers

14 years agoMerge change I996db8da into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 00:18:40 +0000 (20:18 -0400)]
Merge change I996db8da into eclair

* changes:
  Fix tls crash on startup if more than one RS contexts are created in one process.

14 years agoFix tls crash on startup if more than one RS contexts are created in one process.
Jason Sams [Wed, 7 Oct 2009 00:16:55 +0000 (17:16 -0700)]
Fix tls crash on startup if more than one RS contexts are created in one process.

14 years agofix [2168531] have software-only gralloc buffer side-step the HAL
Mathias Agopian [Tue, 6 Oct 2009 01:19:57 +0000 (18:19 -0700)]
fix [2168531] have software-only gralloc buffer side-step the HAL

14 years agofix [2167050] glTexImage2D code path buggy in SurfaceFlinger
Mathias Agopian [Tue, 6 Oct 2009 00:07:12 +0000 (17:07 -0700)]
fix [2167050] glTexImage2D code path buggy in SurfaceFlinger

When EGLImage extension is not available, SurfaceFlinger will fallback to using
glTexImage2D and glTexSubImage2D instead, which requires 50% more memory and an
extra copy. However this code path has never been exercised and had some bugs
which this patch fix.

Mainly the scale factor wasn't computed right when falling back on glDrawElements.
We also fallback to this mode of operation if a buffer doesn't have the adequate
usage bits for EGLImage usage.

This changes only code that is currently not executed. Some refactoring was needed to
keep the change clean. This doesn't change anything functionaly.

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 6 Oct 2009 23:51:57 +0000 (16:51 -0700)]
Import revised translations.   DO NOT MERGE

Approver: jerryw

14 years agoMerge change I6b51a98a into eclair-mr2
Android (Google) Code Review [Tue, 6 Oct 2009 23:32:25 +0000 (19:32 -0400)]
Merge change I6b51a98a into eclair-mr2

* changes:
  Fixed issue #4098: Ringtone#getTitle does not close its cursor.

14 years agoAdd group id to getThumbnail and cancelThumbnailRequest API.
Ray Chen [Mon, 5 Oct 2009 19:21:24 +0000 (12:21 -0700)]
Add group id to getThumbnail and cancelThumbnailRequest API.

14 years agoam 521f4f3a: Merge change I3d6cf8aa into eclair
gwang@google.com [Tue, 6 Oct 2009 22:40:42 +0000 (15:40 -0700)]
am 521f4f3a: Merge change I3d6cf8aa into eclair

Merge commit '521f4f3af94e3a093a37af887d3e317a526b61a1' into eclair-mr2

* commit '521f4f3af94e3a093a37af887d3e317a526b61a1':
  Fix for bug 2158794. Hide MediaPlayer.invoke() and MediaPlayer.newRequest(), and Fix bad links in ToneGenerator documentation.

14 years agoam 5f9d4bae: layout lib tests cleanup
Xavier Ducrohet [Tue, 6 Oct 2009 22:40:37 +0000 (15:40 -0700)]
am 5f9d4bae: layout lib tests cleanup

Merge commit '5f9d4bae03b2dfa9c1e43a6e01cacaa5a5326690' into eclair-mr2

* commit '5f9d4bae03b2dfa9c1e43a6e01cacaa5a5326690':
  layout lib tests cleanup

14 years agoam 0a9d46b7: Add a test to make sure the replaced classes in layoutlib are correct.
Xavier Ducrohet [Tue, 6 Oct 2009 22:40:32 +0000 (15:40 -0700)]
am 0a9d46b7: Add a test to make sure the replaced classes in layoutlib are correct.

Merge commit '0a9d46b7e741ccf7272bb69a4eef3c1f2adc91b7' into eclair-mr2

* commit '0a9d46b7e741ccf7272bb69a4eef3c1f2adc91b7':
  Add a test to make sure the replaced classes in layoutlib are correct.

14 years agoam 92b5caa4: Merge change Id8df149c into eclair
Robert Greenwalt [Tue, 6 Oct 2009 22:40:27 +0000 (15:40 -0700)]
am 92b5caa4: Merge change Id8df149c into eclair

Merge commit '92b5caa4e21d48db6efeddba532d1546c6e686b1' into eclair-mr2

* commit '92b5caa4e21d48db6efeddba532d1546c6e686b1':
  Turn some logging back on in ConnectionManager

14 years agoMerge change I3d6cf8aa into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 22:34:40 +0000 (18:34 -0400)]
Merge change I3d6cf8aa into eclair

* changes:
  Fix for bug 2158794. Hide MediaPlayer.invoke() and MediaPlayer.newRequest(), and Fix bad links in ToneGenerator documentation.

14 years agolayout lib tests cleanup
Xavier Ducrohet [Tue, 6 Oct 2009 19:04:03 +0000 (12:04 -0700)]
layout lib tests cleanup

- Move test files to their own package for easy binary inclusion
  in adt-test
- fix some tests and remove obsolete ones.

Change-Id: I5b967f29074fdad74073f9b37d903eabe8dc29e6

14 years agoAdd a test to make sure the replaced classes in layoutlib are correct.
Xavier Ducrohet [Tue, 6 Oct 2009 16:58:08 +0000 (09:58 -0700)]
Add a test to make sure the replaced classes in layoutlib are correct.

Change-Id: I9641635153c12e2c0a23583f7d094767533fc683

14 years agoFix for bug 2158794. Hide MediaPlayer.invoke() and MediaPlayer.newRequest(), and...
gwang@google.com [Fri, 2 Oct 2009 23:54:15 +0000 (16:54 -0700)]
Fix for bug 2158794. Hide MediaPlayer.invoke() and MediaPlayer.newRequest(), and Fix bad links in ToneGenerator documentation.

14 years agoMerge change Id8df149c into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 21:38:03 +0000 (17:38 -0400)]
Merge change Id8df149c into eclair

* changes:
  Turn some logging back on in ConnectionManager

14 years agoam f65161f1: Merge change If933b13d into eclair
Jim Miller [Tue, 6 Oct 2009 21:37:04 +0000 (14:37 -0700)]
am f65161f1: Merge change If933b13d into eclair

Merge commit 'f65161f159db3d140c62f56d43e732c332af7773' into eclair-mr2

* commit 'f65161f159db3d140c62f56d43e732c332af7773':
  Fix for 2161835: Tweaks to rotary lock screen:

14 years agoam 968a9571: Merge change I516c3191 into eclair
Jason Sams [Tue, 6 Oct 2009 21:36:59 +0000 (14:36 -0700)]
am 968a9571: Merge change I516c3191 into eclair

Merge commit '968a9571a391a2dbb0512c4fb99d04ab50861753' into eclair-mr2

* commit '968a9571a391a2dbb0512c4fb99d04ab50861753':
  Implement data push from scripts.  Fixes the problem where apps would have to poll to monitor a scripts state.

14 years agoMerge change If933b13d into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 21:34:17 +0000 (17:34 -0400)]
Merge change If933b13d into eclair

* changes:
  Fix for 2161835: Tweaks to rotary lock screen:

14 years agoFixed issue #4098: Ringtone#getTitle does not close its cursor.
Josh Guilfoyle [Fri, 2 Oct 2009 22:39:10 +0000 (15:39 -0700)]
Fixed issue #4098: Ringtone#getTitle does not close its cursor.

http://code.google.com/p/android/issues/detail?id=4098

14 years agoMerge change I516c3191 into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 21:32:13 +0000 (17:32 -0400)]
Merge change I516c3191 into eclair

* changes:
  Implement data push from scripts.  Fixes the problem where apps would have to poll to monitor a scripts state. Fix bug in StoreState where state could be overridden by the default unless the script used more than one state.

14 years agoTurn some logging back on in ConnectionManager
Robert Greenwalt [Tue, 6 Oct 2009 21:12:53 +0000 (14:12 -0700)]
Turn some logging back on in ConnectionManager

Trimmed a bunch of logging out, but turned it on so we get the critical stuff.

bug: 2168291

14 years agoImplement data push from scripts. Fixes the problem where apps would have to poll...
Jason Sams [Tue, 6 Oct 2009 20:58:47 +0000 (13:58 -0700)]
Implement data push from scripts.  Fixes the problem where apps would have to poll to monitor a scripts state.
Fix bug in StoreState where state could be overridden by the default unless the script used more than one state.

Change only impacts renderscript and renderscript apps.

14 years agoam 962f2536: Merge change I547cff66 into eclair
Wu-cheng Li [Tue, 6 Oct 2009 20:37:57 +0000 (13:37 -0700)]
am 962f2536: Merge change I547cff66 into eclair

Merge commit '962f253665e0c5cc8a29de9e59ce3992dad02440' into eclair-mr2

* commit '962f253665e0c5cc8a29de9e59ce3992dad02440':
  Add zoom functions and sendCommand.

14 years agoam f83d9b3f: fix build breakage
Fred Quintana [Tue, 6 Oct 2009 20:37:52 +0000 (13:37 -0700)]
am f83d9b3f: fix build breakage

Merge commit 'f83d9b3fcd74f2528b0acc74185d2d7bdd716942' into eclair-mr2

* commit 'f83d9b3fcd74f2528b0acc74185d2d7bdd716942':
  fix build breakage

14 years agoMerge change I547cff66 into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 20:32:44 +0000 (16:32 -0400)]
Merge change I547cff66 into eclair

* changes:
  Add zoom functions and sendCommand.

14 years agoAdd zoom functions and sendCommand.
Wu-cheng Li [Mon, 28 Sep 2009 23:14:58 +0000 (16:14 -0700)]
Add zoom functions and sendCommand.

b2060030

14 years agofix build breakage
Fred Quintana [Tue, 6 Oct 2009 20:21:23 +0000 (13:21 -0700)]
fix build breakage

14 years agoFix for 2161835: Tweaks to rotary lock screen:
Jim Miller [Mon, 5 Oct 2009 20:00:58 +0000 (13:00 -0700)]
Fix for 2161835: Tweaks to rotary lock screen:

- Make inactive dimples dim.
- When an item is grabbed, make all other dimples dim.

14 years agoFix back button handling in ACTV
Bjorn Bringert [Tue, 6 Oct 2009 08:26:06 +0000 (09:26 +0100)]
Fix back button handling in ACTV

AutoCompleteTextView.onKeyPreIme() used
getKeyDispatcherState().startTracking(event, this) to start tracking
the back button, but didn't update the state of the event
before checking event.isTracking().

Fixes http://b/issue?id=2167168
"AutoCompleteTextView back button handling is broken"

Change-Id: I2c5f1e761872b9e02d85ff6f958fabd558d041a0

14 years agoam 5bba632d: - hide Entity and all its references - remove updateEntity and insertEnt...
Fred Quintana [Tue, 6 Oct 2009 19:04:41 +0000 (12:04 -0700)]
am 5bba632d: - hide Entity and all its references - remove updateEntity and insertEntity, since they are not   used - add the RawContacts.Entity class, which is used in lieu of the   android.content.Entity

Merge commit '5bba632d877c2878384ff21566c8eb6a1a22f37b' into eclair-mr2

* commit '5bba632d877c2878384ff21566c8eb6a1a22f37b':
  - hide Entity and all its references

14 years ago- hide Entity and all its references
Fred Quintana [Mon, 5 Oct 2009 21:21:12 +0000 (14:21 -0700)]
- hide Entity and all its references
- remove updateEntity and insertEntity, since they are not
  used
- add the RawContacts.Entity class, which is used in lieu of the
  android.content.Entity

14 years agoam 5163cd6d: Merge change I5be3d603 into eclair
Suchi Amalapurapu [Tue, 6 Oct 2009 18:48:00 +0000 (11:48 -0700)]
am 5163cd6d: Merge change I5be3d603 into eclair

Merge commit '5163cd6d1cb664977eb4473b98657c7e92ae430e' into eclair-mr2

* commit '5163cd6d1cb664977eb4473b98657c7e92ae430e':
  Make sdk version and code names static finals in PackageParser.

14 years agoMerge change I5be3d603 into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 18:36:43 +0000 (14:36 -0400)]
Merge change I5be3d603 into eclair

* changes:
      Make sdk version and code names static finals in PackageParser.     Remove api to set these values.     Remove an unused method in AppSecurityPermissions

14 years agoam ccc214b2: Merge change I6a0b14bd into eclair
Daisuke Miyakawa [Tue, 6 Oct 2009 17:53:52 +0000 (10:53 -0700)]
am ccc214b2: Merge change I6a0b14bd into eclair

Merge commit 'ccc214b21edaaddf46960388ec4d3e3ca89a01ae' into eclair-mr2

* commit 'ccc214b21edaaddf46960388ec4d3e3ca89a01ae':
  Make VCardComposer create the instance for mHandlerList.

14 years agoMerge change I6a0b14bd into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 17:48:11 +0000 (13:48 -0400)]
Merge change I6a0b14bd into eclair

* changes:
  Make VCardComposer create the instance for mHandlerList.

14 years ago Make sdk version and code names static finals in PackageParser.
Suchi Amalapurapu [Tue, 6 Oct 2009 16:26:09 +0000 (09:26 -0700)]
Make sdk version and code names static finals in PackageParser.
    Remove api to set these values.
    Remove an unused method in AppSecurityPermissions

14 years agoam 9c3c276a: Merge change I8333dcc4 into eclair
Evan Millar [Tue, 6 Oct 2009 17:22:31 +0000 (10:22 -0700)]
am 9c3c276a: Merge change I8333dcc4 into eclair

Merge commit '9c3c276afa7e2485e1a9f47e29ada8cb61b7b07c' into eclair-mr2

* commit '9c3c276afa7e2485e1a9f47e29ada8cb61b7b07c':
  New section header and divider assets.

14 years agoMerge change I8333dcc4 into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 17:14:45 +0000 (13:14 -0400)]
Merge change I8333dcc4 into eclair

* changes:
  New section header and divider assets.

14 years agoam 030b2cf1: Merge change I76d7ba61 into eclair
Bjorn Bringert [Tue, 6 Oct 2009 16:56:23 +0000 (09:56 -0700)]
am 030b2cf1: Merge change I76d7ba61 into eclair

Merge commit '030b2cf1eaab25890aa97e7e2a660ff5998e8639' into eclair-mr2

* commit '030b2cf1eaab25890aa97e7e2a660ff5998e8639':
  Pixel tweak search dialog to match search widget

14 years agoam 841a8eea: Merge change I24895c35 into eclair
Xavier Ducrohet [Tue, 6 Oct 2009 16:56:19 +0000 (09:56 -0700)]
am 841a8eea: Merge change I24895c35 into eclair

Merge commit '841a8eea78479ad8a3c10e69a788adbeaef5a53d' into eclair-mr2

* commit '841a8eea78479ad8a3c10e69a788adbeaef5a53d':
  Reimplement all the method of Paint for layoutlib

14 years agoam c39d2e3c: Music visualizer support hack. This currently assumes 44k stereo (won...
Marco Nelissen [Tue, 6 Oct 2009 16:56:14 +0000 (09:56 -0700)]
am c39d2e3c: Music visualizer support hack. This currently assumes 44k stereo (won\'t crash on other formats, but won\'t give the correct results either), and links statically with libspeex to get FFT data, increasing the size of libmedia by about 45kb.

Merge commit 'c39d2e3c012fb96999991e30659a474f9f30f789' into eclair-mr2

* commit 'c39d2e3c012fb96999991e30659a474f9f30f789':
  Music visualizer support hack.

14 years agoMerge change I76d7ba61 into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 16:49:51 +0000 (12:49 -0400)]
Merge change I76d7ba61 into eclair

* changes:
  Pixel tweak search dialog to match search widget

14 years agoMerge change I24895c35 into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 16:49:01 +0000 (12:49 -0400)]
Merge change I24895c35 into eclair

* changes:
  Reimplement all the method of Paint for layoutlib

14 years agoMake VCardComposer create the instance for mHandlerList.
Daisuke Miyakawa [Tue, 6 Oct 2009 16:25:52 +0000 (09:25 -0700)]
Make VCardComposer create the instance for mHandlerList.

Previously the creation was delayed until addHandler(), which
had been required to be called.

However, after VCardComoser's support toward PBAP stuffs,
the guarantee was not true any more.

So by creating the instance in constructor, we refrain NPE during
finalize() when PBAP uses VCardComposer.

14 years agoMusic visualizer support hack.
Marco Nelissen [Sun, 20 Sep 2009 17:42:13 +0000 (10:42 -0700)]
Music visualizer support hack.
This currently assumes 44k stereo (won't crash on other formats, but won't give the correct results either), and links statically with libspeex to get FFT data, increasing the size of libmedia by about 45kb.

14 years agoNew section header and divider assets.
Evan Millar [Mon, 5 Oct 2009 23:07:15 +0000 (16:07 -0700)]
New section header and divider assets.

triaged bug http://b/issue?id=2153296

Tim Sullivan gave Dr. No approval.

Change-Id: I8333dcc4645529a03805aa76e32a3e9b90be58a7

14 years agoam 52cde727: Fix docs builds.
Nick Pelly [Tue, 6 Oct 2009 14:21:35 +0000 (07:21 -0700)]
am 52cde727: Fix docs builds.

Merge commit '52cde7279bad58285704498eea57bdaf9e595b49' into eclair-mr2

* commit '52cde7279bad58285704498eea57bdaf9e595b49':
  Fix docs builds.

14 years agoFix docs builds.
Nick Pelly [Tue, 6 Oct 2009 14:10:02 +0000 (16:10 +0200)]
Fix docs builds.

14 years agoam 24bb9b8a: Provide an API for apps to use a dynamic RFCOMM channel and SDP record.
Nick Pelly [Tue, 6 Oct 2009 13:10:28 +0000 (06:10 -0700)]
am 24bb9b8a: Provide an API for apps to use a dynamic RFCOMM channel and SDP record.

Merge commit '24bb9b8af4ff691538fe9e517e8156016b0da6cd' into eclair-mr2

* commit '24bb9b8af4ff691538fe9e517e8156016b0da6cd':
  Provide an API for apps to use a dynamic RFCOMM channel and SDP record.

14 years agoProvide an API for apps to use a dynamic RFCOMM channel and SDP record.
Nick Pelly [Sat, 3 Oct 2009 03:34:18 +0000 (20:34 -0700)]
Provide an API for apps to use a dynamic RFCOMM channel and SDP record.

Hide listenUsingRfcommOn(int channel)
Add listenUsingRfcomm(String name, ParcelUuid uuid)

The new API automatically finds a free RFCOMM channel and registers an SDP
record with the given uuid and name. The SDP record is automatically
removed when the socket is closed, or if the application dies.

Apps are prevented from registering SDP records with the uuid of system
Bluetooth profiles, such as A2DP, HFP and OPP.

Apps are prevented from removing SDP records that they did not create. This is
tracked by pid.

TODO: Provide an API for the connecting app to look up an SDP record.

Bug: 2158900
DrNo: eastham
Joke: "What did the dog say to the tree? bark."
Change-Id: Ia92f51c34615a7270a403255ad2b8faa98c4a3f5

14 years agoPixel tweak search dialog to match search widget
Bjorn Bringert [Tue, 6 Oct 2009 09:11:27 +0000 (10:11 +0100)]
Pixel tweak search dialog to match search widget

- Remove one pixel of margin from the left of the voice
  search button icon.
- Move magnifying glass icon one pixel downwards (= remove
  one pixel of padding at the bottom and add one at the top).
- Remove one pixel of margin from the bottom of the button
  backgrounds.
- Remove one pixel of padding from the left of the
  search button background.
- Remove one pixel of padding from the left and add one to
  the right of the voice search button background.

Fixes http://b/issue?id=2160857
"Pixel tweak search layouts to match widget"

Change-Id: I76d7ba6128f13f3d29b03a89e9862df355874e06

14 years agoam 7fdd67d3: Merge change I5b650a61 into eclair
Mike Lockwood [Tue, 6 Oct 2009 04:17:03 +0000 (21:17 -0700)]
am 7fdd67d3: Merge change I5b650a61 into eclair

Merge commit '7fdd67d3867ecbb6457a560b2428a8e9464d8ecd' into eclair-mr2

* commit '7fdd67d3867ecbb6457a560b2428a8e9464d8ecd':
  dumpstate: Emit a logcat message at beginning and end of execution.

14 years agoMerge change I5b650a61 into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 04:09:07 +0000 (00:09 -0400)]
Merge change I5b650a61 into eclair

* changes:
  dumpstate: Emit a logcat message at beginning and end of execution.

14 years agodumpstate: Emit a logcat message at beginning and end of execution.
Mike Lockwood [Tue, 6 Oct 2009 03:23:40 +0000 (23:23 -0400)]
dumpstate: Emit a logcat message at beginning and end of execution.

Since the logcat is not printed until later in the output, this will
make it easier to determine at what point the user pressed the key sequence
to initiate the bugreport, which can be helpful when debugging timing dependent problems.

b/2164183

Change-Id: I5b650a6163c383183ff28e344dac36fab11a2c7b
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoam 5c8dba21: Merge change I61aac7b3 into eclair
Tammo Spalink [Tue, 6 Oct 2009 02:28:37 +0000 (19:28 -0700)]
am 5c8dba21: Merge change I61aac7b3 into eclair

Merge commit '5c8dba21bf5e6a54f848c2e7f46dc86c27a09102' into eclair-mr2

* commit '5c8dba21bf5e6a54f848c2e7f46dc86c27a09102':
  Add PERIOD char to CDMA address sugar list.

14 years agoMerge change I61aac7b3 into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 02:19:46 +0000 (22:19 -0400)]
Merge change I61aac7b3 into eclair

* changes:
  Add PERIOD char to CDMA address sugar list.

14 years agoReimplement all the method of Paint for layoutlib
Xavier Ducrohet [Tue, 6 Oct 2009 01:49:08 +0000 (18:49 -0700)]
Reimplement all the method of Paint for layoutlib

There were a few missing methods that should have been reimplmented
(because they were native).

Others have been added just to be sure so that we can test whether methods
are missing or not (test coming soon).

Change-Id: I24895c353e38545e9b1abe28d41224fdc78cadb1

14 years agoam 5fbaefc3: Merge change I4db3a5b3 into eclair
Fred Quintana [Tue, 6 Oct 2009 00:27:31 +0000 (17:27 -0700)]
am 5fbaefc3: Merge change I4db3a5b3 into eclair

Merge commit '5fbaefc3d8840aac12b16458347b3c1ddbdaf542' into eclair-mr2

* commit '5fbaefc3d8840aac12b16458347b3c1ddbdaf542':
  fix a javadoc build breakage

14 years agoMerge change I4db3a5b3 into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 00:22:27 +0000 (20:22 -0400)]
Merge change I4db3a5b3 into eclair

* changes:
  fix a javadoc build breakage

14 years agofix a javadoc build breakage
Fred Quintana [Tue, 6 Oct 2009 00:19:03 +0000 (17:19 -0700)]
fix a javadoc build breakage

14 years agoam a970bf52: Merge change I34f51342 into eclair
Xavier Ducrohet [Mon, 5 Oct 2009 23:03:44 +0000 (16:03 -0700)]
am a970bf52: Merge change I34f51342 into eclair

Merge commit 'a970bf52581667e88d82e0801e0774d7c9cdcb8f' into eclair-mr2

* commit 'a970bf52581667e88d82e0801e0774d7c9cdcb8f':
  Fix the layoutlib test to run from adt-tests.

14 years agoMerge change I34f51342 into eclair
Android (Google) Code Review [Mon, 5 Oct 2009 22:58:36 +0000 (18:58 -0400)]
Merge change I34f51342 into eclair

* changes:
  Fix the layoutlib test to run from adt-tests.

14 years agoam 68d881cf: Fix issue #2166755: BroadcastReceiver trying to return result during...
Dianne Hackborn [Mon, 5 Oct 2009 22:58:13 +0000 (15:58 -0700)]
am 68d881cf: Fix issue #2166755: BroadcastReceiver trying to return result during a non-ordered broadcast

Merge commit '68d881cf2d2b252f6f795cd64d43e316a1d736e5' into eclair-mr2

* commit '68d881cf2d2b252f6f795cd64d43e316a1d736e5':
  Fix issue #2166755: BroadcastReceiver trying to return result during a non-ordered broadcast

14 years agoam 71060f29: Merge change I8874a405 into eclair
Xavier Ducrohet [Mon, 5 Oct 2009 22:58:08 +0000 (15:58 -0700)]
am 71060f29: Merge change I8874a405 into eclair

Merge commit '71060f29855745893c122e8b93cf7a723186931b' into eclair-mr2

* commit '71060f29855745893c122e8b93cf7a723186931b':
  Refactor class/method names used by layoutlib_create.

14 years agoFix issue #2166755: BroadcastReceiver trying to return result during a non-ordered...
Dianne Hackborn [Mon, 5 Oct 2009 20:58:17 +0000 (13:58 -0700)]
Fix issue #2166755: BroadcastReceiver trying to return result during a non-ordered broadcast

Tell the broadcast receiver whether it is getting an initial sticky value,
so it will be quiet about attempts to do ordered broadcast stuff.

Note that the original bug being reported was not actually a crash, just
an error log.  So all we are doing here is making the log quieter.

Change-Id: Iaf1b718d82093ec1197142410a64feff47eb3859

14 years agoMerge change I8874a405 into eclair
Android (Google) Code Review [Mon, 5 Oct 2009 22:37:36 +0000 (18:37 -0400)]
Merge change I8874a405 into eclair

* changes:
  Refactor class/method names used by layoutlib_create.