375 Commits

Author SHA1 Message Date
Satish Sampath
64420d4f17 am 7f50c08f: Show proper suggestion item hilite on selection.
Merge commit '7f50c08fb998786a2963e979cd5b4347e64808e3'

* commit '7f50c08fb998786a2963e979cd5b4347e64808e3':
  Show proper suggestion item hilite on selection.
2009-06-12 08:26:25 -07:00
Android (Google) Code Review
26cae05217 am 35733757: Merge change 3935 into donut
Merge commit '35733757bd1644f1fd67dc3a055391d1f167c4f2'

* commit '35733757bd1644f1fd67dc3a055391d1f167c4f2':
  Hook the 12- or 24-hour time format checkbox back up.
2009-06-12 04:59:33 -07:00
Satish Sampath
7f50c08fb9 Show proper suggestion item hilite on selection.
With the new implementation of using a SuggestionItemView, we no longer need to draw a solid background for all items in the suggestion listview. Hence removing the code to draw a default white background, and make the item transparent so the listview-drawn selection hilite shows through.
2009-06-12 11:58:46 +01: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
Satish Sampath
d881dc7d6a am d8210899: NEW_API: Expose queryAfterZeroResults searchable attribute.
Merge commit 'd82108993f4550bf7a751ab27593ef8e15120db3'

* commit 'd82108993f4550bf7a751ab27593ef8e15120db3':
  NEW_API: Expose queryAfterZeroResults searchable attribute.
2009-06-11 11:41:32 -07:00
Satish Sampath
805cbc45df am 35379abd: Added attribute queryAfterZeroResults to searchables.
Merge commit '35379abd46b68a4efa20035c6c8b9d1faceb4dcc'

* commit '35379abd46b68a4efa20035c6c8b9d1faceb4dcc':
  Added attribute queryAfterZeroResults to searchables.
2009-06-11 11:41:23 -07:00
Satish Sampath
d82108993f NEW_API: Expose queryAfterZeroResults searchable attribute.
If this attribute is provided and true, the searchable activity will be invoked for all queries in a particular session.
If set to false and the activity returned zero results for a query, it will not be invoked again in that session for supersets of that zero-results query. For example, if the activity returned zero results for "bo", it would not be queried again for "bob" as an optimization.

The default value is false.
2009-06-11 17:11:50 +01: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
a50b795161 am b6391d63: Merge change 3857 into donut
Merge commit 'b6391d6377883586995127c9926c1b5b8035fd60'

* commit 'b6391d6377883586995127c9926c1b5b8035fd60':
  Allow arrays of values for power profile data.
2009-06-11 00:45:27 -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
Android (Google) Code Review
737bae060a am ca436e24: Merge change 3782 into donut
Merge commit 'ca436e24dec0fa258a8a756c3e7d07bcb096c5b3'

* commit 'ca436e24dec0fa258a8a756c3e7d07bcb096c5b3':
  Reimport Portuguese translations.
2009-06-10 16:31:33 -07:00
Android (Google) Code Review
8e18d88c3b am b11e670e: Merge change 3754 into donut
Merge commit 'b11e670e56b30022dbaaa921390005a95dfd337b'

* commit 'b11e670e56b30022dbaaa921390005a95dfd337b':
  Fix some 12- vs 24-hour problems in the FormatDateRange strings.
2009-06-10 15:33:04 -07:00
Eric Fischer
ea6a49436a am c0c0b684: am a8c3821e: AI 149721: Import Portuguese translations.
Merge commit 'c0c0b6844e4e4cd3b872a80e51416cfd9ca124d9'

* commit 'c0c0b6844e4e4cd3b872a80e51416cfd9ca124d9':
  AI 149721: Import Portuguese translations.
2009-06-10 15:32:46 -07:00
Eric Fischer
1b201687de Reimport Portuguese translations. 2009-06-10 15:08:06 -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
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
Eric Fischer
c0c0b6844e am a8c3821e: AI 149721: Import Portuguese translations.
Merge commit 'a8c3821e5a9017b557744bf3439b0cde5ace86db' into donut

