9191 Commits

Author SHA1 Message Date
Suchi Amalapurapu
52c235dbe7 Return valid package info for packages that have been uninstalled with
an option to retain data and resources using the flag GET_UNINSTALLED_PACKAGES
These packages do not have a package setting. just check the flag and return
the required info from PackageParser.generatePackageInfo
2009-10-14 15:12:23 -07:00
Cary Clark
25415e2b9c draw filtered if dragging but not moving after a 100ms delay
Some artifacts show up when dragging, but since the screen is in
motion, they're usually go unnoticed. If one quits moving, the
artifacts are more visible.

Some devices generate fractional movement data while the
screen is touched and held steady; others do not. Also, mouse-based
implementations will not generate random fractional movements. If
the device generates movements, invalidate the screen to transition
once from unfiltered to filtered drawing.

For the case that the device does not generate movements, fire a
timer when the screen is drawn and a drag is in progress to detect
that there is no drag motion.

The timer fires if the dragged screen is unmoved for 100 ms, then
invalidates so the next redraw uses filtering to remove the artifacts,
and starts a continuous timer to keep the scrollbar awake until
the drag ends or there is more drag motion.

When detecting that there is no effective movement on a noisy device,
use the original fractional deltas instead of the integer ones to
detect sub 1 pixel differences.

This was tested on the emulator (no noise) and a sapphire (noise)
to make sure that events load the queue only when required.

fixes http://b/issue?id=2092446
2009-10-14 13:53:19 -04:00
Katarina Stenstedt
d4fa96eab3 am 399fc263: Merge change If30c5e20 into eclair
Merge commit '399fc2636f1332986f319df3cf8ae56344070c51' into eclair-mr2

* commit '399fc2636f1332986f319df3cf8ae56344070c51':
  SDK doc change per http://b/2158141 - adds new res wizard to L10N tutorial.
2009-10-14 10:04:53 -07:00
Android (Google) Code Review
399fc2636f Merge change If30c5e20 into eclair
* changes:
  SDK doc change per http://b/2158141 - adds new res wizard to L10N tutorial. Changed image links to use @docRoot.
2009-10-14 12:52:00 -04:00
Dmitri Plotnikov
0a299af21f am fe4c8715: Making new Contacts APIs visible in Eclair SDK - Part II
Merge commit 'fe4c8715c02a8b723c56e3e48ededa657c9ab6a6' into eclair-mr2

* commit 'fe4c8715c02a8b723c56e3e48ededa657c9ab6a6':
  Making new Contacts APIs visible in Eclair SDK - Part II
2009-10-14 07:38:11 -07:00
Dave Sparks
c3e7e5d376 am 8c471d1d: Merge change I4ef3e82f into eclair
Merge commit '8c471d1def1027d025528b419cc8a1cdb68a4489' into eclair-mr2

* commit '8c471d1def1027d025528b419cc8a1cdb68a4489':
  7 more ringtones. Now with more Dr. No!
2009-10-14 07:38:04 -07:00
Dianne Hackborn
720094bfaa am cbf77e9b: Merge change I875200fe into eclair
Merge commit 'cbf77e9bef0db68c55b60994d93674bf6fd1ca13' into eclair-mr2

* commit 'cbf77e9bef0db68c55b60994d93674bf6fd1ca13':
  Another fix for #2186897: Cannot unlock the device by swiping
2009-10-14 07:37:38 -07:00
Android (Google) Code Review
398c24ecb5 Merge change I4c64bb78 into eclair-mr2
* changes:
  add hidden method to draw entire page into a canvas, with no view-chrome. For testing.
2009-10-14 10:02:11 -04:00
Mike Reed
efe2c72a6d add hidden method to draw entire page into a canvas, with no view-chrome. For testing.
http://b/issue?id=2176120
2009-10-14 09:57:14 -04:00
Dmitri Plotnikov
fe4c8715c0 Making new Contacts APIs visible in Eclair SDK - Part II
Bug: http://b/2186595
Change-Id: Id87533c25cceb0fe3b0845aed10912c937679f45
2009-10-14 00:28:53 -07:00
Android (Google) Code Review
8c471d1def Merge change I4ef3e82f into eclair
* changes:
  7 more ringtones. Now with more Dr. No!
2009-10-14 03:13:12 -04:00
Dave Sparks
4ef3e82f6f 7 more ringtones. Now with more Dr. No! 2009-10-14 00:06:47 -07:00
Android (Google) Code Review
cbf77e9bef Merge change I875200fe into eclair
* changes:
  Another fix for #2186897: Cannot unlock the device by swiping
