2026 Commits

Author SHA1 Message Date
Romain Guy
2abb138152 Merge "More infrastructure for Canvas.drawTextOnPath" 2012-02-24 18:01:47 -08:00
Romain Guy
778f67f7c0 Merge "Add hooks to implement Canvas.drawTextOnPath() in GL" 2012-02-24 18:01:22 -08:00
Romain Guy
03d58520c3 More infrastructure for Canvas.drawTextOnPath
Change-Id: Iff42b24e342650d06fa4e2fa9db6c28da820ff01
2012-02-24 17:54:07 -08:00
Romain Guy
325740fb44 Add hooks to implement Canvas.drawTextOnPath() in GL
Change-Id: I165c9e05facf5365aa6850605688e538640c7fcc
2012-02-24 16:48:34 -08:00
Daniel Sandler
3f0c58eb70 Merge "New notification priority and related APIs." 2012-02-24 10:53:42 -08:00
Daniel Sandler
2561b0b10a New notification priority and related APIs.
This change introduces a few new bits of data on
Notification that will help the Notification Manager and
System UI route and display them more intelligently:

 -> priority: an integer in a predefined range that
    indicates the app's best guess as to the relative
    importance (to the user, right now) of that information

 -> kind: a tag (really, set of tags) indicating the general
    type of notification (realtime, asynchronous, etc)

 -> extras: a Bundle of additional key/value pairs
    associated with this notification (currently @hidden)

The notification manager takes these data into account when
assigning to each notification a score which is passed with
the notification on to the system UI, where it can be used to
affect presentation. For example:

  - Spammy apps (identified explicitly by the user or by
    some other means) will have their notifications scored
    very negatively by the notification manager, allowing
    the UI to suppress them
  - Notifications of higher score might be shown larger
    or in a different way
  - Very important notifications (indicated by a very high
    score) might interrupt the user during an otherwise
    important task (videochat, game, etc)

Implementation note: This replaces/extends the old internal
notion of "priority", which was mostly used to organize
ongoings and system notifications at the top of the panel.

Change-Id: Ie063dc75f198a68e2b5734a3aa0cacb5aba1ac39
2012-02-24 13:47:00 -05:00
Romain Guy
34c55d3085 Merge "Only recreate path textures when necessary" 2012-02-23 17:11:49 -08:00
Romain Guy
4bcb7467a1 Only recreate path textures when necessary
When a drawPath command is recorded in a display list, a copy of the
source path is made to preserve against possible modifications of the
said source path. Copies are discarded when a display list is cleared,
which usually happens on invalidate(). This means that even if a path
is never modified, the texture generated to draw it on screen is
destroyed every time an invalidate() is issued. This change fixes this
problem by introducing a reference to the source path in the copy.
If both the copy and the source path have the same genID, they are
the same path and can share the same texture.

Change-Id: I34849311c183e06336a1391d2d1568a087f973f6
2012-02-23 17:08:38 -08:00
Alex Sakhartchouk
5d3bc7d3e4 Merge "Adding a few more howto elements to scenegraph example." 2012-02-23 16:57:00 -08:00
Alex Sakhartchouk
3c8eed3bdc Adding a few more howto elements to scenegraph example.
Change-Id: I29f025ce6ecf3a8090a8365991de40af72b4e78f
2012-02-23 10:12:45 -08:00
Stephen Hines
a16c98c155 Merge "Support running ForEach on non-root functions." 2012-02-23 09:58:56 -08:00
Stephen Hines
473a2048d3 Support running ForEach on non-root functions.
BUG=6000538