* commit 'a8c3821e5a9017b557744bf3439b0cde5ace86db':
  AI 149721: Import Portuguese translations.
2009-06-10 12:32:04 -07:00
Eric Fischer
a8c3821e5a AI 149721: Import Portuguese translations.
Automated import of CL 149721
2009-06-10 12:25:58 -07:00
Android (Google) Code Review
73870fdd3d am 295e7248: Merge change 3676 into donut
Merge commit '295e7248b11557cf80ee9b7a12009d9cec5bd8b0'

* commit '295e7248b11557cf80ee9b7a12009d9cec5bd8b0':
  Get the FormatDateRange tests passing again.
2009-06-10 10:04:10 -07:00
Android (Google) Code Review
295e7248b1 Merge change 3676 into donut
* changes:
  Get the FormatDateRange tests passing again.
2009-06-10 10:02:07 -07:00
Romain Guy
0d24e9b56b am 0e1ca574: Add support for gestures in Home.
Merge commit '0e1ca5749a96778869ef62f939542a61c034209b'

* commit '0e1ca5749a96778869ef62f939542a61c034209b':
  Add support for gestures in Home.
2009-06-09 23:00:50 -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
Eric Fischer
c110ec0ab6 Get the FormatDateRange tests passing again.
This fixes a few places that were accidentally using the wrong numbered
parameter in the format call.  It also makes other adjustments so that
the formats for English are exactly the same as they were in Cupcake.
2009-06-09 18:30:34 -07:00
Eric Fischer
b099c4699b resolved conflicts for merge of 137c45 to master 2009-06-09 16:56:37 -07:00
Eric Fischer
137c450366 Regenerate all the date and time interval formats from CLDR data. 2009-06-09 14:51:16 -07:00
Satish Sampath
d70df8cd37 am 4ab3c009: Rename genieprovider to enhancedgooglesearch.
Merge commit '4ab3c00993bd7932e5262d325e6d9943074844ed'

* commit '4ab3c00993bd7932e5262d325e6d9943074844ed':
  Rename genieprovider to enhancedgooglesearch.
2009-06-09 10:32:02 -07:00
Satish Sampath
4ab3c00993 Rename genieprovider to enhancedgooglesearch. 2009-06-09 17:44:46 +01:00
Satish Sampath
8762e0ac78 am 1c5fa0f3: Adds UI support for custom search widget item backgrounds.
Merge commit '1c5fa0f31009502c539c65de99010b63cb617aac'

* commit '1c5fa0f31009502c539c65de99010b63cb617aac':
  Adds UI support for custom search widget item backgrounds.
2009-06-09 08:03:06 -07: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
3cfda9c225 am f642aa2a: Removes gestures from ListView.
Merge commit 'f642aa2a44e63aa105bbc6aec59f9bee261986ef'

* commit 'f642aa2a44e63aa105bbc6aec59f9bee261986ef':
  Removes gestures from ListView.
2009-06-08 23:50:30 -07:00
Romain Guy
f642aa2a44 Removes gestures from ListView. 2009-06-08 23:24:18 -07:00
Romain Guy
5519185292 resolved conflicts for merge of bad927 to master 2009-06-08 15:33:17 -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
Suchi Amalapurapu
76ff31b201 am d299b819: 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.
Merge commit 'd299b8194dde8c4875e5f032918ab35ebad8b1f1'

* commit 'd299b8194dde8c4875e5f032918ab35ebad8b1f1':
  Add a new attribute to android manifest for defining the GLES version number.
2009-06-05 21:17:11 -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
Satish Sampath
5e23cbc660 am f9acde27: Include web search providers in Searchables.
Merge commit 'f9acde27486bcc6eea1092073f7b47c31749efd6'

* commit 'f9acde27486bcc6eea1092073f7b47c31749efd6':
  Include web search providers in Searchables.
