OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge change Ia3f7ef64 into eclair
Android (Google) Code Review [Thu, 22 Oct 2009 20:24:05 +0000 (16:24 -0400)]
Merge change Ia3f7ef64 into eclair

* changes:
  PowerManager: Don't poke user activity in setKeyboardVisibility unless the state actually changed.

14 years agoPowerManager: Don't poke user activity in setKeyboardVisibility unless the state...
Mike Lockwood [Thu, 22 Oct 2009 19:45:37 +0000 (15:45 -0400)]
PowerManager: Don't poke user activity in setKeyboardVisibility unless the state actually changed.

Fixes bug b/2158297 (lock screen should time out after 7 seconds)

Change-Id: Ia3f7ef6464129ab78283923dbfd7f7472136e676
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoam ee58d1bf: doc change: Add docs for SDK. Support new modular structure. In Android...
Dirk Dougherty [Thu, 22 Oct 2009 18:22:12 +0000 (11:22 -0700)]
am ee58d1bf: doc change: Add docs for SDK. Support new modular structure. In Android.mk, change @since level identifier to 5.xml, expose adt downloadable vars. Fix links that pointed to @sdkCurrent.

Merge commit 'ee58d1bf9c54eaed623c4419e1d9db269a9c4137' into eclair

* commit 'ee58d1bf9c54eaed623c4419e1d9db269a9c4137':
  doc change: Add docs for SDK. Support new modular structure. In Android.mk, change @since level identifier to 5.xml, expose adt downloadable vars. Fix links that pointed to @sdkCurrent.

14 years agoam 6797b9fa: doc change: add diff report 4 -> 5
Dirk Dougherty [Thu, 22 Oct 2009 18:21:47 +0000 (11:21 -0700)]
am 6797b9fa: doc change: add diff report 4 -> 5

Merge commit '6797b9fa06b4c86b92da117a7f84277f7a380820' into eclair

* commit '6797b9fa06b4c86b92da117a7f84277f7a380820':
  doc change: add diff report 4 -> 5

14 years agoam 439bf97c: doc change: edits to the screens support doc.
Dirk Dougherty [Thu, 22 Oct 2009 18:21:23 +0000 (11:21 -0700)]
am 439bf97c: doc change: edits to the screens support doc.

Merge commit '439bf97ca5adb3e33eaf15faf25034b012a7d9d0' into eclair

* commit '439bf97ca5adb3e33eaf15faf25034b012a7d9d0':
  doc change: edits to the screens support doc.

14 years agoam f4b5540b: doc change only: add screens support doc
Dirk Dougherty [Thu, 22 Oct 2009 18:21:12 +0000 (11:21 -0700)]
am f4b5540b: doc change only: add screens support doc

Merge commit 'f4b5540b35a37ae5b999a50c2195bb43eb125f3c' into eclair

* commit 'f4b5540b35a37ae5b999a50c2195bb43eb125f3c':
  doc change only: add screens support doc

14 years agoam f90178d0: docs only. fix some typos.
Scott Main [Thu, 22 Oct 2009 18:20:55 +0000 (11:20 -0700)]
am f90178d0: docs only. fix some typos.

Merge commit 'f90178d08d3a6cdb500a6f4d1069c38036b3db69' into eclair

* commit 'f90178d08d3a6cdb500a6f4d1069c38036b3db69':
  docs only.

14 years agoMerge change I3ff560d7 into eclair
Android (Google) Code Review [Thu, 22 Oct 2009 18:04:03 +0000 (14:04 -0400)]
Merge change I3ff560d7 into eclair

* changes:
  Send "encoding problem" to the network for general errors during SMS dispatch.

14 years agoMerge change I99dc6477 into eclair
Android (Google) Code Review [Thu, 22 Oct 2009 11:07:04 +0000 (07:07 -0400)]
Merge change I99dc6477 into eclair

* changes:
  Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.

14 years agoMerge change I53f83502 into eclair
Android (Google) Code Review [Thu, 22 Oct 2009 11:06:51 +0000 (07:06 -0400)]
Merge change I53f83502 into eclair

* changes:
  PowerManagerService: Ignore user activity while the screen is animating off.

