OSDN Git Service

android-x86/frameworks-base.git
14 years agoam 58d6a20c: am 6b178e47: Merge "Always assume evdoXxxx signal strength values are...
Wink Saville [Sat, 13 Feb 2010 17:48:43 +0000 (09:48 -0800)]
am 58d6a20c: am 6b178e47: Merge "Always assume evdoXxxx signal strength values are correct." into eclair

Merge commit '58d6a20cfaa55ebe269ac0736999b90c3227b0c1'

* commit '58d6a20cfaa55ebe269ac0736999b90c3227b0c1':
  Always assume evdoXxxx signal strength values are correct.

14 years agoam 6b178e47: Merge "Always assume evdoXxxx signal strength values are correct." into...
Wink Saville [Sat, 13 Feb 2010 17:42:07 +0000 (09:42 -0800)]
am 6b178e47: Merge "Always assume evdoXxxx signal strength values are correct." into eclair

Merge commit '6b178e472266052b4a9b28b1e4a5cef07f1ebf8b' into eclair-plus-aosp

* commit '6b178e472266052b4a9b28b1e4a5cef07f1ebf8b':
  Always assume evdoXxxx signal strength values are correct.

14 years agoMerge "Always assume evdoXxxx signal strength values are correct." into eclair
Wink Saville [Sat, 13 Feb 2010 17:36:17 +0000 (09:36 -0800)]
Merge "Always assume evdoXxxx signal strength values are correct." into eclair

14 years agoAlways assume evdoXxxx signal strength values are correct.
Wink Saville [Sat, 13 Feb 2010 15:56:20 +0000 (07:56 -0800)]
Always assume evdoXxxx signal strength values are correct.

This solves a race condition between the network type changing and
a signal strength changing. This could cause StatusBarPolicy to see
the -1 values for the evdo strength parameters and hence 0 bars would
be displayed.

Bug: 2419251
Change-Id: Iba0bdbd2023b6a5e49fc1f82c997ec3219158286

14 years agoNew user interface sound effects:
Daniel Sandler [Mon, 25 Jan 2010 16:33:03 +0000 (11:33 -0500)]
New user interface sound effects:

 - Low battery. (http://b/2320026)
 - Dock/undock events.
 - Keyguard lock/unlock events.

New system settings have been created to turn these on/off
and to specify the relevant sound files.

[Production notes: The provided low battery sound and dock
sounds were synthesized; the lock screen sounds are
processed samples of a ballpoint pen click mechanism.]

Bug: 2320026
Change-Id: I374285b0f94f59c7555bb8816580f5a8c802e90d

14 years agofix build breakage due to javadoc error
Doug Zongker [Sat, 13 Feb 2010 02:00:30 +0000 (18:00 -0800)]
fix build breakage due to javadoc error

Change-Id: Ie74e8e43a018fce0eaf34efead206ae03b82830a

14 years agoam ddcf25ea: (-s ours) am 2be56ccb: Merge "Add --auto-add-overlay option to aapt...
Xavier Ducrohet [Sat, 13 Feb 2010 01:55:17 +0000 (17:55 -0800)]
am ddcf25ea: (-s ours) am 2be56ccb: Merge "Add --auto-add-overlay option to aapt. DO NOT MERGE" into eclair

Merge commit 'ddcf25ea7e1b21b908da73000630c72d6fa146b4'

* commit 'ddcf25ea7e1b21b908da73000630c72d6fa146b4':
  Add --auto-add-overlay option to aapt. DO NOT MERGE

14 years agoam 2be56ccb: Merge "Add --auto-add-overlay option to aapt. DO NOT MERGE" into eclair
Xavier Ducrohet [Sat, 13 Feb 2010 01:52:28 +0000 (17:52 -0800)]
am 2be56ccb: Merge "Add --auto-add-overlay option to aapt. DO NOT MERGE" into eclair

Merge commit '2be56ccbcff9d5f7b9b3cc0fed3825d4f037ff6a' into eclair-plus-aosp

* commit '2be56ccbcff9d5f7b9b3cc0fed3825d4f037ff6a':
  Add --auto-add-overlay option to aapt. DO NOT MERGE

14 years agoFix MotionEvent pointer API.
Dianne Hackborn [Fri, 12 Feb 2010 23:52:09 +0000 (15:52 -0800)]
Fix MotionEvent pointer API.

Ooops.  The API said that the pointer down and up actions contained
the pointer id, but it is actually the index.  Actually it makes
much more sense for it to be the index, and those ACTION_POINTER_1_DOWN
etc. constants were stupid.

14 years agoMerge "Add --auto-add-overlay option to aapt. DO NOT MERGE" into eclair
Xavier Ducrohet [Sat, 13 Feb 2010 01:48:36 +0000 (17:48 -0800)]
Merge "Add --auto-add-overlay option to aapt. DO NOT MERGE" into eclair

14 years agoMerge "@hide the bizarro Base64 stream constructors"
Doug Zongker [Sat, 13 Feb 2010 01:45:45 +0000 (17:45 -0800)]
Merge "@hide the bizarro Base64 stream constructors"

14 years ago@hide the bizarro Base64 stream constructors
Doug Zongker [Sat, 13 Feb 2010 01:41:40 +0000 (17:41 -0800)]
@hide the bizarro Base64 stream constructors

With no usages of these "backwards" streams, it's not clear that we
want to support them forever in the API.

Also fixed some badly cut-and-pasted javadoc.

Change-Id: I4811d22e493bf2b8eaf79b9e95526e7eab5f27ee

14 years agoAdd --auto-add-overlay option to aapt. DO NOT MERGE
Xavier Ducrohet [Fri, 5 Feb 2010 02:45:31 +0000 (18:45 -0800)]
Add --auto-add-overlay option to aapt. DO NOT MERGE

This option allows resources only present in overlays to be
added automatically instead of being declared through <add-resource>

(merge from master)

Change-Id: I5f402a1fa7213d18724d91f84bc05ef39ace2ed9

14 years agoMerge "Add comment block matching the type defines added by RS."
Jason Sams [Sat, 13 Feb 2010 01:26:46 +0000 (17:26 -0800)]
Merge "Add comment block matching the type defines added by RS."

14 years agoAdd comment block matching the type defines added by RS.
Jason Sams [Sat, 13 Feb 2010 01:24:28 +0000 (17:24 -0800)]
Add comment block matching the type defines added by RS.

14 years agoadd a Base64 implementation to the API
Doug Zongker [Fri, 12 Feb 2010 23:50:01 +0000 (15:50 -0800)]
add a Base64 implementation to the API

b/1413917 - RFE: Base64 utility class
Change-Id: I11697859e1f78f596b92d2e03a49ed1be04ae42d

14 years agoMerge "Replace Tremor with Tremolo (an ARM optimised version of the Tremor library...
Gloria Wang [Sat, 13 Feb 2010 01:04:29 +0000 (17:04 -0800)]
Merge "Replace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing Ogg Vorbis decompression)"

14 years agoReplace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing...
Gloria Wang [Sat, 13 Feb 2010 00:28:53 +0000 (16:28 -0800)]
Replace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing Ogg Vorbis decompression)

