55ffc99d32b3c52494a5840116a5d12cbcef679c |
|
25-Jun-2015 |
Yorke Lee <yorkelee@google.com> |
Make switch access work for incoming call screen An accessibility click on the glowpad now exposes the touch targets as virtual views to accessibility services. Performing an accessibility click on each virtual view performs the same function as swiping towards that target. Mark contact photo as unimportant for accessibility, it doesn't provide any useful context or functionality. Bug: 19075527 Change-Id: I2e980394175bf77379f5cb99126dd5970e0f0555
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/GlowPadView.java
|
d74667fb2f70bde3b96250b0eb8c1df8893718e6 |
|
07-May-2015 |
Yorke Lee <yorkelee@google.com> |
Fix issue with misaligned glowpad handle If the drawable for the handle changes, a new TargetDrawable is created (without the correct positional parameters). This causes it to be misaligned (e.g. during call waiting). To fix this, simply replace the drawable without creating the TargetDrawable from scratch. This preserves its positionX and positionY variables. Bug: 20860087 Change-Id: I696bddf2d6d92cd8f17a3818367e9c0ac71b4a63
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/GlowPadView.java
|
a2f7f5ddc1fa8f0a08a4b3a23d968206db93dfc6 |
|
26-Dec-2014 |
Yorke Lee <yorkelee@google.com> |
am 37845319: am ad9aeb99: Merge "Minor UI tweak" into lmp-mr1-dev * commit '378453190f85c0ecb0d643a75e781df32ddaa3b2': Minor UI tweak
|
fa359dd198ec95559ff922cc3ac1b7abc0a9bb31 |
|
22-Dec-2014 |
Yorke Lee <yorkelee@google.com> |
Minor UI tweak Change-Id: I37c1132d06264c3e8cdbbf181fe274cd26a99c80
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/GlowPadView.java
|
7f46abe9d9c2150266de125df9c3e67abfad507e |
|
23-Oct-2014 |
Neil Fuller <nfuller@google.com> |
am 6676f4e2: Merge "Remove dependencies on FloatMath" * commit '6676f4e282b0c1166a4fd92c8f0a3c78ac8b37b5': Remove dependencies on FloatMath
|
c83980baa7740f809192020c114a282ba19e3fef |
|
02-Oct-2014 |
Neil Fuller <nfuller@google.com> |
Remove dependencies on FloatMath See frameworks/base commit 33253a4baa6279f81a73425b49dfb6abe5f5416e for details. Bug: https://code.google.com/p/android/issues/detail?id=36199 Change-Id: I3e06d3050dc14c2b065ade4fa6a00079c2be735f
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/GlowPadView.java
|
efe6a5d64851519eea0fe9d349b7b8f904193a36 |
|
12-Jul-2014 |
Andrew Lee <anwlee@google.com> |
Show different glowpad options for incoming video call. - Refactor code be more flexibile/specific in specifying the targets for the glow pad; went from "n-way" labeling of different target sets to more explicit labeling of scenarios, such as "audio without sms". - Add target sets and cases for showing targest in AnswerFragment. - Added new drawable for the target to answer a video call. - Add method to GlowPadView to allow changing the handle (now it may be either a videocamera or phone icon, depending on the scenario). - Add a new video handle for incoming video calls. - TODO: Hook this up to show these glowpads if there is an incoming video call. - Deleted some unused resource files. Bug: 16015750 Change-Id: I77ff08f45f57cd2817866b5d78648af8891bb675
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/GlowPadView.java
|
74abd42ad94cc10b6e1b9462e73f21f0240fc268 |
|
25-Mar-2014 |
Alan Viverette <alanv@google.com> |
Remove extra recycle() call BUG: 13636003 Change-Id: I28dfcf2506a5dcff6d17990eaf416ea18dada762
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/GlowPadView.java
|
dc8cda5a71ee4ee644561fed0767c6d0b3a3447d |
|
28-Sep-2013 |
Santos Cordon <santoscordon@google.com> |
Make sure glowpad is centered when gravity is centered. +----------------+ | ---- | | - - | | - - | | - - | | ---- | +----------------+ | h | from square edge to circle edge | d | diameter of circle | w | width of square Those are the three values involved in the calculation that we are changing. The formula calculated the center of the circle (glowpad). When setting the x position of the glowpad we should always grab the radius of the circle (d/2) then set h to a proper value depending on the gravity setting: left) h = 0 // do not shift at all center) h = (w - d) / 2 // half the diff. between box and circle widths right) h = (w - d) // total diff. between box and circle widths This is what the code does after this change. The flaw that I saw was that instead of using the radius and adding to h, we used the maximum between the radius or w/2 (half the width of the box). The result was that in rare occassion (possibly for the first time in the associated bug) where the circle is smaller than the box, we would shift too far to the right because w/2 is always larger than the more appropriate d/2. I don't know why this was done, but I have added jaggies@ who originally wrote the code. I consulted with christinech@ and both determined that this is the correct mathematical formula. I verified that the old code did not work correctly for left, right, or center and that all three work as expected with the new code. bug:10958942 Change-Id: I781dc25601382d7a43408cbce0badf8a0a90d663
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/GlowPadView.java
|
b0899adba59d1c5cdd2db1363f49803a24546883 |
|
10-Sep-2013 |
Christine Chen <christinech@google.com> |
Makes glowpad scalable. Bug: 10634748 Change-Id: Iac3d424e7d6be94230da12f3058214b7ca3d8a84
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/GlowPadView.java
|
d05336248c5600cde35ad564840532f59b4c085c |
|
15-Jul-2013 |
Chiao Cheng <chiaocheng@google.com> |
Adding in call screen template. Along with glow pad for incoming call interaction.. Change-Id: I8d518b5247bee4a10c8fd06763a7e3fe6cff5652
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/GlowPadView.java
|