14522 Commits

Author SHA1 Message Date
Romain Guy
a3496a9e60 Fix invisible views issue in Launcher.
Change-Id: Ic7cb8f418b5879110eaea5a9c5fdb4f237ca4cab
2010-10-12 11:53:24 -07:00
Romain Guy
c00972bb16 Don't recreate a new texture every time we draw a layer.
Change-Id: I3c28aff5acffc7c6f1ac74805869725426c62d28
2010-10-12 11:31:07 -07:00
Romain Guy
d10cd5765a Always create OpenGL accelerated windows in RGBA 8888.
Bug #3081600

The OpenGL renderer in libhwui uses a single EGL context per process and
thus create it with an RGBA 8888 EGL configuration. To ensure that all
windows are compatible with this configuration, this change modifies
the window manager and SurfaceFlinger.

The window manager now checks the window's flags and if the window is
hardware accelerated, it forces the window's pixel format to be
translucent when creating the surface. The window itself is still
marked as opaque if we know that the window will be opaque on screen.
This keeps existing optimizations in place.

Similarly in SurfaceFlinger, a translucent Surface can now be created
with the Surface.OPAQUE flag, indicating SurfaceFlinger that the surface
does not require blending, despite its RGBA 8888 configuration.

Change-Id: Ic747b6b12564ba064412d842117880fcc199eb7c
2010-10-12 11:00:18 -07:00
Bjorn Bringert
514c969ca7 Merge "Remove the unused UrlRendererService" 2010-10-12 10:57:15 -07:00
Romain Guy
5981289551 Merge "Don't set hwAccelerated=true when libhwui is not present." 2010-10-12 10:36:35 -07:00
Romain Guy
53ca03d9a3 Don't set hwAccelerated=true when libhwui is not present.
Change-Id: I6df5a89e4b4d94d76e96b5d0a678b7a8f646268a
2010-10-12 10:34:25 -07:00
Romain Guy
a655c63582 Actually store the newly computed deceleration.
Change-Id: Ib62470187ec7709340f04842748b9d8cb88ee0c2
2010-10-12 10:21:57 -07:00
Jean-Baptiste Queru
9c9430b30f resolved conflicts for merge of e69f1f1a to master
Change-Id: I32b34e4f6ae83ff40398c6e9e2881af12abc4aa8
2010-10-12 09:23:10 -07:00
Bjorn Bringert
25108167fd Remove the unused UrlRendererService
Change-Id: I48af718d9753b475bd041147f0d18bee60da84ec
2010-10-12 15:14:27 +01:00
Bjorn Bringert
5684d464c0 Merge "Move SyncStateContentProviderHelper to frameworks/ex" 2010-10-12 02:31:42 -07:00
Romain Guy
4bede9e425 Add an API to control AbsListView's friction.
Change-Id: Iafb08cd28703d282c369c472a5d85a22cc5dacb7
2010-10-11 19:38:37 -07:00
Jean-Baptiste Queru
057c13bcce am c43189e7: am 2aaa1ce1: Merge "Hold partial wakelock during shutdown to avoid entering sleep"
Merge commit 'c43189e76964facad8bac6ee7a17ea1016bba4e3'

* commit 'c43189e76964facad8bac6ee7a17ea1016bba4e3':
  Hold partial wakelock during shutdown to avoid entering sleep
2010-10-11 18:58:25 -07:00
Gilles Debunne
8245acaab6 am 1457bb0e: am 6b8bdaa9: New AppsPermission and market style
Merge commit '1457bb0ef622b7ae8970fcb42d40a0c45713f683'

* commit '1457bb0ef622b7ae8970fcb42d40a0c45713f683':
  New AppsPermission and market style
2010-10-11 18:57:14 -07:00
Jeff Brown
4231124c9d Merge "Fix an event injection bug when the policy is bypassed." 2010-10-11 18:15:38 -07:00
Romain Guy
d5d2b7382c Merge "Don't draw fully transparent views/primitives." 2010-10-11 18:00:43 -07:00
Romain Guy
dbc26d2ba1 Don't draw fully transparent views/primitives.
Change-Id: Icd7d8ef1f57b51a24faf32f7004125e6300d4fdc
2010-10-11 17:58:29 -07:00
Jeff Brown
e20c9e0264 Fix an event injection bug when the policy is bypassed.
Added the concept of a "trusted" event to distinguish between events from
attached input devices or trusted injectors vs. other applications.
This change enables us to move certain policy decisions out of the
dispatcher and into the policy itself where they can be handled more
systematically.

