100251 Commits

Author SHA1 Message Date
Chris Craik
5d11676414 Clean up clipping and deferral logic
bug:8037003

-Merges replay methods
-Bounds checking for DrawBitmapMesh, DrawRects and DrawDisplayList
-Use clip as bounds for otherwise unbounded draw operations

Clip-as-bounds is correct for drawColor and functor, but other draw
operations (pos text, text on path, and layers) still need true bounds
calculation

Change-Id: I5d5149d2c624f01e3fe46628bf156e835e69b9d5
2013-02-19 18:56:10 -08:00
Chris Craik
ad82f20d23 Merge "DisplayList draw operation reordering" 2013-02-19 17:53:50 +00:00
Przemyslaw Szczepaniak
5acb33af35 Make synthesizeToFile create file on a client side.
In previous setup, synthesizeToFile method relied on synthesizer
service to create world readable output file. This is potential
source of vulnerabilities.

This change moves output file creation to the client side, and
synthesizer service receives already opened file descriptor.

This change may break applications that are creating files in
now unaccessible locations, like /sdcard/.

Bug: 8027957
Change-Id: I97351be5d2f2f8ef9aa43d0ab08c4b825ca4c22b
2013-02-18 11:09:23 +00:00
Satoshi Kataoka
7f7535fd25 Fix an issue where voice input is not enabled by default for the secondary user
Bug: 8205725
Change-Id: I438daf996ba48cdb34f0a6158a0cbb510aae931b
2013-02-18 14:08:07 +09:00
Chris Craik
ac838a3ab9 Merge "Correct PatchCache comparison logic" 2013-02-16 03:36:37 +00:00
Chris Craik
9935abceea Correct PatchCache comparison logic
Change-Id: I3d0832505b5380bfa362863b39e09dd10f792582
2013-02-15 19:33:43 -08:00
Jason Sams
840b506970 Merge "Support typed YUV allocations." 2013-02-16 02:54:22 +00:00
Tim Murray
ab7a2919a3 Merge "Add MIRRORED_REPEAT." 2013-02-16 02:11:32 +00:00
Chris Craik
857089eb1e Merge "Adjust offset for non-AA line drawing" 2013-02-16 02:09:22 +00:00
Jason Sams
dd6c8b34f1 Support typed YUV allocations.
Change-Id: I56e7a318dc979f0b7454fcfa5773ea6d95bbaeaa
2013-02-15 17:27:24 -08:00
Mathias Agopian
8d1a6af408 Merge "fix typo introduced in SurfaceTextureClient to Surface renaming" 2013-02-16 00:37:38 +00:00
Mathias Agopian
f798a8e8d4 fix typo introduced in SurfaceTextureClient to Surface renaming
Change-Id: Iaf1ecc9f5b83a029067b278bc15180d68a113587
2013-02-15 16:35:21 -08:00
Irfan Sheriff
b21a30dbc2 am 05913cc9: (-s ours) am c6ea41ef: Merge changes I8c5649c9,I79b43bf7,I83a01690,If5687eac,Ib9fd57c6,I7104250e
* commit '05913cc97915f04d0c75ce6a39282628570e90ff':
  Fix broken test.
  Track keys per config and allow cert push from apps
  eix enterprise config storage bugs
  Fix connectivitymanagertest
  Fix build
  Refactor enterprise config
2013-02-15 16:18:50 -08:00
Laurent Tu
7c93839d7b Revert "Tentative fix for aidl import issue"
Fix build.

This reverts commit 4f115e08cb68aaf77693f3f4598f0eb5f7634777.

Change-Id: Ic4f51e3492f54afec5f0eeb48e08491eb47f3c04
2013-02-15 16:07:56 -08:00
Irfan Sheriff
05913cc979 am c6ea41ef: Merge changes I8c5649c9,I79b43bf7,I83a01690,If5687eac,Ib9fd57c6,I7104250e
* commit 'c6ea41efc93df12eeef7c59124bee83e8f3f7a41':
  Fix broken test.
  Track keys per config and allow cert push from apps
  eix enterprise config storage bugs
  Fix connectivitymanagertest
  Fix build
  Refactor enterprise config
2013-02-15 15:55:43 -08:00
Irfan Sheriff
c6ea41efc9 Merge changes I8c5649c9,I79b43bf7,I83a01690,If5687eac,Ib9fd57c6,I7104250e
* changes:
  Fix broken test.
  Track keys per config and allow cert push from apps
  eix enterprise config storage bugs
  Fix connectivitymanagertest
  Fix build
  Refactor enterprise config
