OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge change I60413727 into eclair
Android (Google) Code Review [Mon, 2 Nov 2009 18:43:52 +0000 (13:43 -0500)]
Merge change I60413727 into eclair

* changes:
  Fix issue #2226370: Resource versions match with equality

14 years agoMerge change I29bc113c into eclair
Android (Google) Code Review [Mon, 2 Nov 2009 18:05:08 +0000 (13:05 -0500)]
Merge change I29bc113c into eclair

* changes:
  Fix issue 197683: English IME key-press latency is noticeably higher on passion than sholes. Part 2.

14 years agoDo not advance mLastEventTime when enabling or disabling user activity.
Mike Lockwood [Mon, 2 Nov 2009 16:56:04 +0000 (11:56 -0500)]
Do not advance mLastEventTime when enabling or disabling user activity.

Fixes a race condition between the keyguard and power key that sometimes resulted
in the power key failing to turn off the screen.

Fixes bug b/2212852 (Power button does not put phone to sleep)

Change-Id: I92498c5fddf2bfc32b105ea1a7ea14a06d83888e
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoFix issue 197683: English IME key-press latency is noticeably higher on passion than...
Eric Laurent [Fri, 30 Oct 2009 18:09:39 +0000 (11:09 -0700)]
Fix issue 197683: English IME key-press latency is noticeably higher on passion than sholes. Part 2.

Reduce sleep time in AudioFlinger mixer thread when no data has been written to output to speed up startup time when  exiting standby.

The rest of the modifications for this issues is in kernel driver:
 commit 0dbb0ee136ed8de757df1ae26d84556c1751deae for buffer size modification from 8192 to 4800 bytes.
Another kernel improvement that is not submitted yes will reduce delay when audio output is exiting standby.

14 years agoFix issue #2226370: Resource versions match with equality
Dianne Hackborn [Mon, 2 Nov 2009 05:16:59 +0000 (21:16 -0800)]
Fix issue #2226370: Resource versions match with equality

