817 Commits

Author SHA1 Message Date
Eric Fischer
137c450366 Regenerate all the date and time interval formats from CLDR data. 2009-06-09 14:51:16 -07:00
Android (Google) Code Review
9d19fdb231 Merge change 3576 into donut
* changes:
  Track clicks that occur after pivoting into an app from global search.
2009-06-09 12:45:35 -07:00
Karl Rosaen
d4c98c4c45 Track clicks that occur after pivoting into an app from global search.
(framework portion).

Global search has a write-only content provider for reporting clicks that SearchDialog
makes use of.

update: addressed code review feedback
2009-06-09 18:51:05 +01:00
Satish Sampath
4ab3c00993 Rename genieprovider to enhancedgooglesearch. 2009-06-09 17:44:46 +01:00
Satish Sampath
1c5fa0f310 Adds UI support for custom search widget item backgrounds.
- A new column was added to SearchManager cursors to specify background color (optional)
- Two new colour references added to the theme for normal and search widget corpus items (we need both to be opaque for the items to render properly)
- SuggestionAdapter was updated to choose the right theme colour for each item
2009-06-09 14:02:36 +01:00
Romain Guy
27a2b50ded Add a hidden API to modify the paint used to draw gestures. 2009-06-09 04:36:14 -07:00
Romain Guy
03f0b21b5a Fix several issues in the gestures libraries.
This mostly fixes how gestures libraries are saved and loaded.
Saving a library twice in a row was erasing the entire library,
which was preventing the sketch test app from working propertly.
2009-06-09 04:15:22 -07:00
Android (Google) Code Review
2d2b23119f Merge change 3561 into donut
* changes:
  Fix multiple strokes support when fade is disabled. Multiple strokes would always be accepted after the first one.
2009-06-09 03:19:07 -07:00
Romain Guy
73d2589d6d Fix multiple strokes support when fade is disabled.
Multiple strokes would always be accepted after the first one.
2009-06-09 03:18:10 -07:00
Romain Guy
7fe416e943 Fix bug in saving gestures stores. The outputstream was wrapping itself, thus causing huge problems. 2009-06-09 01:42:15 -07:00
Romain Guy
f642aa2a44 Removes gestures from ListView. 2009-06-08 23:24:18 -07:00
Jean-Michel Trivi
bac43254b2 In Tts class, removing method to set the specific engine to use as the
framework is always using the engine selected in the Text-To-Speech service.
2009-06-08 17:37:25 -07:00
Android (Google) Code Review
97d6f75646 Merge change 3491 into donut
* changes:
  Moving the Tts java class from the android.tts package to the android.speech.tts package. The Tts class (still hidden at this point) is the only Text-To-Speech class that will be exposed to application developers.
2009-06-08 17:27:18 -07:00
Jean-Michel Trivi
21a6a6d26b Moving the Tts java class from the android.tts package to the android.speech.tts package.
The Tts class (still hidden at this point) is the only Text-To-Speech class that will be
exposed to application developers.
2009-06-08 16:39:01 -07:00
Christopher Tate
9b3905c4a2 Revamp IRestoreSession a bit
We now supply an array of RestoreSet objects instead of wacky Bundle
shenanigans.  Also, pushed beginRestoreSession() out to the BackupManager
concrete interface class so that SetupWizard can use it.

(beginRestoreSession() is @hide, non-privileged apps cannot use it.  It's
also guarded by android.permission.BACKUP enforcement.)
2009-06-08 16:01:24 -07:00
Android (Google) Code Review
bad927a987 Merge change 3480 into donut
* changes:
  Do not automatically enable gestures in list based on filtering/fastscroll status. Enable gestures in Contacts for now.
2009-06-08 14:59:13 -07:00
Romain Guy
0a20264db8 Do not automatically enable gestures in list based on filtering/fastscroll status. Enable gestures in Contacts for now. 2009-06-08 14:47:01 -07:00
Android (Google) Code Review
410ea66256 Merge change 3471 into donut
* changes:
  Fix contact creation.
