765 Commits

Author SHA1 Message Date
Mike Lockwood
662ea09a71 location: Optimize use of mProviders ArrayList.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-04-28 21:38:06 -04:00
Mitsuru Oshima
13735a255d Merge branch 'readonly-p4-donut' into donut 2009-04-28 18:13:25 -07:00
Mitsuru Oshima
8169daed2f AI 147976: Compatibility mode support. Part 2.
* Introduced ApplicationScale (may not be good name. CompatibilityScale? CanvasScale? Pls let me know if you have better idea)
  * Changes to RootView / SurfaceView
  - Makes the app believe it's running in the supported density/resolution.
  - Makes the window manager believe it's running at the right density/resolution.
  * Added methods to Rect/Event for scaling up/down.
  Known issues:
  * certain kind of images (such as nine patch for buttons) seesm to be loaded not by app, thus does not take the scale into account,
  which, in turn, is causing layout issue.
  * ZoomButton in MapView is rendered in wrong place
  * Transparent region on Surface is not correct
  * Specifying different densities in one process is not working.
  BUG=1770627

Automated import of CL 147976
2009-04-28 18:12:09 -07:00
Romain Guy
2e447d46d9 Fixes 1819406. Take a ListView, add headers/footers, set the adapter after at least one layout pass, and the headers/footers don't know they have a parent anymore. Which causes a lot of trouble, like drawing not happening. 2009-04-28 18:01:24 -07:00
Android (Google) Code Review
d30605200b Merge change 542 into donut
* changes:
  enable additional cdma sms fields and user data encodings
2009-04-28 17:13:33 -07:00
Android (Google) Code Review
5f2788bc9d Merge change 686 into donut
* changes:
  gps: Don't crash if no XTRA servers are specified.
2009-04-28 16:18:07 -07:00
Android (Google) Code Review
0124a15015 Merge change 626 into donut
* changes:
  fix 1803886 android15 Translucent GLSurfaceView demo does not display properly
2009-04-28 16:06:32 -07:00
Mike Lockwood
b8526bfe09 gps: Don't crash if no XTRA servers are specified.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-04-28 19:04:08 -04:00
Karl Rosaen
98e333f551 Fix back key and ime behavior for search dialog.
The back key now dismisses the soft keyboard, and then the dialog.

The soft keyboard behavior is improved by having ACTV do the following when 'mDropdownAlwaysShowing' is true:
- touching outside of the drop down doesn't dismiss it
- touching the text field ensures the imei is brought in front of the drop down
2009-04-28 15:52:30 -07:00
Eric Fischer
a21e376bf0 AI 147962: Import updated zh_TW translations.
Automated import of CL 147962
2009-04-28 15:48:38 -07:00
Scott Main
c8048365f0 AI 147951: delete unused files
BUG=1790234

Automated import of CL 147951
2009-04-28 15:03:27 -07:00
Scott Main
998234ed4a AI 147947: update the sitemap. add disallow in robots file for the sdk/preview/
BUG=1790234

Automated import of CL 147947
2009-04-28 14:41:22 -07:00
Android (Google) Code Review
4924ae8d1f Merge change 618 into donut
* changes:
  Fixes #1816088. Avoid initializing empty Rects when they are useless, especially in Zygote.
2009-04-28 13:45:44 -07:00
Android (Google) Code Review
e4de845ec2 Merge change 625 into donut
* changes:
  fix 1812272 SensorManager method returns hidden object
2009-04-28 13:19:23 -07:00
Android (Google) Code Review
6fcddb05ee Merge change 629 into donut
* changes:
  Display the app icon to the left of the search field for search within apps.
2009-04-28 13:18:06 -07:00
Android (Google) Code Review
77c9990ae0 Merge change 599 into donut
* changes:
  Add call to (new) Canvas.freeCaches() in response to low-memory
2009-04-28 12:28:47 -07:00
Romain Guy
23bd84ce6c Fixes #1816088. Avoid initializing empty Rects when they are useless, especially in Zygote. 2009-04-28 10:42:45 -07:00
Mike Lockwood
b8adcad61d location: Remove obsolete fake provider support.
Now that we have GPS support in the emulator and public APIs for mock providers,
the fake provider support is no longer needed.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-04-28 13:23:57 -04:00
Mike Lockwood
79762a3ee3 location: Move DummyLocationProvider.java and LocationProviderImpl.java to the internal package.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-04-28 12:42:08 -04:00
Mike Lockwood
eedf815a2b location: Remove redundant mLocationTracking field from GpsLocationProvider
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-04-28 11:17:23 -04:00
Android (Google) Code Review
7cb8ed23ab Merge change 414 into donut
* changes:
  location: Run LocationManagerService in a separate thread.
2009-04-28 05:30:43 -07:00
Android (Google) Code Review
3de05ffb91 Merge change 586 into donut
* changes:
  Manage imagecache ram budget
2009-04-28 05:17:41 -07:00
Mike Lockwood
3d12b51ee3 location: Run LocationManagerService in a separate thread.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-04-28 07:28:33 -04:00
Bjorn Bringert
74708bbdf8 Add GLOBAL_SEARCH intent for finding global search provider. 2009-04-28 12:15:56 +01:00
Tammo Spalink
8c49d32cb9 enable additional cdma sms fields and user data encodings
enable ia5 and octet user data encodings
properly expose parsed user data
support additional bearer data subparameter types
2009-04-28 15:49:59 +08:00
Mike LeBeau
1fd73239dc Display the app icon to the left of the search field for search within apps. 2009-04-27 19:12:05 -07:00
Mathias Agopian
0c6b5f6ec3 fix 1803886 android15 Translucent GLSurfaceView demo does not display properly 2009-04-27 18:50:06 -07:00
Dirk Dougherty
752aaf92a8 AI 147874: Fix format and link errors in docs.
BUG=1790234