14 years agoMerge "Remove BACKUP_DATA permission and associated checks"
Chris Tate [Sat, 13 Feb 2010 00:30:39 +0000 (16:30 -0800)]
Merge "Remove BACKUP_DATA permission and associated checks"

14 years agoTweak updatecmds to be able to move entire directories.
Dianne Hackborn [Fri, 12 Feb 2010 22:58:04 +0000 (14:58 -0800)]
Tweak updatecmds to be able to move entire directories.

14 years agoForce layout on TableRows when column widths are shrinked or streched.
Gilles Debunne [Wed, 10 Feb 2010 03:08:36 +0000 (19:08 -0800)]
Force layout on TableRows when column widths are shrinked or streched.

Also features some comment typos and import re-ordering.

Change-Id: I32cb14419d7d349064032718469daf62a0a72e3a

14 years agoMerge "Closed tabs removed from layout."
Gilles Debunne [Fri, 12 Feb 2010 23:50:05 +0000 (15:50 -0800)]
Merge "Closed tabs removed from layout."

14 years agoRemove BACKUP_DATA permission and associated checks
Christopher Tate [Fri, 12 Feb 2010 22:12:34 +0000 (14:12 -0800)]
Remove BACKUP_DATA permission and associated checks

Any package can now participate in backup/restore, without requiring any
manifest-declared permission.  *Control* of the backup manager is still
guarded by the BACKUP permission, which is signatureOrSystem.

Change-Id: I116fcfcd4cd255e3c976330da1c4dea7d4faae9d

14 years agoam de7b14f9: am 19bc31c3: Merge "docs: remove old tutorial and sample pages from...
Scott Main [Fri, 12 Feb 2010 23:35:58 +0000 (15:35 -0800)]
am de7b14f9: am 19bc31c3: Merge "docs: remove old tutorial and sample pages from the sitemap" into eclair

Merge commit 'de7b14f9ab3df84bcb6af0775e96cab02648cbd9'

* commit 'de7b14f9ab3df84bcb6af0775e96cab02648cbd9':
  docs: remove old tutorial and sample pages from the sitemap

14 years agoMerge "Really fix the build - one more change to SearchDialog which shouldn't have...
Mike LeBeau [Fri, 12 Feb 2010 23:30:42 +0000 (15:30 -0800)]
Merge "Really fix the build - one more change to SearchDialog which shouldn't have been submitted."