14 years agodoc change: Add docs for SDK. Support new modular structure. In Android.mk, change...
Dirk Dougherty [Fri, 16 Oct 2009 22:25:15 +0000 (15:25 -0700)]
doc change: Add docs for SDK. Support new modular structure. In Android.mk, change @since level identifier to 5.xml, expose adt downloadable vars. Fix links that pointed to @sdkCurrent.

Change-Id:I368345755dd753b1056fb06ff25e4b32f3020e4d
Bug:2160782

14 years agodoc change: add diff report 4 -> 5
Dirk Dougherty [Fri, 16 Oct 2009 16:00:38 +0000 (09:00 -0700)]
doc change: add diff report 4 -> 5

Bug: 2160782

14 years agoAdd WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.
Mike Lockwood [Thu, 22 Oct 2009 02:58:29 +0000 (22:58 -0400)]
Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.

Part of a fix for bug b/2198537

Change-Id: I99dc64772fa7644b12432d5549603025196ea3e2
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoPowerManagerService: Ignore user activity while the screen is animating off.
Mike Lockwood [Wed, 21 Oct 2009 20:03:18 +0000 (16:03 -0400)]
PowerManagerService: Ignore user activity while the screen is animating off.

Fixes bug b/2202165 (Often I when pressing power to turn off I get the lock screen)

Change-Id: I53f8350203d57fbb5f143edc44985879caadd78f
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge change I959a6f46 into eclair
Android (Google) Code Review [Thu, 22 Oct 2009 02:58:39 +0000 (22:58 -0400)]
Merge change I959a6f46 into eclair

* changes:
  Fix bug 2194213: Non-default system IMEs are enabled, but not initially shown in input method switcher.     - Ensure system IMEs are put on the enabled list at startup/install.     - If the default IME is not installed, choose another one whenever building input method list.

14 years agodoc change: edits to the screens support doc.
Dirk Dougherty [Thu, 15 Oct 2009 00:59:32 +0000 (17:59 -0700)]
doc change: edits to the screens support doc.

Bug: 2160782

14 years agodoc change only: add screens support doc
Dirk Dougherty [Sat, 10 Oct 2009 00:14:28 +0000 (17:14 -0700)]
doc change only: add screens support doc

14 years agodocs only.
Scott Main [Fri, 9 Oct 2009 19:38:41 +0000 (12:38 -0700)]
docs only.
fix some typos.

14 years agoFix bug 2194213: Non-default system IMEs are enabled, but not initially shown in...
Brandon Ballinger [Wed, 21 Oct 2009 07:38:13 +0000 (00:38 -0700)]
Fix bug 2194213: Non-default system IMEs are enabled, but not initially shown in input method switcher.
    - Ensure system IMEs are put on the enabled list at startup/install.
    - If the default IME is not installed, choose another one whenever building input method list.

14 years agoSend "encoding problem" to the network for general errors during SMS dispatch.
jsh [Thu, 22 Oct 2009 00:55:31 +0000 (17:55 -0700)]
Send "encoding problem" to the network for general errors during SMS dispatch.

Previously we were returning "other terminal problem" to the network, but this
had the potential of blocking MT SMS messages for days at a time (eg, if the
problematic message is resent).  Sending the "encoding problem" cause code is
reasonable since in most cases the we have encountered an error while trying
to parse the message.

Addresses b/2200412.

14 years agoMerge change I1538dba4 into eclair
Android (Google) Code Review [Wed, 21 Oct 2009 22:56:10 +0000 (18:56 -0400)]
Merge change I1538dba4 into eclair

* changes:
  Make FWK start a wifi scan if supplicant forgets. (do not merge)

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

* changes:
  telephony/cdma: Fix Erroneous Roaming Indicators and Latitude-Longitude parsing

14 years agoMerge change I7a03b074 into eclair
Android (Google) Code Review [Wed, 21 Oct 2009 22:15:20 +0000 (18:15 -0400)]
Merge change I7a03b074 into eclair

* changes:
  Now that the underlying bug is fixed we can continue using OMX_UseBuffer for this decoder's input buffers.

14 years agoNow that the underlying bug is fixed we can continue using OMX_UseBuffer for this...
Andreas Huber [Wed, 21 Oct 2009 22:06:21 +0000 (15:06 -0700)]
Now that the underlying bug is fixed we can continue using OMX_UseBuffer for this decoder's input buffers.

