18401 Commits

Author SHA1 Message Date
Kenny Root
564bfc27f2 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
2010-02-12 13:01:16 -08:00
Jeff Hamilton
965e37ec88 Merge "Dump original-package entries." 2010-02-12 11:47:23 -08:00
Jeff Hamilton
e2c17f9174 Dump original-package entries.
Change-Id: I29b20811847555ff9858ef47cca69c8b992b24ea
2010-02-12 13:45:16 -06:00
Nico Sallembien
d72b313726 Merge "Map base station lat-lng of "0","0" to undefined." 2010-02-12 11:36:59 -08:00
Adam Powell
1257b1016c Merge "Fix javadoc link for SDK build breakage" 2010-02-12 11:35:17 -08:00
Jason Sams
41fe19afe7 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.
2010-02-12 11:33:46 -08:00
Adam Powell
4886d40091 Fix javadoc link for SDK build breakage 2010-02-12 11:32:47 -08:00
Jason Sams
79b646ffe5 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.
2010-02-12 11:27:01 -08:00
Brett Chabot
90762d35a9 Modify ActivityInstrumentationTestCase2 to not require hardcoded package name.
Deprecate old constructor.

Bug 2440167
2010-02-12 11:09:26 -08:00
Doug Zongker
30e694aea1 Merge "add Base64InputStream" 2010-02-12 10:55:20 -08:00
Doug Zongker
2dc87f6824 add Base64InputStream
Change-Id: I777b54bd6d01c86105b473a6701a06d350cee8d1
2010-02-12 10:53:46 -08:00
Chris Tate
11f7c7e077 Merge "Fix spurious ANRs involving window shuffling and non-fullscreen activities" 2010-02-12 10:53:07 -08:00
Amith Yamasani
93c0a0d90c Merge "Fix key debounce (was too aggressive and buggy) and dismiss mini keyboard on cancel event." 2010-02-12 10:50:32 -08:00
Andrei Popescu
d0534f4efb Merge "Implement navigator.isApplicationInstalled() API" 2010-02-12 10:38:03 -08:00
Andrei Popescu
a6d747d5c7 Implement navigator.isApplicationInstalled() API
This CL contains the framework plumbing to pass the package names to WebKit.

Fix b: 2371005
2010-02-12 18:34:19 +00:00
Adam Powell
0b8bb4282a 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.
2010-02-12 10:26:25 -08:00
Mark Vandevoorde
9384b145e6 Map base station lat-lng of "0","0" to undefined.
Also introduce a public constant for the invalid lat/lng value.

Change-Id: Ifaa1e563bfa94c06dfbba51157b9160055442682
2010-02-12 10:13:12 -08:00
Eric Laurent
8bd3f749e8 Merge "Fix issue 2418668: AudioManager isWiredHeadsetOn() always returns false for headset without mic." 2010-02-12 09:42:03 -08:00
Doug Zongker
8cd61bc894 Merge "add NO_CLOSE flag for use by Base64OutputStream" 2010-02-12 09:31:20 -08:00
Eric Laurent
6015a97154 Fix issue 2418668: AudioManager isWiredHeadsetOn() always returns false for headset without mic. 2010-02-12 07:41:14 -08:00
Bjorn Bringert
70251b1704 Merge "Fixing the bug where mic button is not shown" 2010-02-12 06:21:26 -08:00
Valentin Kravtsov
cccd63c8e8 Fixing the bug where mic button is not shown
Change-Id: I8ac7bd4c1db85058f863bcfaf5ee30212644b2bd
2010-02-12 14:19:11 +00:00
Daniel Sandler
133753f9c0 Merge "Disable distracting status bar ticker text in car mode." 2010-02-12 05:37:54 -08:00
Nicolas Roard
ac6df2d037 Move the animations in the UI thread 2010-02-12 11:38:41 +00:00
Jack Palevich
a0659aa36c Revert "RenderScript should not depend on libsurfaceflinger_client.so"
This reverts commit 88b55fb090ace1a835f890758866f42f03795c12.
2010-02-12 18:21:26 +08:00
Daniel Sandler
a0430a1860 Disable distracting status bar ticker text in car mode.
Bug: 2420702