Cherry pick of b931a1b4 from gingerbread into master.

Change-Id: I700a5f07b8b227878cea9437a289a45a245c0424
2010-10-11 17:54:12 -07:00
Jean-Baptiste Queru
02241ab292 am 89fbcd72: resolved conflicts for merge of c2894474 to gingerbread-plus-aosp
Merge commit '89fbcd72fbe6ef26ea2703f8e338fd198c958ecc'

* commit '89fbcd72fbe6ef26ea2703f8e338fd198c958ecc':
  Support showing "Cold" battery health.
2010-10-11 17:49:42 -07:00
Vasu Nori
182e5cf105 am a23964f9: am b8f7a483: Merge "bug:3082865 don\'t use IN to construct sql to delete downloads" into gingerbread
Merge commit 'a23964f9a1df7fb2f18e350fb4215933674f9991'

* commit 'a23964f9a1df7fb2f18e350fb4215933674f9991':
  bug:3082865 don't use IN to construct sql to delete downloads
2010-10-11 17:43:34 -07:00
Brad Fitzpatrick
d532d8d8c1 am ca1db5ae: am dd644c17: Fallback to SharedPreferences.commit() when no apply() exists.
Merge commit 'ca1db5ae68971779fd8af83c908128849f470ae0'

* commit 'ca1db5ae68971779fd8af83c908128849f470ae0':
  Fallback to SharedPreferences$Editor.commit() when no apply() exists.
2010-10-11 17:43:06 -07:00
Jeff Brown
dd8b0c9040 am 41aabeb5: am 1e6a3a53: Merge "Added more robust tracking and cancelation of events." into gingerbread
Merge commit '41aabeb51305d19747687f246080f44fc2a74435'

* commit '41aabeb51305d19747687f246080f44fc2a74435':
  Added more robust tracking and cancelation of events.
2010-10-11 17:42:30 -07:00
Romain Guy
20b4cf8cc7 Merge changes I9a5e01bc,If1caee31
* changes:
  Optimize GLSL shaders.
  Improve performance of linear gradients.
2010-10-11 17:13:32 -07:00
Romain Guy
707b2f78cc Optimize GLSL shaders.
Change-Id: I9a5e01bced63d8da0c61330a543a2b805388a59d
2010-10-11 16:34:59 -07:00
Shimeng (Simon) Wang
21d4e42366 Merge "Initialized the orientation variable to -1." 2010-10-11 13:56:15 -07:00
Shimeng (Simon) Wang
2edfcd584e Initialized the orientation variable to -1.
issue: 3057966
Change-Id: I31047d31376d79b1718c42633c9e6802e51213a7
2010-10-11 13:50:25 -07:00
Shimeng (Simon) Wang
10186c45ff Merge "Avoid sending false orientation event to webkit." 2010-10-11 13:23:42 -07:00
Shimeng (Simon) Wang
5f7c5a25de Avoid sending false orientation event to webkit.
issue: 3057966
Change-Id: I1061df6da751e3a0ef158b5eabfb520d0473d3d0
2010-10-11 13:12:48 -07:00
Romain Guy
7f92b04089 Merge "Redraw the screen when needed." 2010-10-11 12:44:28 -07:00
Romain Guy
101e2ae00c Redraw the screen when needed.
Bug #3085265

Change-Id: Ibb47500f819b823eb4f3dee829f0396dce9a3d65
2010-10-11 12:41:21 -07:00
Gilles Debunne
fe14293f58 resolved conflicts for merge of 2da9338c to master
Change-Id: I0a5d667b578e23c064ebe7bacc898125fbf40cc2
2010-10-11 12:23:55 -07:00
Amith Yamasani
5a8c345654 Merge "2763342 Toasts do not fire accessibility events" 2010-10-11 11:34:27 -07:00
Amith Yamasani
8399985007 Merge "2853037 AccessibilityEvent should describe Tab controls" 2010-10-11 11:29:29 -07:00
Adam Powell
3608d33b26 Merge "Updated styles and metrics." 2010-10-11 11:26:57 -07:00
Adam Powell
be4d68e7b2 Updated styles and metrics.
* Added preliminary ButtonGroup support for buttons that display as a unit.
* Fixed a bug with MenuBuilder that caused old-style icon menus to fail.
* Added support for explicitly setting line height in text.

