692 Commits

Author SHA1 Message Date
Dirk Dougherty
8b300f3db9 am d97e8dc: AI 147710: Add redirects for sdk/preview pages.
Merge commit 'd97e8dc252b6f2f5919885ee337518e5fd5bd285' into donut

* commit 'd97e8dc252b6f2f5919885ee337518e5fd5bd285':
  AI 147710: Add redirects for sdk/preview pages.
2009-04-28 21:54:08 -07:00
Bill Napier
819c102394 am 78b1511: AI 147541: Add cs as default language for cz.
Merge commit '78b1511d96f0b2123bfadf51c5c1ccf33cdd2b3d' into donut

* commit '78b1511d96f0b2123bfadf51c5c1ccf33cdd2b3d':
  AI 147541: Add cs as default language for cz.
2009-04-28 21:54:08 -07:00
Scott Main
af3289e444 am 620986a: AI 147438: add app widget docs to dev guide
Merge commit '620986a358c522178ddfc5c0088b2a5e1768e5ae' into donut

* commit '620986a358c522178ddfc5c0088b2a5e1768e5ae':
  AI 147438: add app widget docs to dev guide
2009-04-28 21:54:07 -07:00
Dirk Dougherty
181634f080 am 134e8e4: AI 147433: Fix broken link to sdk/samples dir in the offline
Merge commit '134e8e4fc391d4f48f89acbfda757cd61504cb46' into donut

* commit '134e8e4fc391d4f48f89acbfda757cd61504cb46':
  AI 147433: Fix broken link to sdk/samples dir in the offline.html page.
2009-04-28 21:54:06 -07:00
Android (Google) Code Review
76b25e5e78 Merge change 692 into donut
* changes:
  location: Optimize use of mProviders ArrayList.
2009-04-28 19:02:27 -07:00
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
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
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
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
Mathias Agopian
287b309201 fix 1812272 SensorManager method returns hidden object 2009-04-27 18:08:10 -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
Mike LeBeau
8afc1303c0 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-24 18:28:29 -07:00
Android (Google) Code Review
01be1fa793 Merge change 572 into donut
* changes:
  oops forgot to remove a LOGD when loading an opengl driver
2009-04-24 18:18:19 -07:00
Mathias Agopian
799af8dd1d oops forgot to remove a LOGD when loading an opengl driver 2009-04-24 18:16:44 -07:00
Android (Google) Code Review
fd9b3c00fd Merge change 570 into donut
* changes:
  Add file to ignore the content of the layoutlib/Bridge Eclipe bin folder.
2009-04-24 17:59:34 -07:00
Android (Google) Code Review
f73eaf92e5 Merge change 531 into donut
* changes:
  Teleca 090414 & 090423 patches for CDMA to complete phase1 work.
2009-04-24 17:14:50 -07:00
Xavier Ducrohet
d4943a9a7b Add file to ignore the content of the layoutlib/Bridge Eclipe bin folder. 2009-04-24 17:01:56 -07:00
Mike Reed
c70e06bbfa Add (hidden for now) purgeable bitmaps
BitmapFactory::Options now let you specify if the resulting bitmap can be
"purgeable". If so, then its decoded pixels may be purged when not actively
being drawn, freeing up that RAM. When such a bitmap is drawn, it will
automatically be re-decoded on demand. This is done by having the bitmap
keep a reference/copy of the encoded data.

Where it is a reference or a copy is controlled by the "shareable" flag in
Options. If this is true, the implementation *may* just reference the encode
data (e.g. a file descriptor) rathern than making a complete copy of it.

Currently, purgeable is not supported for generic inputstreams, but is
enabled for byte-array, file-descriptor, and assets, though for impl
reasons only file-descripts are currently enabled for "shareable", but that
may change in the future.
2009-04-24 17:20:29 -04:00
Android (Google) Code Review
9e8ca9a19c Merge change 551 into donut
* changes:
  Enable static Java APIs for OpenGL ES 1.1 extensions.
2009-04-24 14:17:01 -07:00
Android (Google) Code Review
affb4e7694 Merge change 534 into donut
* changes:
  Make sure to map undefined OES functions to their non-OES counterpart if it exists.
2009-04-24 13:09:06 -07:00
Jack Palevich
a379585e6e Enable static Java APIs for OpenGL ES 1.1 extensions.
This is just plumbing. The Java APIs existed already, but there were no C APIs to hook the Java APIs
up to. Now there are C APIs, so we can call them.

Of course, whether or not the C APIs actually work when you call them depend upon the
capabilities of the active OpenGL driver, which must be checked at run time.

Also, while we're here, make the glGetString method static. It was always supposed to be static,
but was accidentally implemented as non-static, because the code was copied from the non-static
OpenGL ES classes.
2009-04-24 13:07:17 -07:00
Android (Google) Code Review
8cac9064f5 Merge change 528 into donut
* changes:
  Send the path of the EF file for ICC IO
2009-04-24 12:01:56 -07:00
Jaikumar Ganesh
469d5ba4cd Send the path of the EF file for ICC IO
Send the path of the EF file for ICC IO Command.
Currently, this is null. This is for the upcoming support
for USIM and CDMA changes.
Tested:
   1. Intial load of records while boot up.
   2. Importing contacts from SIM.
   3. Voice mail.
   4. SMS
2009-04-24 11:52:40 -07:00