Change-Id: Ie2b16893b150cc5955ee4b9d028c988f69a82744
2012-02-22 15:24:29 -08:00
Alex Sakhartchouk
d2dc983896 Simplifying programmatic creation.
Change-Id: I792f96b5ed47d3c78976d57259074c9ae402575b
2012-02-22 11:59:12 -08:00
Alex Sakhartchouk
9cc290038c Properly pipe texture names through.
Change-Id: I3e44c2757acee90539869c32771626cd0f770a25
2012-02-22 09:06:03 -08:00
Alex Sakhartchouk
1eb4c26a96 Merge "Adding a very simple all-code scenegraph example." 2012-02-22 09:02:53 -08:00
Romain Guy
f541e4395a Merge "Only copy paths, paints and shaders when we need to." 2012-02-21 18:33:58 -08:00
Romain Guy
96ebc6b509 Only copy paths, paints and shaders when we need to.
Change-Id: Iba7a9c92c865f698821b6ff7bc4f502659642ac1
2012-02-21 18:32:32 -08:00
Alex Sakhartchouk
57fc7109e4 Adding a very simple all-code scenegraph example.
Change-Id: I776f8d8d0d3873c84141637d3479501ea92bac12
2012-02-21 16:26:38 -08:00
Alex Sakhartchouk
c7359dfe6a Merge "Adding better default behaviour for programmatically created objects." 2012-02-21 15:52:47 -08:00
Mathias Agopian
1ebe8aa23f Merge "frameworks/base refactoring" 2012-02-21 12:52:06 -08:00
Alex Sakhartchouk
c71343acc4 Adding better default behaviour for programmatically created objects.
Change-Id: I24078b27f9ddf7f36855eaf223cd4211f459bc78
2012-02-21 11:32:59 -08:00
Alex Sakhartchouk
c10e48901c Merge "Making sure stranded objects are not left behind." 2012-02-21 09:23:17 -08:00
Mathias Agopian
83c64e6b62 frameworks/base refactoring
create the new libandroidfw from parts of libui and libutils

Change-Id: I1584995616fff5d527a2aba63921b682a6194d58
2012-02-20 22:38:43 -08:00
Mathias Agopian
b13b9bdad2 frameworks/base refactoring.
step 2: move libutils headers to their new home: androidfw

Change-Id: I14624ba23db92a81f2cb929f104386e1fab293ef
2012-02-17 19:01:26 -08:00
Alex Sakhartchouk
071e54d7a3 Making sure stranded objects are not left behind.
Change-Id: If678d9dbf818e256862cfc0949015c2a4172bebd
2012-02-17 16:30:36 -08:00
Romain Guy
c27cc01f6a Prevent AutoCompleteTextView from opening a popup when it shouldn't
Bug #5553515

The People app is forcing ACTV to show the IME which had the side effect
of showing the drop down popup. ACTV was unfortunately not ready to show
the drop down if the filtering resulted in no results. Doing so was putting
ACTV in a weird state that in turn caused a window to be leaked and really
bad behavior to occur in the lower graphics levels.

Change-Id: I2ff146d5ae4e4a28edf6ea17039c9f8fdb710e4f
2012-02-15 18:34:37 -08:00
Omari Stephens
e4104b8301 Merge "Add a method to the smoke test that launches each app" 2012-02-14 15:18:58 -08:00
Jean-Baptiste Queru
9090a7a2fd Merge from master
Change-Id: I72b13c6443acdfb1b9ad477942f32a925fde5c61
2012-02-14 10:06:49 -08:00
Guang Zhu
20a14ca937 disable cpu_upload path workaround
Bug: 6008123

Change-Id: I9bee623827ad82185c77875ba317c2fd95f3fce8
2012-02-14 10:01:46 -08:00
Omari Stephens
9f5a511a08 Add a method to the smoke test that launches each app
Bug: 5888360
Change-Id: I4a68bc8fef71fd7f89b3a7a997323bfaefadc3eb
2012-02-13 19:01:17 -08:00
Guang Zhu
96a0e43ed3 am 6ae14555: Merge "fix build"
* commit '6ae14555f945a1a0fc04d6acc0131254c9b2c2e2':
  fix build
2012-02-13 18:40:55 -08:00
Guang Zhu
6ae14555f9 Merge "fix build" 2012-02-13 18:38:54 -08:00
Guang Zhu
2995f95f0d fix build
remove extra import

