aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/research/LoggingUtils.java (unfollow)
Commit message (Expand)AuthorFilesLines
2014-04-30Check OS codename for shouldOfferSwitchingToNextInputMethod•••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 Yohei Yukawa1-4/+13
2014-04-30Move PatriciaTrieReadingUtils under pt_common.•••Change-Id: Ib8ec62b97318563785a2aafb854aabdc3f46f187 Keisuke Kuroyanagi11-12/+11
2014-04-28Import translations. DO NOT MERGE•••Change-Id: I102607cef8e2a42fad8a0f691c007d39b0be5622 Auto-generated-cl: translation import Baligh Uddin3-12/+12
2014-04-29Fix unit tests by adding @UsedFortesting.•••Change-Id: I8f66632a32b9e9ddc1b771e8ee74492c7baf9338 Keisuke Kuroyanagi1-0/+3
2014-04-28Fix: contacts/user dicts are too frequently regenerated.•••Change-Id: I6b04a58c543fda6df7a2c016b8b8a5300f137d73 Keisuke Kuroyanagi1-2/+3
2014-04-28Cleanup ExpandableBinaryDictionary.•••Bug: 8187060 Change-Id: I9103462412e727b0160b218b1bb301ce43621c46 Keisuke Kuroyanagi1-27/+14
2014-04-28Use ReentrantReadWriteLock in ExpandableBinaryDictionary.•••Bug: 8187060 Change-Id: Ic665f0a5e940708aa9addedac068a64900b307e7 Keisuke Kuroyanagi3-126/+131
2014-04-28Simplify asyncFlushBinaryDictionary.•••We no longer write files when the dict has not been updated. Bug: 8187060 Change-Id: I8aa23a93d5deafb3a7f16f5466a5e0e84fbbf095 Keisuke Kuroyanagi2-41/+2
2014-04-28Remove DictionaryUpdateController.•••Bug: 8187060 Change-Id: I3e1fa4060d8a5c12d8d609be3357d56051fb5815 Keisuke Kuroyanagi3-107/+21
2014-04-28Small clean up on MAX_LOCALE_STRING_LENGTH•••Change-Id: I77f93879e841f33b81f6d193d1bd5782ad2124f5 Ken Wakasa2-3/+2
2014-04-28Use different user dict name for spell checker.•••Bug: 13630847 Change-Id: Icabd08c674dcf086250b9e594328a43286d1d203 Keisuke Kuroyanagi2-2/+8
2014-04-28Use different contacts dict name for spell checker.•••Bug: 13630847 Change-Id: I016a464890d5e63794fb1288b4ce7b09adffc453 Keisuke Kuroyanagi2-2/+8
2014-04-28Move dicts for spellchecker to under spellcheck.•••Bug: 13630847 Change-Id: Iadcf5b31f66fb73efc5c640e96e8c2106a0224dd Keisuke Kuroyanagi3-4/+6
2014-04-28Fix: Typed word is not included in more suggestions.•••Happened when top suggestion is long and auto-corrected. Bug: 13738879 Change-Id: I47c2dfb34cfc92b54cfe54c432ee2f646fe454e5 Keisuke Kuroyanagi1-4/+22
2014-04-28Use shouldOfferSwitchingToNextInputMethod when available•••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 Yohei Yukawa4-2/+49
2014-04-25Remove unnecessary reference to LatinIME•••Change-Id: Idbb45c504499d39bbf272fae84ea71a83bf4dd69 Tadashi G. Takaoka4-19/+11
2014-04-25Add null check in createDistracterFilter().•••Change-Id: Iff2b73081d48f32b1d3a5d5b32c9734979362c23 Keisuke Kuroyanagi1-1/+5
2014-04-25Move some advanced settings to debug settings•••This CL moves "Show slide indicator" and "Key long press delay" advanced options to the debug settings. Bug: 11866784 Change-Id: Iec16e09ba6e7c9f82ce0fa73a0d75766b843b44b Tadashi G. Takaoka6-64/+63
2014-04-25Prepare to implement distracter filter•••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 Xiaojun Bi4-5/+67
2014-04-25Fix: contains() is wrongly used in hasDict().•••Change-Id: I4699b1b75fed9dd479f5135f0a7a2dd098e6f798 Keisuke Kuroyanagi1-1/+1
2014-04-24Fix: Wrong null check for user history dict.•••Change-Id: Idf0bcc44247e35cd95f9482d2a8017329fc977bb Keisuke Kuroyanagi1-2/+2
2014-04-24Handle personalization dictionary as an ExpandableBinaryDictionary.•••Bug: 13755213 Change-Id: I26e070e89e09b37e9dcc200d597c74c591467a66 Keisuke Kuroyanagi3-26/+12
2014-04-24Handle contacts dictionary as an ExpandableBinaryDictionary.•••Bug: 13755213 Change-Id: I0eb5055f9cdf5e1df337cdace9bf0919d4d365d3 Keisuke Kuroyanagi1-7/+4
2014-04-24Handle user history dictionary as an ExpandableBinaryDictionary.•••Bug: 13755213 Change-Id: I1ea8a6df007af7153852f2d32bf5e8ec669c432b Keisuke Kuroyanagi5-55/+49
2014-04-24Simplify DictionaryFacilitatorForSuggest to be flexible.•••Bug: 13755213 Change-Id: I151269a7038b72a33b436da4c7596e09949e6d00 Keisuke Kuroyanagi1-95/+65
2014-04-24Remove clearAndFlushDictionary() and use clear().•••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 Keisuke Kuroyanagi5-14/+6
2014-04-23Fix handling shift + enter•••Bug: 14278758 Change-Id: Id77c99b83cc69855972b27c9cebd482c8cbd3539 Tadashi G. Takaoka1-1/+3
2014-04-23Move simulateKeyPress method to AccessibleKeyboardViewProxy•••Change-Id: Ic14ff70c7c8475983cf02dc1ba4d5a5f7769aa16 Tadashi G. Takaoka2-24/+35
2014-04-23Import translations. DO NOT MERGE•••Change-Id: I68b045ca178ded1daa16595f88ef9b71c7a07278 Auto-generated-cl: translation import Baligh Uddin7-21/+165
2014-04-23Announce keyboard language when TalkBack is on•••Bug: 13013501 Change-Id: I0595abafbc177f776676cb3560f3990da9328db2 Tadashi G. Takaoka1-20/+40
2014-04-22Fix: Reporting wrong main dictionary availability.•••Bug: 13965806 Change-Id: Ida2234ab8cb7785ec5efd433a58949bf21c44351 Keisuke Kuroyanagi1-4/+4
2014-04-22Use ArrayList constructor directly•••This is a follow up of I85a0b18d2d. Change-Id: Ia7a642bb6e0015242d6e046019b3973226a0add2 Tadashi G. Takaoka1-2/+1
2014-04-22Fix typo of local variable name•••Change-Id: I09c0aeee979e883af199f5c533d526a089064987 Tadashi G. Takaoka1-5/+6
2014-04-22Quit creating empty dictionary file in ExpandableBinaryDictionary.•••Bug: 14166482 Change-Id: I7b7a25141851d7bb14744567639d8e5d8f04a036 Keisuke Kuroyanagi2-10/+9
2014-04-22Support creating BinaryDictionary without creating dict file.•••Bug: 14166482 Change-Id: Ic8c78ec2c8f39358a1f085a041b608972a380eef Keisuke Kuroyanagi5-3/+94
2014-04-22Revert "Support creating BinaryDictionary without creating dict file."•••This reverts commit 89939b870876b36791a47470ce852e4fcdfe86f2. Change-Id: I8ca1b55609ad305a93178063bd88bd1cede872af Keisuke Kuroyanagi5-94/+3
2014-04-22Use sorted keys index as virtual view id•••Change-Id: Id3f81de1edaacc06362b65aa7b68e9317e6596bd Tadashi G. Takaoka3-66/+73
2014-04-22Support creating BinaryDictionary without creating dict file.•••Bug: 14166482 Change-Id: Ib065279f96e227ab0fee7c8141560c4ada744d3b Keisuke Kuroyanagi5-3/+94
2014-04-22Implement latinime_BinaryDictionary_createOnMemory().•••Bug: 14166482 Change-Id: If7ec3345ab34edcd6bc5cef9e72580ced894a0e3 Keisuke Kuroyanagi6-25/+73
2014-04-22Stop using Configuration.setLocale•••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 Tadashi G. Takaoka1-7/+7
2014-04-21Separate JniDataUtils::constructAttributeMap().•••Bug: 14166482 Change-Id: Ic2dc407231743ea668fe0ab8869eb8a7f8b9625f Keisuke Kuroyanagi2-23/+33
2014-04-21Add jni interface to use on memory dictionary.•••Bug; 14166482 Change-Id: I33ab08dad1e39aa7617d391f7eb2561d6f2504bb Keisuke Kuroyanagi2-0/+14
2014-04-21Remove unnecessarily getKeyFromOutputText method from Keyboard•••Change-Id: I61986ed65ce6696a8b0d885bdeb9668e6087bc47 Tadashi G. Takaoka2-17/+9
2014-04-21Sort keys from top-left to bottom-right order•••Change-Id: I228748824de62e9e46fa43db200d23f41eb6d2ce Tadashi G. Takaoka11-57/+66
2014-04-21Import translations. DO NOT MERGE•••Change-Id: I8f219d738760632867c3f5622d12da281bdc66ef Auto-generated-cl: translation import Baligh Uddin57-2444/+2695
2014-04-21Add BinaryDictionary.flushWithGCIfHasUpdated().•••Bug: 14166482 Bug: 14161647 Change-Id: I98b0a8b86897b1486491a3aea91729bc9e4cc03c Keisuke Kuroyanagi2-1/+11
2014-04-21Use unmodifiable list to return keys from Keyboard•••Change-Id: I85a0b18d2d78632e9a9f074eda1de9225001f876 Tadashi G. Takaoka6-32/+35
2014-04-21Use unmodifiable list to return the nearest keys•••Change-Id: Ic9084b08fa9a1f25b7f4b98c627350583c401c12 Tadashi G. Takaoka3-17/+26
2014-04-21Stop using modifiable Key array•••Change-Id: I0f3e96672da4261ae5628d2d5ea39d60e6287ac0 Tadashi G. Takaoka1-5/+7
2014-04-20Revert "Revert "Use mclinker""•••This reverts commit de8f85a29d71e143c6b9fceb3734921039028ee5. Change-Id: Ib6170f3dd898bad2f041b72333b0e390e392215c Ken Wakasa1-1/+1