aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-05-01Introduce clustering punctuationJean Chalard2-10/+20
Bug: 10081730 Change-Id: If198fa3df68ecb267da0a278da41fd509d6165f1
2014-05-01Make AccessibleKeyboardViewProxy not singletonTadashi G. Takaoka6-86/+27
This CL also renames AccessibleKeyboardViewProxy and AccessibilityEntityProvider to MainKeyboardAccessibilityDelegate and MainKeyboardAccessibilityNodeProvider. Change-Id: I2b0ec091a11aa8a495794d633efecb6d8b818f42
2014-05-01Some cleanup and reinforcementJean Chalard1-19/+30
Bug: 9520584 Change-Id: I1c0f9e1b530d4d5bf5f52c2905c20f5ab7c26442
2014-04-30Add CODE_POINT_BEGINNING_OF_SENTENCE in native code.Keisuke Kuroyanagi1-0/+2
Bug: 14119293 Change-Id: Ib101435e2840172ba004ead081022669647a8ad9
2014-04-30Handle user dict as an ExpandableBinaryDictionary.Keisuke Kuroyanagi4-33/+23
Bug: 13755213 Change-Id: I2d242a3332e9633d4e41e08c0bbfafcefd814ecd
2014-04-30Fix the unintentional behavior changeYohei Yukawa1-1/+1
I0188fa56cba8e introduced an unintentional behavior change regarding the condition when the globe key is displayed if LatinIME is running on KitKat or prior version. With this CL, the previous behavior is back. BUG: 12965588 BUG: 14426646 Change-Id: I112a327dce6ad2e40beb9a60d587e77b3954da82
2014-04-30Small clean up for LARGEST_INT_DIGIT_COUNTKen Wakasa3-9/+10
Change-Id: I4a61c037370bf57b396d80ba7212d94328eaf7b9
2014-04-30TalkBack correct shift stateTadashi G. Takaoka3-89/+58
Change-Id: I3097805c6c8b4a4ac19fbe062f763e2639eb5cbf
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: Ic7f2ffbf89f7692f8e75517b36f9b98277a8c0f6 Auto-generated-cl: translation import
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: I8970435b7ccc4563e54905875b04f279095810f7 Auto-generated-cl: translation import
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