Migrate voice features into the open-source LatinIME. This includes
the change to logging to remove any private dependencies and use broadcast intents to VoiceSearch instead. I have audited this code and it appears good to go for open-source, but would appreciate a second pair of eyes. Still to do after submitting this CL: * Reintroduce Amith's memory leak fix (37557) which was the only CL added to LatinIME since the last merge over to the private copy. * Make some changes to allow LatinIME to work without voice search installed. Currently I believe it will show the mic but fail if you press it. We need to base the visibility on the mic on the availability of the service. * Fix this code to use the new Gservices framework, it's still trying to use the old one.
Showing
- res/values-pt/strings.xml 25 additions, 7 deletionsres/values-pt/strings.xml
- res/values-ru/strings.xml 25 additions, 7 deletionsres/values-ru/strings.xml
- res/values-sv/strings.xml 25 additions, 7 deletionsres/values-sv/strings.xml
- res/values-tr/donottranslate.xml 1 addition, 1 deletionres/values-tr/donottranslate.xml
- res/values-tr/strings.xml 25 additions, 7 deletionsres/values-tr/strings.xml
- res/values-zh-rCN/strings.xml 25 additions, 6 deletionsres/values-zh-rCN/strings.xml
- res/values-zh-rTW/strings.xml 25 additions, 7 deletionsres/values-zh-rTW/strings.xml
- res/values/bools.xml 2 additions, 0 deletionsres/values/bools.xml
- res/values/donottranslate.xml 0 additions, 2 deletionsres/values/donottranslate.xml
- res/values/keycodes.xml 1 addition, 1 deletionres/values/keycodes.xml
- res/values/strings.xml 88 additions, 12 deletionsres/values/strings.xml
- res/xml-de/kbd_qwerty.xml 77 additions, 0 deletionsres/xml-de/kbd_qwerty.xml
- res/xml-fr/kbd_qwerty.xml 77 additions, 1 deletionres/xml-fr/kbd_qwerty.xml
- res/xml/kbd_qwerty.xml 79 additions, 6 deletionsres/xml/kbd_qwerty.xml
- res/xml/method.xml 2 additions, 2 deletionsres/xml/method.xml
- res/xml/prefs.xml 6 additions, 0 deletionsres/xml/prefs.xml
- src/com/android/inputmethod/latin/CandidateView.java 1 addition, 1 deletionsrc/com/android/inputmethod/latin/CandidateView.java
- src/com/android/inputmethod/latin/Hints.java 188 additions, 0 deletionssrc/com/android/inputmethod/latin/Hints.java
- src/com/android/inputmethod/latin/KeyboardSwitcher.java 59 additions, 22 deletionssrc/com/android/inputmethod/latin/KeyboardSwitcher.java
- src/com/android/inputmethod/latin/LatinIME.java 573 additions, 48 deletionssrc/com/android/inputmethod/latin/LatinIME.java
Loading
Please register or sign in to comment