• Hans Boehm's avatar
    More correctly pronounce advanced operators in Talkback · 8a4f81c5
    Hans Boehm authored
    Bug: 19190211
    Bug: 19202945
    Bug: 21052751
    Bug: 19165054
    Bug: 22594908
    
    Add TtsSpans for operators that are otherwise misread by TalkBack.
    Force correct reading for some individual characters.
    
    This greatly improves Talkback for advanced operators in Calculator.
    
    This is imperfect. There is no guarantee that the strings I'm
    using will work in all languages.  But they're almost certainly better than
    what we have now.  And it makes parentheses and factorial usable,
    though perhaps a bit verbose.
    
    We also no longer pronounce "sine" as "sin".
    
    Removed some now obsolete TODO comments.
    
    Change-Id: I5236f682be828699e08dca04ee6fa073269964f6
    8a4f81c5
KeyMaps.java 18.6 KB