Commit Graph

3016 Commits

Author SHA1 Message Date
Jeff Brown
148e0b7a1d am 7ce7fe3b: am 33ebe8c8: Merge "Add systrace method tags for measure and layout." into jb-dev
* commit '7ce7fe3b6170c5765a8045a78a272e13f1064d6a':
  Add systrace method tags for measure and layout.
2012-05-17 17:18:05 -07:00
Jeff Brown
9b48e8063d am 046c8619: am 0d28cdf1: Merge "Fix a possible starvation issue related to vsync." into jb-dev
* commit '046c86191653ef3ba49c1397cb2242562a410ae4':
  Fix a possible starvation issue related to vsync.
2012-05-17 15:33:50 -07:00
Svetoslav Ganov
88b2b90e7d am c2f64117: am c5fb5805: Merge "Accessiblity focus not following input focus and text nav broken." into jb-dev
* commit 'c2f6411741949924d42e2c4aaefc33e6312cdd68':
  Accessiblity focus not following input focus and text nav broken.
2012-05-17 15:32:42 -07:00
Jeff Brown
7ce7fe3b61 am 33ebe8c8: Merge "Add systrace method tags for measure and layout." into jb-dev
* commit '33ebe8c8c2179af371514b9c7a7d88faf531b18b':
  Add systrace method tags for measure and layout.
2012-05-16 17:43:37 -07:00
Jeff Brown
c8d2668bc4 Add systrace method tags for measure and layout.
Change-Id: I739f6384b390d1b34b09b622ca0f752de1dd7304
2012-05-16 17:27:24 -07:00
Jeff Brown
046c861916 am 0d28cdf1: Merge "Fix a possible starvation issue related to vsync." into jb-dev
* commit '0d28cdf1c870ade242250ec1a82c710885982b4b':
  Fix a possible starvation issue related to vsync.
2012-05-16 16:27:03 -07:00
Jeff Brown
0d28cdf1c8 Merge "Fix a possible starvation issue related to vsync." into jb-dev 2012-05-16 16:25:05 -07:00
Svetoslav Ganov
c2f6411741 am c5fb5805: Merge "Accessiblity focus not following input focus and text nav broken." into jb-dev
* commit 'c5fb5805c92429b08ca715df37e949f31591466a':
  Accessiblity focus not following input focus and text nav broken.
2012-05-16 13:30:22 -07:00
Svetoslav Ganov
c5fb5805c9 Merge "Accessiblity focus not following input focus and text nav broken." into jb-dev 2012-05-16 13:26:54 -07:00
Jeff Brown
b080660dfd Fix a possible starvation issue related to vsync.
This makes a noticeable improvement in cases where applications
post messages that need to be processed between animation frames.

Bug: 6418353
Change-Id: If225742e37aeaf3f0ca9710f9bf43dbb03bcde12
2012-05-16 12:50:41 -07:00
Svetoslav Ganov
64899e5c8f Accessiblity focus not following input focus and text nav broken.
1. View is checking if the accessibility focus is its
   descendant it clears the accessibility focus state
   in ViewRootImpl. The check in View was missing the
   case that the descendant may be the view itself. In
   such a case we want the normal clearing code to run.

2. The check whether a view has iterable text for
   accessibility was inverted and text nav was not
   working.

Change-Id: I1a13b6809fb7f205fff76ca09cd449179d06e530
2012-05-15 21:14:10 -07:00
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