commit | 30dbaf0174ad95375bbfd9861991bbee8245f56e | [log] [tgz] |
---|---|---|
author | android-htc-contribute <android-htc-contribute@htc.com> | Thu Sep 20 12:16:43 2012 +0800 |
committer | android-htc-contribute <android-htc-contribute@htc.com> | Thu Sep 20 12:16:43 2012 +0800 |
tree | c2ffc74a95a1bcc27dcdd3aafccc8bbeae5852d9 | |
parent | 833122f37b3e46b32b7558d60f991e4136c0db91 [diff] |
If Display ratio (Height/Width) is 1.7, the button which is generated dynamically is longer and catches the input event. The mockview’s onTouchEvent is not called and causes test failure. We set the height of button as 1/3 of mockview’s Height to avoid to block the event delivery. Change-Id: Icb97c775625bcd86df9a887bee4b84b073048806