615 Commits

Author SHA1 Message Date
Android (Google) Code Review
657c80b146 Merge change 3775 into donut
* changes:
  DO NOT MERGE.
2009-06-11 15:21:02 -07:00
Jean-Michel Trivi
91bf30a477 TextToSpeech class cleanups
- harmonized private member variable names
- added success / failure codes (used for now in initialization)
- synchronized access to speech completed listener.
2009-06-11 14:35:48 -07:00
Android (Google) Code Review
35733757bd Merge change 3935 into donut
* changes:
  Hook the 12- or 24-hour time format checkbox back up.
2009-06-11 13:48:53 -07:00
Eric Fischer
af0e7a7394 Hook the 12- or 24-hour time format checkbox back up.
The format strings are newly generated from CLDR.  The code is once again
the same as in cupcake: do the natural thing for the locale if the user
has never specified, but follow the checkbox if the user has ever set it.
2009-06-11 13:37:04 -07:00
Android (Google) Code Review
286ea605c9 Merge change 3828 into donut
* changes:
  Renaming the Tts class to TextToSpeech for clarity. Switching to HashMap for parameter lists to pass key-value parameter pairs. Using TODO instead of FIXME in comments. Removing methods that don't belong anymore to the TTS interface now the feature becomes part of the platform.
2009-06-11 11:26:49 -07:00
Satish Sampath
35379abd46 Added attribute queryAfterZeroResults to searchables.
As of now we are just reading it from the xml and not acting upon it, that would come in a subsequent change.
2009-06-11 16:27:29 +01:00
Android (Google) Code Review
174231d89a Merge change 3879 into donut
* changes:
  ACTV: getWindowVisibility() instead of private attach count
2009-06-11 04:53:01 -07:00
Bjorn Bringert
50145bc883 ACTV: getWindowVisibility() instead of private attach count
When debugging a problem with the search dialog drop-down
sometimes not showing up, I saw that the mAttachCount variable
in AutoCompleteTextView could get a negative value because
onDetachedFromWindow() was called multiple times. This lead to
the drop-down not being displayed on filtering.

Instead of the private attach count in ACTV, this change
uses View.getWindowVisibility().
2009-06-11 12:30:48 +01:00
Satish Sampath
aba34d96fd Fix display of the selection background for search results.
I've used a simple approach of not drawing the solid background color for the selected item, thereby letting the default selection background to show through properly. This works by using the item's 'pressed' state and redraw code which are used by the listview during the tapping operation.
2009-06-11 10:24:26 +01:00
Android (Google) Code Review
a05487dd85 Merge change 3800 into donut
* changes:
  Add SUGGEST_SPINNER_WHILE_REFRESHING column constant to the SearchManager for use in implementing Google suggestion refreshing in global search.
2009-06-11 00:59:06 -07:00
Jean-Michel Trivi
a8518c169b Renaming the Tts class to TextToSpeech for clarity.
Switching to HashMap for parameter lists to pass key-value parameter pairs.
Using TODO instead of FIXME in comments.
Removing methods that don't belong anymore to the TTS interface now the feature
becomes part of the platform.
2009-06-10 21:32:38 -07:00
Christopher Tate
9bbc21a773 Flesh out restore interface on manager; work up most of LocalTransport 2009-06-10 20:38:54 -07:00
Android (Google) Code Review
b6391d6377 Merge change 3857 into donut
* changes:
  Allow arrays of values for power profile data.
2009-06-10 19:50:22 -07:00
Amith Yamasani
3718aaabe6 Allow arrays of values for power profile data.
Parse arrays for data that has different levels with non-linear
power increase.
Track radio data awake_time from kernel and mobile/total data
transfers.
Use dummy values for default power_profile.xml. Actual values will
be in a product overlay.
2009-06-10 19:45:28 -07:00
Mike LeBeau
ce0959df5c Add SUGGEST_SPINNER_WHILE_REFRESHING column constant to the SearchManager
for use in implementing Google suggestion refreshing in global search.
2009-06-11 00:41:55 +01:00
Android (Google) Code Review
1f35bf18ad Merge change 3795 into donut
* changes:
  URI/extra data for inline scheme.
2009-06-10 16:24:01 -07:00
Mitsuru Oshima
e5fb328825 resolution support fix/improvement
* adding compatibility menu
    * backup gravity
    * set expanable=true if the screen size is hvga * density.
    * added "supports any density" mode. I'll add sdk check later.
    * disallow to catch orientation change event if the app is not expandable. This
      was causing layout problem under non-expandable mode. I discussed this with Mike C
      and we agreed to do this approach for now. We'll revisit if this causes problem to
      a lot of applications.
