367 Commits

Author SHA1 Message Date
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
Christopher Tate
181fafaf48 Retool the backup process to use a new 'BackupAgent' class
Backups will be handled by launching the application in a special
mode under which no activities or services will be started, only
the BackupAgent subclass named in the app's android:backupAgent
manifest property.  This takes the place of the BackupService class
used earlier during development.

In the cases of *full* backup or restore, an application that does
not supply its own BackupAgent will be launched in a restricted
manner; in particular, it will be using the default Application
class rather than any manifest-declared one.  This ensures that the
app is not running any code that may try to manipulate its data
while the backup system reads/writes its data set.
2009-05-31 13:10:03 -07:00
Android (Google) Code Review
0a91b0be8f am 7a8c4377: Merge change 2737 into donut
Merge commit '7a8c437723a50b171d0cd97cb17886b28dffce92'

* commit '7a8c437723a50b171d0cd97cb17886b28dffce92':
  Fixes #1878499.
2009-05-29 13:56:39 -07:00
Romain Guy
d1c67d42ab Fixes #1878499.
Ignore touch up events that happen after a gesture was cancelled. This fix also improves performance by ignoring move events that are within the touch threshold.
2009-05-29 13:53:16 -07:00
Android (Google) Code Review
96cdc61c69 am 1e2e44e9: Merge change 2365 into donut
Merge commit '1e2e44e900cb9a25d548e27a20d65292a7f321bc'

* commit '1e2e44e900cb9a25d548e27a20d65292a7f321bc':
  Fix wifi multicast API for public use.
  Revert "Bug fixes and performance improvements"
2009-05-28 14:34:28 -07:00
Robert Greenwalt
fc1b15cfbf Fix wifi multicast API for public use.
Applying API review comments and taking it public.
2009-05-28 13:37:06 -07:00
Android (Google) Code Review
79fb0d6999 am 401bbb05: Merge change 2593 into donut
Merge commit '401bbb0597a9f6bc9d752437e81f3f0c9b457b86'

* commit '401bbb0597a9f6bc9d752437e81f3f0c9b457b86':
  Bug fixes and performance improvements
2009-05-28 12:31:44 -07:00
Android (Google) Code Review
401bbb0597 Merge change 2593 into donut
* changes:
  Bug fixes and performance improvements
2009-05-27 21:26:31 -07:00
Yang Li
58b359041a Bug fixes and performance improvements
- Added affine transform functions in GestureUtilities to remove Matrix
- Fixed a bug with Instance.createInstance
- Updated letter recognition file
2009-05-27 18:19:04 -07:00