aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-04-30Check OS codename for shouldOfferSwitchingToNextInputMethodYohei Yukawa1-4/+13
Make sure if Build.VERSION.CODENAME is "REL" or not when Build.VERSION.SDK_INT is 19 (KitKat). This is a tentative workaround until Build.VERSION.SDK_INT is bumped to 20 or greater. BUG: 12965588 Change-Id: I0f6a8ef92af221240d247997ce65bd5e351b2d5e
2014-04-30Move PatriciaTrieReadingUtils under pt_common.Keisuke Kuroyanagi11-12/+11
Change-Id: Ib8ec62b97318563785a2aafb854aabdc3f46f187
2014-04-28Import translations. DO NOT MERGEBaligh Uddin3-12/+12
Change-Id: I102607cef8e2a42fad8a0f691c007d39b0be5622 Auto-generated-cl: translation import
2014-04-29Fix unit tests by adding @UsedFortesting.Keisuke Kuroyanagi1-0/+3
Change-Id: I8f66632a32b9e9ddc1b771e8ee74492c7baf9338
2014-04-28Fix: contacts/user dicts are too frequently regenerated.Keisuke Kuroyanagi1-2/+3
Change-Id: I6b04a58c543fda6df7a2c016b8b8a5300f137d73
2014-04-28Cleanup ExpandableBinaryDictionary.Keisuke Kuroyanagi1-27/+14
Bug: 8187060 Change-Id: I9103462412e727b0160b218b1bb301ce43621c46
2014-04-28Use ReentrantReadWriteLock in ExpandableBinaryDictionary.Keisuke Kuroyanagi3-126/+131
Bug: 8187060 Change-Id: Ic665f0a5e940708aa9addedac068a64900b307e7
2014-04-28Simplify asyncFlushBinaryDictionary.Keisuke Kuroyanagi2-41/+2
We no longer write files when the dict has not been updated. Bug: 8187060 Change-Id: I8aa23a93d5deafb3a7f16f5466a5e0e84fbbf095
2014-04-28Remove DictionaryUpdateController.Keisuke Kuroyanagi3-107/+21
Bug: 8187060 Change-Id: I3e1fa4060d8a5c12d8d609be3357d56051fb5815
2014-04-28Small clean up on MAX_LOCALE_STRING_LENGTHKen Wakasa2-3/+2
Change-Id: I77f93879e841f33b81f6d193d1bd5782ad2124f5
2014-04-28Use different user dict name for spell checker.Keisuke Kuroyanagi2-2/+8
Bug: 13630847 Change-Id: Icabd08c674dcf086250b9e594328a43286d1d203
2014-04-28Use different contacts dict name for spell checker.Keisuke Kuroyanagi2-2/+8
Bug: 13630847 Change-Id: I016a464890d5e63794fb1288b4ce7b09adffc453
2014-04-28Move dicts for spellchecker to under spellcheck.Keisuke Kuroyanagi3-4/+6
Bug: 13630847 Change-Id: Iadcf5b31f66fb73efc5c640e96e8c2106a0224dd
2014-04-28Fix: Typed word is not included in more suggestions.Keisuke Kuroyanagi1-4/+22
Happened when top suggestion is long and auto-corrected. Bug: 13738879 Change-Id: I47c2dfb34cfc92b54cfe54c432ee2f646fe454e5
2014-04-28Use shouldOfferSwitchingToNextInputMethod when availableYohei Yukawa4-2/+49
With this CL, LatinIME starts using InputMethodManager#shouldOfferSwitchingToNextInputMethod when available and API level is higher than 19 (KitKat). Note that relevant settings of LatinIME will be ignored if InputMethodManager#shouldOfferSwitchingToNextInputMethod is considered to be available at the moment. We will revisit here to reorganize the user visible settings before the new global IME switching mechanism becomes publicly available. BUG: 12965588 Change-Id: I0188fa56cba8e983c61cef3ae3400a0e3821f718
2014-04-25Remove unnecessary reference to LatinIMETadashi G. Takaoka4-19/+11
Change-Id: Idbb45c504499d39bbf272fae84ea71a83bf4dd69
2014-04-25Add null check in createDistracterFilter().Keisuke Kuroyanagi1-1/+5
Change-Id: Iff2b73081d48f32b1d3a5d5b32c9734979362c23
2014-04-25Move some advanced settings to debug settingsTadashi G. Takaoka6-64/+63
This CL moves "Show slide indicator" and "Key long press delay" advanced options to the debug settings. Bug: 11866784 Change-Id: Iec16e09ba6e7c9f82ce0fa73a0d75766b843b44b
2014-04-25Prepare to implement distracter filterXiaojun Bi4-5/+67
It was implemented according to the Plan B in the design doc: http://go/ime-misspelling-filter This CL is to create a DistracterFilter instance and pass it to PersonalizationDictionarySessionRegistrar. This patch should be checked in together with Id633b4fd45693 Bug: 13142176 Change-Id: Ia4957e64218c9619fcf9bb91795a187617c72a2e
2014-04-25Fix: contains() is wrongly used in hasDict().Keisuke Kuroyanagi1-1/+1
Change-Id: I4699b1b75fed9dd479f5135f0a7a2dd098e6f798
2014-04-24Fix: Wrong null check for user history dict.Keisuke Kuroyanagi1-2/+2
Change-Id: Idf0bcc44247e35cd95f9482d2a8017329fc977bb
2014-04-24Handle personalization dictionary as an ExpandableBinaryDictionary.Keisuke Kuroyanagi3-26/+12
Bug: 13755213 Change-Id: I26e070e89e09b37e9dcc200d597c74c591467a66
2014-04-24Handle contacts dictionary as an ExpandableBinaryDictionary.Keisuke Kuroyanagi1-7/+4
Bug: 13755213 Change-Id: I0eb5055f9cdf5e1df337cdace9bf0919d4d365d3
2014-04-24Handle user history dictionary as an ExpandableBinaryDictionary.Keisuke Kuroyanagi5-55/+49
Bug: 13755213 Change-Id: I1ea8a6df007af7153852f2d32bf5e8ec669c432b
2014-04-24Simplify DictionaryFacilitatorForSuggest to be flexible.Keisuke Kuroyanagi1-95/+65
Bug: 13755213 Change-Id: I151269a7038b72a33b436da4c7596e09949e6d00
2014-04-24Remove clearAndFlushDictionary() and use clear().Keisuke Kuroyanagi5-14/+6
clearAndFlushDictionary() was needed when dictionaries are constructed in java side. All expandable dictionaries now use native code; thus, this method is same to clear() and no longer needed. Bug: 13755213 Change-Id: Ifd836e64f8ff807930f7cd2319b103b65e8fce70
2014-04-23Fix handling shift + enterTadashi G. Takaoka1-1/+3
Bug: 14278758 Change-Id: Id77c99b83cc69855972b27c9cebd482c8cbd3539
2014-04-23Move simulateKeyPress method to AccessibleKeyboardViewProxyTadashi G. Takaoka2-24/+35
Change-Id: Ic14ff70c7c8475983cf02dc1ba4d5a5f7769aa16
2014-04-23Import translations. DO NOT MERGEBaligh Uddin7-21/+165
Change-Id: I68b045ca178ded1daa16595f88ef9b71c7a07278 Auto-generated-cl: translation import
2014-04-23Announce keyboard language when TalkBack is onTadashi G. Takaoka1-20/+40
Bug: 13013501 Change-Id: I0595abafbc177f776676cb3560f3990da9328db2
2014-04-22Fix: Reporting wrong main dictionary availability.Keisuke Kuroyanagi1-4/+4
Bug: 13965806 Change-Id: Ida2234ab8cb7785ec5efd433a58949bf21c44351
2014-04-22Use ArrayList constructor directlyTadashi G. Takaoka1-2/+1
This is a follow up of I85a0b18d2d. Change-Id: Ia7a642bb6e0015242d6e046019b3973226a0add2
2014-04-22Fix typo of local variable nameTadashi G. Takaoka1-5/+6
Change-Id: I09c0aeee979e883af199f5c533d526a089064987
2014-04-22Quit creating empty dictionary file in ExpandableBinaryDictionary.Keisuke Kuroyanagi2-10/+9
Bug: 14166482 Change-Id: I7b7a25141851d7bb14744567639d8e5d8f04a036
2014-04-22Support creating BinaryDictionary without creating dict file.Keisuke Kuroyanagi5-3/+94
Bug: 14166482 Change-Id: Ic8c78ec2c8f39358a1f085a041b608972a380eef
2014-04-22Revert "Support creating BinaryDictionary without creating dict file."Keisuke Kuroyanagi5-94/+3
This reverts commit 89939b870876b36791a47470ce852e4fcdfe86f2. Change-Id: I8ca1b55609ad305a93178063bd88bd1cede872af
2014-04-22Use sorted keys index as virtual view idTadashi G. Takaoka3-66/+73
Change-Id: Id3f81de1edaacc06362b65aa7b68e9317e6596bd
2014-04-22Support creating BinaryDictionary without creating dict file.Keisuke Kuroyanagi5-3/+94
Bug: 14166482 Change-Id: Ib065279f96e227ab0fee7c8141560c4ada744d3b
2014-04-22Implement latinime_BinaryDictionary_createOnMemory().Keisuke Kuroyanagi6-25/+73
Bug: 14166482 Change-Id: If7ec3345ab34edcd6bc5cef9e72580ced894a0e3
2014-04-22Stop using Configuration.setLocaleTadashi G. Takaoka1-7/+7
The call for method Configuration.setLocale that is introduce by If60877b29b should be remove to be compatible with API 14 and later. Bug: 14239862 Change-Id: I3815c2b56bd9c655b8bde6f93143adf3ff08c35d
2014-04-21Separate JniDataUtils::constructAttributeMap().Keisuke Kuroyanagi2-23/+33
Bug: 14166482 Change-Id: Ic2dc407231743ea668fe0ab8869eb8a7f8b9625f
2014-04-21Add jni interface to use on memory dictionary.Keisuke Kuroyanagi2-0/+14
Bug; 14166482 Change-Id: I33ab08dad1e39aa7617d391f7eb2561d6f2504bb
2014-04-21Remove unnecessarily getKeyFromOutputText method from KeyboardTadashi G. Takaoka2-17/+9
Change-Id: I61986ed65ce6696a8b0d885bdeb9668e6087bc47
2014-04-21Sort keys from top-left to bottom-right orderTadashi G. Takaoka11-57/+66
Change-Id: I228748824de62e9e46fa43db200d23f41eb6d2ce
2014-04-21Import translations. DO NOT MERGEBaligh Uddin57-2444/+2695
Change-Id: I8f219d738760632867c3f5622d12da281bdc66ef Auto-generated-cl: translation import
2014-04-21Add BinaryDictionary.flushWithGCIfHasUpdated().Keisuke Kuroyanagi2-1/+11
Bug: 14166482 Bug: 14161647 Change-Id: I98b0a8b86897b1486491a3aea91729bc9e4cc03c
2014-04-21Use unmodifiable list to return keys from KeyboardTadashi G. Takaoka6-32/+35
Change-Id: I85a0b18d2d78632e9a9f074eda1de9225001f876
2014-04-21Use unmodifiable list to return the nearest keysTadashi G. Takaoka3-17/+26
Change-Id: Ic9084b08fa9a1f25b7f4b98c627350583c401c12
2014-04-21Stop using modifiable Key arrayTadashi G. Takaoka1-5/+7
Change-Id: I0f3e96672da4261ae5628d2d5ea39d60e6287ac0
2014-04-20Revert "Revert "Use mclinker""Ken Wakasa1-1/+1
This reverts commit de8f85a29d71e143c6b9fceb3734921039028ee5. Change-Id: Ib6170f3dd898bad2f041b72333b0e390e392215c