Also fixed turned-around increment of version number for resources. :(

Change-Id: I604137272da984bcd69cee4f174e6b7f2c786e46

14 years agoAdd warning that hardware auto-brightness is deprecated and will be removed in the...
Mike Lockwood [Sun, 1 Nov 2009 15:05:50 +0000 (10:05 -0500)]
Add warning that hardware auto-brightness is deprecated and will be removed in the next release.

Change-Id: I90eae78f71f377f6479d0aaf7ced38a7b988a7ee
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoManage button and keyboard backlights with light sensor in both manual and automatic...
Mike Lockwood [Sun, 1 Nov 2009 13:16:33 +0000 (08:16 -0500)]
Manage button and keyboard backlights with light sensor in both manual and automatic mode.

Now the manual brightness mode only applies to the LCD backlight and
button and keyboard backlights are always managed automatically.

Fixes bug b/2195798 (Passion capacitive key backlights don't always come on)

This change only affects the framework based auto-brightness implementation.
Hardware auto-brightness is not affected.

Change-Id: Ib88310d642d498591e8879c8269d630ff3f7c8af
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoDon't turn on keyboard backlights when keyboard is closed in auto brightness mode.
Mike Lockwood [Fri, 30 Oct 2009 01:29:15 +0000 (21:29 -0400)]
Don't turn on keyboard backlights when keyboard is closed in auto brightness mode.

For framework light sensor support (does not affect hardware based approach).

Change-Id: I6896a7c5b3fd3ed136c4f25c63a0e5813c349f68
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoUse separate flags for enabling hardware and software auto-brightness.
Mike Lockwood [Sat, 31 Oct 2009 20:31:27 +0000 (16:31 -0400)]
Use separate flags for enabling hardware and software auto-brightness.

This cleans up the code in preparation for some other auto-brightness changes
and fixes support for devices without light sensors.

Change-Id: I3d4802cf860a865ffd86a8bb57cd57b46359433d
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge change I8c0eb9a6 into eclair
Android (Google) Code Review [Sat, 31 Oct 2009 01:29:56 +0000 (21:29 -0400)]
Merge change I8c0eb9a6 into eclair

* changes:
  libagl: silence a LOGD

14 years agolibagl: silence a LOGD
Iliyan Malchev [Sat, 31 Oct 2009 01:29:08 +0000 (18:29 -0700)]
libagl: silence a LOGD

Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years agoMerge change I7df84618 into eclair
Android (Google) Code Review [Sat, 31 Oct 2009 01:12:00 +0000 (21:12 -0400)]
Merge change I7df84618 into eclair

* changes:
  Add a privateImeOption to represent that the IME should not show the voice input microphone, if it otherwise would, whenever the search dialog is planning on showing a voice search button (as specified by the current searchable).

14 years agoMerge change I92cdc5ed into eclair
Android (Google) Code Review [Sat, 31 Oct 2009 00:02:13 +0000 (20:02 -0400)]
Merge change I92cdc5ed into eclair

* changes:
  PerformanceCollector: Collect & report perf measurements in key/value form

14 years agoMerge change Ie3e80456 into eclair
Android (Google) Code Review [Fri, 30 Oct 2009 23:40:09 +0000 (19:40 -0400)]
Merge change Ie3e80456 into eclair

* changes:
  Turns out the SGX driver is correct and the bug was in this test.

14 years agoTurns out the SGX driver is correct and the bug was in this test.
Mathias Agopian [Fri, 30 Oct 2009 23:32:52 +0000 (16:32 -0700)]
Turns out the SGX driver is correct and the bug was in this test.

make sure the 565 1-texel wide texture is specified with an alignment of 4
which is the OpenGL ES default.

14 years agoAdd a privateImeOption to represent that the IME should not show
Mike LeBeau [Fri, 30 Oct 2009 23:11:40 +0000 (16:11 -0700)]
Add a privateImeOption to represent that the IME should not show
the voice input microphone, if it otherwise would, whenever the
search dialog is planning on showing a voice search button (as
specified by the current searchable).

The IME will respect this shortly.

http://b/2228562

14 years agoMerge change Id8b28e4f into eclair
Android (Google) Code Review [Fri, 30 Oct 2009 21:54:16 +0000 (17:54 -0400)]
Merge change Id8b28e4f into eclair

* changes:
  fix [2225964] Android runtime restarted in surfaceflinger/BlurFilter.cpp

14 years agoMerge change I56779290 into eclair
Android (Google) Code Review [Fri, 30 Oct 2009 21:54:10 +0000 (17:54 -0400)]
Merge change I56779290 into eclair

* changes:
  fix[2222341] Soft reset while going back from camcorder settings

14 years agoMerge change If007a2fa into eclair
Android (Google) Code Review [Fri, 30 Oct 2009 21:54:03 +0000 (17:54 -0400)]
Merge change If007a2fa into eclair

* changes:
  return proper error code from eglCreateImageKHR

14 years agofix[2222341] Soft reset while going back from camcorder settings
Mathias Agopian [Fri, 30 Oct 2009 01:29:30 +0000 (18:29 -0700)]
fix[2222341] Soft reset while going back from camcorder settings

add a way to convert a mapped "pushbuffer" buffer to a gralloc handle
which then can be safely used by surfaceflinger, without including
gralloc_priv.h

14 years agoMerge change Iae849da2 into eclair
Android (Google) Code Review [Fri, 30 Oct 2009 21:03:18 +0000 (17:03 -0400)]
Merge change Iae849da2 into eclair

* changes:
  add table maskfilter

14 years agoMerge change I08c19bee into eclair
Android (Google) Code Review [Fri, 30 Oct 2009 17:53:32 +0000 (13:53 -0400)]
Merge change I08c19bee into eclair

* changes:
  DO NOT MERGE: Another gcc 4.0.3 workaround.

14 years agoDO NOT MERGE: Another gcc 4.0.3 workaround.
Andy McFadden [Thu, 29 Oct 2009 17:19:34 +0000 (10:19 -0700)]
DO NOT MERGE: Another gcc 4.0.3 workaround.

Temporarily make a function public that doesn't need to be.  When
host gcc-4.0.3 is gone from the build servers we can undo this.

(Cherry-picked from eclair-mr2.)

14 years agoMerge change I4b3db907 into eclair
Android (Google) Code Review [Fri, 30 Oct 2009 17:23:43 +0000 (13:23 -0400)]
Merge change I4b3db907 into eclair

* changes:
  Revert the channge where channels were not selected randomly.

14 years agoRevert the channge where channels were not selected randomly.
Jaikumar Ganesh [Fri, 30 Oct 2009 16:37:25 +0000 (09:37 -0700)]
Revert the channge where channels were not selected randomly.

The Bluez SDP bug has been fixed.
Reverting parts of the commit: 16fb88a673c41b93c5d57ccb28c2697e7d87701a

Bug: 2173752
Dr No: Eastham

14 years agoadd table maskfilter
Mike Reed [Thu, 29 Oct 2009 21:20:49 +0000 (17:20 -0400)]
add table maskfilter

hidden for now, since it need only be seen by Launcher2

http://b/issue?id=2210685

14 years agofix [2225964] Android runtime restarted in surfaceflinger/BlurFilter.cpp
Mathias Agopian [Fri, 30 Oct 2009 03:24:44 +0000 (20:24 -0700)]
fix [2225964] Android runtime restarted in surfaceflinger/BlurFilter.cpp

crash was due to an unintialized variable, which caused the wrong bluring
format to be used and caused a memory overrrun.

14 years agoAvoid NPE when callers send null selection args.
Jeff Sharkey [Thu, 29 Oct 2009 23:39:36 +0000 (16:39 -0700)]
Avoid NPE when callers send null selection args.

Fixes http://b/2226007

14 years agoreturn proper error code from eglCreateImageKHR
Mathias Agopian [Thu, 29 Oct 2009 04:00:29 +0000 (21:00 -0700)]
return proper error code from eglCreateImageKHR

14 years agoMerge change Iee0486e2 into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 23:01:23 +0000 (19:01 -0400)]
Merge change Iee0486e2 into eclair

* changes:
  Dump media recorder PID in dumpsys media.player, and fix minor bugs.

14 years agoMerge change I4e036287 into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 22:48:10 +0000 (18:48 -0400)]
Merge change I4e036287 into eclair