2009-06-05 09:42:40 -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
Mitsuru Oshima
342d59d319 am 9189cabb: * Moved supports-density tag under manifest * Refactored Compatibility code * Added CompatibilityInfo class * Removed getApplicationScale from Context * Added Resources#getCompatibilityInfo so that RootView can get the compatibility info w/o going through Context * Expandable support * Added expandable tag under manifest * Old application w/o expandable is given the default screen size ([320, 480] x density). * The non-expandable window is centered.
Merge commit '9189cabb0b6c6c28232fe6f412b7ba7a37352a6a'

* commit '9189cabb0b6c6c28232fe6f412b7ba7a37352a6a':
  * Moved supports-density tag under manifest
2009-06-03 16:34:47 -07:00
Mitsuru Oshima
9189cabb0b * Moved supports-density tag under manifest
* Refactored Compatibility code
  * Added CompatibilityInfo class
  * Removed getApplicationScale from Context
  * Added Resources#getCompatibilityInfo so that RootView can get the compatibility info w/o going through Context
* Expandable support
  * Added expandable tag under manifest
  * Old application w/o expandable is given the default screen size  ([320, 480] x density).
  * The non-expandable window is centered.
2009-06-03 16:28:10 -07:00
Amith Yamasani
138197f961 am eaeb663b: Track activity foreground CPU usage for battery stats.
Merge commit 'eaeb663bcd7a82b654954b42663232cbd7bef7e7'

* commit 'eaeb663bcd7a82b654954b42663232cbd7bef7e7':
  Track activity foreground CPU usage for battery stats.
2009-06-03 16:21:13 -07:00
Amith Yamasani
eaeb663bcd Track activity foreground CPU usage for battery stats.
Track the foreground CPU time of an activity so that we can tell if apps are
spending more time in the background compared to foreground.
Update power profile values for screen backlight and GPS.
Fix some javadoc bugs (milliseconds vs. microseconds).
2009-06-03 15:38:24 -07:00
Android (Google) Code Review
b716ab3755 am 432900bf: Merge change 2962 into donut
Merge commit '432900bffb816f56f5f8058c90fed7731df46e23'

* commit '432900bffb816f56f5f8058c90fed7731df46e23':
  Fixes #1890914.
2009-06-02 15:18:31 -07:00
Android (Google) Code Review
432900bffb Merge change 2962 into donut
* changes:
  Fixes #1890914.
2009-06-02 15:16:34 -07:00
Romain Guy
ce16d787bd Fixes #1890914.
Bright theme's background color should be #fff9f9f9 instead of pure white (#ffffffff).
2009-06-02 15:15:12 -07:00
Android (Google) Code Review
8d3002e047 am 35feec46: Merge change 2761 into donut
Merge commit '35feec46d90d434a2439765d127a9e8f68a52340'

* commit '35feec46d90d434a2439765d127a9e8f68a52340':
  TODO's from Teleca with modifications from wink.
2009-06-02 00:51:32 -07:00
Wink Saville
f315238a2b TODO's from Teleca with modifications from wink. 2009-06-01 14:39:20 -07:00
Android (Google) Code Review
7c49790cde am 162c9d0e: Merge change 2805 into donut
Merge commit '162c9d0e90eaa71adc8c7d1456d1a9a95e638c47'

* commit '162c9d0e90eaa71adc8c7d1456d1a9a95e638c47':
  base: Rename WRITE_SDCARD -> WRITE_EXTERNAL_STORAGE
2009-06-01 10:01:08 -07:00
San Mehat
5a3a77dabd base: Rename WRITE_SDCARD -> WRITE_EXTERNAL_STORAGE
Signed-off-by: San Mehat <san@google.com>
2009-06-01 09:25:28 -07:00
Christopher Tate
ad6042aa23 am 181fafaf: Retool the backup process to use a new \'BackupAgent\' class
Merge commit '181fafaf48208978b8ba2022683ffa78aaeddde1'

* commit '181fafaf48208978b8ba2022683ffa78aaeddde1':
  Retool the backup process to use a new 'BackupAgent' class
2009-05-31 19:44:35 -07:00