2009-10-14 01:51:00 -04:00
Dianne Hackborn
f2ddfb1528 Another fix for #2186897: Cannot unlock the device by swiping
This was probably a side-effect of the divide by zero exception,
but we'll be safe anyway.

Change-Id: I875200febb9b3090d12f170066b2bea74c9f77f8
2009-10-13 22:47:02 -07:00
Dianne Hackborn
126ac7f9f9 am b10e2f1a: Merge change Iac534225 into eclair
Merge commit 'b10e2f1a861933f50d9ad8ea24b5dfa5643a2c11' into eclair-mr2

* commit 'b10e2f1a861933f50d9ad8ea24b5dfa5643a2c11':
  Fix issue #2186709: Can't unlock the device for a while
2009-10-13 20:19:39 -07:00
Android (Google) Code Review
b10e2f1a86 Merge change Iac534225 into eclair
* changes:
  Fix issue #2186709: Can't unlock the device for a while
2009-10-13 23:13:37 -04:00
Android (Google) Code Review
a5bfe52d9e Merge change Ib3558f35 into eclair-mr2
* changes:
  Make our choice of surface explicit.
2009-10-13 22:54:58 -04:00
Android (Google) Code Review
3743559db0 Merge change I28023911 into eclair-mr2
* changes:
  Add additional error checking of EGL function calls.
2009-10-13 22:54:15 -04:00
Jack Palevich
b3558f3526 Make our choice of surface explicit. 2009-10-13 19:52:44 -07:00
Jack Palevich
28023911a4 Add additional error checking of EGL function calls. 2009-10-13 19:52:06 -07:00
Dianne Hackborn
53cd579459 Fix issue #2186709: Can't unlock the device for a while
Change-Id: Iac5342254036cc286ad502dba943520f55ea2405
2009-10-13 19:50:51 -07:00
Dmitri Plotnikov
0741c13464 am 6e144ad8: Making new Contacts APIs visible in Eclair SDK
Merge commit '6e144ad885f6cc3f090616a7ad4911d093049ad1' into eclair-mr2

* commit '6e144ad885f6cc3f090616a7ad4911d093049ad1':
  Making new Contacts APIs visible in Eclair SDK
2009-10-13 18:47:40 -07:00
Dmitri Plotnikov
6e144ad885 Making new Contacts APIs visible in Eclair SDK
Bug: http://b/2186595
 
Change-Id: Iaba8514276299504af6ab0714577eb37d9608237
2009-10-13 18:24:08 -07:00
Android (Google) Code Review
3b7a1e6d70 Merge change Ic52ba78c into eclair-mr2
* changes:
  Allow multiple OpenGL contexts on systems that support them.
2009-10-13 21:08:17 -04:00
Jeff Sharkey
7d776dbbc5 am a78a9d4c: Correct non-opaque list separator assets.
Merge commit 'a78a9d4c93ecdaf787333117a7d51b6dc39ff5d0' into eclair-mr2

* commit 'a78a9d4c93ecdaf787333117a7d51b6dc39ff5d0':
  Correct non-opaque list separator assets.
2009-10-13 18:05:48 -07:00
Android (Google) Code Review
5c8a80b8fc Merge change I4410ec8f into eclair-mr2
* changes:
  Framework-side DropBox service that maintains a size-bounded queue of data chunks (sort of a blob-oriented logcat).
2009-10-13 21:01:26 -04:00
Jack Palevich
c52ba78cab Allow multiple OpenGL contexts on systems that support them.
Previously we always restricted the number of OpenGL contexts to 1.
2009-10-13 17:58:47 -07:00
Dan Egnor
4410ec8f7c Framework-side DropBox service that maintains a size-bounded
queue of data chunks (sort of a blob-oriented logcat).

In the future, this will be coupled with a revised checkin service that
would actually upload this data.
2009-10-13 17:36:19 -07:00
Jeff Sharkey
a78a9d4c93 Correct non-opaque list separator assets.
Fixes http://b/2186076
2009-10-13 16:28:53 -07:00
Eric Fischer
bd6c80f689 Import revised translations. DO NOT MERGE 2009-10-13 16:03:48 -07:00
Android (Google) Code Review
332c793432 Merge change I69e21f5f into eclair-mr2
* changes:
  GLDual test application.
2009-10-13 17:57:50 -04:00
Jack Palevich
69e21f5f6e GLDual test application.
Draws two images at once, one GL based, one GL2 based.
2009-10-13 14:56:00 -07:00
Android (Google) Code Review
b5b6777903 Merge change I7fa8c508 into eclair-mr2
* changes:
  make erase-password-on-SIM-change optional
2009-10-13 17:26:48 -04:00
Robert Greenwalt
770d5c4f00 am 64d54042: Merge change I61c08260 into eclair
Merge commit '64d54042ff5c2c736a65f200296dbc3bceaa9029' into eclair-mr2