* changes:
  update line test to expose some bug on SGX530 ed4

14 years agoupdate line test to expose some bug on SGX530 ed4
Mathias Agopian [Thu, 29 Oct 2009 22:47:12 +0000 (15:47 -0700)]
update line test to expose some bug on SGX530 ed4

14 years agoDump media recorder PID in dumpsys media.player, and fix minor bugs.
Gloria Wang [Thu, 29 Oct 2009 22:46:37 +0000 (15:46 -0700)]
Dump media recorder PID in dumpsys media.player, and fix minor bugs.

14 years agoMerge change I9efe265f into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 21:47:52 +0000 (17:47 -0400)]
Merge change I9efe265f into eclair

* changes:
  unhide AccountManagerResponse

14 years agoMerge change Id6f158b3 into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 21:08:34 +0000 (17:08 -0400)]
Merge change Id6f158b3 into eclair

* changes:
  Removed javadoc link to hidden class (temporary fix for build)

14 years agoprocess: Disable debugging
San Mehat [Thu, 29 Oct 2009 20:56:49 +0000 (13:56 -0700)]
process: Disable debugging

Signed-off-by: San Mehat <san@google.com>
14 years agoMerge change I26a2d829 into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 20:40:32 +0000 (16:40 -0400)]
Merge change I26a2d829 into eclair

* changes:
  Add -P flag to ps in dumpstate

14 years agoMerge change Idc4c7714 into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 20:18:35 +0000 (16:18 -0400)]
Merge change Idc4c7714 into eclair

* changes:
  Revert the changes that introduced new exception that wouldn't have occured before, applications don't seem to be able to handle them and we get crashes.

14 years agoRevert the changes that introduced new exception that wouldn't have occured before...
Costin Manolache [Thu, 29 Oct 2009 18:30:11 +0000 (11:30 -0700)]
Revert the changes that introduced new exception that wouldn't have occured before, applications don't seem to be able to handle them and we get crashes.

14 years agoAdd -P flag to ps in dumpstate
Evan Millar [Thu, 29 Oct 2009 19:41:39 +0000 (12:41 -0700)]
Add -P flag to ps in dumpstate

