39511 Commits

Author SHA1 Message Date
Luca Zanolin
99b14b0247 am 8cd8135b: Enable correction/deleting notification via EasyEditSpan.
* commit '8cd8135b95da5b471804604b06084eecbe1cc23b':
  Enable correction/deleting notification via EasyEditSpan.
2013-02-20 04:14:23 -08:00
Luca Zanolin
8cd8135b95 Enable correction/deleting notification via EasyEditSpan.
When the "delete" pop-up is clicked (and the wrapped text removed), the
creator of the span will receive a notification of the action.

Similarly, if the user modifies (i.e., add/remove a char), the creator of
the span will receive a notification too. The notification will not contain any
information about how the text has been modified.


Bug: 6905960
Change-Id: Ic227b8fd50066699915f69a54f225fb5330867c4
2013-02-20 11:35:19 +00:00
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
Mathias Agopian
f3d3b4d806 get rid of uses of getISurfaceTexture
Change-Id: Ibb14327a2b7217994adaa91cc977b163a5509e4a
2013-02-19 18:26:15 -08:00
Romain Guy
04bef5a6bb am 9943155b: Merge "Show Dalvik stack trace if an exception happens at draw time External bug: http://code.google.com/p/android/issues/detail?id=49379"
* commit '9943155b4db517deb72bd433d1cc9916bd84ae70':
  Show Dalvik stack trace if an exception happens at draw time External bug: http://code.google.com/p/android/issues/detail?id=49379
2013-02-19 15:37:43 -08:00
Romain Guy
9943155b4d Merge "Show Dalvik stack trace if an exception happens at draw time External bug: http://code.google.com/p/android/issues/detail?id=49379" 2013-02-19 23:34:30 +00:00
Romain Guy
d17043dcb4 Show Dalvik stack trace if an exception happens at draw time
External bug: http://code.google.com/p/android/issues/detail?id=49379

Drawing was previously wrapped in a try/finally block which was silently
swallowing user code exceptions. For instance, if a View throws a
NullPointerException in its onDraw() method, the previous implementation
would silently crash in native code.

This change extracts the section that builds display lists into a new
method that does not contain any try/finally block.

In addition, this change logs any exception thrown while drawing
display lists.

Change-Id: I0abffa4c9183d41aac8b0f8442813e56b957f08f
2013-02-19 14:12:55 -08:00
Baligh Uddin
d193da8579 Merge "Import translations. DO NOT MERGE" into master-chromium 2013-02-19 21:50:42 +00:00
Baligh Uddin
9f81aff74d Merge "Import translations. DO NOT MERGE" 2013-02-19 21:46:45 +00:00
Romain Guy
61302eec45 am 88b556f8: Merge "Fix the build"
* commit '88b556f8d4780b053851b10400b9cd0442ad7991':
  Fix the build
2013-02-19 13:14:00 -08:00
Romain Guy
88b556f8d4 Merge "Fix the build" 2013-02-19 21:11:25 +00:00
Romain Guy
4bac6c1a54 Fix the build
Change-Id: I2a0e0d5a25e0c26872dfffeecfb42bace25c0f3c
2013-02-19 13:10:25 -08:00
Dianne Hackborn
7ccb4e79ef am 79ad13f1: Merge "Implement display overscan support."
* commit '79ad13f172094117fab7e816f36a4b84ed241df0':
  Implement display overscan support.
2013-02-19 13:02:53 -08:00
Dianne Hackborn
79ad13f172 Merge "Implement display overscan support." 2013-02-19 21:00:11 +00:00
Romain Guy
846f5f238f am e91efaba: Merge "Expose display list APIs"
* commit 'e91efabaf2c51d017bf4c5bc4e06491c3511f4e5':
  Expose display list APIs
2013-02-19 12:36:28 -08:00
Baligh Uddin
a571fb8d89 Import translations. DO NOT MERGE
Change-Id: I81ef479715ca8b050c26b9e3073f714715abc478
Auto-generated-cl: translation import
2013-02-19 12:33:10 -08:00
Baligh Uddin
cda90b6d80 Import translations. DO NOT MERGE
Change-Id: Id749bf92fae550427415636ec1816b9683a614b3
Auto-generated-cl: translation import
2013-02-19 12:30:44 -08:00
Romain Guy
52036b19a5 Expose display list APIs
The exposed APIs are slightly simpler than the full APIs used internally.
Only APIs useful to applications are exposed.

Change-Id: Ie03014628d40ad5ef63dedbc52ce3def84429d54
2013-02-19 12:30:02 -08:00
Daniel Sandler
09a247e9a8 New INotificationListener interface.
Use with INotificationManager.registerListener(). Limited to
system only right now.

Change-Id: I65b6a8778267022cdc5e58eb75ae607a54b1cc52
2013-02-19 15:26:37 -05:00
Dianne Hackborn
c652de8141 Implement display overscan support.
The window manager now keeps track of the overscan of
each display, with an API to set it.  The overscan impacts
how it positions windows in the display.  There is a new set
of APIs for windows to say they would like to go into the
overscan region.  There is a call into the window manager to
set the overscan region for a display, and it now has a
concept of display settings that it stores presistently.

Also added a new "wm" command, moving the window manager
specific commands from the "am" command to there and adding
a new now to set the overscan region.

