aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/utils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "[ML14] Forward the locale list to relevant places"Ken Wakasa2014-10-031-0/+11
| | | | | | | | | | This reverts commit 15dbd38283fc9c8fdfd2540f1d94d4dbf2eabcb5. Bug: 11230254 Reverting due to unit test breakage. Change-Id: Icf29ba5c808c754515aef2d1b4162d72f606acfe
* [ML14] Forward the locale list to relevant placesJean Chalard2014-10-031-11/+0
| | | | | Bug: 11230254 Change-Id: Idf3ed27b396d63ade9800c72c5ce0ed613f5f669
* Add calls to stub for API to consume gesture data.David Faden2014-10-031-0/+10
| | | | | Bug: 17400259 Change-Id: Ib3511afffe1d14662e7dd14611f384689516e664
* Introduce NgramProperty in Java side.Keisuke Kuroyanagi2014-10-011-3/+4
| | | | | Bug: 14425059 Change-Id: I8b3458ad22730b3dccbe0caea2c5930f5276dc82
* Rename PrevWordsInfo to NgramContext.Keisuke Kuroyanagi2014-09-296-42/+42
| | | | | Bug: 14425059 Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984
* Refactoring PrevWordsInfo.Keisuke Kuroyanagi2014-09-261-1/+1
| | | | | Bug: 14425059 Change-Id: I48a193b965e3055bd10a00046322c2b7b19a6232
* Add an internal state test to ImportantNoticeUtilsTestsTadashi G. Takaoka2014-09-261-2/+4
| | | | | | | | | | On some 32bit-x86 testing emulators, it seems the internal state after clear the related settings seems like a contradiction state. This CL adds an test to check such internal state in order to investigate what is happening on these emulators. Bug: 17635340 Change-Id: Iba85f06c46959b1dc22e2a9213c50c9e7e30949b
* Add !string/<resource_name> referenceTadashi G. Takaoka2014-09-251-1/+1
| | | | | | | | | | | | | | | This CL introduces new text reference notation !string/<resource_name> to refer a string resource on the fly. This notation is mainly used to represent action key labels may refer a string in a system locale in run-time. This notation is needed to implement Hinglish and Serbian-Latin keyboards that need to refer its own action key labels. Bug: 17169632 Bug: 9687668 Change-Id: I042f6bd04714e0e448cd92031730eb9fb422e6d3
* am 4c4ba10b: am 71b51590: am a76e11a2: am 1f490d6c: am be4e0d0e: Fix when to ↵Tadashi G. Takaoka2014-09-231-5/+36
|\ | | | | | | | | | | | | show important notice * commit '4c4ba10bbb257036d7cb6ae8a128263285b7384f': Fix when to show important notice
| * Fix when to show important noticeTadashi G. Takaoka2014-09-221-5/+36
| | | | | | | | | | | | | | | | | | | | | | | | This CL introduces a timeout duration to show an important notice message. When the timeout has passed, the important notice message will be suppressed without user intervention. This CL also adds unit tests and fixes a bug in getNextImportantNoticeTitle(). Bug: 17181982 Change-Id: If321c0060cc2f7ca14ad0631b84f4990f88bd659
| * Merge "(DO NOT MERGE) Fix showing important notice even at beginning of ↵Tadashi G. Takaoka2014-09-181-4/+9
| |\ | | | | | | | | | sentence" into lmp-dev
| | * (DO NOT MERGE) Fix showing important notice even at beginning of sentenceTadashi G. Takaoka2014-09-181-4/+9
| | | | | | | | | | | | Bug: 17536096 Change-Id: Ic72d6fecc3241c1a9aba87b82a46750cbd69e001
* | | Fix unit tests.Keisuke Kuroyanagi2014-09-191-2/+2
| | | | | | | | | | | | Change-Id: I7706db4c9279488552ea5fabc16dd1dd2bc7fa05
* | | Added @UsedForTesting to 'missing' methods to avoid ProGuard removing themAdrian Velicu2014-09-193-0/+7
| | | | | | | | | | | | | | | Bug: 16864527 Change-Id: I698a1b3e09e7e9a12722169b37f87bd51c8cbd34
* | | Merge "Add Accounts & privacy settings in LatinIME"Sandeep Siddhartha2014-09-181-0/+2
|\ \ \
| * | | Add Accounts & privacy settings in LatinIMESandeep Siddhartha2014-09-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also start showing the logging preference on this screen too. This settings screen will be the container for all account management, sync and privacy related settings Bug: 17464068 Change-Id: Ie0806f6e8a542e9dea2834445ff7b38805207bda
* | | | Merge "Fix showing important notice even at beginning of sentence"Tadashi G. Takaoka2014-09-181-5/+8
|\ \ \ \
| * | | | Fix showing important notice even at beginning of sentenceTadashi G. Takaoka2014-09-181-5/+8
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | This is a cherry-pick of Ic72d6fecc3 from lmp-dev. Bug: 17536096 Change-Id: Id76b8f8dc85d03bc7ed5f24800301c081a82a8d2
* | | | resolved conflicts for merge of 233a2f21 to masterYohei Yukawa2014-09-181-0/+34
|\ \ \ \ | |/ / / |/| / / | |/ / Change-Id: If391cc622367dfb4448c6a5c32b82111d352d86e
| * / Use Add-To-Dictionary indicator onlyYohei Yukawa2014-09-181-0/+34
| |/ | | | | | | | | | | | | | | | | | | With this CL, the previously used commit indicator was reverted. Instead we use the add-to-dictionary indicator only at the moment. This CL also fixes the indicator position in bidi context. BUG: 17335734 Change-Id: I5f7cf173ddc30876e2b01320acaff8ba4265edf6
* | Making spelling of the word "distracters" consistentAdrian Velicu2014-09-171-6/+6
| | | | | | | | | | Bug: 17537869 Change-Id: Ibfc1c84aff72aeb76c9b127503369d00f3dfaceb
* | am 4d8efc97: am b41d1fcd: am d0d8f90a: Merge "Reorganize settings in Google ↵Jatin Matani2014-09-131-2/+4
|\| | | | | | | | | | | | | Keyboard" into lmp-dev * commit '4d8efc97873d12b4596c695fbcf7e72330b5253e': Reorganize settings in Google Keyboard
| * Reorganize settings in Google KeyboardTadashi G. Takaoka2014-09-121-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes : Input languages -> Languages Input preferences -> Preferences Multi lingual Options -> Multilingual Options Keyboard Theme -> Theme Gesture typing preferences -> Gesture typing **New Appearance -> Theme -> Custom input style **Removed Multilingual options from L dynamically Bug: 11866784 Change-Id: I07404c27868e1b087b0cafb63d2031a5b493a885
* | am ead70974: am 27ccbeb4: am cd119050: Support CursorAnchorInfo in the ↵Yohei Yukawa2014-09-111-0/+236
|\| | | | | | | | | | | | | full-screen mode * commit 'ead70974aecd78d5bad0fa87a759f6bf82dcb503': Support CursorAnchorInfo in the full-screen mode
| * Support CursorAnchorInfo in the full-screen modeYohei Yukawa2014-09-111-0/+236
| | | | | | | | | | | | | | | | | | | | | | | | This CL allows to emulate the behavior of CursorAnchorInfo in the full-screen mode to work around the limitation of the framework. Basically this CL copies relevant code from the framework to LatinIME. This is actually a code duplicate which isn't great, but probably the only way that is available right now. Change-Id: I30bc8c3387c91c8e47252ba699cbd967d8927dad
* | Move case and OOV detection logic into distracter filter.Keisuke Kuroyanagi2014-09-104-47/+100
| | | | | | | | | | | | Bug: 16547557 Change-Id: I8502585976deb5e93fff3b1e0266654b8a927bda
* | Fix a bug with the Greek question mark.Jean Chalard2014-09-081-4/+13
| | | | | | | | | | Bug: 17398284 Change-Id: If49593e2c959935a183a4cd9d988407cc1160599
* | Fix a bug where CAPS_WORDS would not be returned.Jean Chalard2014-09-051-1/+2
| | | | | | | | | | | | Also introduce some unit tests that would have caught the bug. Bug: 17398284 Change-Id: Idb715b7bd2f70992d6cdf4e25ef368809382caef
* | Merge "[ML3] Put the locale in SuggestedWordInfo"Jean Chalard2014-09-021-5/+3
|\ \
| * | [ML3] Put the locale in SuggestedWordInfoJean Chalard2014-09-011-5/+3
| | | | | | | | | | | | | | | | | | ...and remove it from SuggestionResults. Change-Id: Iae85ec7e82e2caf18cc6d7656aa46dc150707cdd
* | | Support multiple locales in distractor filter.Keisuke Kuroyanagi2014-08-291-63/+66
|/ / | | | | | | | | Bug: 16547557 Change-Id: I4aba278eb4114e0075f3f8b38c7e132743927fa8
* | Use DictionaryFacilitatorLruCache for personalization.Keisuke Kuroyanagi2014-08-291-33/+29
| | | | | | | | | | | | Bug: 16547557 Change-Id: I5faba5e26d072b49c0fffcaeaf5062f9e0c2dcc0
* | Straighten the dead char implementation, take 3.Jean Chalard2014-08-281-2/+2
| | | | | | | | Change-Id: I4f70f6eebe076c7d2b780d25e3a2c1d3faa2edfa
* | Merge "Revert "Straighten the dead char implementation.""Ken Wakasa2014-08-271-2/+2
|\ \
| * | Revert "Straighten the dead char implementation."Ken Wakasa2014-08-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 5ef447aeea97c755008785b36468715922b7ccc1. Reverting because this broke a bunch of unit tests -- https://sponge.corp.google.com/target?id=b6439742-099e-46cb-8f00-d0c602a4d9bb&target=com.google.android.inputmethod.latin.tests&searchFor=&show=FAILED&sortBy=STATUS Change-Id: Ibbd9e11372993f62e630fd9da37158ffcf47c17a
* | | Merge "Straighten the dead char implementation."Jean Chalard2014-08-271-2/+2
|\| |
| * | Straighten the dead char implementation.Jean Chalard2014-08-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This now supports all cases, including cases not supported by the framework. Now rebased on top of the right change, and renamed Change-Id: I7886f0dcbb86cdb4dccec09aa7c52ad339680e04
* | | am 68a2a69a: am 37beaf15: Simplify onComputeInsets of LatinIMETadashi G. Takaoka2014-08-271-0/+39
|\ \ \ | |/ / |/| / | |/ | | * commit '68a2a69ae35352650a4c6dfc0b0c69069c4a1e1d': Simplify onComputeInsets of LatinIME
| * Simplify onComputeInsets of LatinIMETadashi G. Takaoka2014-08-271-0/+39
| | | | | | | | | | | | | | | | | | | | | | This CL expands SoftInputWindow to the entire screen. Thus a key review backing view is eliminated and onComputeInsets() gets simplified too. Bug: 17212702 Bug: 10841052 Bug: 10541453 Change-Id: I2d859f4e4698c64cabe399000821f13bab729996
| * DO NOT MERGE: Abolish source code overlay and introduce overridable src dirKen Wakasa2014-08-204-147/+0
| | | | | | | | | | | | | | This should make IDEs happy with appropriate source code directory selection. Change-Id: Ic734bd4d20aa050c688a3158b1a382ae0ac18991 (cherry picked from commit fb74ab15c1343084740d65ef8744cad33a678e82)
* | Revert "Revert "[ML1] Introduce RichInputMethodSubtype""Jean Chalard2014-08-253-66/+21
| | | | | | | | | | | | | | | | This reverts commit a63d0a8ee6cb05bcddb69bf9a6018853d89d886a. This patch seems to be fine after all, but was submitted without its companion [ML1.1] patch causing a build breakage. Reverting the revert and submitting both at the same time seems like the right thing to do. Change-Id: Ib8fefa40b74dcee0edb025a52dac9b35c82d49df
* | Revert "[ML1] Introduce RichInputMethodSubtype"Jean Chalard2014-08-223-21/+66
| | | | | | | | | | | | This reverts commit 8ffe4bc9321e582a4d882f21e465d5886616f489. Change-Id: I9d4c98b0adfdb78b0f4d376f7691e50d1bd2228f
* | [ML1] Introduce RichInputMethodSubtypeJean Chalard2014-08-223-66/+21
| | | | | | | | | | Bug: 11230254 Change-Id: Ic7a1bf938a5a186dcff527b556295aba2406e8b9
* | Add Hinglish (hi_ZZ) subtypeTadashi G. Takaoka2014-08-211-2/+20
| | | | | | | | | | Bug: 17169632 Change-Id: Ibee088d76c2b19f1d62a3c9c119452726e856ec8
* | Abolish source code overlay and inroduce overridable src dirKen Wakasa2014-08-164-147/+0
|/ | | | | | | | This should make IDEs happy with appropriate source code directory selection. bug: 16829244 Change-Id: Ic734bd4d20aa050c688a3158b1a382ae0ac18991
* Merge "Rename distracter filter class." into lmp-devKeisuke Kuroyanagi2014-08-071-3/+4
|\
| * Rename distracter filter class.Keisuke Kuroyanagi2014-08-081-3/+4
| | | | | | | | | | | | Bug: 13142176 Bug: 15531638 Change-Id: I89cef5264073eed25ffb5be10fdff731df0a3138
* | Merge "Use suggestions in the distracter filter." into lmp-devKeisuke Kuroyanagi2014-08-071-6/+162
|\|
| * Use suggestions in the distracter filter.Keisuke Kuroyanagi2014-08-081-6/+162
| | | | | | | | | | | | | | Bug: 13142176 Bug: 15531638 Change-Id: I609fa61fccf2a0c738726985806b7d9248eadf49
* | Initial implementation of Help & feedbackKen Wakasa2014-08-081-2/+2
|/ | | | | | bug: 16717930 Change-Id: Iddc8e831c3f01ec7eb02ed1bc5d5e103d497e177