From fe304b893968887323b93764caafa66ee8ad44de Mon Sep 17 00:00:00 2001 From: Svetoslav Ganov Date: Fri, 28 Sep 2012 11:12:34 -0700 Subject: [PATCH] Some accessibility events not sent from touch explorer if apps misbehave. 1. The touch explorer is relying on the hover exit accessibility event to be sent from the app's view tree before sending the exploration end and last touch accessibility events. However, if the app is buggy and does not send the hover exit event, then the interaction ending events are never sent. Now there is a timeout in which we wait for the hover exit accessibility event before sending the gesture end and last touch accessibility events. Hence, we are making a best effort to have a consistent event stream. 2. Sneaking in the new nine patch for the border around the magnified region since the current one is engineering art. bug:7233616 Change-Id: Ie64f23659c25ab914565d50537b9a82bdc6a44a0 --- .../magnified_region_frame.9.png | Bin 0 -> 190 bytes .../magnified_region_frame.9.png | Bin 0 -> 172 bytes .../magnified_region_frame.9.png | Bin 741 -> 0 bytes .../magnified_region_frame.9.png | Bin 0 -> 205 bytes .../server/accessibility/TouchExplorer.java | 58 ++++++++++++++++++ 5 files changed, 58 insertions(+) create mode 100644 core/res/res/drawable-hdpi/magnified_region_frame.9.png create mode 100644 core/res/res/drawable-mdpi/magnified_region_frame.9.png delete mode 100644 core/res/res/drawable-nodpi/magnified_region_frame.9.png create mode 100644 core/res/res/drawable-xhdpi/magnified_region_frame.9.png diff --git a/core/res/res/drawable-hdpi/magnified_region_frame.9.png b/core/res/res/drawable-hdpi/magnified_region_frame.9.png new file mode 100644 index 0000000000000000000000000000000000000000..29bdc42e820729327a0831ce4217b6c9a5958c61 GIT binary patch literal 190 zcmeAS@N?(olHy`uVBq!ia0vp^+#t-s1|(OmDOUqhEX7WqAsj$Z!;#Vf2?p zbb>IW`N`93fr1I1E{-7*Q?~{j4nJ zaCd?*qxs3xYk`7(o-U3d5>s1y5Aq%`;9!2cLVD@y^6rwJbA`1IN_7g62`uT1TCQ3= zFE*|HS)*N^|Lwy!nXIgkB}=SD8*DN-_3GySaoNtoJn8JYJM#@6$gkNYo}a6D>M77< N22WQ%mvv4FO#s{bHkbea literal 0 HcmV?d00001 diff --git a/core/res/res/drawable-nodpi/magnified_region_frame.9.png b/core/res/res/drawable-nodpi/magnified_region_frame.9.png deleted file mode 100644 index 4cadefbc0888a1166a356b6d73e79d1012b18f0f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 741 zcmVPx#24YJ`L;(K){{a7>y{D4^000SaNLh0L01Jr#01Jr$H_6Mb00007bV*G`2iyoB z7cMQvlbTQf00L!6L_t(Y$Gum(j?+LCJ!i%VHIIfUU8Ma3Qt<~Q1tsD~_y$V8fQFia zmFQ{r50F9?($S!8VB>ozJkE~o8OJfnUdf7`@yxmJdkl;dh3jNt{IK0ER%R1VcW2dc zB%pn@>L-Bht37TKa3y$8mFh=*NU6$!uHEmrf{2Cij9 zZ(MR<=`{+#6@c#mUe^B>nf*7}Y!Mh@D-!Cl`b7Y1NDdIwr`zjHf-%Ie9ovTd{WS-m zWo7BT=MsP-Kz#oAAyo>@lt@Qjt=}gNap@uxd+N_dl&$LpJf9p~sWxEQ3>I}x)HsHx zy7a%hnM=9h%oaAfR??+swh%{MdP%7P{X+vjsD-+`h25k{DH11+A5#KD4vtc}(IYLq z*LR@L(+&zSpRrKK4sP$60C)u8dAN6drBQV2kOHI(h{B;3_TB-QhUee0Cj^mzt7!&k z(+r>(0mQSe9#3WDas^Nu8q=bi6ciw9b$N@x6^*HQJtkG5J<6g9^(O<^%SB_YQ^3k| zr0Ra?cv1^Q36KP6w|W(aq@*CIi7?iZlAQMVLva8 z-#a*hv||?D09t|pl+83zh;KbFJF%unP?AVCh%j;k_-$z{Bobg1^Kda@0!*+13B1n{ z);DP)JfCg8Zg&e$V(qAB2W{Lis$nKNN0p@<0JZl?_!5|S_jBzM!>RMRHumFkOcwtG XhhYxbPD@uQ00000NkvXXu0mjf#t%H3 diff --git a/core/res/res/drawable-xhdpi/magnified_region_frame.9.png b/core/res/res/drawable-xhdpi/magnified_region_frame.9.png new file mode 100644 index 0000000000000000000000000000000000000000..424b3d97313adc9c161ca1549f5b494766503cd6 GIT binary patch literal 205 zcmeAS@N?(olHy`uVBq!ia0vp^d?3uh1|;P@bT0xamSQK*5Dp-y;YjHK@;M7UB8wRq zxI00Z(fs7;wLrmqPZ!4!jfqEtPVzPw@N5p;p3t+2^>Z1wmD_Uz{$D3QIw&+Qwb425 zwT5NV1c!BNG!{;9$$eZ9RetAHO6;b>@(+7AKHz$9oZC0MXU?&Pee2tn3d9m>3k ybLPYk