14 years agoReally fix the build - one more change to SearchDialog which shouldn't have
Mike LeBeau [Fri, 12 Feb 2010 23:30:12 +0000 (15:30 -0800)]
Really fix the build - one more change to SearchDialog which shouldn't have
been submitted.

14 years agoam 19bc31c3: Merge "docs: remove old tutorial and sample pages from the sitemap"...
Scott Main [Fri, 12 Feb 2010 23:29:27 +0000 (15:29 -0800)]
am 19bc31c3: Merge "docs: remove old tutorial and sample pages from the sitemap" into eclair

Merge commit '19bc31c32d75ebebacd85cac2cf4c31108329613' into eclair-plus-aosp

* commit '19bc31c32d75ebebacd85cac2cf4c31108329613':
  docs: remove old tutorial and sample pages from the sitemap

14 years agoMerge "Oops, unbreak the build by removing Recognition.java, not intended for submiss...
Mike LeBeau [Fri, 12 Feb 2010 23:27:12 +0000 (15:27 -0800)]
Merge "Oops, unbreak the build by removing Recognition.java, not intended for submission at this time."

14 years agoOops, unbreak the build by removing Recognition.java, not intended for
Mike LeBeau [Fri, 12 Feb 2010 23:26:22 +0000 (15:26 -0800)]
Oops, unbreak the build by removing Recognition.java, not intended for
submission at this time.

14 years agoMerge "docs: remove old tutorial and sample pages from the sitemap" into eclair
Scott Main [Fri, 12 Feb 2010 23:25:44 +0000 (15:25 -0800)]
Merge "docs: remove old tutorial and sample pages from the sitemap" into eclair

14 years agodocs: remove old tutorial and sample pages from the sitemap
Scott Main [Fri, 12 Feb 2010 23:24:13 +0000 (15:24 -0800)]
docs: remove old tutorial and sample pages from the sitemap

14 years agoMerge "Watch 2274882: Add a field to the db when we wipe due to an error in the upgra...
Jim Miller [Fri, 12 Feb 2010 23:20:40 +0000 (15:20 -0800)]
Merge "Watch 2274882: Add a field to the db when we wipe due to an error in the upgrader."

14 years agoMerge "Log previous SQL statement also when logging "COMMIT;" operations."
Brad Fitzpatrick [Fri, 12 Feb 2010 23:20:14 +0000 (15:20 -0800)]
Merge "Log previous SQL statement also when logging "COMMIT;" operations."

14 years agoAdd a new KEYBOARD_TAP haptic feedback type for very short, low-latency vibration.
Amith Yamasani [Wed, 10 Feb 2010 23:24:49 +0000 (15:24 -0800)]
Add a new KEYBOARD_TAP haptic feedback type for very short, low-latency vibration.

The minimum value varies from device to device, so this is useful for defining
the shortest and most efficient vibration. The VibratorService creates a Thread
when playing back vibration patterns, so this allows you to avoid thread creation
and associated scheduling delays by specifying a one-shot duration in the config
file.

14 years agoWatch 2274882: Add a field to the db when we wipe due to an error in the upgrader.
Jim Miller [Fri, 12 Feb 2010 22:56:49 +0000 (14:56 -0800)]
Watch 2274882: Add a field to the db when we wipe due to an error in the upgrader.

This should give us the ability to diagnose and fix db upgrade errors as reported by partners and end users.

14 years agoMerge "Preserve a preview frame to be restored after resuming the playback session."
Andreas Huber [Fri, 12 Feb 2010 22:52:41 +0000 (14:52 -0800)]
Merge "Preserve a preview frame to be restored after resuming the playback session."

14 years agoMerge "Totally remove Unicode.cpp and rely on ICU"
Dianne Hackborn [Fri, 12 Feb 2010 22:49:54 +0000 (14:49 -0800)]
Merge "Totally remove Unicode.cpp and rely on ICU"

14 years agoPreserve a preview frame to be restored after resuming the playback session.
Andreas Huber [Fri, 12 Feb 2010 22:40:08 +0000 (14:40 -0800)]
Preserve a preview frame to be restored after resuming the playback session.

related-to-bug: 2231576

14 years agoTotally remove Unicode.cpp and rely on ICU
Kenny Root [Fri, 12 Feb 2010 22:09:24 +0000 (14:09 -0800)]
Totally remove Unicode.cpp and rely on ICU

Unicode.cpp used a packed data table for character data that essentially
duplicated ICU's functionality.

Change-Id: Ia68fe4ac94e89dc68d9a3f45f33f6e648a5500b7

14 years agoMerge "API change. add cycle_interpolator resource (it's the only one missing among...
Scott Main [Fri, 12 Feb 2010 22:37:15 +0000 (14:37 -0800)]
Merge "API change. add cycle_interpolator resource (it's the only one missing among all Interpolators) and update public.xml and current.xml with the new resource."