* commit '64d54042ff5c2c736a65f200296dbc3bceaa9029':
  Futher reduce the logging of EriManager.
2009-10-13 14:11:54 -07:00
Android (Google) Code Review
64d54042ff Merge change I61c08260 into eclair
* changes:
  Futher reduce the logging of EriManager.
2009-10-13 17:07:10 -04:00
Robert Greenwalt
61c082603f Futher reduce the logging of EriManager.
There was another log statement that was poluting radio logs.

bug: 2180891
2009-10-13 13:53:22 -07:00
Android (Google) Code Review
afbf8afa85 Merge change I564b5b00 into eclair-mr2
* changes:
  add "junk path" -k option to aapt
2009-10-13 16:41:21 -04:00
Doug Zongker
dbe7a68cc1 add "junk path" -k option to aapt
Adds a "junk path" option to aapt so that you can do:

   aapt add -k archive.zip path/to/some.file

and have the file stored in the zip under the name "some.file"
(without the path).  Needed so that we can use 'aapt add' in place of
'zip -j' when building jar files, which will lead to smaller
incremental OTAs.
2009-10-13 13:33:31 -07:00
Android (Google) Code Review
b10036b390 Merge change Iaa321588 into eclair-mr2
* changes:
  Add "deleted" row to Events table.
2009-10-13 16:10:32 -04:00
Doug Zongker
7fa8c508e0 make erase-password-on-SIM-change optional
Make this "feature" controlled by a system property so it can be
enabled only for carriers that want it.
2009-10-13 13:02:49 -07:00
Android (Google) Code Review
5a4f64fcbf Merge change Id5ba82a1 into eclair-mr2
* changes:
  Prevent getFile from copying when the file is too large.
2009-10-13 15:09:18 -04:00
Dianne Hackborn
d34f3994da am 2a21a77d: Merge change I1369e9ab into eclair
Merge commit '2a21a77d5cf481b129a7cb4e3e00424e4d300e6d' into eclair-mr2

* commit '2a21a77d5cf481b129a7cb4e3e00424e4d300e6d':
  Work on issue #2144454: Inconsistent swipes...
2009-10-13 11:52:34 -07:00
Android (Google) Code Review
2a21a77d5c Merge change I1369e9ab into eclair
* changes:
  Work on issue #2144454: Inconsistent swipes...
2009-10-13 14:45:56 -04:00
Dianne Hackborn
1411d1c822 Work on issue #2144454: Inconsistent swipes...
This introduces some hacks in the framework to try to clean up the
data we are getting from the touch screen.  There are two main things
being done here:

1. Look for changes in position that are unreasonably large, and
ignore them.  This is intended to eliminate the spurious jumps that
often happen when releasing.

2. Add some simple adaptive averaging of the touch data.  If the
difference between the last and next point is large enough, we
disable the averaging; otherwise we average up to the last 5 points.
The goal is to get rid of the noise of small movements so that things
like taps don't look like short flings, while still responding quickly
to rapid movement.

For averaging pressure, we also weight each averaged coordinate by
the reported pressure at that point.  This is intended to keep the
coordinates closer together during a release, when the pressure is
going down and the accuracy decreasing.  It may also result in some
other interesting artifacts, but hopefully nothing problematic.

Change-Id: I1369e9ab015c406946a45c2d72547da9c604178f
2009-10-13 11:44:29 -07:00
Android (Google) Code Review
145928617a Merge change I3dafca18 into eclair-mr2
* changes:
  Enabling plugin surfaces to update their position in the UI.
2009-10-13 14:39:37 -04:00
Leon Scroggins
d5ba82a1fe Prevent getFile from copying when the file is too large.
Since the caller expects the data to fit within a certain amount of
space, do not copy into the buffer if the data exceeds that space.

Requires a change to external/webkit
2009-10-13 14:23:56 -04:00
Android (Google) Code Review
b65a90d76f Merge change I73b00501 into eclair-mr2
* changes:
  Check cursor and URI value for nullity to prevent NPE.
2009-10-13 13:43:18 -04:00
Android (Google) Code Review
c642199d1d Merge change Ibd7b43bb into eclair-mr2
* changes:
  Separated private from public header files.
2009-10-13 13:38:28 -04:00
Android (Google) Code Review
fe324a61c3 Merge change I8d87cd98 into eclair-mr2
* changes:
  Fix various compiler warnings accumulated over time.
2009-10-13 13:31:58 -04:00
Andreas Huber
bd7b43bb02 Separated private from public header files. 2009-10-13 10:22:55 -07:00