2013-02-15 23:42:28 +00:00
Svetoslav
7f84ed31f0 Merge "Dynamically configurable accessibility flags mishandled." 2013-02-15 23:26:59 +00:00
Svetoslav
9e065121fa Dynamically configurable accessibility flags mishandled.
A bug was preventing clearing dynamically settable accessibility
service flags.

bug:8051095

Change-Id: I6844b2f44e323bc741ac39983a892f1d28f3132b
2013-02-15 15:24:13 -08:00
Wink Saville
1c2acdc6e8 Fix broken test.
Change-Id: I8c5649c9b3d917cf13b94d49da44eaf510643df6
2013-02-15 15:20:37 -08:00
Irfan Sheriff
b815edf3ab Track keys per config and allow cert push from apps
Allow configuring keys for a configuration and update/delete
from wificonfigstore.

Change-Id: I79b43bf7ca58f7efc95f7dcc125fc84d7aa8c795
2013-02-15 15:19:35 -08:00
Laurent Tu
8acb27c505 Merge "Tentative fix for aidl import issue" 2013-02-15 23:16:08 +00:00
Dirk Dougherty
156a2fc65a am 5fce0c1f: am e91b0533: am ed0c6fe6: am 531375f9: am 34434bad: Doc change: Edits for RTL in highlights.
* commit '5fce0c1fe3352ae7c69dc67be1ff84425e11455a':
  Doc change: Edits for RTL in highlights.
2013-02-15 15:12:37 -08:00
Dirk Dougherty
5fce0c1fe3 am e91b0533: am ed0c6fe6: am 531375f9: am 34434bad: Doc change: Edits for RTL in highlights.
* commit 'e91b053369638f81e725a47a7491853b06aca5ae':
  Doc change: Edits for RTL in highlights.
2013-02-15 15:11:25 -08:00
Dirk Dougherty
e91b053369 am ed0c6fe6: am 531375f9: am 34434bad: Doc change: Edits for RTL in highlights.
* commit 'ed0c6fe66ce836431ba999cb79fa0d1441e21997':
  Doc change: Edits for RTL in highlights.
2013-02-15 15:08:33 -08:00
Dirk Dougherty
ed0c6fe66c am 531375f9: am 34434bad: Doc change: Edits for RTL in highlights.
* commit '531375f9bdca84a34a0ca5bdba34f44f0b34ed50':
  Doc change: Edits for RTL in highlights.
2013-02-15 15:06:00 -08:00
Dirk Dougherty
531375f9bd am 34434bad: Doc change: Edits for RTL in highlights.
* commit '34434badf6ca2fd04c088e2971d33ded39158d22':
  Doc change: Edits for RTL in highlights.
2013-02-15 15:03:37 -08:00
Dirk Dougherty
34434badf6 Doc change: Edits for RTL in highlights.
Change-Id: I4a01bbcaa1470dce571295a9e5e035a395c28c1a
2013-02-15 15:00:43 -08:00
Irfan Sheriff
b07526fb1c eix enterprise config storage bugs
Reading empty and not updating was resulting in retaining old values
in a config. Also, fix matching phase2 entries.

Additionally, allow configuring subset of enterprise fields. Necessary
since password cannot be read back from supplicant.

Change-Id: I83a01690a0cf7cad1457a674f50f1e3a1a0441b5
2013-02-15 14:58:15 -08:00
Irfan Sheriff
46e0931080 Fix connectivitymanagertest
Change-Id: If5687eacec0f502c39b102eb5cf7d9383f0ec056
2013-02-15 14:55:15 -08:00
Chris Craik
62a42c13a6 Adjust offset for non-AA line drawing
bug:8114304

The original .375 was chosen to make GL_LINES align with Skia drawing.
The new value of .065 is chosen to be as small as possible to make
triangle-based lines align with Skia, while keeping lines drawn on
integer coordinates unambiguous as to which column/row they draw on.

Also adds more lines in CanvasCompare test to highlight the difference

Change-Id: If578684f2db320682219c3caa625cf79bc62d88f
2013-02-15 14:53:12 -08:00
Tim Murray
6b9b2caf2b Add MIRRORED_REPEAT.
Change-Id: I7565da24912a3c33d8f824da9ea0899a423d3c40
2013-02-15 14:53:09 -08:00
Irfan Sheriff
2f6778c038 Fix build
Change-Id: Ib9fd57c641e3bd2001c7c802f35d97e0cb849b8a
2013-02-15 14:52:33 -08:00
Irfan Sheriff
c72c5625c6 Refactor enterprise config
Change-Id: I7104250e80317fce6164385701a7caffbcd14813
2013-02-15 14:51:19 -08:00
Baligh Uddin
e1fbc6d7fb Merge "Import translations. DO NOT MERGE" 2013-02-15 22:43:35 +00:00
Baligh Uddin
21741f8734 Merge "Import translations. DO NOT MERGE" 2013-02-15 22:39:22 +00:00
Mathias Agopian
ceec31b7da Merge changes I5a218ca1,I853a76d9
* changes:
  Refactoring: Rename SurfaceTextureClient to Surface
  clean-up following Surface split