14 years agoMerge "Make the corresponding frameworks change to add VoiceRecognitionService to...
Mike LeBeau [Fri, 12 Feb 2010 22:31:00 +0000 (14:31 -0800)]
Merge "Make the corresponding frameworks change to add VoiceRecognitionService to the list of SDK sample apps."

14 years agoAPI change.
Scott Main [Fri, 29 Jan 2010 19:19:07 +0000 (11:19 -0800)]
API change.
add cycle_interpolator resource (it's the only one missing among
all Interpolators) and update public.xml and current.xml with the new resource.

14 years agoMake the corresponding frameworks change to add VoiceRecognitionService to
Mike LeBeau [Fri, 12 Feb 2010 22:09:55 +0000 (14:09 -0800)]
Make the corresponding frameworks change to add VoiceRecognitionService to
the list of SDK sample apps.

14 years agoMerge changes I128ce4b2,I5cbb940c
Mathias Agopian [Fri, 12 Feb 2010 22:09:03 +0000 (14:09 -0800)]
Merge changes I128ce4b2,I5cbb940c

* changes:
  real fix for [2440014] launcher2 crashing in loop during boot
  Revert "Revert "RenderScript should not depend on libsurfaceflinger_client.so""

14 years agoreal fix for [2440014] launcher2 crashing in loop during boot
Mathias Agopian [Fri, 12 Feb 2010 22:04:35 +0000 (14:04 -0800)]
real fix for [2440014] launcher2 crashing in loop during boot

Surface* cannot be casted to void* and then to android_native_window_t*

14 years agoMerge "Add Pointer Location to the window manager."
Dianne Hackborn [Fri, 12 Feb 2010 21:55:00 +0000 (13:55 -0800)]
Merge "Add Pointer Location to the window manager."

14 years agoMerge "Public Download Manager API"
Jean-Baptiste Queru [Fri, 12 Feb 2010 21:48:51 +0000 (13:48 -0800)]
Merge "Public Download Manager API"

14 years agoMerge "Excise code from Unicode.cpp that was dead"
Kenny Root [Fri, 12 Feb 2010 21:25:14 +0000 (13:25 -0800)]
Merge "Excise code from Unicode.cpp that was dead"

14 years agoMerge "New API on java's MediaPlayer to suspend/resume a session."
Andreas Huber [Fri, 12 Feb 2010 21:21:22 +0000 (13:21 -0800)]
Merge "New API on java's MediaPlayer to suspend/resume a session."

14 years agoAdd Pointer Location to the window manager.
Dianne Hackborn [Fri, 12 Feb 2010 06:19:06 +0000 (22:19 -0800)]
Add Pointer Location to the window manager.

The window manager now has pointer location built into it.
Viva la touch!

14 years agoExcise code from Unicode.cpp that was dead
Kenny Root [Fri, 12 Feb 2010 21:01:16 +0000 (13:01 -0800)]
Excise code from Unicode.cpp that was dead

Remove some utility functions for discovering character data
that ICU probably took over a while ago.

Change-Id: I97abe4de2f51eb2bf48679941258bc501184c3dc

14 years agoLog previous SQL statement also when logging "COMMIT;" operations.
Brad Fitzpatrick [Fri, 12 Feb 2010 20:49:41 +0000 (12:49 -0800)]
Log previous SQL statement also when logging "COMMIT;" operations.

Previously, as somewhat expected, the top SQL statements showing up in
the SQL analysis dashboards from developer phones was just "COMMIT;"
statements, which is pretty uselessly ambiguous.

Now the logs for commit operations look like:

I/db_operation( 1249): [/data/data/com.google.android.gsf/databases/subscribedfeeds.db,COMMIT;DELETE FROM _deleted_feeds WHERE _sync_account=? AND _syn,461,com.google.process.gapps,100]
I/db_operation( 1290): [/data/data/com.android.providers.contacts/databases/contacts2.db,COMMIT;SELECT account_name, account_type FROM _sync_state,126,android.process.acore,100]
I/db_operation( 1249): [/data/data/com.google.android.gsf/databases/talk.db,COMMIT;INSERT OR REPLACE  INTO providerSettings(value, name) VAL,252,com.google.process.gapps,100]
I/db_operation( 1377): [/data/data/com.android.providers.calendar/databases/calendar.db,COMMIT;SELECT localTimezone, minInstance, maxInstance FROM Calen,948,,100]
I/db_operation( 1377): [/data/data/com.android.providers.calendar/databases/calendar.db,COMMIT;SELECT begin-(minutes*60000) AS myAlarmTime, Instances.ev,82,,83]

It doesn't totally pin-point the offending code, but it should get us
most of the way there.  We may enhance this logging again in the
future.

14 years agoNew API on java's MediaPlayer to suspend/resume a session.
Andreas Huber [Fri, 12 Feb 2010 20:35:58 +0000 (12:35 -0800)]
New API on java's MediaPlayer to suspend/resume a session.

