41579 Commits

Author SHA1 Message Date
Dan Morrill
fe7006c5fc am 9dbf1351: Merge "Adding faketouch feature." into honeycomb
* commit '9dbf1351e8cd1d8a320cdc7fecffc876fffb71f1':
  Adding faketouch feature.
2011-01-23 14:18:52 -08:00
Romain Guy
c1cd9ba335 Add support for ovals and stroked rectangles.
Change-Id: I1292e241386763c82e6622c8f7ed90b0f5b7bd4f
2011-01-23 14:18:41 -08:00
Romain Guy
d182046ee6 Merge "Add support for ovals and stroked rectangles." into honeycomb 2011-01-23 14:17:28 -08:00
Dan Morrill
9dbf1351e8 Merge "Adding faketouch feature." into honeycomb 2011-01-23 14:17:18 -08:00
Jeff Brown
d34887a799 am b867b1f6: Merge "Avoid unnecessarily redrawing the wallpaper." into honeycomb
* commit 'b867b1f6a2854e271223bddb2e39d594bdb493b6':
  Avoid unnecessarily redrawing the wallpaper.
2011-01-23 13:42:26 -08:00
Jeff Brown
21c38db8ec am c9ce1f24: Merge "Fix spurious resizes during rotation animation." into honeycomb
* commit 'c9ce1f24df4c50e27ffe50495aef968e6cbe7f6f':
  Fix spurious resizes during rotation animation.
2011-01-23 13:42:22 -08:00
Jim Miller
42a461570b Fix 3379239: Catch exceptions from workaround for OOM.
This catches possible exceptions caused by attempting to
unregister a receiver that may have already been unregistered.
This is related to the OOM issue workaround in Change I99a7e0c3.

Change-Id: Ib69a8acc6b12659125c958a03efac0a8a68a3859
2011-01-23 13:40:31 -08:00
Jeff Brown
5f1e37a736 am f4180679: Merge "Fix SENSOR_LANDSCAPE and SENSOR_PORTRAIT" into honeycomb
* commit 'f41806799ad70085722dd7d11e3f8043109290bf':
  Fix SENSOR_LANDSCAPE and SENSOR_PORTRAIT
2011-01-23 13:40:21 -08:00
Jeff Brown
b867b1f6a2 Merge "Avoid unnecessarily redrawing the wallpaper." into honeycomb 2011-01-23 13:39:23 -08:00
Jeff Brown
c9ce1f24df Merge "Fix spurious resizes during rotation animation." into honeycomb 2011-01-23 13:39:10 -08:00
Jeff Brown
f41806799a Merge "Fix SENSOR_LANDSCAPE and SENSOR_PORTRAIT" into honeycomb 2011-01-23 13:38:51 -08:00
Dan Morrill
a537687c38 Adding faketouch feature.
Change-Id: Idff0b059c2f82fa4237d6238710e87dc55ae76a8
2011-01-23 13:36:13 -08:00
Romain Guy
f6834478b3 Always render text underline extra.
Bug #3381287

Change-Id: Ibfbc9c51c8dccef216daccc37d835e5dbf143a6a
2011-01-23 13:32:12 -08:00
Romain Guy
73fafb382b am f6834478: Always render text underline extra. Bug #3381287
* commit 'f6834478b379856d3e5de92ddce7de0e6ba9fa4a':
  Always render text underline extra. Bug #3381287
2011-01-23 13:32:12 -08:00
Jeff Brown
fa2e504087 Avoid unnecessarily redrawing the wallpaper.
Added some logic to ImageWallpaper to avoid redrawing the wallpaper
when it is not necessary.  Even with the resize fixes, we were still
redrawing the wallpaper an extra 5 times due to visibility and
offset changes which had no real effect.

Change-Id: Ifa39b7bb8c0f7a6a41bc81e00cc2159440f529c5
2011-01-23 13:14:23 -08:00
Jeff Brown
fbae722d2a Fix spurious resizes during rotation animation.
Fixed a bug in WindowManagerService where it would set mSurfaceResized
to true even if the surface was just moved and not resized.  As a result,
we would send dozens of spurious resize messages to all applications
during orientation changes since the rotation animation changes the
positions of surfaces as they swing into place.  Among other things,
the spurious resizes caused the wallpaper to be redrawn dozens of time.

Change-Id: I2be7278c0d6a00aaef665a65e268d8da1771e51f
2011-01-23 13:07:25 -08:00
Jeff Brown
892bd76881 Fix SENSOR_LANDSCAPE and SENSOR_PORTRAIT
Fixed a bug in the handling of SENSOR_LANDSCAPE and SENSOR_PORTAIT
on devices that have a natural landscape orientation.  The old code
was disabling 180 degree orientation detection when it shouldn't have.

