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
Romain Guy
535602fe55
am 3ac1b0f0: Merge "Prevent crash in View when gathering attributes without an AttachInfo. Bug #3385339 " into honeycomb
...
* commit '3ac1b0f0d4d78568faf7616b2a8b808bdf5c4882':
Prevent crash in View when gathering attributes without an AttachInfo. Bug #3385339
2011-01-25 13:58:08 -08:00
Romain Guy
3ac1b0f0d4
Merge "Prevent crash in View when gathering attributes without an AttachInfo. Bug #3385339 " into honeycomb
2011-01-25 13:55:14 -08:00
Gilles Debunne
bfdb926d83
am a5b43a04: am c927ec50: Merge "Overscoll bounce amplitude is smaller." into honeycomb
...
* commit 'a5b43a04921711da8fa09b4f30ff5977f8222954':
Overscoll bounce amplitude is smaller.
2011-01-25 13:49:40 -08:00
Gilles Debunne
a5b43a0492
am c927ec50: Merge "Overscoll bounce amplitude is smaller." into honeycomb
...
* commit 'c927ec50497bf5f477663deb7b366b37185d46b0':
Overscoll bounce amplitude is smaller.
2011-01-25 13:47:24 -08:00
Gilles Debunne
c927ec5049
Merge "Overscoll bounce amplitude is smaller." into honeycomb
2011-01-25 13:44:32 -08:00
Jeff Brown
30bc34f191
Fix surface frame size reporting.
...
The SurfaceHolder provided by the wallpaper service was not reporting
the correct size in getSurfaceFrame(). This broke an optimization in
the ImageWallpaper. The old code happened to work because calling
lockCanvas on the SurfaceHolder with a null dirty rectangle happened
to have the side-effect of updating the SurfaceHolder's surface frame
size field because it passed mSurfaceFrame as the dirty rect, causing
mSurfaceFrame to be set to the size of the region to be drawn.
However, relying on this side-effect is wrong. Among other things,
the dirty region could actually be smaller than the surface frame.
This patch fixes WallpaperService, SurfaceView and ViewRoot to ensure
that the surface frame size is always set explicitly and is not modified
by calls to lockCanvas.
Change-Id: I10948f5ec269409ceaf0f7d32b3f6731e9499ebc
2011-01-25 13:10:30 -08:00
Romain Guy
6e81e57b52
Prevent crash in View when gathering attributes without an AttachInfo.
...
Bug #3385339
Change-Id: I06b6f03721b52ab0b9d13c2fb3e133ae25d99970
2011-01-25 12:59:00 -08:00
Gilles Debunne
8ce7aab79e
Overscoll bounce amplitude is smaller.
...
Per Dan's request for poor behavior on low speed Overscrolls.
Change-Id: I184133df5e6cc68d8d9bf39edb62d42e13d27a90
2011-01-25 11:23:30 -08:00
Romain Guy
335f1513d7
am b372d7cb: am 89fca351: Merge "Make nested hardware layers work again" into honeycomb
...
* commit 'b372d7cbea0b80cda3c7b08dcaddbd5c398911b2':
Make nested hardware layers work again
2011-01-24 22:55:24 -08:00
Romain Guy
b372d7cbea
am 89fca351: Merge "Make nested hardware layers work again" into honeycomb
...
* commit '89fca351702e3ec54c2748e2e2676ec1b2fbe9dc':
Make nested hardware layers work again
2011-01-24 22:53:21 -08:00
Romain Guy
5e7f766e99
Make nested hardware layers work again
...
Change-Id: I97bde694ec1b712a1e010c8137919e6d64af3148
2011-01-24 22:35:56 -08:00
Romain Guy
caf48e95e7
am 7b4950ae: am 169fafe6: Merge "Fix rendering issues with animated layers. Bug #3385247 " into honeycomb
...
* commit '7b4950ae350255a393125cc4262925b432770ac4':
Fix rendering issues with animated layers. Bug #3385247
2011-01-24 22:31:04 -08:00
Romain Guy
7b4950ae35
am 169fafe6: Merge "Fix rendering issues with animated layers. Bug #3385247 " into honeycomb
...
* commit '169fafe6797dc4c7ae17eba29b72034be6c9c8ec':
Fix rendering issues with animated layers. Bug #3385247
2011-01-24 20:47:19 -08:00
Romain Guy
8168396d1a
Fix rendering issues with animated layers.
...
Bug #3385247
- The layer's alpha was interpreted in the wrong range 0..255 instead of 0..1
- 9-patches would not correctly dirty the layer region, the generated mesh
was incorrect
Change-Id: I4916249bedcdb0794929f3796bd17854971efc88
2011-01-24 20:40:18 -08:00
Romain Guy
136f1b42a0
am 74d9a373: am 92dcf629: Merge "Fix rendering issues in Movie Studio." into honeycomb
...
* commit '74d9a373f9ac4fd1a8e51de7de5d7611317c5755':
Fix rendering issues in Movie Studio.
2011-01-24 20:28:35 -08:00
Romain Guy
74d9a373f9
am 92dcf629: Merge "Fix rendering issues in Movie Studio." into honeycomb
...
* commit '92dcf629e1ecb60fc497b8b1b3d2aab35c334672':
Fix rendering issues in Movie Studio.
2011-01-24 20:23:49 -08:00
Romain Guy
d88f54c5c4
Fix rendering issues in Movie Studio.
...
Change-Id: I5b293767b9bdedeef0df4d27a179d0da48d7fe32
2011-01-24 20:22:49 -08:00
Romain Guy
e965dee341
am 4e1db6da: am 2ff6d705: Merge "Enable partial invalidates when rendering with OpenGL." into honeycomb
...
* commit '4e1db6dadd404c023b71ae1ab54e990fce56abc3':
Enable partial invalidates when rendering with OpenGL.
2011-01-24 18:43:26 -08:00
Romain Guy
4e1db6dadd
am 2ff6d705: Merge "Enable partial invalidates when rendering with OpenGL." into honeycomb
...
* commit '2ff6d70521fe1f537f8ebd631f0b9b3aa8becf94':
Enable partial invalidates when rendering with OpenGL.
2011-01-24 18:39:57 -08:00
Romain Guy
2ff6d70521
Merge "Enable partial invalidates when rendering with OpenGL." into honeycomb
2011-01-24 18:38:00 -08:00
Romain Guy
7d7b5490a0
Enable partial invalidates when rendering with OpenGL.
...
Change-Id: Ie8be06c4776b815e8737753eb8003b4fd8936130
2011-01-24 18:39:56 -08:00
Chet Haase
f8ac62237b
am 235a20a3: am 21d405f5: Merge "Fix for display list problem with listview items." into honeycomb
...
* commit '235a20a3d1b57492ba0fbebb7f9dcce41ef011d0':
Fix for display list problem with listview items.
2011-01-24 18:04:35 -08:00
Chet Haase
235a20a3d1
am 21d405f5: Merge "Fix for display list problem with listview items." into honeycomb
...
* commit '21d405f5fa0ccf75e805e3f9404a53579416e2da':
Fix for display list problem with listview items.
2011-01-24 18:02:05 -08:00
Chet Haase
3b2b0fc257
Fix for display list problem with listview items.
...
We were not correctly invalidating items that were being attached
to listviews.
Change-Id: I5d29a82c4276f09e401c6869ab1e86a3c8281366
2011-01-24 17:53:52 -08:00
Chet Haase
63502a7fb2
am 2292fb4a: am 50d4de21: Merge "Fix bug with display lists and layout." into honeycomb
...
* commit '2292fb4afb942b5880ef20bca5b255c5e005fa5e':
Fix bug with display lists and layout.
2011-01-24 17:08:55 -08:00
Chet Haase
2292fb4afb
am 50d4de21: Merge "Fix bug with display lists and layout." into honeycomb
...
* commit '50d4de21ee6a2ee62c7ad89dfdfd82d1045e7a58':
Fix bug with display lists and layout.
2011-01-24 17:07:13 -08:00
Chet Haase
5af048c791
Fix bug with display lists and layout.
...
requestLayout() and forceLayout() should force the INVALIDATED
flag to be set, which causes a view's display list to be regenerated
on the next drawing operation. This is necessary when containers change
due to layout requests.
Change-Id: I5b18b5936b59f0605f93c8f45baf83a76dab4e5e
2011-01-24 17:00:32 -08:00
Jeff Brown
76a23f8b2e
resolved conflicts for merge of eebc944f to master
...
Change-Id: I969cf69d2bd6901742d2cdf1bd44344ee7ba9fc7
2011-01-24 16:43:28 -08:00
Jeff Brown
eebc944fd1
am aaa55d3f: Merge "New orientation listener." into honeycomb
...
* commit 'aaa55d3f45744814907d0809befb49281ced462e':
New orientation listener.
2011-01-24 15:33:46 -08:00
Jeff Brown
aaa55d3f45
Merge "New orientation listener." into honeycomb
2011-01-24 15:31:22 -08:00
Gilles Debunne
ad18453037
am c46491fc: am 7c8c6d68: Typo in InputMethodManager\'s documentation
...
* commit 'c46491fc2fdaa8cddaa2a4f83f50630b7d2e2a74':
Typo in InputMethodManager's documentation
2011-01-24 15:03:12 -08:00
Gilles Debunne
c46491fc2f
am 7c8c6d68: Typo in InputMethodManager\'s documentation
...
* commit '7c8c6d689280ecfbd151a2e0cb40341768470676':
Typo in InputMethodManager's documentation
2011-01-24 15:01:02 -08:00
Gilles Debunne
3a23a82275
am 287035f5: am 88b5953a: Merge "NULL inputType text fields should never show the IME." into honeycomb
...
* commit '287035f5749e4a5d4f088ee5f215f9ec4d03cc42':
NULL inputType text fields should never show the IME.
2011-01-24 14:50:29 -08:00
Gilles Debunne
287035f574
am 88b5953a: Merge "NULL inputType text fields should never show the IME." into honeycomb
...
* commit '88b5953ab2f63ed6f820bb13845cf8fecb2d57e3':
NULL inputType text fields should never show the IME.
2011-01-24 14:48:28 -08:00
Gilles Debunne
7c8c6d6892
Typo in InputMethodManager's documentation
...
Change-Id: I711e6d24462e336546b789fac0b9c6f529ebe260
2011-01-24 14:48:14 -08:00
Gilles Debunne
88b5953ab2
Merge "NULL inputType text fields should never show the IME." into honeycomb
2011-01-24 14:46:57 -08:00
Jeff Brown
4519f07e9c
New orientation listener.
...
The objective in this listener is to be more careful about the
signal processing to prevent spurious orientation changes
and to make all of the tweakable factors physically meaningful.
The calibration is defined in terms of time constants and
does not assume a particular discrete sampling rate. This is
useful because it allows us to change the accelerometer sampling
interval if desired without having to change the calibration.
Moreover, the accelerometer sampling interval can vary +/- 20ms
from one sample to the next even in normal circumstances.
Proposed orientation changes are weighted by confidence factors
that vary exponentially in relation to how close the device
is to the ideal orientation change posture (screen is vertical,
angle is exactly at the midpoint of the orientation quadrant,
and no external acceleration beside gravity). When not in an ideal
posture, the device takes proportionally longer to settle into a
new orientation state.
Added a little tool to plot the log output of the
WindowOrientationListener. Check the README for more information
about how to use it.
Change-Id: I787f02d03582ff26367df65eda8d9ce85c5cb343
2011-01-24 13:46:57 -08:00
Huahui Wu
61b9649a50
am 6e4a69bb: am 94b8b114: Merge "A few small cleanning-ups." into honeycomb
...
* commit '6e4a69bbf7d7566899ec76d2634538dd79ca4166':
A few small cleanning-ups.
2011-01-24 13:36:39 -08:00
Joe Onorato
b05aacc1ae
am ab8967ae: am da34e13b: Merge "Remove unwanted parameter (it was a typo)." into honeycomb
...
* commit 'ab8967ae9db71291094da2967e744038b7e91ff7':
Remove unwanted parameter (it was a typo).
2011-01-24 13:30:42 -08:00