Romain Guy
dd36336ce9
am 9e981d83: am d44a1686: Merge "Don\'t draw onto a hw surface using the software renderer Bug #6485955 " into jb-dev
...
* commit '9e981d83f1b8a1f1f88b67c32b1459a23455d3fe':
Don't draw onto a hw surface using the software renderer Bug #6485955
2012-05-15 20:35:43 -07:00
Svetoslav Ganov
f22a7c34a4
am a379e733: am 67d10a58: Merge "Prefetching of accessibility node infos getting incorrect views." into jb-dev
...
* commit 'a379e733b81e44b7d91d90ea93bc26e43230fdb1':
Prefetching of accessibility node infos getting incorrect views.
2012-05-15 20:35:40 -07:00
Romain Guy
9e981d83f1
am d44a1686: Merge "Don\'t draw onto a hw surface using the software renderer Bug #6485955 " into jb-dev
...
* commit 'd44a16864d549e08506d0f80198031f05a03bd15':
Don't draw onto a hw surface using the software renderer Bug #6485955
2012-05-15 20:30:21 -07:00
Svetoslav Ganov
a379e733b8
am 67d10a58: Merge "Prefetching of accessibility node infos getting incorrect views." into jb-dev
...
* commit '67d10a5867ac26155117f2ffda84f9d2a21dbcf0':
Prefetching of accessibility node infos getting incorrect views.
2012-05-15 20:30:18 -07:00
Romain Guy
d44a16864d
Merge "Don't draw onto a hw surface using the software renderer Bug #6485955 " into jb-dev
2012-05-15 19:19:41 -07:00
Romain Guy
413baf8a03
Don't draw onto a hw surface using the software renderer
...
Bug #6485955
If an invalidate gets scheduled right before the EGL surface is destroyed,
the next draw pass is done in software. This causes the software renderer
to connect to the surface forever which prevents the hardware renderer
from coming back when the screen is turned back on.
The fix here is to ignore the draw request when hw acceleration is requested
but not yet available. Proper software fallback will still happen when an
error is encountered with hardware rendering (in which case hw acceleration
will not be marked as requested anymore.)
Change-Id: I1edc4a51c8dd38240aa2345092a18a081a756fc1
2012-05-15 19:15:47 -07:00
Svetoslav Ganov
4528b4e882
Prefetching of accessibility node infos getting incorrect views.
...
1. The prefetcher of accessibility nodes infos was not folloing
the childForAccessibility relationship when finding the views
whose node infos to prefetch.
2. NumberPicker was not reporting the correct parent.
bug:6471710
Change-Id: Ia7ad5dd031fb4b3816dfe630d5212201cfafa236
2012-05-15 18:32:23 -07:00
Chris Wren
446d44778e
am 69337714: am 78cb7cf7: Allow animations to run past cancelled draws, if the view is visible.
...
* commit '69337714812db8735a66785f62db39f46a70fd26':
Allow animations to run past cancelled draws, if the view is visible.
2012-05-15 11:39:31 -07:00
Svetoslav Ganov
da350b9ef3
am db3cf0dd: am 0e29ac9e: Merge "Accessibility focus traversal in virtual nodes." into jb-dev
...
* commit 'db3cf0dd580ce976ea9b90aeebc60ff34f62372a':
Accessibility focus traversal in virtual nodes.
2012-05-15 11:39:23 -07:00
Romain Guy
ae197fd160
am d5cfec8d: am 7b8523aa: Merge "Remove all Dalvik allocations from Cavnas.drawBitmap(int[], ...)" into jb-dev
...
* commit 'd5cfec8d34a59f2a4e98b655b5e49775d69ad64c':
Remove all Dalvik allocations from Cavnas.drawBitmap(int[], ...)
2012-05-15 11:39:12 -07:00
Svetoslav Ganov
38f4c223c0
am d83a0800: am 8ce2d78a: Merge "Improving accessibility focus traversal." into jb-dev
...
* commit 'd83a0800679583ccc99a90a128f8d6c11afbeca4':
Improving accessibility focus traversal.
2012-05-15 11:38:57 -07:00
Jeff Brown
57ea2e0eaf
am e2ec70bf: am 00ff4748: Merge "More VelocityTracker refactoring." into jb-dev
...
* commit 'e2ec70bf92e80800bd5163f56632b9eb14cce290':
More VelocityTracker refactoring.
2012-05-15 11:38:46 -07:00
Eric Laurent
50e8a1649a
am dd99f70a: am dfae6db0: Merge "Implement new volume display policy." into jb-dev
...
* commit 'dd99f70a3f8e661799ecda271d31fc385a80ecb5':
Implement new volume display policy.
2012-05-15 11:38:37 -07:00
Chris Wren
6933771481
am 78cb7cf7: Allow animations to run past cancelled draws, if the view is visible.
...
* commit '78cb7cf7d1d82834c4405650a17e387370004570':
Allow animations to run past cancelled draws, if the view is visible.
2012-05-15 11:32:53 -07:00
Svetoslav Ganov
db3cf0dd58
am 0e29ac9e: Merge "Accessibility focus traversal in virtual nodes." into jb-dev
...
* commit '0e29ac9e4ede6e75a5ca91eb744bbff83949c71e':
Accessibility focus traversal in virtual nodes.
2012-05-15 11:32:40 -07:00
Romain Guy
d5cfec8d34
am 7b8523aa: Merge "Remove all Dalvik allocations from Cavnas.drawBitmap(int[], ...)" into jb-dev
...
* commit '7b8523aaed11a3b5ee286776023233036ac0759d':
Remove all Dalvik allocations from Cavnas.drawBitmap(int[], ...)
2012-05-15 11:31:54 -07:00
Svetoslav Ganov
d83a080067
am 8ce2d78a: Merge "Improving accessibility focus traversal." into jb-dev
...
* commit '8ce2d78aa89e89e9a5607d8809bf6d248508a531':
Improving accessibility focus traversal.
2012-05-15 11:31:28 -07:00
Jeff Brown
e2ec70bf92
am 00ff4748: Merge "More VelocityTracker refactoring." into jb-dev
...
* commit '00ff47484f8137aa3e59f680ff07d2662cfb4088':
More VelocityTracker refactoring.
2012-05-15 11:31:08 -07:00
Eric Laurent
dd99f70a3f
am dfae6db0: Merge "Implement new volume display policy." into jb-dev
...
* commit 'dfae6db0228a2ba4e34deb48d54fb06a2637e6a2':
Implement new volume display policy.
2012-05-15 11:30:53 -07:00
Chris Wren
78cb7cf7d1
Allow animations to run past cancelled draws, if the view is visible.
...
Bug: 6475482
Change-Id: Iecb3a04744282135efa0049f1b70a46dc4a6bb23
2012-05-15 10:57:59 -07:00
Svetoslav Ganov
0e29ac9e4e
Merge "Accessibility focus traversal in virtual nodes." into jb-dev
2012-05-15 10:48:44 -07:00
Svetoslav Ganov
791fd31a68
Accessibility focus traversal in virtual nodes.
...
1. Finished the implementation of support for maintaining
accessibility focus in view with virtual descendants.
2. Finished the NumberPicker implementation of virtual
subtree such that all requred attributes are reported
and ensuring that it support accessibility focus in
its virtual descentants.
3. Fixed a bug where if a predecessor of the view that is
accessiiblity focused is removed the accessibliity focus
host in ViewRootImpl is not cleared leading to a crash
when trying to draw the accessibility focus highlight.:
bug:6472646
bug:6433864
Change-Id: I3645642b87b4a26025c0b2ba9dfaad92d11a48f1
2012-05-15 00:43:53 -07:00
Romain Guy
7b8523aaed
Merge "Remove all Dalvik allocations from Cavnas.drawBitmap(int[], ...)" into jb-dev
2012-05-14 20:12:09 -07:00
Romain Guy
e651cc6239
Remove all Dalvik allocations from Cavnas.drawBitmap(int[], ...)
...
Change-Id: Ie28538a2104d21154fdc78a56525e7403f08287d
2012-05-14 19:44:40 -07:00
Svetoslav Ganov
24ef21aeeb
am e436812e: am 844047ac: Merge "Fix inconsitency in aAccessibilityNodeInfo cache." into jb-dev
...
* commit 'e436812e85f4a8da724f4fe36c1547a1b806f1f9':
Fix inconsitency in aAccessibilityNodeInfo cache.
2012-05-14 19:38:04 -07:00
Michael Jurka
c8f6d8014a
am 87f6f809: am 143a02aa: Merge "Prevent ViewPropertyAnimators from getting started twice" into jb-dev
...
* commit '87f6f809935bbb46f85f158d693e46c5802ddd1d':
Prevent ViewPropertyAnimators from getting started twice
2012-05-14 19:37:56 -07:00
Chet Haase
76af556c8d
am c63aaee9: am 728e4394: Merge "Minor touch-up of Animation docs" into jb-dev
...
* commit 'c63aaee9ff45cec1c47edff8de21c7732ccc6bcf':
Minor touch-up of Animation docs
2012-05-14 19:37:47 -07:00
Mathias Agopian
e3fa874bae
am 41f089e0: am 7ed1d661: Merge "fix SurfaceView visibility state changes" into jb-dev
...
* commit '41f089e0863067fea5ebe27c33d7545aed9736cf':
fix SurfaceView visibility state changes
2012-05-14 19:37:36 -07:00
Dianne Hackborn
6917b2a10d
am 2da87ec3: am 2a7a6ca0: Merge "Implement new window cropping." into jb-dev
...
* commit '2da87ec32e72c2c25998e2444155c00074cfbd40':
Implement new window cropping.
2012-05-14 19:37:21 -07:00
Guang Zhu
9a19d16a1a
am 58b0dcde: am 0d607fbe: accessibility bug fix in NumberPicker
...
* commit '58b0dcde83354bd1ae9091a7cbc7f207fb29960a':
accessibility bug fix in NumberPicker
2012-05-14 19:37:18 -07:00
Svetoslav Ganov
e436812e85
am 844047ac: Merge "Fix inconsitency in aAccessibilityNodeInfo cache." into jb-dev
...
* commit '844047acb7133c0b6b7128f19b76f93eaca9371e':
Fix inconsitency in aAccessibilityNodeInfo cache.
2012-05-14 19:34:14 -07:00
Michael Jurka
87f6f80993
am 143a02aa: Merge "Prevent ViewPropertyAnimators from getting started twice" into jb-dev
...
* commit '143a02aa79fbc28490bac39fabb6db0608774630':
Prevent ViewPropertyAnimators from getting started twice
2012-05-14 19:34:07 -07:00
Chet Haase
c63aaee9ff
am 728e4394: Merge "Minor touch-up of Animation docs" into jb-dev
...
* commit '728e43948c9b4d18a900fa50acad8d2734947b21':
Minor touch-up of Animation docs
2012-05-14 19:33:44 -07:00
Mathias Agopian
41f089e086
am 7ed1d661: Merge "fix SurfaceView visibility state changes" into jb-dev
...
* commit '7ed1d6613e2f5aa05158a87888f5a6474eca5cc1':
fix SurfaceView visibility state changes
2012-05-14 19:32:53 -07:00
Dianne Hackborn
2da87ec32e
am 2a7a6ca0: Merge "Implement new window cropping." into jb-dev
...
* commit '2a7a6ca00ab176105b5bbfa6b17bb0dcd058d517':
Implement new window cropping.
2012-05-14 19:32:39 -07:00
Guang Zhu
58b0dcde83
am 0d607fbe: accessibility bug fix in NumberPicker
...
* commit '0d607fbe546ac943de38dad33ae681b09efec6ea':
accessibility bug fix in NumberPicker
2012-05-14 19:32:33 -07:00
Svetoslav Ganov
8ce2d78aa8
Merge "Improving accessibility focus traversal." into jb-dev
2012-05-14 18:26:24 -07:00
Jeff Brown
00ff47484f
Merge "More VelocityTracker refactoring." into jb-dev
2012-05-14 17:12:32 -07:00
Eric Laurent
dfae6db022
Merge "Implement new volume display policy." into jb-dev
2012-05-14 16:30:47 -07:00
Svetoslav Ganov
e5dfa47d84
Improving accessibility focus traversal.
...
1. Now the views considered during the accessibility focus search
are the ones that would get accessibility focus when thovered
over. This way the user will get the same items i.e. feedback
if he touch explores the screen and uses focus traversal. This
is imperative for a good user experience.
2. Updated which focusables are considered when searching for access
focus in ViewGroup. Generally accessibility focus ignores focus
before/after descendants.
3. Implemented focus search strategy in AbsListView that will traverse
the items of the current list (and the stuff withing one item
before moving to the next) before continuing the search if
forward and backward accessibility focus direction.
4. View focus search stops at root namespace. This is not the right
way to prevent some stuff that is not supposed to get a focus in
a container for a specific state. Actually the addFocusables
for that container has to be overriden. Further this approach
leads to focus getting stuck. The accessibility focus ignores
root names space since we want to traverse the entire screen.
5. Fixed an bug in AccessibilityInteractionController which was not
starting to search from the root of a virtual node tree.
6. Fixed a couple of bugs in FocusFinder where it was possible to
get index out of bounds exception if the focusables list is empty.
bug:5932640
Change-Id: Ic3bdd11767a7d40fbb21f35dcd79a4746af784d4
2012-05-14 16:21:29 -07:00
Svetoslav Ganov
844047acb7
Merge "Fix inconsitency in aAccessibilityNodeInfo cache." into jb-dev
2012-05-14 14:14:26 -07:00
Eric Laurent
8c78752f2b
Implement new volume display policy.
...
Whenever a stream type is muted, the progress bar in volume panel
is at 0.
If a stream is muted by ringer mode and does not control ringer mode,
the progress bar is disabled.
Pressing VOL- when in vibrate or silent mode resets the last audible
volume of ringtone stream (music strem on tablets) to 0.
VolumePanel implementation:
- Always prefer AudioManager APIs over AudioService APIs when available on both.
- Do not use AudioManager.shouldVibrate() (deprecated).
Change-Id: I57fcb19ada4e8d729b6b41d668496562ebe340c3
2012-05-14 14:13:10 -07:00
Michael Jurka
143a02aa79
Merge "Prevent ViewPropertyAnimators from getting started twice" into jb-dev
2012-05-14 14:04:27 -07:00
Chet Haase
728e43948c
Merge "Minor touch-up of Animation docs" into jb-dev
2012-05-14 12:58:08 -07:00
Jeff Brown
ac592fb3b6
am a4881637: am 58770232: Merge "Move power HAL interactions to PowerManagerService." into jb-dev
...
* commit 'a48816375f68a8b4a945efcb68e405308a50adc9':
Move power HAL interactions to PowerManagerService.
2012-05-14 08:37:26 -07:00
Jamie Gennis
671543f762
am 592cbb83: am c9e27d4b: Merge "Surface: replace active rect with window crop" into jb-dev
...
* commit '592cbb835aa5ed104badf7de6c144a7b90300620':
Surface: replace active rect with window crop
2012-05-14 08:36:58 -07:00
Adam Powell
e60a635919
am e48c70e4: am 7fc4fbcc: Merge "Automatic persistent text selection for ListViews" into jb-dev
...
* commit 'e48c70e4d9302795d5f02d352c7907302ca5c8b6':
Automatic persistent text selection for ListViews
2012-05-14 08:36:17 -07:00
Jeff Brown
d4bef4b786
am 47272c93: am b12b6b51: Merge "Minor refactoring before starting on velocity tracker changes." into jb-dev
...
* commit '47272c932ab6157022aaefd015e5d1df9dc5bd2f':
Minor refactoring before starting on velocity tracker changes.
2012-05-14 07:48:31 -07:00
Chet Haase
7008d7b7f3
am fd086b95: am 76f08218: Merge "Fix quickReject logic for transformed views" into jb-dev
...
* commit 'fd086b95103e8c7fbe853f5702aaa7d04f2141f0':
Fix quickReject logic for transformed views
2012-05-14 07:47:59 -07:00
Chet Haase
ad4fc6f764
am 4a70bc72: am 26511012: Merge "Clear animations in DisplayLists when done" into jb-dev
...
* commit '4a70bc72a87427115d9d64516145283dc96745f2':
Clear animations in DisplayLists when done
2012-05-14 07:26:23 -07:00