Change-Id: Ia3f764e87bc412ec65da82f7ffd5c21f508229c4
2012-02-13 18:36:12 -08:00
Guang Zhu
04fcfe3e59 am 4535e0c7: Merge "use hard coded WebViewProperties.gfxUseMinimalMemory"
* commit '4535e0c765654574c6244b97385ee25f0584bcae':
  use hard coded WebViewProperties.gfxUseMinimalMemory
2012-02-13 18:17:36 -08:00
Guang Zhu
4535e0c765 Merge "use hard coded WebViewProperties.gfxUseMinimalMemory" 2012-02-13 18:15:57 -08:00
Guang Zhu
af99ce7964 use hard coded WebViewProperties.gfxUseMinimalMemory
WebViewProperties is package private to browser

Change-Id: I33e4b5f42c748bb6b8a1f730be140d6fd73059b5
2012-02-13 18:14:02 -08:00
Stephen Hines
9e52329454 am 96d2abab: Merge "Revert "Revert "Test initialization of constant array exports."""
* commit '96d2ababf5c9a8ccd42d67587a62637a18dc1beb':
  Revert "Revert "Test initialization of constant array exports.""
2012-02-13 18:08:08 -08:00
Stephen Hines
96d2ababf5 Merge "Revert "Revert "Test initialization of constant array exports.""" 2012-02-13 18:06:22 -08:00
Guang Zhu
3ce2772715 am 06a240e8: Merge "Increase transfer queue size for DRT"
* commit '06a240e826107b32f1ebe305b0add1b72ef801ee':
  Increase transfer queue size for DRT
2012-02-13 17:40:52 -08:00
Guang Zhu
06a240e826 Merge "Increase transfer queue size for DRT" 2012-02-13 17:39:08 -08:00
Guang Zhu
c978c560c8 Increase transfer queue size for DRT
To maintain the baseline, DRT app should use the same
transfer queue size as before.

Bug: 6008123

Change-Id: I143ebf86b7798c1a6608af2e37d618ffa09d1062
2012-02-13 17:37:49 -08:00
Fabrice Di Meglio
46e8861364 am f53b451c: Merge "Update BiDiTest app for GridLayout RTL tests"
* commit 'f53b451c4c60ddccb99624d5fd40733715e7a7fa':
  Update BiDiTest app for GridLayout RTL tests
2012-02-13 15:01:22 -08:00
Fabrice Di Meglio
0d2bda319d Update BiDiTest app for GridLayout RTL tests
- add unit tests for GridLayout in RTL mode

Change-Id: Icc983a6e2cc75b30e457fd822d81ef5630de0f10
2012-02-13 14:44:22 -08:00
Stephen Hines
330f676b7e Revert "Revert "Test initialization of constant array exports.""
This reverts commit 3be5c8565154c9a6aa7abf0a0d61eaecf114b450.
2012-02-13 12:00:24 -08:00
Stephen Hines
1bb1178490 am 3be5c856: Revert "Test initialization of constant array exports."
* commit '3be5c8565154c9a6aa7abf0a0d61eaecf114b450':
  Revert "Test initialization of constant array exports."
2012-02-13 12:00:20 -08:00
Stephen Hines
3be5c85651 Revert "Test initialization of constant array exports."
This reverts commit f7c4ce0b6afae9ace59879d625bb9be6bc14899c.
2012-02-13 11:56:29 -08:00
Stephen Hines
f6c233a218 am dfb64e8c: Merge "Test initialization of constant array exports."
* commit 'dfb64e8c805dcb371c747e675bf58b4c9a10e49f':
  Test initialization of constant array exports.
2012-02-13 11:14:58 -08:00
Stephen Hines
dfb64e8c80 Merge "Test initialization of constant array exports." 2012-02-13 11:13:21 -08:00
Mike Lockwood
0ab69d9076 am adf7c11e: Merge "Quick and dirty test app for new SerialPort API"
* commit 'adf7c11e56e84531a3f4e9097cb05db663d7d246':
  Quick and dirty test app for new SerialPort API
2012-02-10 11:44:33 -08:00
Mike Lockwood
25d1fdc357 Quick and dirty test app for new SerialPort API
Signed-off-by: Mike Lockwood <lockwood@android.com>
2012-02-10 10:51:20 -08:00