Change-Id: Id2c8092db64fd0a982274fedac7658d82f30f9ff
2013-02-19 12:08:58 -08:00
Jeff Sharkey
fb67f34eae am 736ef1e9: Merge "Better API for low disk space warnings."
* commit '736ef1e9dedbdd0c24e27f170034f2f869fd083f':
  Better API for low disk space warnings.
2013-02-19 10:22:06 -08:00
Jeff Sharkey
736ef1e9de Merge "Better API for low disk space warnings." 2013-02-19 18:18:53 +00:00
Victoria Lease
968c5bf177 am efd8b105: am 5782c16d: am c36303a6: Merge "Applying ChannelScrolling to remove calculateDragAngle"
* commit 'efd8b105ca7ff1f44040845af201e4bec356f824':
  Applying ChannelScrolling to remove calculateDragAngle
2013-02-19 10:16:01 -08:00
Victoria Lease
efd8b105ca am 5782c16d: am c36303a6: Merge "Applying ChannelScrolling to remove calculateDragAngle"
* commit '5782c16d34d839282978f94b1421e91da1e70cde':
  Applying ChannelScrolling to remove calculateDragAngle
2013-02-19 10:13:54 -08:00
Victoria Lease
c36303a66d Merge "Applying ChannelScrolling to remove calculateDragAngle" 2013-02-19 17:40:09 +00:00
Przemyslaw Szczepaniak
57a8b612fa am 5acb33af: Make synthesizeToFile create file on a client side.
* commit '5acb33af357b56fffb055997718b1e4aa97f53fc':
  Make synthesizeToFile create file on a client side.
2013-02-18 03:58:51 -08: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
kiwon
72034953bf Applying ChannelScrolling to remove calculateDragAngle
To avoid angle calculation changed the logic to use virtual areas.
When try to drag or pan, check where the current touch point locates
and determine how to drag a page.

Change-Id: Id9bd08a69c4ac93ff385c8088e6c16bed5dc5f88
Signed-off-by: kiwon <kiwon98.lee@samsung.com>
2013-02-18 14:30:58 +09:00
Jeff Sharkey
be72215c39 Better API for low disk space warnings.
Provides uniform interface to ask about low disk thresholds; can
be mocked by other tests.  Opens door to adjust thresholds based on
disk type.

Switch monitor service to using new API, and use filesystem paths
from Environment instead of hard-coding.

Change-Id: Ifdb536e36a453f1b67bc65849037ec3cc0232cf2
2013-02-15 16:59:55 -08:00
Mathias Agopian
4078559a1f am 8d1a6af4: Merge "fix typo introduced in SurfaceTextureClient to Surface renaming"
* commit '8d1a6af408d798dec46a8b1230b7327551fb8051':
  fix typo introduced in SurfaceTextureClient to Surface renaming
2013-02-15 16:40:42 -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
Wink Saville
1c2acdc6e8 Fix broken test.
Change-Id: I8c5649c9b3d917cf13b94d49da44eaf510643df6
2013-02-15 15:20:37 -08:00
Irfan Sheriff
46e0931080 Fix connectivitymanagertest
Change-Id: If5687eacec0f502c39b102eb5cf7d9383f0ec056
2013-02-15 14:55:15 -08:00
Baligh Uddin
1234a8b6c1 Merge "Import translations. DO NOT MERGE" into master-chromium 2013-02-15 22:41:31 +00:00
Baligh Uddin
21741f8734 Merge "Import translations. DO NOT MERGE" 2013-02-15 22:39:22 +00:00
Mathias Agopian
76f56dd598 am ceec31b7: Merge changes I5a218ca1,I853a76d9
* commit 'ceec31b7dab6a23e443d5dcbcfac4a23b720cfde':
  Refactoring: Rename SurfaceTextureClient to Surface
  clean-up following Surface split
2013-02-15 14:28:22 -08:00
Romain Guy
df93fdb6c0 am aa8307b9: Merge "Remove obsolete header file"
* commit 'aa8307b991b9fca5403b5d7f43659b92527af4fd':
  Remove obsolete header file
2013-02-15 14:28:19 -08: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
605e962d8e Import translations. DO NOT MERGE
Change-Id: I78574a679d2a22599bc131019a9e2049fb499634
Auto-generated-cl: translation import
2013-02-15 13:39:10 -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
Adam Powell
2bec1e3d8c am fdc61af1: Merge "Fix missing onSingleTapConfirmed calls in GestureDetector"
* commit 'fdc61af16ffdbaa699431db2f008a424bd79f655':
  Fix missing onSingleTapConfirmed calls in GestureDetector
2013-02-15 13:11:15 -08:00
Fabrice Di Meglio
b5fe52b389 SystemUI optimization - rely on inheritance for layout direction
- this CL purpose is to fully rely on inheritance for setting the
SystemUI views layout direction. This is the default case for layout
direction and should stay like that.

Change-Id: I8efb6ab6e5bd10f519c7a27e8837efb69631940e
2013-02-15 13:10:38 -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
Christopher Tate
c5f09df8fd am afc43ed9: Merge "Full backup now saves getExternalFilesDir() content with the app data"
* commit 'afc43ed9a765766fc35477f42cbc6bfdad0b1067':
  Full backup now saves getExternalFilesDir() content with the app data
2013-02-15 11:42:30 -08:00
Christopher Tate
afc43ed9a7 Merge "Full backup now saves getExternalFilesDir() content with the app data" 2013-02-15 19:38:08 +00:00