related-to-bug: 2231576

14 years agoSquashed commit of the following:
Andreas Huber [Fri, 12 Feb 2010 18:42:02 +0000 (10:42 -0800)]
Squashed commit of the following:

commit 427e927298449826bb5b98327b0c05957aa051e6
Author: Andreas Huber <andih@google.com>
Date:   Fri Feb 12 10:39:07 2010 -0800

    Fixing a race condition in AwesomePlayer and support for suspend/resume.

commit 96201a04b6657b6bd69ec6100f4de66aebcaa0b4
Author: Andreas Huber <andih@google.com>
Date:   Fri Feb 12 10:36:15 2010 -0800

    Protect MPEG4Source's sanity by properly locking.

related-to-bug: 2231576

14 years agoRevert "Revert "RenderScript should not depend on libsurfaceflinger_client.so""
Mathias Agopian [Fri, 12 Feb 2010 20:00:38 +0000 (12:00 -0800)]
Revert "Revert "RenderScript should not depend on libsurfaceflinger_client.so""

This reverts commit a0659aa36c987e28e29778bd97e75fe52152c60e.

14 years agoMerge "Dump original-package entries."
Jeff Hamilton [Fri, 12 Feb 2010 19:47:23 +0000 (11:47 -0800)]
Merge "Dump original-package entries."

14 years agoDump original-package entries.
Jeff Hamilton [Fri, 12 Feb 2010 19:45:16 +0000 (13:45 -0600)]
Dump original-package entries.

Change-Id: I29b20811847555ff9858ef47cca69c8b992b24ea

14 years agoMerge "Map base station lat-lng of "0","0" to undefined."
Nico Sallembien [Fri, 12 Feb 2010 19:36:59 +0000 (11:36 -0800)]
Merge "Map base station lat-lng of "0","0" to undefined."

14 years agoMerge "Fix javadoc link for SDK build breakage"
Adam Powell [Fri, 12 Feb 2010 19:35:17 +0000 (11:35 -0800)]
Merge "Fix javadoc link for SDK build breakage"

14 years agoam 79b646ff: (-s ours) am 0b9bbb6d: DO NOT MERGE. Merge Froyo renderscript to Eclair...
Jason Sams [Fri, 12 Feb 2010 19:33:46 +0000 (11:33 -0800)]
am 79b646ff: (-s ours) am 0b9bbb6d: DO NOT MERGE. Merge Froyo renderscript to Eclair to support live wallpapers on droid.  This gives the necessary CPU reduction to allow the wallpapers to work on the slower CPU.

Merge commit '79b646ffe51c532f00b69dc4967ee51ca28986cf'

* commit '79b646ffe51c532f00b69dc4967ee51ca28986cf':
  DO NOT MERGE. Merge Froyo renderscript to Eclair to support live wallpapers on droid.  This gives the necessary CPU reduction to allow the wallpapers to work on the slower CPU.

14 years agoFix javadoc link for SDK build breakage
Adam Powell [Fri, 12 Feb 2010 19:32:47 +0000 (11:32 -0800)]
Fix javadoc link for SDK build breakage

14 years agoam 0b9bbb6d: DO NOT MERGE. Merge Froyo renderscript to Eclair to support live wallpap...
Jason Sams [Fri, 12 Feb 2010 19:27:01 +0000 (11:27 -0800)]
am 0b9bbb6d: DO NOT MERGE. Merge Froyo renderscript to Eclair to support live wallpapers on droid.  This gives the necessary CPU reduction to allow the wallpapers to work on the slower CPU.

Merge commit '0b9bbb6dc5d7dabecf23e8c6bb4a267ba8c34fe8' into eclair-plus-aosp

* commit '0b9bbb6dc5d7dabecf23e8c6bb4a267ba8c34fe8':
  DO NOT MERGE. Merge Froyo renderscript to Eclair to support live wallpapers on droid.  This gives the necessary CPU reduction to allow the wallpapers to work on the slower CPU.

14 years agoModify ActivityInstrumentationTestCase2 to not require hardcoded package name.
Brett Chabot [Fri, 12 Feb 2010 04:07:17 +0000 (20:07 -0800)]
Modify ActivityInstrumentationTestCase2 to not require hardcoded package name.

Deprecate old constructor.

Bug 2440167

14 years agoMerge "add Base64InputStream"
Doug Zongker [Fri, 12 Feb 2010 18:55:20 +0000 (10:55 -0800)]
Merge "add Base64InputStream"

14 years agoadd Base64InputStream
Doug Zongker [Thu, 11 Feb 2010 22:37:17 +0000 (14:37 -0800)]
add Base64InputStream

Change-Id: I777b54bd6d01c86105b473a6701a06d350cee8d1

