8784 Commits

Author SHA1 Message Date
Scott Main
f2522ce487 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." 2010-02-12 14:37:15 -08:00
Mike LeBeau
80eeeb7095 Merge "Make the corresponding frameworks change to add VoiceRecognitionService to the list of SDK sample apps." 2010-02-12 14:31:00 -08:00
Scott Main
749ee4fefd 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.
2010-02-12 14:13:27 -08:00
Mike LeBeau
9c57aca188 Make the corresponding frameworks change to add VoiceRecognitionService to
the list of SDK sample apps.
2010-02-12 14:09:55 -08:00
Dianne Hackborn
96898b38fa Merge "Add Pointer Location to the window manager." 2010-02-12 13:55:00 -08:00
Jean-Baptiste Queru
d85639afb6 Merge "Public Download Manager API" 2010-02-12 13:48:51 -08:00
Dianne Hackborn
90d2db3d21 Add Pointer Location to the window manager.
The window manager now has pointer location built into it.
Viva la touch!
2010-02-12 13:19:06 -08:00
Brad Fitzpatrick
b28c7972bd 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.
2010-02-12 12:49:41 -08:00
Adam Powell
1257b1016c Merge "Fix javadoc link for SDK build breakage" 2010-02-12 11:35:17 -08:00
Adam Powell
4886d40091 Fix javadoc link for SDK build breakage 2010-02-12 11:32:47 -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
Valentin Kravtsov
cccd63c8e8 Fixing the bug where mic button is not shown
Change-Id: I8ac7bd4c1db85058f863bcfaf5ee30212644b2bd
2010-02-12 14:19:11 +00:00
Nicolas Roard
ac6df2d037 Move the animations in the UI thread 2010-02-12 11:38:41 +00: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
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
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
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
Dianne Hackborn
315ada7fbb Get rid of the limit-unlock policy control.
This is merged with force-lock.  These both allow effectively the same thing,
so there is no reason to junk up the user experience with them as separate
entities.
2010-02-11 14:36:30 -08:00
Shimeng (Simon) Wang
51c02dbf75 Enhance URL regular expression to match more Unicode chars.
Enhance URL regular expression to match legal one byte Unicode characters in
Internationalized Resource Identifiers as detailed in RFC 3987.  Specifically
two byte Unicode characters are not included.  Not all things in RFC 3987 is
implemented, this is just an enhancement for recognizing more common used one
byte Unicode characters.

This change helps Browser address bar identify more valid URL without scheme
typed in, such as 현금영수증.kr

make-iana-tld-pattern.py is modified to contain only Top Level Domain
regular expression generation.  Other parts of WEB_URL pattern are in
solely in Patters.java for better consistency and maintenance.
2010-02-11 14:07:44 -08:00
Mike LeBeau
9a31962404 Merge "Add SERVICE_INTERFACE and SERVICE_META_DATA constants to RecognitionService, to be used by anyone implementing a voice recognition service. Also define a new <recognition-service> styleable to be used in such service's metadata xml." 2010-02-11 14:05:27 -08:00
Mike LeBeau
378ae126d9 Add SERVICE_INTERFACE and SERVICE_META_DATA constants to RecognitionService,
to be used by anyone implementing a voice recognition service. Also define
a new <recognition-service> styleable to be used in such service's metadata
xml.

Still to do: Change VoiceSearch's GoogleRecognitionService to respond to this
intent, and actually use this intent instead of ACTION_RECOGNIZE_SPEECH here
in RecognitionService.
2010-02-11 14:02:46 -08:00
Mathias Agopian
000479f9e3 split libsurfaceflinger_client and libcamera_client out of libui 2010-02-11 13:16:22 -08:00
Tobias Haamel
27b28b3f62 Introduce special UI modes for night and car usage.
The device mode is now called ui mode. Furthermore is the order of
precedence for the resources now in such a way that the ui mode needs
to be specified after the orientation and before the density.

The ui mode can be set, like it is done for the locale, as follows:

IActivityManager am = ActivityManagerNative.getDefault();
Configuration config = am.getConfiguration();
config.uiMode = Configuration.UI_MODE_TYPE_CAR | Configuration.UI_MODE_NIGHT_ANY;
am.updateConfiguration(config);

To allow users to disable the car mode and set the night mode the IUiModeManager
interface is used.

The automatic night mode switching will be added in a separate change.
2010-02-11 21:25:58 +01:00
Mike LeBeau
1ceb79e99c Merge "Add new setting for the ComponentName of the service to be used for voice recognition on the device. Right now this just queries the package manager at boot and finds the (hopefully) single available recognizer." 2010-02-11 11:41:16 -08:00
Mike LeBeau
5d34e9b63d Add new setting for the ComponentName of the service to be used
for voice recognition on the device. Right now this just queries
the package manager at boot and finds the (hopefully) single
available recognizer.

TODO: Add an attribute to let recognition services expose a settings
activity, and expose the settings activity of the chosen recognition
service in the system settings for voice input & output.
2010-02-11 11:40:02 -08:00
Eric Laurent
777db0c08a Merge "resolved conflicts for merge of 61bb25f2 to master" 2010-02-11 11:16:36 -08:00
Dianne Hackborn
6dee18c5cf New implementation of <original-package> tag.
We now have the new package retain the name of the old package.  This makes
sure that all existing references to it (shortcuts, widgets, etc) will still
work.

This does mean that your package can run under either the old or new name,
depending on whether the user got it with an update.  Buyer beware!

I have tried testing all of the paths of updating, installing another
update in /data, uninstalling the update, updating system with an even
newer update, etc.  I think they all work.  No promises though.
2010-02-11 11:04:49 -08:00
Eric Laurent
d7b92a0ff3 resolved conflicts for merge of 61bb25f2 to master 2010-02-11 10:38:28 -08:00
San Mehat
1ab6d75158 Merge "MountService: Fix some mountset bugs and tighten up some return values" 2010-02-11 10:25:59 -08:00
Dan Egnor
18e9396235 Eliminate dependencies on Checkin, replacing checkin events with EventLog
events (and in one case, a DropBox entry).

Add a simple intent that triggers master-clear (and toggle EFS), given the
right permissions.

Bug: 2264596
Bug: 2350452
Bug: 2264596
2010-02-11 10:22:09 -08:00
Eric Laurent
61bb25f2f9 am c1eba82b: Merge "Fix issue: 2413494: Add TTY support." into eclair
Merge commit 'c1eba82ba479006045c1d7a4c8ceba116a9602d1' into eclair-plus-aosp

* commit 'c1eba82ba479006045c1d7a4c8ceba116a9602d1':
  Fix issue: 2413494: Add TTY support.
2010-02-11 09:34:59 -08:00
Eric Laurent
c1eba82ba4 Merge "Fix issue: 2413494: Add TTY support." into eclair 2010-02-11 09:23:21 -08:00
Amith Yamasani
5e2c81dca6 Remove in-app to global search toggle. Bug: 2436539
Quick fix to ignore the search key in SearchDialog. Need to
cleanup related code.
2010-02-11 07:29:45 -08:00
San Mehat
a181b21305 MountService: Fix some mountset bugs and tighten up some return values
Signed-off-by: San Mehat <san@google.com>
2010-02-11 06:50:31 -08:00
Bjorn Bringert
91f2a20a59 Add content provider for browser geolocation permissions
This replaces the old Google-specific geolocation setting.

Fixes http://b/issue?id=2428694
Part of http://b/issue?id=2383870

Change-Id: I6308b476ad18b1d71d7438b936c592a45365c9f0
2010-02-11 10:02:39 +00:00