14 years agoMake FWK start a wifi scan if supplicant forgets. (do not merge)
Robert Greenwalt [Thu, 8 Oct 2009 00:57:49 +0000 (17:57 -0700)]
Make FWK start a wifi scan if supplicant forgets. (do not merge)

Waits 15sec after getting a DISCONNECTED or INACTIVE state.  Also tracks
the number of supplicant state transitions.  After the period is up
if we haven't received any more supplicant state transitions, it requests a scan.

bug: 2168081

14 years agotelephony/cdma: Fix Erroneous Roaming Indicators and Latitude-Longitude parsing
Naveen Kalla [Mon, 12 Oct 2009 18:08:52 +0000 (11:08 -0700)]
telephony/cdma: Fix Erroneous Roaming Indicators and Latitude-Longitude parsing

When Android Telephony receives response to GET_REGISTRATION_STATE
message from RIL it may contain few fields set to NULL. Due to a parsing
exception encountered while parsing that field, the remaining fields will
not be parsed even if they are valid data. Ignore all fields that are NULL
while letting it parse non-NULL data.

For Latitude and Longitude, the values should not be hexadecimal. They
shall be parsed as decimal values as specified in the 3GPP2 C.S0005-A
specification. Invalid value is changed from -1 to Integer.MAX_VALUE.

Bug: 2201613
Change-Id: I13dd02fcfa2ae7fcb6f21c4b94b830786bd7270c

14 years agoMerge change Ifa8ab30e into eclair
Android (Google) Code Review [Wed, 21 Oct 2009 20:11:23 +0000 (16:11 -0400)]
Merge change Ifa8ab30e into eclair

* changes:
  In onKeyUp for DPAD_CENTER, show the IME for text input.

14 years agoIn onKeyUp for DPAD_CENTER, show the IME for text input.
Leon Scroggins [Wed, 21 Oct 2009 19:35:33 +0000 (15:35 -0400)]
In onKeyUp for DPAD_CENTER, show the IME for text input.

Fixes http://b/issue?id=2201966

Change-Id: Ifa8ab30e205e21e9e69e9a7405a0a6fc86c6c488

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

* changes:
  Import revised translations.  DO NOT MERGE

14 years agoMerge change Id443ba45 into eclair
Android (Google) Code Review [Wed, 21 Oct 2009 18:04:26 +0000 (14:04 -0400)]
Merge change Id443ba45 into eclair

* changes:
  Prevent transparent region from getting out of sync with Surface Flinger

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Wed, 21 Oct 2009 17:41:17 +0000 (10:41 -0700)]
Import revised translations.  DO NOT MERGE

Approver: jerryw

14 years agoPrevent transparent region from getting out of sync with Surface Flinger
Jack Palevich [Sat, 10 Oct 2009 00:37:50 +0000 (17:37 -0700)]
Prevent transparent region from getting out of sync with Surface Flinger

The ViewRoot is responsible for calculating the current view's surface's
transparent region and reporting this to the window server, which in
turn notifies Surface Flinger.

To minimize cross-process traffic, ViewRoot keeps track of the
most recent transparent region that it has reported to the window
server, and only sends updates when the region shape changes.

ViewRoot is effectively shadowing the internal state of the window
server, and usually this works fine, because ViewRoot is usually the
only thing that changes this value.

But when the surface is recreated, the window server resets the
transparent region to empty. So in order to properly update the window
server we need to reset our copy of its state to empty too.

Fixes issue #2133090: GL Gears runs at half speed in some cases

14 years agoMerge change Ica1d7b90 into eclair
Android (Google) Code Review [Wed, 21 Oct 2009 04:48:41 +0000 (00:48 -0400)]
Merge change Ica1d7b90 into eclair

* changes:
  Disable known failure math tanhd tests  (DO NOT MERGE)

14 years agoam d7bc6546: Fix spacing to escape "false" correctly.
Jeff Sharkey [Tue, 20 Oct 2009 23:20:36 +0000 (16:20 -0700)]
am d7bc6546: Fix spacing to escape "false" correctly.

Merge commit 'd7bc6546268ccc21954427a3ef56f6365bacef5a' into eclair