Change-Id: I484a0aa44b3b8267a7d3b74bdf39c296faa7c6e3
2011-01-23 13:05:44 -08:00
Dianne Hackborn
1240719ae0 am bcf2adeb: Merge "aapt: Allow raw "%" in unformatted string-arrays"
* commit 'bcf2adeb10c41becec3baa2bcb8de9212272399a':
  aapt: Allow raw "%" in unformatted string-arrays
2011-01-23 12:57:33 -08:00
Dianne Hackborn
bcf2adeb10 Merge "aapt: Allow raw "%" in unformatted string-arrays" 2011-01-23 12:44:13 -08:00
Dianne Hackborn
11a5d42454 am b149f5c8: Merge "Fix issue #3302006: Cannot see the dialog lunched from a transparent activity." into honeycomb
* commit 'b149f5c8d29cda2f2e46559a68467be89714f737':
  Fix issue #3302006: Cannot see the dialog lunched from a transparent activity.
2011-01-23 12:03:16 -08:00
Romain Guy
1b58fcf73a am 60559631: Merge "Collapse sucessive calls to restoreToCount() in display lists." into honeycomb
* commit '6055963155450dff2c287d5568a5c4390d796f3a':
  Collapse sucessive calls to restoreToCount() in display lists.
2011-01-23 12:01:15 -08:00
Dianne Hackborn
b149f5c8d2 Merge "Fix issue #3302006: Cannot see the dialog lunched from a transparent activity." into honeycomb 2011-01-23 12:00:41 -08:00
Romain Guy
6055963155 Merge "Collapse sucessive calls to restoreToCount() in display lists." into honeycomb 2011-01-23 11:59:39 -08:00
Romain Guy
27454a42de Collapse sucessive calls to restoreToCount() in display lists.
Change-Id: Icb3d3dc2c579436d375269a9cb0b821a931c5a79
2011-01-23 12:01:41 -08:00
Dheeraj Sharma
b21827d1bc Video Editor:Fix for 3375632
Change-Id: I354b8b653ea0ccddda49a6e530ad63b5bd44a5b2
2011-01-23 11:55:47 -08:00
Adam Powell
3cd70bc62d am b35672e4: Merge "Fix bug 3380299 - Update checkboxes to show checks." into honeycomb
* commit 'b35672e4ef5dfe9719c2ba4b088eceabab0fade8':
  Fix bug 3380299 - Update checkboxes to show checks.
2011-01-23 11:51:04 -08:00
Adam Powell
b35672e4ef Merge "Fix bug 3380299 - Update checkboxes to show checks." into honeycomb 2011-01-23 11:44:55 -08:00
Jesse Wilson
db35269ae4 Don't call broken+deprecated SamplingProfiler.writeHprofData
http://b/3381260
Change-Id: I5cf5ef8fbac2ada3669a0f7eff42f834db6573d7
2011-01-23 11:43:45 -08:00
Romain Guy
f632765e0c am 4cf6e2f3: Fix potential crash in display lists.
* commit '4cf6e2f34994f160e1baba205a43c12784dd3e0d':
  Fix potential crash in display lists.
2011-01-23 11:35:41 -08:00
Romain Guy
4cf6e2f349 Fix potential crash in display lists.
Change-Id: I868821cbe69f7e71d93701b9cdb528a2ef796cd4
2011-01-23 11:35:13 -08:00
Jeff Hamilton
9f20cd7ff2 Allow null filters for foreground dispatch to act as catch all.
Change-Id: Idf3d2e344a6e87035ccb5b533ed9e81fec596132
2011-01-23 12:15:28 -06:00
Jeff Brown
c3563eb9e7 am 265cf2e7: Merge "Fix getSwitchState."
* commit '265cf2e76bef9ee369a7d43d567a22a0c39355ef':
  Fix getSwitchState.