2013-02-15 22:08:40 +00:00
Romain Guy
aa8307b991 Merge "Remove obsolete header file" 2013-02-15 21:58:29 +00:00
Baligh Uddin
4cf32d2e9f Import translations. DO NOT MERGE
Change-Id: I12eb67341bf7801d996bfaef6ede235dbb3daecd
Auto-generated-cl: translation import
2013-02-15 13:43:45 -08:00
Baligh Uddin
570bf48d4a Import translations. DO NOT MERGE
Change-Id: Id6fd43d678aa4013c8d8214ac9b6b66de3982d69
Auto-generated-cl: translation import
2013-02-15 13:37:31 -08:00
Chris Craik
c3566d0642 DisplayList draw operation reordering
bug:8037003

The reordering enables similar operations to draw together, minimizing the
OpenGL state change operations that go inbetween draws. Eventually, multiple
complete canvas draw operations will be merged (into a single glDrawArrays call,
for example)

Reorders DisplayList draw operations when:

-They can move backwards in the command stream to be after similar
operations without violating draw ordering

-The OpenGLRenderer is in a simple, replayable state (no complex clip,
or filter/shadow etc)

Also adds two system properties to control the deferral/reordering:
    "debug.hwui.disable_draw_defer"
    "debug.hwui.disable_draw_reorder"
which can be set to "true" to control the display list manipulation

Change-Id: I5e89f3cb0ea2d2afd3e15c64d7f32b8406777a32
2013-02-15 13:30:09 -08:00
Adam Powell
fdc61af16f Merge "Fix missing onSingleTapConfirmed calls in GestureDetector" 2013-02-15 21:08:07 +00:00
Mathias Agopian
5280061794 Refactoring: Rename SurfaceTextureClient to Surface
Change-Id: I5a218ca11abeeec05e3a4c3cfc581bcc788814ea
2013-02-15 12:47:40 -08:00
Mathias Agopian
29479ebe10 clean-up following Surface split
Change-Id: I853a76d92d957ee38a36fcdd280d6407ec316987
2013-02-15 12:47:40 -08:00
Romain Guy
13ba005484 Remove obsolete header file
We now use the same mechanism to compare keys everywhere in libhwui.

Change-Id: I8b3cb25b13f4f38eb6f12aed0356f796a773617c
2013-02-15 12:47:26 -08:00
Svetoslav
c145317d0b Merge "User switch not handled properly in the accessibility manager service." 2013-02-15 20:30:17 +00:00
Svetoslav
5fec0c5ee5 User switch not handled properly in the accessibility manager service.
On user switch the transient state of the old user was not cleared
which means that when we switch back to this user the operational
state such as which event types were dispatched, what state was sent
to local managers, etc is stale. This leads to semi-updated state
and broken behavior. Now if the user becomes inactive, we are clearing
all transient state which will be recreated when the user becomes
active.

bug:8196652

Change-Id: Ie9e0d712b6d567e5074b328f1bb87afaa5395c06
2013-02-15 12:29:17 -08:00
Christopher Tate
afc43ed9a7 Merge "Full backup now saves getExternalFilesDir() content with the app data" 2013-02-15 19:38:08 +00:00
Adam Powell
eca3e6065e Fix missing onSingleTapConfirmed calls in GestureDetector
Eliminate the short period of time between the tap timeout and long
press causing onSingleTapConfirmed not to be dispatched when apps
expect.

Bug 8124095

Change-Id: I9841ab2a8eb3fee7d57e744e1c8e0e42e108d5f6
2013-02-15 11:27:02 -08:00
Christopher Tate
416c39e8d4 Full backup now saves getExternalFilesDir() content with the app data
... instead of only saving it with the enormous "shared storage" generic
data blob.  In parallel, we no longer store managed app-specific files
on external storage as part of the generic shared-storage blob.

At restore time we just go ahead and apply such files, though,
because they're a priori going to be part of an archive generated by
an older version of the platform, so that's how the data is expected
to be handled in those circumstances.

Bug 6718844

Change-Id: I4410514d368b11d74b3afe6b92d363d4115a3415
2013-02-14 18:46:53 -08:00
Michael Wright
00e592272e Merge "Fix default behavior for gamepad buttons" 2013-02-15 01:47:38 +00:00