* commit 'd7bc6546268ccc21954427a3ef56f6365bacef5a':
  Fix spacing to escape "false" correctly.

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

* changes:
  Fix #2201615: getCallingPackage returns calling process instead of calling package

14 years agoFix spacing to escape "false" correctly.
Jeff Sharkey [Tue, 20 Oct 2009 22:57:43 +0000 (15:57 -0700)]
Fix spacing to escape "false" correctly.

14 years agoMerge change I14e833fa into eclair
Android (Google) Code Review [Tue, 20 Oct 2009 22:51:06 +0000 (18:51 -0400)]
Merge change I14e833fa into eclair

* changes:
  If we fail to persist the current settings and fall back to the back settings file when reading settings in PackageManager, we might rename the corrupted settings to backup(in case of power failure between the earlier write failure and file deletion) and end up loosing both files. So just clear up the corrupted current settings file if we have backup. The backup wouldn't exist if everything went well with persisting the earlier settings.

14 years agoFix #2201615: getCallingPackage returns calling process instead of calling package
Dianne Hackborn [Tue, 20 Oct 2009 22:42:38 +0000 (15:42 -0700)]
Fix #2201615: getCallingPackage returns calling process instead of calling package

Change-Id: I1f30f3f1ce8928796c1ab502d0c2dc02de86e8e7

14 years agoDisable known failure math tanhd tests (DO NOT MERGE)
Brett Chabot [Tue, 20 Oct 2009 21:09:28 +0000 (14:09 -0700)]
Disable known failure math tanhd tests  (DO NOT MERGE)

BUG 2139334

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

* changes:
  add "junk path" -k option to aapt (DO NOT MERGE)

14 years agoIf we fail to persist the current settings and fall back to the back settings file
Suchi Amalapurapu [Tue, 20 Oct 2009 18:27:32 +0000 (11:27 -0700)]
If we fail to persist the current settings and fall back to the back settings file
when reading settings in PackageManager, we might rename the corrupted settings to
backup(in case of power failure between the earlier write failure and file deletion)
and end up loosing both files.
So just clear up the corrupted current settings file if we have backup.
The backup wouldn't exist if everything went well with persisting the earlier settings.

We do this in both read and write just in case.

14 years agoMerge change Ie3ffb526 into eclair
Android (Google) Code Review [Tue, 20 Oct 2009 19:52:29 +0000 (15:52 -0400)]
Merge change Ie3ffb526 into eclair

* changes:
  do not merge: The qcom video decoders always output yuv data after adjusting dimensions to be a multiple of 16.

14 years agoMerge change I1932e8f8 into eclair
Android (Google) Code Review [Tue, 20 Oct 2009 19:13:05 +0000 (15:13 -0400)]
Merge change I1932e8f8 into eclair

* changes:
  Disable com.android.unit_tests.HeapTest:testExternalOomeLarge.

14 years agodo not merge: The qcom video decoders always output yuv data after adjusting dimensio...
Andreas Huber [Tue, 20 Oct 2009 17:43:48 +0000 (10:43 -0700)]
do not merge: The qcom video decoders always output yuv data after adjusting dimensions to be a multiple of 16.

Add a quirk mode to OMXCodec that makes it aware of this fact for proper display. Also integrate back a change from eclair-mr2 that delays releasing an output buffer briefly after posting it to surface flinger, as we don't know how long it'll take it to actually display the buffer's content.

14 years agoMerge change I1864d098 into eclair
Android (Google) Code Review [Tue, 20 Oct 2009 18:27:55 +0000 (14:27 -0400)]
Merge change I1864d098 into eclair

* changes:
  Improve wallpaper offset handling.

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

* changes:
  Fix issue #2191572: Difficulties drawing window shade

14 years agoMerge change I61741f5a into eclair
Android (Google) Code Review [Tue, 20 Oct 2009 17:10:42 +0000 (13:10 -0400)]
Merge change I61741f5a into eclair

* changes:
  Fix high density bug 2179543: use 'dip' instead of 'px'

14 years agoPowerManagerService: Add missing synchronization in mAutoBrightnessTask.
Mike Lockwood [Tue, 20 Oct 2009 15:08:49 +0000 (11:08 -0400)]
PowerManagerService: Add missing synchronization in mAutoBrightnessTask.