2009-06-08 13:28:01 -07:00
Android (Google) Code Review
996b1c8d68 Merge change 3431 into donut
* changes:
  Moved error status from SpeechServiceRecognizerListener
2009-06-08 13:06:30 -07:00
Ken Shirriff
e7eb9662c3 Fix contact creation.
This was broken by my change 2934.
bug=1903820
2009-06-08 12:52:50 -07:00
Mitsuru Oshima
409895e374 Moved error status from SpeechServiceRecognizerListener 2009-06-08 02:28:04 -07:00
Android (Google) Code Review
58c244125f Merge change 3422 into donut
* changes:
  Check AirplaneMode when enabling Bluetooth has finished.
2009-06-07 21:42:14 -07:00
Daisuke Miyakawa
5c43f735d9 Check AirplaneMode when enabling Bluetooth has finished.
This is part of manual merge from cupcake_dcm to donut.
Should be reviewed by mchan and takaoka.
Original internal CL: 149471-p9
2009-06-08 12:57:55 +09:00
Christopher Tate
8c850b792f Add IRestoreSession interface for the restore flow
Restore is a fairly complicated, somewhat stateful process, so we introduce
a new interface to encapsulate the various bits and pieces into a nicely
separable component.  In particular, this will make it much cleaner to
open and interrogate an expensive-to-construct transport and then reuse it
for the actual restore process itself.
2009-06-07 19:33:20 -07:00
Christopher Tate
b4a6188a74 Add rough-draft restore API set to IBackupTransport
* getAvailableBackups returns the list of backup sets available for restore

* getAppSet() returns the set of apps available from a given backup set

* getRestoreData() streams the full backup data for a given application
(within a given backup set) into a FD; that data will be handed to the
app's backup agent for processing.
2009-06-07 15:30:44 -07:00
Christopher Tate
7b88128e08 Adjust IBackupTransport interface
Instead of just passing a package name to performBackup, pass the whole
PackageInfo struct, explicitly including the list of signatures for the package.
No need to make each transport look this up individually when it's a necessary
part of the backup payload for each app.
2009-06-07 13:55:42 -07:00
Android (Google) Code Review
4e0b13c9a9 Merge change 3348 into donut
* changes:
  Fix AlphabetIndexer.getSectionForPosition()
2009-06-05 14:53:00 -07:00
Suchi Amalapurapu
d299b8194d Add a new attribute to android manifest for defining the GLES version number.
This attribute is parsed by the PackageParser into ConfigurationInfo. The major
and minor version numbers are defined as the higher and lower order bits.
2009-06-05 13:49:09 -07:00
Android (Google) Code Review
7b0d2d933d Merge change 3223 into donut
* changes:
  Adding new Settings.Secure properties for the Text-To-Speech functionality. Those properties are secure to prevent applications from altering the user's settings without his knowledge.
2009-06-05 13:29:21 -07:00
Phil Dubach
1b111bb6e2 Fix AlphabetIndexer.getSectionForPosition()
This did not properly set the cursor position before reading, which
resulted in wrong return values or exceptions in the cursor.
2009-06-05 12:27:59 -07:00
Jean-Michel Trivi
f62ba452bb Adding new Settings.Secure properties for the Text-To-Speech functionality.
Those properties are secure to prevent applications from altering the user's settings without his knowledge.
2009-06-05 11:29:16 -07:00
Android (Google) Code Review
3966536766 Merge change 3317 into donut
* changes:
  Fixes #1899273.
2009-06-05 11:27:52 -07:00
Romain Guy
834f0391b5 Fixes #1899273.
When a "ghost" stroke was showing, events would be intercepted in ListView. This patch modifies the logic used to detect when to still events: either the current stroke is a gesture, or the previous stroke was a gesture.
2009-06-05 11:24:09 -07:00
Android (Google) Code Review
716b56817a Merge change 2934 into donut
* changes:
  Don't crash on null edit url.