2011-01-22 21:32:58 -08:00
Jeff Brown
265cf2e76b Merge "Fix getSwitchState." 2011-01-22 21:23:19 -08:00
Josh Stone
bf50322a24 aapt: Allow raw "%" in unformatted string-arrays
Commit 15fe2cb added format checking for translatable strings, enforcing
the use of positional args.  This check can be disabled on <string>
values with translatable="false" or formatted="false".  But they didn't
check for those attributes on <string-array>, so some of CM's strings
fail when they're not really format strings, just because they contain
percent signs.  (e.g. brightness widget's "Auto/Dim/40%/100%")

So now the formatted/translatable attributes are checked in string-array
too, and we can restore our proper percent signs.

Change-Id: I3478ab7e0b939e61fe0cec20201ac55096264080
2011-01-22 21:13:12 -08:00
Adam Powell
9061a9bda8 Fix bug 3380299 - Update checkboxes to show checks.
Glowing square lights out, check marks in!

Update radio buttons.

Change-Id: I8f03f4a72ad8d97310bd4f7321dde0d466bd6d49
2011-01-22 19:03:54 -08:00
Dianne Hackborn
ff801ec713 Fix issue #3302006: Cannot see the dialog lunched from a transparent activity.
The activity manager was not performing the layout pass on the new window,
because its app token was still hidden, because the activity manager / window
manager were still waiting for it to be ready to show.

Just ignore whether the app token is hidden for this case.

Also fixes some problems with animations, and tweaks the ViewConfiguration
values for xlarge screens.

Change-Id: Icbe9c77ba8127d1e02df2d6f27b8e86ec842e50a
2011-01-22 18:13:13 -08:00
Adam Powell
3808f4bed7 am 41f42412: Fix bug 3380266 - Add searchview min width defaults for non-xlarge configurations
* commit '41f4241240798be91adcff7181e5a3adf651da55':
  Fix bug 3380266 - Add searchview min width defaults for non-xlarge configurations
2011-01-22 16:22:22 -08:00
Adam Powell
41f4241240 Fix bug 3380266 - Add searchview min width defaults for non-xlarge configurations
Change-Id: Ibebf7438b668c27f726d9023d0530d90e72d413c
2011-01-22 15:24:49 -08:00
Mike Lockwood
f1762fd25f am 2d044d1f: Merge "Remove MTP related log spam" into honeycomb
* commit '2d044d1ff9d5d51eba9669857b7d5ea4e9c2ac52':
  Remove MTP related log spam
2011-01-22 14:37:31 -08:00
Mike Lockwood
2d044d1ff9 Merge "Remove MTP related log spam" into honeycomb 2011-01-22 14:35:39 -08:00
Dianne Hackborn
db4e32fe68 am f36af164: Merge "Whoops, actually exclude pre-HC apps." into honeycomb
* commit 'f36af16479e252bec168ed181885ec21d9df46f5':
  Whoops, actually exclude pre-HC apps.
2011-01-22 13:09:01 -08:00
Dianne Hackborn
f36af16479 Merge "Whoops, actually exclude pre-HC apps." into honeycomb 2011-01-22 13:06:48 -08:00
Dianne Hackborn
842e04b221 Whoops, actually exclude pre-HC apps.
Change-Id: I7266b3a622ae65f350bdb2a0eb6557b481a14365
2011-01-22 13:00:12 -08:00
Dianne Hackborn
8a0f175600 am 5503d803: Merge "Fix issue #3377999: Activities need to be stopped when sleeping" into honeycomb
* commit '5503d803ecee63d417128d3849717b59b971fc08':
  Fix issue #3377999: Activities need to be stopped when sleeping
2011-01-22 11:51:40 -08:00
Dianne Hackborn
6d92cde287 am 35f4d32d: Merge "frameworks/base: Track owner in appropriate owners list of Uri"
* commit '35f4d32dc2f0c383323e780ecc7e2764704c5d2c':
  frameworks/base: Track owner in appropriate owners list of Uri
2011-01-22 11:50:41 -08:00
Dianne Hackborn
5503d803ec Merge "Fix issue #3377999: Activities need to be stopped when sleeping" into honeycomb 2011-01-22 11:38:48 -08:00
Dianne Hackborn
35f4d32dc2 Merge "frameworks/base: Track owner in appropriate owners list of Uri" 2011-01-22 11:26:05 -08:00
Romain Guy
8b9a5ad9d5 am b2ee64ed: Merge "Fix regression with hardware layers." into honeycomb
* commit 'b2ee64edffe3dfe7316baa435566f777e657d9a0':
  Fix regression with hardware layers.
2011-01-22 00:41:16 -08:00
Romain Guy
b2ee64edff Merge "Fix regression with hardware layers." into honeycomb 2011-01-22 00:39:16 -08:00
Romain Guy
c88e357d1e Fix regression with hardware layers.
The renderer was checking whether the layer's region is a rect to
draw it with a simple quad. This test was done against the layer's
region structure, which was cleared after generating the mesh.
Unfortunately Region::isRect() returns true when the region is
empty, which was causing the renderer to always use a quad to
draw a mesh on screen.

Change-Id: If4b874579ee0cedcb67367c9efa5c0c98ca55231
2011-01-22 00:35:23 -08:00