40232 Commits

Author SHA1 Message Date
Josh Stone
02feeb4b2b 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-23 16:00:36 -08:00
Dianne Hackborn
9d97b63d0e Honeycomb is now officially API 11.
Change-Id: I5b11801468bf6ee2482f1ef201ece70ed9303bd8
2011-01-23 14:56:39 -08:00
Dianne Hackborn
b4ca900d13 Merge "Final (hopefully) API cleanup." into honeycomb 2011-01-23 14:48:09 -08:00
Dianne Hackborn
f3e735c2c3 Final (hopefully) API cleanup.
Change-Id: Iaac6b2ca399eda44458c2bc1a6501672b6c85b90
2011-01-23 14:43:11 -08:00
Romain Guy
d182046ee6 Merge "Add support for ovals and stroked rectangles." into honeycomb 2011-01-23 14:17:28 -08:00
Romain Guy
c1cd9ba335 Add support for ovals and stroked rectangles.
Change-Id: I1292e241386763c82e6622c8f7ed90b0f5b7bd4f
2011-01-23 14:18:41 -08:00
Dan Morrill
9dbf1351e8 Merge "Adding faketouch feature." into honeycomb 2011-01-23 14:17:18 -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
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
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
Adam Powell
b35672e4ef Merge "Fix bug 3380299 - Update checkboxes to show checks." into honeycomb 2011-01-23 11:44:55 -08:00
Romain Guy
4cf6e2f349 Fix potential crash in display lists.
Change-Id: I868821cbe69f7e71d93701b9cdb528a2ef796cd4
2011-01-23 11:35:13 -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
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
2d044d1ff9 Merge "Remove MTP related log spam" into honeycomb 2011-01-22 14:35:39 -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
5503d803ec Merge "Fix issue #3377999: Activities need to be stopped when sleeping" into honeycomb 2011-01-22 11:38:48 -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
Dirk Dougherty
794e886715 Merge "doc change: update glibc/ubuntu min req for sdk. Add info about emulator performance." into honeycomb 2011-01-21 22:24:42 -08:00
Dirk Dougherty
8608476c45 doc change: update glibc/ubuntu min req for sdk. Add info about emulator performance.
Change-Id: Ia6f0731538ed8df76dbb949d9052667013b8da7c
2011-01-21 22:21:47 -08:00
Jaikumar Ganesh
8db58ea52c Merge "Connect other profiles when priority is auto connect." into honeycomb 2011-01-21 21:24:49 -08:00
Romain Guy
acf36126e4 Merge "Log only 1 line per process when using OpenGLRenderer." into honeycomb 2011-01-21 21:15:40 -08:00
Romain Guy
c9855a53ed Log only 1 line per process when using OpenGLRenderer.
Change-Id: Idbdd6b84f31301e58ed53e0d50fd61fece192dfa
2011-01-21 21:14:15 -08:00
Mike Lockwood
f26a586c86 Remove MTP related log spam
Change-Id: I9de1792cbeec07fa5ab42ff9a10813f0c3d30fc1
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-21 21:00:54 -08:00
Robert Ly
baf5e7683e Doc change: adding sample links
Change-Id: I8922fe5d775b1b3c9acf0c1002188a9dd89ff611
2011-01-21 20:58:48 -08:00
Jesse Wilson
3a27acef4e Merge "Update preloaded-classes for Honeycomb." into honeycomb 2011-01-21 19:29:22 -08:00
Jaikumar Ganesh
a8d18865a4 Connect other profiles when priority is auto connect.
ACL auto connection was removed so other profiles
won't auto connect when priority was auto connect.

Reduced connect other profiles time delay.

Bug: 3281016
Change-Id: I8d98fd0d9bace193d619d7f241fff22f07e3e935
2011-01-21 19:22:23 -08:00
Scott Main
d8ea604b7e Merge "add note about emulator performance" into honeycomb 2011-01-21 19:13:38 -08:00
Justin Ho
23783dcd21 Merge "Updated ic_sysbar menu asset" into honeycomb 2011-01-21 19:11:56 -08:00
Scott Main
04f04b2732 add note about emulator performance
Change-Id: I92bcbc10f6cbf89abb2d8cc8ea80bc283f8fa343
2011-01-21 19:11:23 -08:00
Justin Ho
b132d8c9b1 Merge "Updated IME asset" into honeycomb 2011-01-21 19:11:15 -08:00
Justin Ho
c5d7b06ce3 Updated ic_sysbar menu asset
Change-Id: I108f4313c881b8805065a8e414d5abbe482d449c
2011-01-21 19:10:09 -08:00
Justin Ho
92ca33ca62 Updated IME asset
Change-Id: Iba03d6d070467b8f5335690e9cf5fc0fb04dce68
2011-01-21 19:08:33 -08:00
Romain Guy
596ba2fa79 Merge "Correctly invalidate views that transition from opaque to non-opaque. Bug #3337037" into honeycomb 2011-01-21 19:02:05 -08:00
Romain Guy
c5d55863ec Correctly invalidate views that transition from opaque to non-opaque.
Bug #3337037

Change-Id: I31397273a31b6004e2e3801866122bcbb3ebee5d
2011-01-21 19:03:58 -08:00
Scott Main
fa9d452b45 Merge "update sidenav, fix typos" into honeycomb 2011-01-21 18:48:58 -08:00
Scott Main
6027501a75 update sidenav, fix typos
Change-Id: I9da574db1ee13f511a5557f6ce4559192afc67b3
2011-01-21 18:48:09 -08:00
Bart Sears
e2ff529b3f Merge "b/3377597 Improve zooming performance." into honeycomb 2011-01-21 18:47:13 -08:00
Scott Main
a3c3b84260 Merge "more revisions to getting started; add emulator issues" into honeycomb 2011-01-21 18:26:53 -08:00