8986 Commits

Author SHA1 Message Date
Jason Sams
7299c83bd8 Fix bug exposed by filmstrip. The updated and expanded SimpleMesh had an ordering bug with component coordinates when both texture and normals were used. 2009-10-16 14:55:41 -07:00
Android (Google) Code Review
0b08abe1b8 Merge change I9521cf8b into eclair
* changes:
  Register for light sensor events if non-hardware based auto-brightnees is enabled
2009-10-16 12:29:39 -04:00
Android (Google) Code Review
f55aa972f9 Merge change I01935be3 into eclair
* changes:
  Remove PowerManager.setAutoBrightness()
2009-10-16 12:29:15 -04:00
Mike Lockwood
8738e0c040 Register for light sensor events if non-hardware based auto-brightnees is enabled
Change-Id: I9521cf8b315306bdafa70c1500f2e4af83d94ec3
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-16 08:40:23 -07:00
Mike Lockwood
dc3494e3d8 Remove PowerManager.setAutoBrightness()
We will use the System.SCREEN_BRIGHTNESS_MODE Settings value instead.
Add SCREEN_BRIGHTNESS_MODE_MANUAL and SCREEN_BRIGHTNESS_MODE_AUTOMATIC constants.

Change-Id: I01935be3fcb48cf76392d2c594205cb47babc5b2
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-16 07:42:26 -07:00
Cary Clark
39e6773431 do not merge: fix copy/paste using trackball on passion
This fix is alrady in mr2. It does not affect sholes --
this is a trackball only bug.

The selection caret and arrow now take the scale factor and
the height of the title bar into account when preparing the
canvas for drawing.

Clicking the trackball at the end of selecting text no longer
sends a click event.

Requires a companion fix in external/webkit
Fixes http://b/issue?id=2187591
2009-10-16 09:27:47 -04:00
Android (Google) Code Review
b9a22122b0 Merge change I0e09e56f into eclair
* changes:
  Don't callback on NULL client. Bug 2180510.
2009-10-16 01:19:10 -04:00
Android (Google) Code Review
034cd0be57 Merge change I486fdb55 into eclair
* changes:
  Fix bug 2183179 - Hitting the back key repeatedly makes the notification shade jump up and down
2009-10-15 23:32:39 -04:00
Joe Onorato
486fdb5596 Fix bug 2183179 - Hitting the back key repeatedly makes the notification shade jump up and down
This thing needs to be rewritten.  It's grown too complicated for what it's doing,
and I don't like the physics anyway.

Also, this leaves the bug where if you press back while it's animating down, the
animation is ignored.  However it no longer jumps down all the way, it just
essentially ignores the back key.

Also, this makes the collapse get executed on the back key up event, so it works
with the swipe on the soft keys at the bottom of the screen.
2009-10-15 20:31:33 -07:00
Android (Google) Code Review
4f1d765699 Merge change I741a6100 into eclair
* changes:
  Fix bug where dirty messages for allocations attached to programVertex objects could be lost.
2009-10-15 21:47:03 -04:00
Jason Sams
741a6100a0 Fix bug where dirty messages for allocations attached to programVertex objects could be lost. 2009-10-15 18:45:45 -07:00
Mike Lockwood
37a13208c9 Add separate configuration flag for hardware ALS support.
A new flag config_hardware_automatic_brightness_available indicates
that the device has hardware support for automatic screen brightness management,
while config_automatic_brightness_available now indicates that automatic
brightness mode is available in general.

If config_automatic_brightness_available is true but config_hardware_automatic_brightness_available is false,
then automatic brightness mode support in PowerManager support will be used.

Bug b/2015734 (Ambient light sensor support in power manager)

Change-Id: I6cd888252043dd63df3c25a1d14c21a04a91ad28
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-15 19:58:33 -04:00
Jason Sams
41c19db90e Remove hack in RS that called exit to WAR now fixed driver bugs. Make gloabal init safe by locking around the critical code. 2009-10-15 16:47:31 -07:00
Jason Sams
c7412b3b08 Minor bug fixes and add glError check. 2009-10-15 16:06:42 -07:00
Jason Sams
6a17e163a0 Add egl init start message to help debug driver init hangs. 2009-10-15 16:06:42 -07:00
Android (Google) Code Review
2a39758ecb Merge change I51d41230 into eclair
* changes:
  Make sure CF icon updates when using "all CF" MMI.
2009-10-15 18:49:44 -04:00
Android (Google) Code Review
173a25f670 Merge change I0d74deb6 into eclair
* changes:
  Fix possible NPE in the code that restores widgets' state.
2009-10-15 18:33:12 -04:00
Dave Sparks
dd158c9a90 Don't callback on NULL client. Bug 2180510.
We weren't checking to see if there was a valid camera client when
calling the notify callback function. Now we grab a strong pointer
before the callback to guarantee that the client is not destroyed
before we complete the callback. This change also fixes other
places in the code where we weren't holding a local strong pointer.
2009-10-15 15:18:08 -07:00
Romain Guy
a8a720d8cd Fix possible NPE in the code that restores widgets' state.
Bug #2189714
Reviewed by: ryanpc