Change-Id: Ie9b93253e991f709b223b28a9148be3b254fb273
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoFix high density bug 2179543: use 'dip' instead of 'px'
Marco Nelissen [Mon, 19 Oct 2009 23:41:21 +0000 (16:41 -0700)]
Fix high density bug 2179543: use 'dip' instead of 'px'

14 years agoPower Manager light sensor fixes:
Mike Lockwood [Tue, 20 Oct 2009 12:10:00 +0000 (08:10 -0400)]
Power Manager light sensor fixes:

Fix problem with ignored sensor events right after screen turns on.
Do not flash button backlights when device is booting.
Process the first light sensor change after waking the screen immediately rather than debouncing.
Cancel mAutoBrightnessTask when light sensor is disabled.

Change-Id: Iffc5e090b239432b7643812fa8ecb5f69da1679d
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoPower Manager support for light sensor backlight management.
Mike Lockwood [Fri, 16 Oct 2009 00:09:16 +0000 (17:09 -0700)]
Power Manager support for light sensor backlight management.

Change-Id: I470e2d7d12abf0dbfd31d84859b06bfae3cb36a1
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoDisable com.android.unit_tests.HeapTest:testExternalOomeLarge.
Brett Chabot [Tue, 20 Oct 2009 00:34:33 +0000 (17:34 -0700)]
Disable com.android.unit_tests.HeapTest:testExternalOomeLarge.

BUG 2170975

14 years agoadd "junk path" -k option to aapt (DO NOT MERGE)
Doug Zongker [Tue, 20 Oct 2009 00:04:21 +0000 (17:04 -0700)]
add "junk path" -k option to aapt (DO NOT MERGE)

Adds a "junk path" option to aapt so that you can do:

   aapt add -k archive.zip path/to/some.file

and have the file stored in the zip under the name "some.file"
(without the path).  Needed so that we can use 'aapt add' in place of
'zip -j' when building jar files, which will lead to smaller
incremental OTAs.

(This is a cherry-pick of a change already submitted to eclair-mr2;
the change was approved for mr1.)

14 years agoMerge change I4219797a into eclair
Android (Google) Code Review [Mon, 19 Oct 2009 23:38:56 +0000 (19:38 -0400)]
Merge change I4219797a into eclair

* changes:
  Log exception if we hit an error parsing an incoming SMS message.

14 years agoUse the TLS register if HAVE_ARM_TLS_REGISTER is defined
Mathias Agopian [Wed, 14 Oct 2009 09:39:53 +0000 (02:39 -0700)]
Use the TLS register if HAVE_ARM_TLS_REGISTER is defined

this will be needed for SMP, but would improve dispatching GL calls a bit
on armv6 and above.

14 years agoLog exception if we hit an error parsing an incoming SMS message.
jsh [Mon, 19 Oct 2009 23:11:37 +0000 (16:11 -0700)]
Log exception if we hit an error parsing an incoming SMS message.

This will help debug b/2197566.  We should have been logging the error
anyway.

14 years agoImprove wallpaper offset handling.
Dianne Hackborn [Thu, 15 Oct 2009 21:29:19 +0000 (14:29 -0700)]
Improve wallpaper offset handling.

Fiddle around with the offsets of wallpapers to have better defaults, and
update the offset when the currently wallpaper target is not setting an
offset itself.

Change-Id: I1864d098fb4813fb0c67857af8ebf398b35e6876

14 years agoFix issue #2191572: Difficulties drawing window shade
Dianne Hackborn [Mon, 19 Oct 2009 18:24:39 +0000 (11:24 -0700)]
Fix issue #2191572: Difficulties drawing window shade

The touch location filtering hacks had a little problem.

Change-Id: Ib57366169c87f83af1adcc8b6a00dadc01582339

14 years agoMerge change I0953c1d5 into eclair
Android (Google) Code Review [Mon, 19 Oct 2009 22:27:47 +0000 (18:27 -0400)]
Merge change I0953c1d5 into eclair

* changes:
  fix [2153873] EGL-1.4 software implementation misses surface attributes