Change-Id: I1ba65f09dd9e1bc833d247ebe72052a21e3f99f0
2010-10-11 11:22:54 -07:00
Brad Fitzpatrick
f21b4cde18 resolved conflicts for merge of b3ffd4ad to master
Change-Id: I80b227b678ef168a45494acf879debed5861de39
2010-10-11 10:46:01 -07:00
Gilles Debunne
2493c164b0 resolved conflicts for merge of 2da9338c to master
Change-Id: I190aed34c356d26142dfa355adbdb9c7ff22a4af
2010-10-11 10:37:51 -07:00
Chet Haase
d9944c1dbe Merge "Double the performance of animations." 2010-10-11 10:08:00 -07:00
Gilles Debunne
569a4bbae1 resolved conflicts for merge of 42dd7ec9 to master
Change-Id: Id388745d7ec22c48b34b744d5a4c07097cf2650b
2010-10-11 09:57:05 -07:00
Jean-Baptiste Queru
e69f1f1a74 resolved conflicts for merge of e3cfd35b to gingerbread-plus-aosp
Change-Id: I2f90572163e7cb98e4e2762998a2ac63cc267dea
2010-10-11 09:38:10 -07:00
Jean-Baptiste Queru
e3cfd35bf4 Merge "Dismissing AlertDialog before destroying WebView." 2010-10-11 09:15:50 -07:00
Chet Haase
608fc3cbed Double the performance of animations.
There is a hard-coded limit to the frame rate of animations; this commit increases that rate by changing the inter-frame delay from 30 ms to 10 ms (although the actual delay will be determined by the maximum refresh rate of the system and the system load). For example, the effective maximum on current devices is 55 fps, or a delay of about 16 ms.

Change-Id: Id96a41cef36851e2d9508a98934f4b25595251ea
2010-10-11 08:47:13 -07:00
Cary Clark
84e8827a47 Merge "Check mNativeClass != null in public functions" 2010-10-11 06:49:01 -07:00
Bjorn Bringert
888edab661 Move SyncStateContentProviderHelper to frameworks/ex
Change-Id: I26cdb3e72a0075e4df3854b526bdf6bb08d671a2
2010-10-11 07:53:30 +01:00
Brad Fitzpatrick
764437aa9e am 4216c3c3: am a4682ed7: Merge "Minor SharedPreference clean-up." into gingerbread
Merge commit '4216c3c3f75c6bd7ffa9a9279961f9ea6aa57635'

* commit '4216c3c3f75c6bd7ffa9a9279961f9ea6aa57635':
  Minor SharedPreference clean-up.
2010-10-10 19:13:24 -07:00
Jean-Baptiste Queru
fae998c860 resolved conflicts for merge of 7c08b70c to master
Change-Id: Ifef07cf23de35db545774d0dee327c2165f8b088
2010-10-10 19:02:41 -07:00
Jean-Baptiste Queru
c43189e769 am 2aaa1ce1: Merge "Hold partial wakelock during shutdown to avoid entering sleep"
Merge commit '2aaa1ce1768d3425c07e55d43aaa400282424f8c' into gingerbread-plus-aosp

* commit '2aaa1ce1768d3425c07e55d43aaa400282424f8c':
  Hold partial wakelock during shutdown to avoid entering sleep
2010-10-10 18:51:43 -07:00
Gilles Debunne
a20e873476 resolved conflicts for merge of d7d47941 to master
Change-Id: I4ec47b9461c5ba350adfc257bc1820ee079b751e
2010-10-10 18:45:23 -07:00
Jean-Baptiste Queru
2aaa1ce176 Merge "Hold partial wakelock during shutdown to avoid entering sleep" 2010-10-10 18:41:58 -07:00
Gilles Debunne
1457bb0ef6 am 6b8bdaa9: New AppsPermission and market style
Merge commit '6b8bdaa9c802746eabc4e96686739dbce34c2fbc' into gingerbread-plus-aosp

* commit '6b8bdaa9c802746eabc4e96686739dbce34c2fbc':
  New AppsPermission and market style
2010-10-10 18:08:25 -07:00
Gilles Debunne
6b8bdaa9c8 New AppsPermission and market style
Bug 3067333

Change-Id: Ibbf444cfd9b1e2d7b51f4194d57c6dee30ac18ee
2010-10-10 17:57:55 -07:00