2009-06-10 15:22:17 -07:00
Mitsuru Oshima
8eb241b877 URI/extra data for inline scheme. 2009-06-10 15:18:08 -07:00
Android (Google) Code Review
a45711aaeb Merge change 3765 into donut
* changes:
  Add a gservices flag to limit the size of protobufs we can gzip
2009-06-10 15:11:52 -07:00
Android (Google) Code Review
732912a103 Merge change 3730 into donut
* changes:
  Restructuring the TTS files so that it works as a Service
2009-06-10 15:09:37 -07:00
Android (Google) Code Review
b11e670e56 Merge change 3754 into donut
* changes:
  Fix some 12- vs 24-hour problems in the FormatDateRange strings.
2009-06-10 15:03:06 -07:00
Cynthia Wong
85427f71a4 Add a gservices flag to limit the size of protobufs we can gzip 2009-06-10 14:51:19 -07:00
Charles Chen
f85aa5a4d4 Restructuring the TTS files so that it works as a Service 2009-06-10 13:31:09 -07:00
Eric Fischer
84c863d9af Fix some 12- vs 24-hour problems in the FormatDateRange strings.
Use a resource instead of a hardcoded string for the 24-hour format
since it is not exactly the same in every locale.

Make sure the 12-hour format is actually for a 12-hour clock, even in
locales where this is not a normal thing to do.  In the cap_ampm version,
do not have it try to capitalize "am" and "pm" if these are non-ASCII
strings, since strftime() doesn't know about Unicode and will mess it up.

Add a comment so that people don't think the YEAR_IN_MILLIS constant is
actually the length of any real year.
2009-06-10 12:46:13 -07:00
Grace Kloba
41d2676dd6 DO NOT MERGE.
Merge 2391 from master to donut.

Added postUrl() to WebView so that we can pass lat/lon for the search.
2009-06-10 11:55:55 -07:00
Android (Google) Code Review
6b4b50b807 Merge change 2900 into donut
* changes:
  Add support for custom tab views in TabHost and TabWidget.
2009-06-10 11:41:49 -07:00
Jack Veenstra
53175148c9 Add support for custom tab views in TabHost and TabWidget.
This change adds the ability to specify an arbitrary view for a tab
indicator.  It also adds support for specifying a drawable to use as
the divider between tab views.
2009-06-10 11:38:02 -07:00
Android (Google) Code Review
9e09e0f439 Merge change 3724 into donut
* changes:
  zygote: Add CAP_SYS_NICE to system server capabilities
2009-06-10 11:05:05 -07:00
Christopher Tate
df01deaacf More restore plumbing, plus add suggested-backoff to transport API
Adds most of the code for a background-thread restore process, structured much
like the backup thread.  Broke some common functionality out into a helper
function for doing a synchronous wait for a requested agent to attach.

Added a method to IBackupTransport whereby the transport will be asked for
an opinion on whether this is a good time for a backup to happen.  It will
reply with the results of its policymaking around backoff intervals, time-of-day
selection, etc.
2009-06-10 10:53:24 -07:00
San Mehat
1caefa6c40 zygote: Add CAP_SYS_NICE to system server capabilities
Signed-off-by: San Mehat <san@google.com>
2009-06-10 09:09:51 -07:00
Android (Google) Code Review
a32b5f3252 Merge change 2411 into donut
* changes:
  Manual merge from cupcake_dcm. Need to be reviewed by enf.
2009-06-10 08:01:20 -07:00
Android (Google) Code Review
09ea1e9cce Merge change 3715 into donut
* changes:
  Show progress spinner while waiting for results in in app search.
2009-06-10 06:31:33 -07:00
Karl Rosaen
048d1a4821 Show progress spinner while waiting for results in in app search. 2009-06-10 14:17:21 +01:00
Romain Guy
cfbe8cf878 Fix the way gestures are rasterized to bitmaps.
It was just not working with multiple strokes.
2009-06-10 01:21:20 -07:00
Romain Guy
0e1ca5749a Add support for gestures in Home.
Adds a new animation style for the gestures pad, and de-normalize
the scores in the recognition engine.
2009-06-09 22:58:46 -07:00
Android (Google) Code Review
3279fbad63 Merge change 3652 into donut
* changes:
  Adding default text-to-speech language in Settings.Secure.
2009-06-09 17:46:12 -07:00
Jean-Michel Trivi
f478267d6a Adding default text-to-speech language in Settings.Secure. 2009-06-09 16:22:48 -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
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