14 years agoProper fix for zero signal strength and no_service. Fixes #2176141
Amith Yamasani [Fri, 9 Oct 2009 01:28:01 +0000 (18:28 -0700)]
Proper fix for zero signal strength and no_service. Fixes #2176141

Track phone service state changes and use a separate timer for out-of-service
since the hunting can timeout on some devices.

Store the timeout value in the config.xml, as it is device/network specific.

Settings App will also change to use the hunting duration to compute the cost
of zero signal.

14 years agoam ae26b8b6: Update 5.xml with last minute changes.
Dianne Hackborn [Mon, 19 Oct 2009 22:04:14 +0000 (15:04 -0700)]
am ae26b8b6: Update 5.xml with last minute changes.

Merge commit 'ae26b8b6f40ad037927bf02ffd47953001c2cb3b' into eclair

* commit 'ae26b8b6f40ad037927bf02ffd47953001c2cb3b':
  Update 5.xml with last minute changes.

14 years agofix [2153873] EGL-1.4 software implementation misses surface attributes
Mathias Agopian [Mon, 19 Oct 2009 21:46:27 +0000 (14:46 -0700)]
fix [2153873] EGL-1.4 software implementation misses surface attributes

14 years agoMerge change Ide4c8cbc into eclair
Android (Google) Code Review [Mon, 19 Oct 2009 21:31:52 +0000 (17:31 -0400)]
Merge change Ide4c8cbc into eclair

* changes:
  fix [2151588] glTexSubImage2D() allows pixel format conversion

14 years agoMerge change I88d11cfb into eclair
Android (Google) Code Review [Mon, 19 Oct 2009 21:31:35 +0000 (17:31 -0400)]
Merge change I88d11cfb into eclair

* changes:
  one step towards fixing [2071412] work around mdp 32-bits fade limitation

14 years agofix [2151588] glTexSubImage2D() allows pixel format conversion
Mathias Agopian [Sat, 17 Oct 2009 01:34:31 +0000 (18:34 -0700)]
fix [2151588] glTexSubImage2D() allows pixel format conversion

14 years agoUpdate 5.xml with last minute changes.
Dianne Hackborn [Mon, 19 Oct 2009 19:42:28 +0000 (12:42 -0700)]
Update 5.xml with last minute changes.

14 years agoUpdate 5.xml with last minute changes.
Dianne Hackborn [Mon, 19 Oct 2009 19:42:28 +0000 (12:42 -0700)]
Update 5.xml with last minute changes.

Change-Id: I520ca879d31cb4581556138a73b542c070de3c00

14 years agoone step towards fixing [2071412] work around mdp 32-bits fade limitation
Mathias Agopian [Fri, 16 Oct 2009 23:17:58 +0000 (16:17 -0700)]
one step towards fixing [2071412] work around mdp 32-bits fade limitation

simplify the GL_MODULATE case and allow blending disabled with RGBA texture

14 years agoam f3bc5349: docs: fix doc error in dialog example snippet (no not merge)
Scott Main [Sat, 17 Oct 2009 00:52:15 +0000 (17:52 -0700)]
am f3bc5349: docs: fix doc error in dialog example snippet (no not merge)

Merge commit 'f3bc5349b20f642f798c2b96d7bf7c05c2af998f' into eclair

* commit 'f3bc5349b20f642f798c2b96d7bf7c05c2af998f':
  docs: fix doc error in dialog example snippet (no not merge)

14 years agodocs: fix doc error in dialog example snippet (no not merge)
Scott Main [Fri, 16 Oct 2009 21:08:37 +0000 (14:08 -0700)]
docs: fix doc error in dialog example snippet (no not merge)

bug: 2160782

14 years agoMerge change I11ebbfd9 into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 22:13:19 +0000 (18:13 -0400)]
Merge change I11ebbfd9 into eclair

* changes:
  A few more testcases for the vendor to reproduce issues with their decoder. Not part of the shipping image.

14 years agoMerge change Idcaa1ef8 into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 22:06:43 +0000 (18:06 -0400)]
Merge change Idcaa1ef8 into eclair

* changes:
  1) Add 10 seconds wait time before collecting the end memory. 2) Modified the player stress test, shorten the plabyack time.

