Chet Haase
38330ec3b1
Merge "Avoid running layout transitions on unattached views and windows" into jb-dev
2012-05-23 14:48:43 -07:00
Romain Guy
393a52c9f6
Make it harder for apps to mess up ViewGroup's internal state
...
Bug #6421288
Change-Id: I8c2c597f45391d3c1ae40c8341a68bb25d8ad4d9
2012-05-23 14:32:16 -07:00
Chris Wren
5462508f05
Squelch the logs from SizeAdaptiveLayout.
...
Bug: 6540109
Change-Id: I52bd64e2f5d1b2f02ef7e956ddf1340fb9b2aff3
2012-05-23 17:15:34 -04:00
Chet Haase
ab3a776827
Avoid running layout transitions on unattached views and windows
...
LayoutTransition causes artifacts in some situations where a window is just
becoming visible or a container is just being added to the view tree when animations
are kicked off in LayoutTransition due to the normal automatic mechanism of running
animations when views are added/removed/etc. The problem is that containers in these
situations may have children with positions and sizes of (0, 0), causing the animation to
animate from this default/nonsense value to whatever is appropriate for the views when
they are first laid out and drawn. The end result is correct, but the animation is
superfluous and silly.
The fix is to avoid running any kind of transition animation on windows that are not
currently visible or containers that are not currently atached to the view hierarchy.
This should avoid the situation by only allowing the animations to run after the containers
and windows are visible and set up correctly.
Issue #6544410 issue with layout transition when first showing the activity
Change-Id: I737b2598887ef806dec3b02a483a8e8ff2c3d4e2
2012-05-23 14:09:30 -07:00
George Mount
c2813fa759
Show caret handle when clicking in the middle of text.
...
Bug 6545325
Change-Id: Ibea6daca1da12eec38b05f7f451561d31bb3c983
2012-05-23 14:04:54 -07:00
Chris Wren
e1ee12650e
am 7ecc8974: am b72ac9dd: Merge "BigPicture notifications for screenshots." into jb-dev
...
* commit '7ecc89743d43adeaf3d80c8d630fe37b23f8346e':
BigPicture notifications for screenshots.
2012-05-23 13:39:36 -07:00
Chris Wren
7ecc89743d
am b72ac9dd: Merge "BigPicture notifications for screenshots." into jb-dev
...
* commit 'b72ac9dd6eb649d6f0583a5782b1780cf4efa088':
BigPicture notifications for screenshots.
2012-05-23 13:35:56 -07:00
Chris Wren
b72ac9dd6e
Merge "BigPicture notifications for screenshots." into jb-dev
2012-05-23 13:32:53 -07:00
Daniel Sandler
0fc034f49f
am 79934c00: am 81de5a0b: Merge "Stop animating when not showing." into jb-dev
...
* commit '79934c0048a6bfccdbb6dda0fc45db3240ba5de8':
Stop animating when not showing.
2012-05-23 11:12:25 -07:00
Daniel Sandler
79934c0048
am 81de5a0b: Merge "Stop animating when not showing." into jb-dev
...
* commit '81de5a0b11df08b603693b6d3b381ac9f89ebc67':
Stop animating when not showing.
2012-05-23 11:07:42 -07:00
Daniel Sandler
81de5a0b11
Merge "Stop animating when not showing." into jb-dev
2012-05-23 11:05:02 -07:00
Craig Mautner
2b5d509584
am 4d7b752e: am 85aea366: Merge "Remove Popup immediately rather than defer it." into jb-dev
...
* commit '4d7b752ee9f739e3b178261728fc6b9ae0d8eac4':
Remove Popup immediately rather than defer it.
2012-05-23 10:55:50 -07:00
Craig Mautner
4d7b752ee9
am 85aea366: Merge "Remove Popup immediately rather than defer it." into jb-dev
...
* commit '85aea3664992cd1e16ef4497c3450b26bdef06b0':
Remove Popup immediately rather than defer it.
2012-05-23 10:52:04 -07:00
Craig Mautner
85aea36649
Merge "Remove Popup immediately rather than defer it." into jb-dev
2012-05-23 10:47:46 -07:00
Craig Mautner
b82d074038
Remove Popup immediately rather than defer it.
...
Delaying the popup by using removeView instead of removeViewImmediate
caused an error when the removal was actually executed after the parent
window was deleted along with the popup.
Fixes bug 6407801.
Change-Id: Ieb17d58467aaf16e1a24f47187f52766d694ba32
2012-05-23 10:15:09 -07:00
Daniel Sandler
aa0a3b6923
Stop animating when not showing.
...
We were eating too many jelly beans even when the screen was
off.
Also clean up touch offsets, rotation on fling, and main
platlogo asset.
Bug: 6541052
Change-Id: I34e49b8b7a95ce6daab929885130426a5ae58dc4
2012-05-23 01:38:26 -04:00
Svetoslav Ganov
997c952f13
am f608140b: am ed82973e: Merge "Interaction model of KeyboarView should be same as latimIME" into jb-dev
...
* commit 'f608140b13d9c617cf93ffb00cb5a9a93a2dd6da':
Interaction model of KeyboarView should be same as latimIME
2012-05-22 20:36:51 -07:00
Svetoslav Ganov
eed38b6d7f
am 1eab75b9: am 321a56c8: Merge "Clearing accessibility focus of a view did not update the global state." into jb-dev
...
* commit '1eab75b9ba87fe73e5709ef4e77adc78e55b96c9':
Clearing accessibility focus of a view did not update the global state.
2012-05-22 20:32:58 -07:00
Svetoslav Ganov
f608140b13
am ed82973e: Merge "Interaction model of KeyboarView should be same as latimIME" into jb-dev
...
* commit 'ed82973e616b1cbcab873dfb9c0191e63b34c821':
Interaction model of KeyboarView should be same as latimIME
2012-05-22 20:32:48 -07:00
Svetoslav Ganov
1eab75b9ba
am 321a56c8: Merge "Clearing accessibility focus of a view did not update the global state." into jb-dev
...
* commit '321a56c8481577f812c2ba0a10df7d43503a9314':
Clearing accessibility focus of a view did not update the global state.
2012-05-22 20:28:55 -07:00
Svetoslav Ganov
ed82973e61
Merge "Interaction model of KeyboarView should be same as latimIME" into jb-dev
2012-05-22 20:28:23 -07:00
Svetoslav Ganov
321a56c848
Merge "Clearing accessibility focus of a view did not update the global state." into jb-dev
2012-05-22 20:26:29 -07:00
Svetoslav Ganov
b6a0b09bf5
Interaction model of KeyboarView should be same as latimIME
...
1. In latin IME key up types in - now the keyboad view does the same.
bug:6534935
Change-Id: I91cd40c5cd541199f3fb43e4d0bf26be511dcd09
2012-05-22 19:47:02 -07:00
Jeff Sharkey
61eed6686d
am 5640e6a9: am 44fc8d5e: Merge "Add media directory, hidden for now." into jb-dev
...
* commit '5640e6a93757adafb5316037bec7ad378b73f1bf':
Add media directory, hidden for now.
2012-05-22 19:17:12 -07:00
Jeff Sharkey
5640e6a937
am 44fc8d5e: Merge "Add media directory, hidden for now." into jb-dev
...
* commit '44fc8d5e20a7b202a7916bfa56a2b91c33e605c2':
Add media directory, hidden for now.
2012-05-22 19:12:39 -07:00
Jeff Sharkey
44fc8d5e20
Merge "Add media directory, hidden for now." into jb-dev
2012-05-22 19:10:32 -07:00
Svetoslav Ganov
c00d00865d
Clearing accessibility focus of a view did not update the global state.
...
1. The code in clear accessibility focus was not updaing the global
accessibility focus reference in view root if the view not a
descendant has accessibility focus.
bug:6382856
Change-Id: I0c99578b5afd1f1f5d0df5bba05b0a03b5951a43
2012-05-22 18:43:11 -07:00
Dianne Hackborn
0eefdc1614
am 7a26eefc: am 89604931: Merge "Fix issue #6521829 : Sometimes action bar disappears in gallery" into jb-dev
...
* commit '7a26eefcc51e6cc794217ee398efbdcd4ad34392':
Fix issue #6521829 : Sometimes action bar disappears in gallery
2012-05-22 18:29:29 -07:00
Dianne Hackborn
7a26eefcc5
am 89604931: Merge "Fix issue #6521829 : Sometimes action bar disappears in gallery" into jb-dev
...
* commit '89604931a85edd82c6b4a8c798fc1af610ba706e':
Fix issue #6521829 : Sometimes action bar disappears in gallery
2012-05-22 18:26:11 -07:00
Jeff Sharkey
d525baa3a8
Add media directory, hidden for now.
...
Bug: 6539384
Change-Id: I8f3f7b92d27f15e82a43bb2fec02f2d9ed0280e1
2012-05-22 18:25:37 -07:00
Dianne Hackborn
89604931a8
Merge "Fix issue #6521829 : Sometimes action bar disappears in gallery" into jb-dev
2012-05-22 18:23:41 -07:00
Dianne Hackborn
80d55065b1
Fix issue #6521829 : Sometimes action bar disappears in gallery
...
Change-Id: Ieb1f1fd0ebb87037cda94e1e1d6e2ca9a9c0754e
2012-05-22 18:03:20 -07:00
Chris Craik
7d35738a2d
am 9970bbac: am 3534e134: Merge "Avoid crash if onDetachedFromWindow called after destroy" into jb-dev
...
* commit '9970bbac1f4951f5910aa5148e189a0a284f9e46':
Avoid crash if onDetachedFromWindow called after destroy
2012-05-22 17:26:44 -07:00
Chris Craik
9970bbac1f
am 3534e134: Merge "Avoid crash if onDetachedFromWindow called after destroy" into jb-dev
...
* commit '3534e13486a0081b1229e698f13bd3a37efa3fb0':
Avoid crash if onDetachedFromWindow called after destroy
2012-05-22 17:22:19 -07:00
Chris Craik
3534e13486
Merge "Avoid crash if onDetachedFromWindow called after destroy" into jb-dev
2012-05-22 17:20:07 -07:00
Chris Craik
9e08012869
Avoid crash if onDetachedFromWindow called after destroy
...
This also removes the temporary logging from commit
f8dafa14e0 .
bug:6535911
Change-Id: Icf1d0438b349a0e92e7d9cefed57a252eed2b9b0
2012-05-22 16:52:00 -07:00
Svetoslav Ganov
727242f960
am ecd2fe57: am 956f28ed: Merge "Always reference injector using get method." into jb-dev
...
* commit 'ecd2fe5796061f98656088dc1ce0621cc12d9a62':
Always reference injector using get method.
2012-05-22 15:37:59 -07:00
Svetoslav Ganov
ecd2fe5796
am 956f28ed: Merge "Always reference injector using get method." into jb-dev
...
* commit '956f28edae64268a67af22baee2ef873264921b4':
Always reference injector using get method.
2012-05-22 15:35:00 -07:00
Svetoslav Ganov
956f28edae
Merge "Always reference injector using get method." into jb-dev
2012-05-22 15:32:19 -07:00
Adam Cohen
3be398ab3c
am 2628c678: am 662e4a45: Merge "Fix ANR which could occur for collection widgets with very large items" into jb-dev
...
* commit '2628c678cde4bc4c99668130136714187aeca9dc':
Fix ANR which could occur for collection widgets with very large items
2012-05-22 14:49:52 -07:00
Chris Wren
3745a3da75
BigPicture notifications for screenshots.
...
Needed a little extra help from the builder to make this
happen (like the title, you might want a different largeIcon
in the expanded view if---as in this case---it is redundant
with the big picture).
Needed to fix BigPicture template to reveal actions.
Bug: 6289107
Change-Id: I19dc62e693ee2c87cbe82f7327fe9115768b4102
2012-05-22 17:47:33 -04:00
Chris Craik
b3e1de71ba
am 49413bcc: am 7a9328a3: Merge "Add temporary functor lifetime logging" into jb-dev
...
* commit '49413bcccbd735be4e8ad4cf98b3ab2f892225e4':
Add temporary functor lifetime logging
2012-05-22 14:46:25 -07:00
Adam Cohen
2628c678cd
am 662e4a45: Merge "Fix ANR which could occur for collection widgets with very large items" into jb-dev
...
* commit '662e4a456bf1f7a3a2a2c971f7c0861ef1c159e0':
Fix ANR which could occur for collection widgets with very large items
2012-05-22 14:45:24 -07:00
Adam Cohen
662e4a456b
Merge "Fix ANR which could occur for collection widgets with very large items" into jb-dev
2012-05-22 14:41:54 -07:00
Chris Craik
49413bcccb
am 7a9328a3: Merge "Add temporary functor lifetime logging" into jb-dev
...
* commit '7a9328a3118725389564fe2a9b926837fa3d58a9':
Add temporary functor lifetime logging
2012-05-22 14:41:35 -07:00
Chris Craik
7a9328a311
Merge "Add temporary functor lifetime logging" into jb-dev
2012-05-22 14:39:13 -07:00
Chris Craik
f8dafa14e0
Add temporary functor lifetime logging
...
bug:6535911
Change-Id: Ida5cc1def7fe1fc314317bbc5df50e1465753deb
2012-05-22 14:26:15 -07:00
alanv
500b91ebac
Always reference injector using get method.
...
Bug: 6535301
Change-Id: If1d55c3229603d12c568213bd2f271c7cb6ab139
2012-05-22 14:22:48 -07:00
Dianne Hackborn
26743444c6
am d7b376f2: am 2bccea24: Merge "Fix issue #6499411 : Characters not displayed (but suggestion bar is working)" into jb-dev
...
* commit 'd7b376f22346da4704ea4ca667331fc94eec9195':
Fix issue #6499411 : Characters not displayed (but suggestion bar is working)
2012-05-22 14:21:52 -07:00
Adam Cohen
35fbe2a592
Fix ANR which could occur for collection widgets with very large items
...
-> We cache RemoteViews which populate the AdapterViews, but only
up to a total memory amount of 2MB. The remainder of the cache
is pruned out. If _every_ item is greater than 2MB, we were failing
to prune the last item, leaving the framework in a loop on a bg
thread, but holding a lock required by the main thread.
Change-Id: I0574a25a59ebec6586ae223fff6605c0fee953c3
2012-05-22 14:10:14 -07:00