14 years agoMerge "Fix spurious ANRs involving window shuffling and non-fullscreen activities"
Chris Tate [Fri, 12 Feb 2010 18:53:07 +0000 (10:53 -0800)]
Merge "Fix spurious ANRs involving window shuffling and non-fullscreen activities"

14 years agoMerge "Fix key debounce (was too aggressive and buggy) and dismiss mini keyboard...
Amith Yamasani [Fri, 12 Feb 2010 18:50:32 +0000 (10:50 -0800)]
Merge "Fix key debounce (was too aggressive and buggy) and dismiss mini keyboard on cancel event."

14 years agoMerge "Implement navigator.isApplicationInstalled() API"
Andrei Popescu [Fri, 12 Feb 2010 18:38:03 +0000 (10:38 -0800)]
Merge "Implement navigator.isApplicationInstalled() API"

14 years agoImplement navigator.isApplicationInstalled() API
Andrei Popescu [Thu, 11 Feb 2010 13:19:21 +0000 (13:19 +0000)]
Implement navigator.isApplicationInstalled() API

This CL contains the framework plumbing to pass the package names to WebKit.

Fix b: 2371005

14 years agoOverscrolling modifications. Overscroll will not allow the user to
Adam Powell [Mon, 8 Feb 2010 22:30:45 +0000 (14:30 -0800)]
Overscrolling modifications. Overscroll will not allow the user to
scroll content out of view. Scrolling will slow down halfway to the
barrier point. API added in View. AbsListView, ScrollView,
HorizontalScrollView all use this API. Overscrolling uses haptic
feedback. Added scroll barrier pattern to config.xml.

14 years agoMap base station lat-lng of "0","0" to undefined.
Mark Vandevoorde [Thu, 11 Feb 2010 20:50:34 +0000 (12:50 -0800)]
Map base station lat-lng of "0","0" to undefined.

Also introduce a public constant for the invalid lat/lng value.

Change-Id: Ifaa1e563bfa94c06dfbba51157b9160055442682

14 years agoMerge "Fix issue 2418668: AudioManager isWiredHeadsetOn() always returns false for...
Eric Laurent [Fri, 12 Feb 2010 17:42:02 +0000 (09:42 -0800)]
Merge "Fix issue 2418668: AudioManager isWiredHeadsetOn() always returns false for headset without mic."

14 years agoMerge "add NO_CLOSE flag for use by Base64OutputStream"
Doug Zongker [Fri, 12 Feb 2010 17:31:20 +0000 (09:31 -0800)]
Merge "add NO_CLOSE flag for use by Base64OutputStream"

14 years agoFix issue 2418668: AudioManager isWiredHeadsetOn() always returns false for headset...
Eric Laurent [Fri, 12 Feb 2010 15:41:14 +0000 (07:41 -0800)]
Fix issue 2418668: AudioManager isWiredHeadsetOn() always returns false for headset without mic.

14 years agoMerge "Fixing the bug where mic button is not shown"
Bjorn Bringert [Fri, 12 Feb 2010 14:21:26 +0000 (06:21 -0800)]
Merge "Fixing the bug where mic button is not shown"

14 years agoFixing the bug where mic button is not shown
Valentin Kravtsov [Fri, 12 Feb 2010 14:19:11 +0000 (14:19 +0000)]
Fixing the bug where mic button is not shown

Change-Id: I8ac7bd4c1db85058f863bcfaf5ee30212644b2bd

14 years agoMerge "Disable distracting status bar ticker text in car mode."
Daniel Sandler [Fri, 12 Feb 2010 13:37:54 +0000 (05:37 -0800)]
Merge "Disable distracting status bar ticker text in car mode."

14 years agoMove the animations in the UI thread
Nicolas Roard [Thu, 11 Feb 2010 18:35:16 +0000 (18:35 +0000)]
Move the animations in the UI thread

14 years agoRevert "RenderScript should not depend on libsurfaceflinger_client.so"
Jack Palevich [Fri, 12 Feb 2010 10:21:26 +0000 (18:21 +0800)]
Revert "RenderScript should not depend on libsurfaceflinger_client.so"

This reverts commit 88b55fb090ace1a835f890758866f42f03795c12.

14 years agoDisable distracting status bar ticker text in car mode.
Daniel Sandler [Fri, 12 Feb 2010 04:35:49 +0000 (23:35 -0500)]
Disable distracting status bar ticker text in car mode.

Bug: 2420702

Change-Id: I17ade6355b60da5e77d17f3556c86a4aaf40d173

14 years agoAdd APIs for mapping between new and current package names.
Dianne Hackborn [Thu, 11 Feb 2010 23:57:09 +0000 (15:57 -0800)]
Add APIs for mapping between new and current package names.

This will allow Market and others to find out what the "real" name
of a package is, when it is currently running under the old name of
a previously installed version.