14 years agoA few more testcases for the vendor to reproduce issues with their decoder. Not part...
Andreas Huber [Fri, 16 Oct 2009 22:05:45 +0000 (15:05 -0700)]
A few more testcases for the vendor to reproduce issues with their decoder. Not part of the shipping image.

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

* changes:
  Fix bug exposed by filmstrip.  The updated and expanded SimpleMesh had an ordering bug with component coordinates when both texture and normals were used.

14 years agoFix bug exposed by filmstrip. The updated and expanded SimpleMesh had an ordering...
Jason Sams [Fri, 16 Oct 2009 21:55:41 +0000 (14:55 -0700)]
Fix bug exposed by filmstrip.  The updated and expanded SimpleMesh had an ordering bug with component coordinates when both texture and normals were used.

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

* changes:
  fix [2187212] add support for GLESv2 dispatch based on TLS

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

* changes:
  fix [2182249] [MR1] valgrind error in surface flinger

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

* changes:
  docs: fix doc error in dialog example snippet

14 years agodocs: fix doc error in dialog example snippet
Scott Main [Fri, 16 Oct 2009 21:08:37 +0000 (14:08 -0700)]
docs: fix doc error in dialog example snippet

bug: 2160782

14 years agoMerge change Ib897cff1 into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 19:36:40 +0000 (15:36 -0400)]
Merge change Ib897cff1 into eclair

* changes:
  do not merge Return valid package info for packages that have been uninstalled with an option to retain data and resources using the flag GET_UNINSTALLED_PACKAGES These packages do not have a package setting. just check the flag and return the required info from PackageParser.generatePackageInfo

14 years agoMerge change I9521cf8b into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 16:29:39 +0000 (12:29 -0400)]
Merge change I9521cf8b into eclair

* changes:
  Register for light sensor events if non-hardware based auto-brightnees is enabled

14 years agoMerge change I01935be3 into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 16:29:15 +0000 (12:29 -0400)]
Merge change I01935be3 into eclair

* changes:
  Remove PowerManager.setAutoBrightness()

14 years agoRegister for light sensor events if non-hardware based auto-brightnees is enabled
Mike Lockwood [Sun, 4 Oct 2009 12:44:47 +0000 (08:44 -0400)]
Register for light sensor events if non-hardware based auto-brightnees is enabled

Change-Id: I9521cf8b315306bdafa70c1500f2e4af83d94ec3
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoRemove PowerManager.setAutoBrightness()
Mike Lockwood [Thu, 15 Oct 2009 04:17:09 +0000 (21:17 -0700)]
Remove PowerManager.setAutoBrightness()

We will use the System.SCREEN_BRIGHTNESS_MODE Settings value instead.
Add SCREEN_BRIGHTNESS_MODE_MANUAL and SCREEN_BRIGHTNESS_MODE_AUTOMATIC constants.

Change-Id: I01935be3fcb48cf76392d2c594205cb47babc5b2
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agodo not merge: fix copy/paste using trackball on passion
Cary Clark [Thu, 15 Oct 2009 17:32:08 +0000 (13:32 -0400)]
do not merge: fix copy/paste using trackball on passion

This fix is alrady in mr2. It does not affect sholes --
this is a trackball only bug.

The selection caret and arrow now take the scale factor and
the height of the title bar into account when preparing the
canvas for drawing.

Clicking the trackball at the end of selecting text no longer
sends a click event.

Requires a companion fix in external/webkit
Fixes http://b/issue?id=2187591

14 years agoMerge change I0e09e56f into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 05:19:10 +0000 (01:19 -0400)]
Merge change I0e09e56f into eclair

* changes:
  Don't callback on NULL client. Bug 2180510.

14 years agoMerge change I486fdb55 into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 03:32:39 +0000 (23:32 -0400)]
Merge change I486fdb55 into eclair

* changes:
  Fix bug 2183179 - Hitting the back key repeatedly makes the notification shade jump up and down

14 years agoFix bug 2183179 - Hitting the back key repeatedly makes the notification shade jump...
Joe Onorato [Fri, 16 Oct 2009 03:26:08 +0000 (20:26 -0700)]
Fix bug 2183179 - Hitting the back key repeatedly makes the notification shade jump up and down

This thing needs to be rewritten.  It's grown too complicated for what it's doing,
and I don't like the physics anyway.