14 years agoMerge change Ieab4c75b into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 19:48:51 +0000 (15:48 -0400)]
Merge change Ieab4c75b into eclair

* changes:
  Fix type in Java enums.  Not currently used, easier to fix now than when apps are using it.

14 years agoMerge change I3b7d5cbe into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 19:11:40 +0000 (15:11 -0400)]
Merge change I3b7d5cbe into eclair

* changes:
  Copy the selection args when creating a CPO since callers often reuse the passed in array.

14 years agoMerge change Ia5109a87 into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 19:02:53 +0000 (15:02 -0400)]
Merge change Ia5109a87 into eclair

* changes:
  process: Add debug code to log process group transitions

14 years agoprocess: Add debug code to log process group transitions
San Mehat [Thu, 29 Oct 2009 18:48:50 +0000 (11:48 -0700)]
process: Add debug code to log process group transitions

Signed-off-by: San Mehat <san@google.com>
14 years agoRemoved javadoc link to hidden class (temporary fix for build)
Ed Heyl [Thu, 29 Oct 2009 17:18:45 +0000 (10:18 -0700)]
Removed javadoc link to hidden class (temporary fix for build)

14 years agoMerge change I4a943184 into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 17:02:53 +0000 (13:02 -0400)]
Merge change I4a943184 into eclair

* changes:
  Avoid trying to throw multiple exceptions at once.

14 years agoMerge change I6cae32c7 into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 07:55:49 +0000 (03:55 -0400)]
Merge change I6cae32c7 into eclair

* changes:
  When upgrading packages with shared user ids make sure we are eliminating the package about to be deleted or upgraded when updating permissions associated with the shared user. Include a simple null check when retrieving the permission.

14 years agoWhen upgrading packages with shared user ids make sure we are eliminating
Suchi Amalapurapu [Thu, 29 Oct 2009 06:39:46 +0000 (23:39 -0700)]
When upgrading packages with shared user ids make sure we are eliminating
the package about to be deleted or upgraded when updating permissions associated
with the shared user. Include a simple null check when retrieving the permission.

Fix PackageParser to avoid ArrayIndexOutOfBounds exceptions in several places

14 years agoam 3534dadd: docs: fix XSS vulnerability in search
Scott Main [Thu, 29 Oct 2009 06:32:13 +0000 (23:32 -0700)]
am 3534dadd: docs: fix XSS vulnerability in search

Merge commit '3534daddeefefbd42ea0a3819348327e5d85315c' into eclair

* commit '3534daddeefefbd42ea0a3819348327e5d85315c':
  docs: fix XSS vulnerability in search

14 years agounhide AccountManagerResponse
Fred Quintana [Thu, 29 Oct 2009 05:53:51 +0000 (22:53 -0700)]
unhide AccountManagerResponse

