Chet Haase
38d1f25308
am 19312cfe: am 246bf85a: Merge "Fix NPE with display lists when view not attached" into honeycomb
...
* commit '19312cfef15608fca2c8403dc240e8ec4f54d6b7':
Fix NPE with display lists when view not attached
2011-01-27 15:11:20 -08:00
Chet Haase
19312cfef1
am 246bf85a: Merge "Fix NPE with display lists when view not attached" into honeycomb
...
* commit '246bf85aaacbadf4e892270d714efcdb280a3de8':
Fix NPE with display lists when view not attached
2011-01-27 15:00:17 -08:00
Chet Haase
f4ac547f86
Fix NPE with display lists when view not attached
...
There was logic in ViewGroup that assumed that an accelerated
view must always be able to get a display list for any child
that it was drawing. One situation occurred, however, that
caused a problem with this - a contacts activity was started
and not yet attached, but was being asked to render into an
accelerated canvas. We assumed that the child would have a display
list and simply called getDisplayList(). But since that call
returned null, we later deref'd the null object.
The fix is to check whether a child can have a display list
instead of assuming that it can just because the container view
is accelerated.
Change-Id: I7de62fd597ad50720c9585d621bec02e77c171df
2011-01-27 10:30:25 -08:00
Chet Haase
75b8c858ab
am cd88c39b: am e38ba4ac: Fix gmail crossfade artifacts.
...
* commit 'cd88c39b989fc927016aa8d1c3794b872519d575':
Fix gmail crossfade artifacts.
2011-01-27 01:32:44 -08:00
Chet Haase
cd88c39b98
am e38ba4ac: Fix gmail crossfade artifacts.
...
* commit 'e38ba4acbe6f1536997ffb98d662fc3eff07add8':
Fix gmail crossfade artifacts.
2011-01-27 01:30:09 -08:00
Chet Haase
e38ba4acbe
Fix gmail crossfade artifacts.
...
Display lists could not handle custom views that did their
own draw dispatching, as is the case with gmail. This fix makes that
possible and display lists handle this case robustly. Now the
crossfade works because the display lists contain the right content.
Change-Id: Iea7d6e99239b24f833701d546fe083aa00e2b31b
2011-01-27 01:25:18 -08:00
Chet Haase
82782446cd
am fcf51a67: am a45c056e: Merge "Fix display List bugs" into honeycomb
...
* commit 'fcf51a67967a402bf2178c3d0e09828e8942cade':
Fix display List bugs
2011-01-26 23:55:50 -08:00
Chet Haase
fcf51a6796
am a45c056e: Merge "Fix display List bugs" into honeycomb
...
* commit 'a45c056e62be0ca97edbdd6f6660822cf453c886':
Fix display List bugs
2011-01-26 23:51:58 -08:00
Chet Haase
a45c056e62
Merge "Fix display List bugs" into honeycomb
2011-01-26 23:49:23 -08:00
Romain Guy
a1eb2ff008
am 38f34ed2: am 7c53a0d6: Merge "Don\'t draw the same triangles several times. Bug #3388197 " into honeycomb
...
* commit '38f34ed20a52d027cbf1b72fe22c6d616810613b':
Don't draw the same triangles several times. Bug #3388197
2011-01-26 22:49:13 -08:00
Romain Guy
38f34ed20a
am 7c53a0d6: Merge "Don\'t draw the same triangles several times. Bug #3388197 " into honeycomb
...
* commit '7c53a0d6078620df3abc4997acfe267ef903f5c6':
Don't draw the same triangles several times. Bug #3388197
2011-01-26 22:47:01 -08:00
Chet Haase
678e0adbdb
Fix display List bugs
...
Various property setters in View need to invalidate the parent's
cache to get redrawn properly when accelerated with display lists.
Also, fix logic around display lists and old-style Animations in
ViewGroup.
Change-Id: I70e1c2fa49e62228ee4a1301a006ce50bda4c305
2011-01-26 22:44:52 -08:00
Romain Guy
4f09f5417b
Don't draw the same triangles several times.
...
Bug #3388197
Change-Id: Ief1dfd9447f144e9992340a173d2893e5e049129
2011-01-26 22:45:16 -08:00
Dianne Hackborn
166f26e2c2
am f35d43f9: am 2dc9c784: Merge "Fix issue #3382992 : IME close animation stutters from URL bar" into honeycomb
...
* commit 'f35d43f90b9e4553343a59b217430aaba91b0d1f':
Fix issue #3382992 : IME close animation stutters from URL bar
2011-01-26 19:17:46 -08:00
Romain Guy
3a6b7be25d
am 0d8f88b2: am ede54ce2: Merge "Fix crash in movie studio." into honeycomb
...
* commit '0d8f88b272f80f2a3594d2d988faabed4e540631':
Fix crash in movie studio.
2011-01-26 19:13:50 -08:00
Romain Guy
b5fb99ff4d
am 0518e7b5: am 9c8307fb: Merge "Make sure that we update SurfaceView\'s window with display lists. Bug #3395487 " into honeycomb
...
* commit '0518e7b5bddfdeb010591c736fb080009a99cd14':
Make sure that we update SurfaceView's window with display lists. Bug #3395487
2011-01-26 19:13:40 -08:00
Dianne Hackborn
f35d43f90b
am 2dc9c784: Merge "Fix issue #3382992 : IME close animation stutters from URL bar" into honeycomb
...
* commit '2dc9c784b2fab67a8233318f559e65f444bf0c97':
Fix issue #3382992 : IME close animation stutters from URL bar
2011-01-26 19:08:20 -08:00
Dianne Hackborn
2dc9c784b2
Merge "Fix issue #3382992 : IME close animation stutters from URL bar" into honeycomb
2011-01-26 19:04:15 -08:00
Dianne Hackborn
63042d6a03
Fix issue #3382992 : IME close animation stutters from URL bar
...
Gross hack is grosser.
Change-Id: I0a34bf1d7c16c547402318f24776a5f7e8b7552b
2011-01-26 18:56:29 -08:00
Romain Guy
0d8f88b272
am ede54ce2: Merge "Fix crash in movie studio." into honeycomb
...
* commit 'ede54ce2fe3252d4ab56b90de464b35a6920970d':
Fix crash in movie studio.
2011-01-26 18:47:59 -08:00
Romain Guy
0c75622cf8
Fix crash in movie studio.
...
Change-Id: I06acb0b39cc3839cf7abb58b32dec9b9bec424d6
2011-01-26 18:48:38 -08:00
Romain Guy
0518e7b5bd
am 9c8307fb: Merge "Make sure that we update SurfaceView\'s window with display lists. Bug #3395487 " into honeycomb
...
* commit '9c8307fb19558ffe2e897bad009fb038bb9e845b':
Make sure that we update SurfaceView's window with display lists. Bug #3395487
2011-01-26 18:32:54 -08:00
Romain Guy
f2499fa434
Make sure that we update SurfaceView's window with display lists.
...
Bug #3395487
Change-Id: Idaef3953a596ee3b4049a2d8aef6dda676b1545b
2011-01-26 18:31:23 -08:00
Romain Guy
c02a1cc1b1
am 62bea428: am 9e7c2c6d: Merge "Optimize invalidate() calls." into honeycomb
...
* commit '62bea4287dafc88b640d7e3fc8a433ddd858a5b8':
Optimize invalidate() calls.
2011-01-26 15:46:21 -08:00
Romain Guy
62bea4287d
am 9e7c2c6d: Merge "Optimize invalidate() calls." into honeycomb
...
* commit '9e7c2c6ded1144122915cfb8bd663e789c7eb93b':
Optimize invalidate() calls.
2011-01-26 15:43:09 -08:00
Romain Guy
9e7c2c6ded
Merge "Optimize invalidate() calls." into honeycomb
2011-01-26 15:40:16 -08:00
Romain Guy
0fd89bf722
Optimize invalidate() calls.
...
Change-Id: I09d99290ca74f96046702bc2604f125a1276ce05
2011-01-26 15:41:30 -08:00
Romain Guy
cf5afe9299
am 08cdf6fd: am 940df6dd: Merge "Remove unused API" into honeycomb
...
* commit '08cdf6fd9ac9bbbd77024518c45034d66b5830c6':
Remove unused API
2011-01-26 13:44:35 -08:00
Romain Guy
2b1847ea60
Remove unused API
...
Change-Id: I1714fd82a64b752f0350ef4ef9179ce19e089c6a
2011-01-26 13:43:01 -08:00
Romain Guy
08cdf6fd9a
am 940df6dd: Merge "Remove unused API" into honeycomb
...
* commit '940df6dd83624e5f46b147837d848853a1dab9b2':
Remove unused API
2011-01-26 13:42:53 -08:00
Romain Guy
940df6dd83
Merge "Remove unused API" into honeycomb
2011-01-26 13:41:10 -08:00
Joe Onorato
b648c60854
am a4a5ec5e: am 1aadb210: Merge changes I48392c75,Id09437a4,I4a0aa878 into honeycomb
...
* commit 'a4a5ec5e748f99c40301c9c422b3d36cb44c6081':
Expose the window flags for lights out mode.
Make TabletStatusBar call into StatusBarManagerService when it goes out of lights out mode on its own.
Make FLAG_FULLSCREEN not go into lights out mode anymore.
2011-01-26 11:50:38 -08:00
Joe Onorato
a4a5ec5e74
am 1aadb210: Merge changes I48392c75,Id09437a4,I4a0aa878 into honeycomb
...
* commit '1aadb2108d7614d9d1ff61b41c6c31cb8d211ab9':
Expose the window flags for lights out mode.
Make TabletStatusBar call into StatusBarManagerService when it goes out of lights out mode on its own.
Make FLAG_FULLSCREEN not go into lights out mode anymore.
2011-01-26 11:48:48 -08:00
Joe Onorato
1aadb2108d
Merge changes I48392c75,Id09437a4,I4a0aa878 into honeycomb
...
* changes:
Expose the window flags for lights out mode.
Make TabletStatusBar call into StatusBarManagerService when it goes out of lights out mode on its own.
Make FLAG_FULLSCREEN not go into lights out mode anymore.
2011-01-26 11:46:58 -08:00
Romain Guy
f5240cddbd
am 7c55da5d: am f5b27e35: Merge "Fix NPE in YouTube. Bug #3385339 " into honeycomb
...
* commit '7c55da5db50400400efbcd53a5cdc1a79c04cc63':
Fix NPE in YouTube. Bug #3385339
2011-01-26 10:59:11 -08:00
Romain Guy
7c55da5db5
am f5b27e35: Merge "Fix NPE in YouTube. Bug #3385339 " into honeycomb
...
* commit 'f5b27e35c1e0e46ffd882606d0783875e1a1ff7b':
Fix NPE in YouTube. Bug #3385339
2011-01-26 10:56:08 -08:00
Romain Guy
d30b36d3cd
Fix NPE in YouTube.
...
Bug #3385339
Change-Id: Id7b307994e343cdb808161a7fae590536f04252e
2011-01-26 10:54:43 -08:00
Romain Guy
f5b27e35c1
Merge "Fix NPE in YouTube. Bug #3385339 " into honeycomb
2011-01-26 10:54:23 -08:00
Joe Onorato
14782f705e
Expose the window flags for lights out mode.
...
I hadn't wanted to do this, but it makes porting the FLAG_FULLSCREEN
stuff over to this simpler because you don't have to go find a view
to proxy through.
This change also clears the flag everywhere when the window manager
notifies the views that the change has come back.
Change-Id: I48392c7550925bcca50c5bb9e1f263e99de6c7bc
2011-01-26 10:47:39 -08:00
Chet Haase
e29131cac3
am b69e985b: am ace9233b: Merge "Fix invalidation problem with display lists" into honeycomb
...
* commit 'b69e985b9aa059d6cf7498a2350d3f814b4cf711':
Fix invalidation problem with display lists
2011-01-26 06:35:02 -08:00
Chet Haase
b69e985b9a
am ace9233b: Merge "Fix invalidation problem with display lists" into honeycomb
...
* commit 'ace9233b11e9be0d894fcf36cdee4c6b0a20d3bd':
Fix invalidation problem with display lists
2011-01-26 06:32:59 -08:00
Chet Haase
ace9233b11
Merge "Fix invalidation problem with display lists" into honeycomb
2011-01-26 06:30:48 -08:00
Chet Haase
77785f9d25
Fix invalidation problem with display lists
...
It was previously the case that a view marked ~DRAWN must be
invalidated correctly already, so we would not mark any flags.
Display lists added new logic such that an undrawn node must still
be checked to see if its cache has been marked invalid. If not,
we must mark it invalid to make sure that a future rendering call
will cause the view to refresh its display list, thus refreshing its
child node tree's display lists, since that's where the invalidate
call must have originated.
Change-Id: I0f73c85459174c0e3f16d703f7eb914a706c808a
2011-01-25 23:22:09 -08:00
Romain Guy
e9a7d0dfb9
am 5742a277: am b6110a1e: Merge "Make sure the opaque bitmap is opaque. GL doesn\'t like being lied to. Bug #3382992 " into honeycomb
...
* commit '5742a2771025fc40f00777b5b4aa02765317f5f9':
Make sure the opaque bitmap is opaque. GL doesn't like being lied to. Bug #3382992
2011-01-25 22:58:24 -08:00
Romain Guy
5742a27710
am b6110a1e: Merge "Make sure the opaque bitmap is opaque. GL doesn\'t like being lied to. Bug #3382992 " into honeycomb
...
* commit 'b6110a1ef41337a5f3042c7e08b63274cee4faf6':
Make sure the opaque bitmap is opaque. GL doesn't like being lied to. Bug #3382992
2011-01-25 22:56:10 -08:00
Romain Guy
f90f8171e6
Make sure the opaque bitmap is opaque. GL doesn't like being lied to.
...
Bug #3382992
The result still looks wrong but it works as designed, unfortunately.
Change-Id: I6108e199fa336cb01faaabf6c75faa3b71c2339b
2011-01-25 22:53:24 -08:00
Jeff Brown
fbe446d7f2
am 391ef42c: am 3168a137: Merge "Fix surface frame size reporting." into honeycomb
...
* commit '391ef42c92ab97e5c22a720973790696d30576ca':
Fix surface frame size reporting.
2011-01-25 16:18:59 -08:00
Jeff Brown
391ef42c92
am 3168a137: Merge "Fix surface frame size reporting." into honeycomb
...
* commit '3168a13723ff0f3f87937457fe33c3518caa4bb9':
Fix surface frame size reporting.
2011-01-25 14:48:14 -08:00
Jeff Brown
3168a13723
Merge "Fix surface frame size reporting." into honeycomb
2011-01-25 14:21:00 -08:00
Romain Guy
402ede322d
am 535602fe: am 3ac1b0f0: Merge "Prevent crash in View when gathering attributes without an AttachInfo. Bug #3385339 " into honeycomb
...
* commit '535602fe5572e2a648251faf01b4dcd3649d5ede':
Prevent crash in View when gathering attributes without an AttachInfo. Bug #3385339
2011-01-25 14:07:00 -08:00