Also, this leaves the bug where if you press back while it's animating down, the
animation is ignored.  However it no longer jumps down all the way, it just
essentially ignores the back key.

Also, this makes the collapse get executed on the back key up event, so it works
with the swipe on the soft keys at the bottom of the screen.

14 years agodo not merge
Suchi Amalapurapu [Wed, 14 Oct 2009 19:11:48 +0000 (12:11 -0700)]
do not merge
Return valid package info for packages that have been uninstalled with
an option to retain data and resources using the flag GET_UNINSTALLED_PACKAGES
These packages do not have a package setting. just check the flag and return
the required info from PackageParser.generatePackageInfo

14 years ago1) Add 10 seconds wait time before collecting the end memory.
Yu Shan Emily Lau [Fri, 16 Oct 2009 00:32:41 +0000 (17:32 -0700)]
1) Add 10 seconds wait time before collecting the end memory.
2) Modified the player stress test, shorten the plabyack time.

14 years agoMerge change I741a6100 into eclair
Android (Google) Code Review [Fri, 16 Oct 2009 01:47:03 +0000 (21:47 -0400)]
Merge change I741a6100 into eclair

* changes:
  Fix bug where dirty messages for allocations attached to programVertex objects could be lost.

14 years agoFix bug where dirty messages for allocations attached to programVertex objects could...
Jason Sams [Fri, 16 Oct 2009 01:45:45 +0000 (18:45 -0700)]
Fix bug where dirty messages for allocations attached to programVertex objects could be lost.

14 years agofix [2182249] [MR1] valgrind error in surface flinger
Mathias Agopian [Fri, 16 Oct 2009 01:08:15 +0000 (18:08 -0700)]
fix [2182249] [MR1] valgrind error in surface flinger

14 years agoAdd separate configuration flag for hardware ALS support.
Mike Lockwood [Wed, 14 Oct 2009 18:55:50 +0000 (11:55 -0700)]
Add separate configuration flag for hardware ALS support.

A new flag config_hardware_automatic_brightness_available indicates
that the device has hardware support for automatic screen brightness management,
while config_automatic_brightness_available now indicates that automatic
brightness mode is available in general.

If config_automatic_brightness_available is true but config_hardware_automatic_brightness_available is false,
then automatic brightness mode support in PowerManager support will be used.

Bug b/2015734 (Ambient light sensor support in power manager)

Change-Id: I6cd888252043dd63df3c25a1d14c21a04a91ad28
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoRemove hack in RS that called exit to WAR now fixed driver bugs. Make gloabal init...
Jason Sams [Thu, 15 Oct 2009 23:47:31 +0000 (16:47 -0700)]
Remove hack in RS that called exit to WAR now fixed driver bugs.  Make gloabal init safe by locking around the critical code.

14 years agoMinor bug fixes and add glError check.
Jason Sams [Wed, 14 Oct 2009 22:43:53 +0000 (15:43 -0700)]
Minor bug fixes and add glError check.

14 years agoAdd egl init start message to help debug driver init hangs.
Jason Sams [Thu, 8 Oct 2009 19:55:06 +0000 (12:55 -0700)]
Add egl init start message to help debug driver init hangs.

14 years agoMerge change I51d41230 into eclair
Android (Google) Code Review [Thu, 15 Oct 2009 22:49:44 +0000 (18:49 -0400)]
Merge change I51d41230 into eclair

* changes:
  Make sure CF icon updates when using "all CF" MMI.

14 years agoMerge change I0d74deb6 into eclair
Android (Google) Code Review [Thu, 15 Oct 2009 22:33:12 +0000 (18:33 -0400)]
Merge change I0d74deb6 into eclair

* changes:
  Fix possible NPE in the code that restores widgets' state.

14 years agoDon't callback on NULL client. Bug 2180510.
Dave Sparks [Thu, 15 Oct 2009 17:02:22 +0000 (10:02 -0700)]
Don't callback on NULL client. Bug 2180510.

We weren't checking to see if there was a valid camera client when
calling the notify callback function. Now we grab a strong pointer
before the callback to guarantee that the client is not destroyed
before we complete the callback. This change also fixes other
places in the code where we weren't holding a local strong pointer.