14 years agoMerge "Fix 2438785: Add missing key code to landscape keyboard and fix log spew."
Jim Miller [Fri, 12 Feb 2010 03:18:56 +0000 (19:18 -0800)]
Merge "Fix 2438785: Add missing key code to landscape keyboard and fix log spew."

14 years agoFix key debounce (was too aggressive and buggy) and dismiss mini keyboard on cancel...
Amith Yamasani [Fri, 12 Feb 2010 02:51:25 +0000 (18:51 -0800)]
Fix key debounce (was too aggressive and buggy) and dismiss mini keyboard on cancel event.

Set a 70ms debounce time - i.e., if you spend less than 70ms on the touch-up key,
which was less time than the time spent on the previous key (assuming they weren't the same),
then don't emit the last key. Use the previous key that you lingered on for longer.

14 years agoDO NOT MERGE. Merge Froyo renderscript to Eclair to support live wallpapers on droid...
Jason Sams [Fri, 12 Feb 2010 02:16:21 +0000 (18:16 -0800)]
DO NOT MERGE. Merge Froyo renderscript to Eclair to support live wallpapers on droid.  This gives the necessary CPU reduction to allow the wallpapers to work on the slower CPU.

 Committer: Jason Sams <rjsams@android.com>

 On branch droid
 Changes to be committed:
   (use "git reset HEAD <file>..." to unstage)

modified:   libs/rs/rsAllocation.cpp
modified:   libs/rs/rsAllocation.h
modified:   libs/rs/rsContext.cpp
modified:   libs/rs/rsContext.h
modified:   libs/rs/rsProgram.cpp
modified:   libs/rs/rsProgram.h

Delete the old rollo sample which is obsolete.

Fix film init

Begin gl2 support.  Renderscript still uses GL1.1 by default.  However, 2.0 can be enabled and will render most tests correctly.

Fix film

Beging GL2 user shaders.  Switch master to using GL2 by default.

Implement RS tracked defered texture and buffer object uploads.

 Committer: Jason Sams <rjsams@android.com>

 On branch droid
 Changes to be committed:
   (use "git reset HEAD <file>..." to unstage)

modified:   libs/rs/rsAllocation.cpp
modified:   libs/rs/rsAllocation.h
modified:   libs/rs/rsContext.h
modified:   libs/rs/rsProgramFragment.cpp
modified:   libs/rs/rsSimpleMesh.cpp

Remove check for surface valid that is no longer valid.

Continue development of es2.0 user shader support for renderscript.  This change cleans up ProgramVertex creation and adds support for passing input, output, and constant type info.

Continue es2 shader dev

Conflicts:

graphics/java/android/renderscript/Program.java
graphics/java/android/renderscript/ProgramVertex.java

Place shader logging behind prop to declutter logs.

Fix emulated glColor in es2 mode.

Fix live wallpaper many.  Z coordinate was being ignored for draw quad call.

Add argument checking to sampler builder to disallow illegal modes.

Move texture bindings to base program object.  Change ProgramFragment creation to require a texture format in 1.0 mode.

Element restructuring.  Add support for new basic Element types including the RS objects and vectors(2-4).  In theory this paves the way for maintaining type info for RS objects, passing elements for GLSL uiforms/attribs/varyings, and supporting nested structures.

This will break some apps, checkings for other projects will follow to unbreak them.

Disable excessive RS logging.

Add RS support for generic attribs as input to vertex programs.

More complete support for named attribs.  Adds user typed attribs as available to programVertex.  Non user attribs are not treated like user for GL2 for simplicity.

Support npot on es 2.0 HW.

Change user attribs to look for empty slot rather than using them in order.  Prevents conflict with numbered legacy slots.

Fix npot but where mipmap level sizes were rounding in the wrong direction.  Should always be floor.

Implement type generation for user uniforms in vertex shader.

Remove excessive logging, fix error in GLSL uniform generation.

Fix RS mipmap generation for 8 bit alpha textures.

Cleanup seperation of Legacy and user attribs.  All user programs now use the new names.  Legacy vertex attribs are given default names.

Fix some minor bugs with GL state setup that were exposed by Droids driver.

Implement drawSpriteCropped on es2.0

14 years agoFix spurious ANRs involving window shuffling and non-fullscreen activities
Christopher Tate [Fri, 12 Feb 2010 01:51:24 +0000 (17:51 -0800)]
Fix spurious ANRs involving window shuffling and non-fullscreen activities

Force the event-target bookkeeping to reset when an app explicitly
acknowledges event receipt.  Furthermore, notify the event dispatcher
whenever a new window is created, even if there is nominally an
existing event target window.

These changes in tandem address a subtle race bug in which the event
dispatcher believes that there is an event recipient that it is still
waiting for even when the event in question has been acknowledged;
this results in a spurious ANR.  There were checks in the existing code
that wound up doing the right thing in the case of windows becoming
hidden, but the case of non-fullscreen activities floating over them
[unavailable for input but still visible] exposed the race condition.

Bug: 2432828
Change-Id: I29fb741aace34736b029f9ba43f2c43184366258

14 years agoMeasure walltime in ContentResolver and SQLiteDatabase operations logging.
Brad Fitzpatrick [Fri, 12 Feb 2010 02:04:49 +0000 (18:04 -0800)]
Measure walltime in ContentResolver and SQLiteDatabase operations logging.

The forgotten parts from Id72f718c / d72f718c9c.  Whoops.

Tested by watching a device's logcat -b events and observing no huge
or negative values.  And this time with the right system.img file,
even!

14 years agoMerge "Hiding the new TextToSpeech Intent extras for voice data check to fix the...
Charles Chen [Fri, 12 Feb 2010 01:49:20 +0000 (17:49 -0800)]
Merge "Hiding the new TextToSpeech Intent extras for voice data check to fix the build."

14 years agoHiding the new TextToSpeech Intent extras for voice data check
Charles Chen [Fri, 12 Feb 2010 01:45:55 +0000 (17:45 -0800)]
Hiding the new TextToSpeech Intent extras for voice data check
to fix the build.

14 years agoMerge "Measure walltime in ContentResolver and SQLiteDatabase operations logging."
Brad Fitzpatrick [Fri, 12 Feb 2010 01:30:58 +0000 (17:30 -0800)]
Merge "Measure walltime in ContentResolver and SQLiteDatabase operations logging."

14 years agoFix 2438785: Add missing key code to landscape keyboard and fix log spew.
Jim Miller [Fri, 12 Feb 2010 01:27:22 +0000 (17:27 -0800)]
Fix 2438785: Add missing key code to landscape keyboard and fix log spew.

14 years agoMeasure walltime in ContentResolver and SQLiteDatabase operations logging.
Brad Fitzpatrick [Fri, 12 Feb 2010 01:07:51 +0000 (17:07 -0800)]
Measure walltime in ContentResolver and SQLiteDatabase operations logging.

Previously, SQLiteDatabase was using Debug.threadCpuTimeNanos(), which
doesn't include I/O time (user-perceived latency), and ContentResolver
was using System.currentTimeMillis(), which didn't account for deep
sleeps.

Now both are consistently using SystemClock.uptimeMillis().

14 years agoFix build.
Raphael [Fri, 12 Feb 2010 01:01:16 +0000 (17:01 -0800)]
Fix build.

Change-Id: Ica616f038436e3639d12064327ddd0a9fa49af8b

14 years agoMerge "Adding Intent extra strings to TextToSpeech.Engine for doing voice data checks."
Charles Chen [Fri, 12 Feb 2010 00:57:43 +0000 (16:57 -0800)]
Merge "Adding Intent extra strings to TextToSpeech.Engine for doing voice data checks."

14 years agoMerge "Fix in layoutlib due to some changes in the frameworks."
Xavier Ducrohet [Fri, 12 Feb 2010 00:57:25 +0000 (16:57 -0800)]
Merge "Fix in layoutlib due to some changes in the frameworks."

14 years agoAdding Intent extra strings to TextToSpeech.Engine for doing
Charles Chen [Fri, 12 Feb 2010 00:44:45 +0000 (16:44 -0800)]
Adding Intent extra strings to TextToSpeech.Engine for doing
voice data checks.

14 years agoMerge "Improve a comment in RecognitionService."
Mike LeBeau [Fri, 12 Feb 2010 00:32:08 +0000 (16:32 -0800)]
Merge "Improve a comment in RecognitionService."

14 years agoImprove a comment in RecognitionService.
Mike LeBeau [Fri, 12 Feb 2010 00:31:34 +0000 (16:31 -0800)]
Improve a comment in RecognitionService.

14 years agoMerge "Use the new RecognitionService.SERVICE_INTERFACE instead of RecognizerIntent...
Mike LeBeau [Fri, 12 Feb 2010 00:25:52 +0000 (16:25 -0800)]
Merge "Use the new RecognitionService.SERVICE_INTERFACE instead of RecognizerIntent.ACTION_RECOGNIZE_SPEECH when finding a voice recognition service."

14 years agoFix in layoutlib due to some changes in the frameworks.
Xavier Ducrohet [Thu, 11 Feb 2010 23:37:31 +0000 (15:37 -0800)]
Fix in layoutlib due to some changes in the frameworks.

Some methods disappear or became abstract in the base class
(breaking @Override)

Change-Id: Id4d298ee84ba008ac97ecaaf90b19003ac09f104

14 years agoMerge "RenderScript should not depend on libsurfaceflinger_client.so"
Mathias Agopian [Thu, 11 Feb 2010 23:24:01 +0000 (15:24 -0800)]
Merge "RenderScript should not depend on libsurfaceflinger_client.so"