Change-Id: I0d74deb6dc8e90e3b0eafd6b3c16b0c557c72873
2009-10-15 15:09:26 -07:00
Guang Zhu
9e58e6427c Enable some tests that requires local http server 2009-10-15 11:01:30 -07:00
Android (Google) Code Review
30a6657ec6 Merge change Ic9b31801 into eclair
* changes:
  docs: setup new SDK documentation for 2.0 and change sdk build version to 2.0... move upgrading doc into a new guide for "updating" with the new manager tools and remove the previous updating doc from the dev guide. set up preliminary download page and guide for installing the full SDK. add the requirements doc in sdk/ for all general purposes. revise the download 'thank you' message.
2009-10-14 20:52:50 -04:00
Scott Main
efd83af0a7 docs: setup new SDK documentation for 2.0 and change sdk build version to 2.0...
move upgrading doc into a new guide for "updating" with
the new manager tools and remove the previous updating doc
from the dev guide. set up preliminary download page and guide
for installing the full SDK. add the requirements doc in sdk/
for all general purposes. revise the download 'thank you'
message.

bug: 2160782
2009-10-14 17:44:13 -07:00
jsh
51d412304f Make sure CF icon updates when using "all CF" MMI.
Fixes b/2074739.
2009-10-14 16:57:16 -07:00
Nick Pelly
53f33d8477 Revert "Remove STOPSHIP comment."
This reverts commit 3d0726b4d8a30e57852b70f1dcf4d8d20508cd1e

Change-Id: Ie1ce5d09cc0b799ef0799f30eedc95f0ca5d3fad
DrNo: jerrryw
2009-10-14 12:25:29 -07:00
Android (Google) Code Review
a04ca9b489 Merge change I2492bffe into eclair
* changes:
  Remove STOPSHIP comment.
2009-10-14 14:55:44 -04:00
Nick Pelly
3d0726b4d8 Remove STOPSHIP comment.
Change-Id: I2492bffe57bded65fdbef5cf98e22cef3937e537
DrNo: eastham
Bug: 2089423
Joke: Why don't anteaters get sick? Because they're full of anty-bodies!
2009-10-14 11:46:18 -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
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
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
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
6e144ad885 Making new Contacts APIs visible in Eclair SDK
Bug: http://b/2186595
 
Change-Id: Iaba8514276299504af6ab0714577eb37d9608237
2009-10-13 18:24:08 -07:00
Jeff Sharkey
a78a9d4c93 Correct non-opaque list separator assets.
Fixes http://b/2186076
2009-10-13 16:28:53 -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
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
16cb04ab1c Merge change If1acb2dd into eclair
* changes:
  Add a little logging to diagnose wifi cycle bug
2009-10-13 12:45:30 -04:00
Robert Greenwalt
f1acb2ddcd Add a little logging to diagnose wifi cycle bug
Hiroshi approved (with serious code review).
bug: 2171575
2009-10-13 08:20:55 -07:00
Android (Google) Code Review
69e2ef473c Merge change I9f93ce61 into eclair
* changes:
  Throttle camera preview frames to the app. Bug 2180302.
2009-10-13 06:02:59 -04:00
Dave Sparks
a6118c6383 Throttle camera preview frames to the app. Bug 2180302.
With higher frame rates and larger preview frames, we can easily
flood the application with too much data. This patch fakes the
old camera preview mode by doing continuous one-shot frames.
After the previous frame is handled, if the application hasn't
cleared the preview callback, we start another one-shot preview
frame. With this change, the application should never have more
than one preview frame unless it is explicitly saving references
to them.

	modified:   core/java/android/hardware/Camera.java
2009-10-13 02:52:00 -07:00
Android (Google) Code Review
2e778c176d Merge change I124356f6 into eclair
* changes:
  Continue caching "POST" result so that we won't get the resubmission warning when back to Google search result.
2009-10-12 21:30:04 -04:00
Grace Kloba
124356f630 Continue caching "POST" result so that we won't get
the resubmission warning when back to Google search result.

Fix http://b/issue?id=1490379
Break/reopen http://b/issue?id=1980031
2009-10-12 17:39:50 -07:00
Katarina Stenstedt
d1f3d4e829 SDK doc change per http://b/2158141 - adds new res wizard to L10N tutorial.
Changed image links to use @docRoot.

Change-id: If30c5e20bbbb0dd4a6eb0563ede2767d110e1c2e
Bug: 2158141
2009-10-12 16:17:42 -07:00
Libin Tang
febb94cdbb Make standard roaming indicator display indications configurable
Allow the ERI overlay file to specify the text for any built-in strings.
Currently only the hard-coded strings are used for those.

Bug: 2170881
Change-Id: I5d6169696a4558e62587585e17f908f823c54a2b
2009-10-12 14:13:04 -07:00
Android (Google) Code Review
6d02f3f3ff Merge change I71f48a21 into eclair
* changes:
  Reduce the amount of EriManager Logging.
2009-10-12 15:25:51 -04:00
Robert Greenwalt
71f48a21b0 Reduce the amount of EriManager Logging.
It was filling the radio log with noise.  Added a VDBG set to false to preserve the logging
but deactivate it.

bug: 2180891
2009-10-12 12:13:14 -07:00