2009-06-05 10:12:34 -07:00
Satish Sampath
f9acde2748 Include web search providers in Searchables.
- Along with ACTION_SEARCH we now enumate ACTION_WEB_SEARCH as well so web search providers are covered in the searchables list. This fixes a broken unit test.
- Moved get/setPreferredWebSearchActivity and get-all-web-search-providers implementation to this module when the searchables list gets updated, so that it happens on boot and on package add/remove events and remains up to date. The duplicate code in WebSearchProvider will be removed in a separate change.
- Also made Searchables broadcast an intent when the searchables list got rebuilt, so components such as GlobalSearch/SuggestionSources no longer need to do this on their own.
2009-06-05 10:34:53 +01:00
Android (Google) Code Review
7ebda6f110 Merge change 3265 into donut
* changes:
  A workaround to fix rotation issue. I'm remote now and hard to do troubleshooting (i cannot rotate emulator in nx..)
2009-06-04 18:59:10 -07:00
Mitsuru Oshima
2f5e6b2d31 A workaround to fix rotation issue. I'm remote now and hard to do troubleshooting (i cannot rotate emulator in nx..) 2009-06-04 18:06:27 -07:00
Mike LeBeau
48603e7fed Add new SHOW_WEB_SUGGESTIONS system setting, referenced by the search settings
(in a follow-on change). This setting, to be respected by global search, and which
I will also file a bug to the browser to respect, determines whether live web
suggestions will be shown to the user as they type. For privacy reasons, this
could be considered undesirable, as partial queries can then be sent to the user's
chosen search engine, so a setting was required.
2009-06-05 01:07:20 +01:00
Android (Google) Code Review
54de90635e Merge change 3243 into donut
* changes:
  Fix backup agent unbind
2009-06-04 16:01:41 -07:00
Ken Shirriff
7a9e348c07 Don't crash on null edit url.
bug=1568060
2009-06-04 15:59:48 -07:00
Android (Google) Code Review
12bba91223 Merge change 3238 into donut
* changes:
  Browser edit fields should report variation WEB_EDIT_TEXT.
2009-06-04 15:50:05 -07:00
Android (Google) Code Review
ad8a510fcc Merge change 3227 into donut
* changes:
  Fix int to string mapping of exported properties. The value generated by the mapping in a @ViewDebug.ExportedProperty annotation was always overriden by the resolveId attribute.
2009-06-04 15:12:06 -07:00
Romain Guy
a1f3e4aef1 Fix int to string mapping of exported properties. The value generated by the
mapping in a @ViewDebug.ExportedProperty annotation was always overriden by
the resolveId attribute.
2009-06-04 15:10:46 -07:00
Amith Yamasani
88db3448cf Browser edit fields should report variation WEB_EDIT_TEXT.
This will enable the IME to enable/disable prediction features
for browser fields where the exact type is not very well defined.
Part of the fix for #1743620
2009-06-04 15:07:29 -07:00
Christopher Tate
1885b37913 Fix backup agent unbind
The handwritten binder transaction passing wasn't propagating the agent-destroy
transaction to the client side.  Oops.

Also, remove obsolete run-one-agent code from the backup manager service.
2009-06-04 15:02:37 -07:00
Android (Google) Code Review
b640da8fcb Merge change 3204 into donut
* changes:
  Avoid touching all adapter items when building accessibility event.
2009-06-04 14:12:02 -07:00
Android (Google) Code Review
2a3188672a Merge change 3203 into donut
* changes:
  rename a few files to camel-case, add copyright notices
2009-06-04 14:08:29 -07:00
Amith Yamasani
d296fafab5 Avoid touching all adapter items when building accessibility event.
Only check for enabled items if the list is less than 15 items.
2009-06-04 14:00:20 -07:00
Mathias Agopian
8ae2335a3c rename a few files to camel-case, add copyright notices 2009-06-04 13:53:57 -07:00
Android (Google) Code Review
7835b0b742 Merge change 3192 into donut
* changes:
  Fixes #1882836.
2009-06-04 13:28:20 -07:00