Automated import of CL 147874
2009-04-27 18:13:11 -07:00
Mathias Agopian
287b309201 fix 1812272 SensorManager method returns hidden object 2009-04-27 18:08:10 -07:00
Michael Chan
99c4483cd7 Allow caller-supplied column aliases in queries even when a projection map is used.
Modified SQLiteQueryBuilder to allow caller-spplied column alias ("AS")
instead restricting to the keys of the supplied projection map.  This is needed for
UNION queries where new columns may be created on the fly such as "1 AS flag"
2009-04-27 16:32:45 -07:00
Android (Google) Code Review
17f213bc52 Merge change 602 into donut
* changes:
  Bug fix(1807910): media recorder crash due to the use of locked camera object (last part) - remove an unused Camera constructor - add a check on the argument in Camera::create() method
2009-04-27 13:42:05 -07:00
Android (Google) Code Review
04ab1c7671 Merge change 573 into donut
* changes:
  Add a grey line to the top of the search plate image so it doesn't bleed into the white of the status bar.
2009-04-27 12:58:27 -07:00
Mitsuru Oshima
257eef353d Merge branch 'readonly-p4-donut' into donut 2009-04-27 12:02:51 -07:00
James Dong
325ac475c5 Bug fix(1807910): media recorder crash due to the use of locked camera object (last part)
- remove an unused Camera constructor
- add a check on the argument in Camera::create() method
2009-04-27 12:01:59 -07:00
Mitsuru Oshima
8d11267587 AI 147845: Compatibility mode support. Part 1
Adding supports-density tag to manifest file/ApplicationInfo.
  BUG=1752478

Automated import of CL 147845
2009-04-27 12:01:23 -07:00
Mike Reed
caf0df1b7f Add call to (new) Canvas.freeCaches() in response to low-memory
This is in conjunction with removing a similar call made by the browser.
Now it will be centralized, and the browser's call site will be removed.
2009-04-27 14:32:05 -04:00
Android (Google) Code Review
3eab744d01 Merge change 376 into donut
* changes:
  Add support for changing a threads scheduler group. Three groups are available (default, background non interactive, foreground boost). Setting a thread priority to PRIORITY_BACKGROUND will transparently change groups to background
2009-04-27 09:18:14 -07:00
San Mehat
e9d376b801 Add support for changing a threads scheduler group. Three groups are available (default, background non interactive, foreground boost). Setting a thread priority to PRIORITY_BACKGROUND will transparently change groups to background
Signed-off-by: San Mehat <san@google.com>
2009-04-27 09:17:06 -07:00
Mike Reed
fc8db53eee Manage imagecache ram budget
This code was lifted from the browser, and is now global since java clients may
also use this cache for decoded images
2009-04-27 11:43:30 -04:00
Android (Google) Code Review
1fb758e94b Merge change 546 into donut
* changes:
  Add (hidden for now) purgeable bitmaps
2009-04-27 05:31:19 -07:00
Scott Main
5fe696f7b0 AI 147814: tweaks to the hello world tutorial.
use an API Level 2 build target, but deploy to level 3, add some discussion on this;
  instantly run, instead of creating a new configuration;
  update screenshots for ADT wizard and the debug section;
  other edits
  BUG=1791815

Automated import of CL 147814
2009-04-26 23:57:28 -07:00
Scott Main
2222c9e4ad AI 147812: close <em> tag
BUG=1668453

Automated import of CL 147812
2009-04-26 23:21:55 -07:00
Scott Main
0ee4f86c92 AI 147811: typo fixes and edits for upgrading and installing docs
BUG=1790234

Automated import of CL 147811
2009-04-26 23:21:02 -07:00
Scott Main
263ed76bf6 AI 147810: fix links on the homepage
BUG=1790234

Automated import of CL 147810
2009-04-26 23:19:20 -07:00
Dirk Dougherty
7eeb5d5c8e AI 147807: Miscellaneous doc fixes needed for 1.5 SDK push
BUG=1790234

Automated import of CL 147807
2009-04-26 21:07:11 -07:00
Scott Main
ce878bef71 AI 147804: add new doc about Dialogs
BUG=1800118

Automated import of CL 147804
2009-04-26 15:51:58 -07:00
Scott Main
b8b3645a97 AI 147803: add docs and images for docs on Toast and Notification docs
also edit the Notification class doc
  BUG=1800118

Automated import of CL 147803
2009-04-26 15:50:49 -07:00
Dirk Dougherty
596451ce46 AI 147796: Add widget design guidelines to new UI Guidelines area in dev guide.
BUG=1790234

Automated import of CL 147796
2009-04-25 23:09:53 -07:00
Scott Main
6fc27f79b4 AI 147793: cleanup broken links and delete all innacurate info in apidemo pages
BUG=1810005

Automated import of CL 147793
2009-04-25 14:04:54 -07:00
Dirk Dougherty
47f3a7ae79 AI 147782: Add a link to the JET docs from media index page.
BUG=1790234

Automated import of CL 147782
2009-04-24 19:16:21 -07:00