Change-Id: I17ade6355b60da5e77d17f3556c86a4aaf40d173
2010-02-12 01:06:22 -05:00
Dianne Hackborn
470969346d 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.
2010-02-11 20:02:20 -08:00
Jim Miller
b509065a58 Merge "Fix 2438785: Add missing key code to landscape keyboard and fix log spew." 2010-02-11 19:18:56 -08:00
Amith Yamasani
7aa936e836 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.
2010-02-11 18:51:25 -08:00
Jason Sams
0b9bbb6dc5 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
2010-02-11 18:16:21 -08:00
Christopher Tate
136b1f927f 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
2010-02-11 18:07:22 -08:00
Brad Fitzpatrick
6a35387617 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!
2010-02-11 18:06:51 -08:00
Charles Chen
5a4b1d9e63 Merge "Hiding the new TextToSpeech Intent extras for voice data check to fix the build." 2010-02-11 17:49:20 -08:00
Charles Chen
f1e245f740 Hiding the new TextToSpeech Intent extras for voice data check
to fix the build.
2010-02-11 17:45:55 -08:00
Brad Fitzpatrick
1202cf15e3 Merge "Measure walltime in ContentResolver and SQLiteDatabase operations logging." 2010-02-11 17:30:58 -08:00
Jim Miller
ec52eedc2c Fix 2438785: Add missing key code to landscape keyboard and fix log spew. 2010-02-11 17:28:29 -08:00
Brad Fitzpatrick
d72f718c9c 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().
2010-02-11 17:07:51 -08:00
Raphael
dc2df328b3 Fix build.
Change-Id: Ica616f038436e3639d12064327ddd0a9fa49af8b
2010-02-11 17:01:16 -08:00
Charles Chen
387e805147 Merge "Adding Intent extra strings to TextToSpeech.Engine for doing voice data checks." 2010-02-11 16:57:43 -08:00
Xavier Ducrohet
35bb8b004e Merge "Fix in layoutlib due to some changes in the frameworks." 2010-02-11 16:57:25 -08:00
Charles Chen
76d9c3cb4f Adding Intent extra strings to TextToSpeech.Engine for doing
voice data checks.
2010-02-11 16:44:45 -08:00
Mike LeBeau
f26919e386 Merge "Improve a comment in RecognitionService." 2010-02-11 16:32:08 -08:00
Mike LeBeau
2f853ea47a Improve a comment in RecognitionService. 2010-02-11 16:31:34 -08:00
Mike LeBeau
cb6351c3a3 Merge "Use the new RecognitionService.SERVICE_INTERFACE instead of RecognizerIntent.ACTION_RECOGNIZE_SPEECH when finding a voice recognition service." 2010-02-11 16:25:52 -08:00
Xavier Ducrohet
99e1cdae99 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
2010-02-11 15:37:31 -08:00
Mathias Agopian
111c178bc4 Merge "RenderScript should not depend on libsurfaceflinger_client.so" 2010-02-11 15:24:01 -08:00
Mike LeBeau
cb0be8a530 Use the new RecognitionService.SERVICE_INTERFACE instead of
RecognizerIntent.ACTION_RECOGNIZE_SPEECH when finding a voice
recognition service.
2010-02-11 15:01:27 -08:00
Mathias Agopian
88b55fb090 RenderScript should not depend on libsurfaceflinger_client.so 2010-02-11 14:57:11 -08:00
Marco Nelissen
7356b0b066 Merge "Fix simulator build." 2010-02-11 14:42:01 -08:00
Marco Nelissen
6b03844b48 Fix simulator build. 2010-02-11 14:41:20 -08:00