14 years agoUse image rect information to display zoomed picture.
Wu-cheng Li [Fri, 23 Oct 2009 09:39:46 +0000 (17:39 +0800)]
Use image rect information to display zoomed picture.

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 29 Oct 2009 04:16:52 +0000 (21:16 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoAvoid trying to throw multiple exceptions at once.
Jack Palevich [Thu, 29 Oct 2009 02:38:05 +0000 (19:38 -0700)]
Avoid trying to throw multiple exceptions at once.

The typical usage pattern for the get_char helper function is:

    bool thrown = false;

    n = get_char(env, s, 0, 1000, &thrown);
    n += get_char(env, s, 1, 100, &thrown);
    n += get_char(env, s, 2, 10, &thrown);
    n += get_char(env, s, 3, 1, &thrown);
    if (thrown) return false;

As you can see, get_char is called multiple times before the
thrown flag is checked. If the input text contains multiple
incorrect characters, then we have to guard against throwing
the same exception multiple times. (Because doing so will
cause the Dalvik runtime to abort.)

The fix is simple: modify get_char to check if an exception
has already been thrown before throwing a new exception.

14 years agoFix type in Java enums. Not currently used, easier to fix now than when apps are...
Jason Sams [Thu, 29 Oct 2009 00:40:13 +0000 (17:40 -0700)]
Fix type in Java enums.  Not currently used, easier to fix now than when apps are using it.

14 years ago- add javadoc for the account manager
Fred Quintana [Wed, 21 Oct 2009 20:43:10 +0000 (13:43 -0700)]
- add javadoc for the account manager
- add some checks to the AccountManagerService to keep it from crashing when a null is passed in
- cleaned up the API a bit

14 years agoMerge change I911458a0 into eclair
Android (Google) Code Review [Wed, 28 Oct 2009 23:02:24 +0000 (19:02 -0400)]
Merge change I911458a0 into eclair

* changes:
  Fix x offset for boxed textures

14 years agoMerge change Ic03d28b9 into eclair
Android (Google) Code Review [Wed, 28 Oct 2009 22:28:42 +0000 (18:28 -0400)]
Merge change Ic03d28b9 into eclair

* changes:
  Check that the window which wants to force hide is visible before setting the flag forceHiding to true. If we do layout the surfaces again this flag gets set no matter what since the keyguard window is always present in the list of tokens and this hides the window which would have become visible since the keyguard just got dismissed. This causes unnecessary focus changes due to changes in visibility of current window.

14 years agoFix x offset for boxed textures
Marco Nelissen [Wed, 28 Oct 2009 22:10:56 +0000 (15:10 -0700)]
Fix x offset for boxed textures

14 years agoMerge change Id572ffc7 into eclair
Android (Google) Code Review [Wed, 28 Oct 2009 22:05:09 +0000 (18:05 -0400)]
Merge change Id572ffc7 into eclair

* changes:
  don't throw an exception when we can't find a pending sync operation in the database

14 years agodon't throw an exception when we can't find a pending sync operation in the database
Fred Quintana [Wed, 28 Oct 2009 19:29:15 +0000 (12:29 -0700)]
don't throw an exception when we can't find a pending sync operation in the database

14 years agofix [2071412] work around mdp 32-bits fade limitation
Mathias Agopian [Wed, 28 Oct 2009 06:33:48 +0000 (23:33 -0700)]
fix [2071412] work around mdp 32-bits fade limitation

in the case where we fade a 32-bits surface (ie: GL_MODULATE w/ a,a,a,a + blending),
we first make a copy of the background into a RGB buffer, then we blend the 32-bits
surface as usual (without the alpha component), and finally blend the copy of
the background on top with 1-a. This uses a lot of bandwidth, but no CPU time.

14 years agoCheck that the window which wants to force hide is visible before setting the flag...
Suchi Amalapurapu [Wed, 28 Oct 2009 21:32:05 +0000 (14:32 -0700)]
Check that the window which wants to force hide is visible before setting the flag forceHiding to true. If we do layout the surfaces
again this flag gets set no matter what since the keyguard window is always present in the list of tokens and this hides the window which would
have become visible since the keyguard just got dismissed.
This causes unnecessary focus changes due to changes in visibility of current window.

This will resolve issues related to current focus and time outs when dispatching key events.

14 years agodocs: fix XSS vulnerability in search
Scott Main [Wed, 28 Oct 2009 16:50:06 +0000 (09:50 -0700)]
docs: fix XSS vulnerability in search

add a function that uses replace() to replace all
instances of '<' and '>' with the HTML entities and use
this wherever the query text is added onto the page.

14 years agoPerformanceCollector: Collect & report perf measurements in key/value form
Jack Wang [Wed, 28 Oct 2009 05:01:09 +0000 (22:01 -0700)]
PerformanceCollector: Collect & report perf measurements in key/value form

- Added new functions to PerformanceCollector and PerformanceResultsWriter
- Modified unit tests to test new functionality and fix flakiness reported in
  2218327 and 2118268
- Added PerformanceCollectorTest to small suite

14 years agoCopy the selection args when creating a CPO since callers often reuse the passed...
Jeff Hamilton [Wed, 28 Oct 2009 19:14:54 +0000 (14:14 -0500)]
Copy the selection args when creating a CPO since callers often reuse the passed in array.

Bug: 2221947
Change-Id: I3b7d5cbef61777d76ca7fc0d7c91c44553e609a9

14 years agoMerge change I8e7f5f07 into eclair
Android (Google) Code Review [Wed, 28 Oct 2009 19:09:29 +0000 (15:09 -0400)]
Merge change I8e7f5f07 into eclair

* changes:
  DO NOT MERGE: Fix loss of focus after wakeup into incall screen

14 years agoDO NOT MERGE: Fix loss of focus after wakeup into incall screen
Christopher Tate [Wed, 28 Oct 2009 03:23:28 +0000 (20:23 -0700)]
DO NOT MERGE: Fix loss of focus after wakeup into incall screen

Because of the asynchronous behavior of keyguard, and incall explicitly
disabling keyguard, sometimes the window manager would wind up in a state in
which the "correct" app and activity window were shown, but focus was
recalculated "too soon," at a time when keyguard was just about gone but not
quite, and incall was not yet fully shown.  In this case there was no currently
valid event target, but the final show of the incall window would not prompt a
focus recalculation, so that "no current focus" state would incorrectly persist,
resulting in spurious ANRs until some other phone activity forced a focus
update.

We now detect the problematic case when windows are shown, and make sure to
recalculate focus explicitly thereafter.  This change does *not* fix the
underlying race conditions that have been resulting in mismatched state within
the window manager, but it does force a validation pass that puts things in
order so that normal operation can continue.

Change-Id: I8e7f5f0795f0042a0da074aeed385e3fbc210360

14 years agoam d14f1bd7: Merge change Iacb6e122 into eclair-sdk
Scott Main [Wed, 28 Oct 2009 18:40:09 +0000 (11:40 -0700)]
am d14f1bd7: Merge change Iacb6e122 into eclair-sdk

Merge commit 'd14f1bd7e4ba28489bdc472aa736aee5a587cb98' into eclair

* commit 'd14f1bd7e4ba28489bdc472aa736aee5a587cb98':
  docs: add 2.0 video to developer site feature videos

14 years agoam 5a4d6696: Merge change Ib80db923 into eclair-sdk
Dirk Dougherty [Wed, 28 Oct 2009 18:39:55 +0000 (11:39 -0700)]
am 5a4d6696: Merge change Ib80db923 into eclair-sdk

Merge commit '5a4d66965d3c5061d47201fcaa62c90d126e7187' into eclair

* commit '5a4d66965d3c5061d47201fcaa62c90d126e7187':
  doc change: some fixes for online sdk docs. update "testing" section of screens support doc.

14 years agoMerge change Iacb6e122 into eclair-sdk
Android (Google) Code Review [Wed, 28 Oct 2009 18:27:48 +0000 (14:27 -0400)]
Merge change Iacb6e122 into eclair-sdk

* changes:
  docs: add 2.0 video to developer site feature videos

14 years agodocs: add 2.0 video to developer site feature videos
Scott Main [Wed, 28 Oct 2009 18:12:58 +0000 (11:12 -0700)]
docs: add 2.0 video to developer site feature videos

14 years agoMerge change Id4d04def into eclair
Android (Google) Code Review [Wed, 28 Oct 2009 17:18:39 +0000 (13:18 -0400)]
Merge change Id4d04def into eclair

* changes:
  Fix a race that kept the locale picker from working under heavy CPU load.

14 years agoMerge change Ib80db923 into eclair-sdk
Android (Google) Code Review [Wed, 28 Oct 2009 15:56:04 +0000 (11:56 -0400)]
Merge change Ib80db923 into eclair-sdk

* changes:
  doc change: some fixes for online sdk docs. update "testing" section of screens support doc.

14 years agoMerge change I4e83a76a into eclair
Android (Google) Code Review [Wed, 28 Oct 2009 15:47:54 +0000 (11:47 -0400)]
Merge change I4e83a76a into eclair

* changes:
  Fix bug 2201417. Whenever the System setting that indicates whether the notifcation stream uses the ring volume changes, the table of stream volume aliases in AudioService is updated. But the name of the alias stored in VolumeStreamState.mVolumeIndexSettingName was not updated whenever the NOTIFICATIONS_USE_RING_VOLUME setting was updated. This caused the wrong volume setting to be persisted. This change ensures the setting name is updated whenever the volume alias is, and persists the notification volume change right away (instead of after a delay), so that registered observers are notified right away. The notification seekbar in the sound settings is an example of such an observer.

14 years agoMerge change I081f08c1 into eclair
Android (Google) Code Review [Wed, 28 Oct 2009 12:46:06 +0000 (08:46 -0400)]
Merge change I081f08c1 into eclair

* changes:
  A better solution for ignoring user activity while the screen is animating off.

14 years agoadded GL test for textured lines
Mathias Agopian [Wed, 28 Oct 2009 09:09:21 +0000 (02:09 -0700)]
added GL test for textured lines

14 years agoMerge change I8d2de438 into eclair
Android (Google) Code Review [Wed, 28 Oct 2009 06:42:12 +0000 (02:42 -0400)]
Merge change I8d2de438 into eclair

* changes:
      fix [2143798] Need to figure out how to do video

14 years agoA better solution for ignoring user activity while the screen is animating off.
Mike Lockwood [Wed, 28 Oct 2009 03:07:25 +0000 (23:07 -0400)]
A better solution for ignoring user activity while the screen is animating off.

Fixes a deadlock that occurred because mAnimatingScreenOff was left set to true
after aborting turning off the screen.
This change removes the mAnimatingScreenOff flag and checks for
(mScreenBrightness.animating && mScreenBrightness.targetValue == 0) instead.

Fixes bug b/2219706

Change-Id: I081f08c14ad7585a953fb567867238b1f3db841f
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agodoc change: some fixes for online sdk docs. update "testing" section of screens suppo...
Dirk Dougherty [Wed, 28 Oct 2009 01:02:29 +0000 (18:02 -0700)]
doc change: some fixes for online sdk docs. update "testing" section of screens support doc.

Bug: 2160782
Change-Id: Ib80db9231f91a36f503db487982378b252c0fcd8

14 years agoFix a race that kept the locale picker from working under heavy CPU load.
Eric Fischer [Wed, 28 Oct 2009 01:55:57 +0000 (18:55 -0700)]
Fix a race that kept the locale picker from working under heavy CPU load.

The locale picker and the activity transition would both change the
configuration, and depending upon the timing, the activity transition
would undo what the locale picker had just done.  Usually it worked right,
but would often fail if the user changed locales just after a data wipe,
when the media scanner was working hard in the background to index
the contents of the SD card.

http://b/issue?id=2216298

14 years agoFix bug 2201417. Whenever the System setting that indicates
Jean-Michel Trivi [Wed, 28 Oct 2009 00:39:30 +0000 (17:39 -0700)]
Fix bug 2201417. Whenever the System setting that indicates
whether the notifcation stream uses the ring volume changes, the
table of stream volume aliases in AudioService is updated. But the
name of the alias stored in VolumeStreamState.mVolumeIndexSettingName
was not updated whenever the NOTIFICATIONS_USE_RING_VOLUME setting
was updated. This caused the wrong volume setting to be persisted.
This change ensures the setting name is updated whenever the volume
alias is, and persists the notification volume change right away
(instead of after a delay), so that registered observers are notified
right away. The notification seekbar in the sound settings is an
example of such an observer.

14 years agoMerge change I95529db1 into eclair
Android (Google) Code Review [Wed, 28 Oct 2009 00:36:13 +0000 (20:36 -0400)]
Merge change I95529db1 into eclair

* changes:
  Add Free Flight ringtone to source tree.

14 years agoAdd Free Flight ringtone to source tree.
Dave Sparks [Wed, 28 Oct 2009 00:31:52 +0000 (17:31 -0700)]
Add Free Flight ringtone to source tree.

14 years agoam 675eb31d: Merge change I1a010c12 into eclair-sdk
Scott Main [Wed, 28 Oct 2009 00:27:13 +0000 (17:27 -0700)]
am 675eb31d: Merge change I1a010c12 into eclair-sdk

Merge commit '675eb31d8d3f349de3d4f8db11631aee0118d85d' into eclair

* commit '675eb31d8d3f349de3d4f8db11631aee0118d85d':
  docs: fix broken link for download page.

14 years agoMerge change I1a010c12 into eclair-sdk
Android (Google) Code Review [Wed, 28 Oct 2009 00:16:58 +0000 (20:16 -0400)]
Merge change I1a010c12 into eclair-sdk

* changes:
  docs: fix broken link for download page.

14 years agodocs: fix broken link for download page.
Scott Main [Wed, 28 Oct 2009 00:02:12 +0000 (17:02 -0700)]
docs: fix broken link for download page.

a script was inserting a path that is no longer needed.
the removed class was the script identifier, so removing
this class means the path won't be added.

14 years agoMerge change Idb328ab7 into eclair
Android (Google) Code Review [Tue, 27 Oct 2009 23:02:47 +0000 (19:02 -0400)]
Merge change Idb328ab7 into eclair

* changes:
  Explicitly specify that online-sdk depends on framework-res.

14 years agoMerge change I2e90d640 into eclair
Android (Google) Code Review [Tue, 27 Oct 2009 22:44:56 +0000 (18:44 -0400)]
Merge change I2e90d640 into eclair

* changes:
  Remove the activity restart between urls.

14 years agoMerge change I7136220b into eclair
Android (Google) Code Review [Tue, 27 Oct 2009 22:37:48 +0000 (18:37 -0400)]
Merge change I7136220b into eclair

* changes:
  Fix egl cleanup code on context teardown.

14 years agoRemove the activity restart between urls.
Guang Zhu [Tue, 27 Oct 2009 22:21:51 +0000 (15:21 -0700)]
Remove the activity restart between urls.

14 years agoFix egl cleanup code on context teardown.
Jason Sams [Tue, 27 Oct 2009 21:44:31 +0000 (14:44 -0700)]
Fix egl cleanup code on context teardown.

14 years agoMerge change I9c242127 into eclair
Android (Google) Code Review [Tue, 27 Oct 2009 20:43:28 +0000 (16:43 -0400)]
Merge change I9c242127 into eclair

* changes:
  PowerManagerService: Animate LCD backlight changes due to autobrightness support.

14 years agoMerge change I8cc42c52 into eclair
Android (Google) Code Review [Tue, 27 Oct 2009 20:34:37 +0000 (16:34 -0400)]
Merge change I8cc42c52 into eclair

* changes:
  Add some logging to detect if AsyncPlayer is lagging. Bug 2201082.

14 years agoAdd some logging to detect if AsyncPlayer is lagging. Bug 2201082.
Dave Sparks [Tue, 27 Oct 2009 15:27:45 +0000 (08:27 -0700)]
Add some logging to detect if AsyncPlayer is lagging. Bug 2201082.

14 years ago fix [2143798] Need to figure out how to do video
Mathias Agopian [Tue, 27 Oct 2009 03:12:37 +0000 (20:12 -0700)]
fix [2143798] Need to figure out how to do video

    Use EGLImageKHR instead of copybit directly.
    We now have the basis to use streaming YUV textures (well, in fact
    we already are). When/if we use the GPU instead of the MDP we'll
    need to make sure it supports the appropriate YUV format.

    Also make sure we compile if EGL_ANDROID_image_native_buffer is not supported

14 years agoMerge change I882d2eb8 into eclair
Android (Google) Code Review [Tue, 27 Oct 2009 19:50:10 +0000 (15:50 -0400)]
Merge change I882d2eb8 into eclair

* changes:
  do not merge

14 years agoMerge change Idb13ed9a into eclair
Android (Google) Code Review [Tue, 27 Oct 2009 19:47:57 +0000 (15:47 -0400)]
Merge change Idb13ed9a into eclair

* changes:
  Add SDK version for MR1.

14 years agoPowerManagerService: Animate LCD backlight changes due to autobrightness support.
Mike Lockwood [Tue, 27 Oct 2009 19:47:02 +0000 (15:47 -0400)]
PowerManagerService: Animate LCD backlight changes due to autobrightness support.

Change-Id: I9c242127df801125c30f399198d1f7e9c8579612
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoFix build.
Amith Yamasani [Tue, 27 Oct 2009 18:45:08 +0000 (11:45 -0700)]
Fix build.

14 years agoExplicitly specify that online-sdk depends on framework-res.
Ying Wang [Tue, 27 Oct 2009 18:00:30 +0000 (11:00 -0700)]
Explicitly specify that online-sdk depends on framework-res.