aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-06-03Follow up to I907150be994c4f9ffc030c063de521eeb177d3e1Ken Wakasa2-2/+7
Change-Id: I8779d397b0ebe2abbf7c3fbc1a79a1a0939c04f0
2013-06-03Purge WordsPriorityQueueSatoshi Kataoka4-349/+1
Change-Id: If14034c09d0dd335c84dd3a6ea2775655eefd38f
2013-06-03Fix buildSatoshi Kataoka1-0/+1
Change-Id: I907150be994c4f9ffc030c063de521eeb177d3e1
2013-06-03Purge UnigramDictionarySatoshi Kataoka4-1119/+0
Bug: 8550444 Change-Id: I899f3bdce977c521515e548ca0c4ee6d29d6450b
2013-06-03Migrate used functions in UnigramDicitonarySatoshi Kataoka2-28/+34
Bug: 8550444 Change-Id: Ic1ed2d85537cd47cf18a8373203f331abb7508f6
2013-06-03Clear previous suggestions when gesture typing startsTadashi G. Takaoka1-1/+3
Bug: 8651076 Change-Id: Ic65ed3e3696409edea4e35080c11e4d1869a5a7e
2013-06-03Rename methods for readabilityTadashi G. Takaoka5-33/+33
Change-Id: I8fc2c90cf8d3dce11740f8e61edf6dfde9b1c116
2013-06-03Move obsolete files to obsolete dir 2Satoshi Kataoka9-8/+8
Bug: 8550444 Change-Id: Ia83796d696e04f51adb39867dfd21d1ac993b63c
2013-06-03Fix buildSatoshi Kataoka1-1/+1
Change-Id: I2a876df097d59324aeb58eb83698ec622ac6191b
2013-06-03Move obsolete files to obsolete dirSatoshi Kataoka5-5/+6
Bug: 8550444 Change-Id: Ie65eea25da4c41e1128d1d8d8643fb6afe8f41e4
2013-06-03Purge DicTraverseWrapperSatoshi Kataoka9-148/+37
bug: 8550444 Change-Id: Iad017e66ac579c6727b9f60ad9cda64e478200e5
2013-06-03Update dictionariesJean Chalard2-0/+0
>>> dictionaries/ru_wordlist.combined.gz Header : date : 1366974711 <=> 1370244430 MULTIPLE_WORDS_DEMOTION_RATE : 0 <=> 50 version : 32 <=> 34 Body : Deleted: МДА 2 Freq changed: а 0 -> 60 Freq changed: в 0 -> 60 Deleted: возбужденные 0 Freq changed: гей 92 -> 0 Freq changed: жид 80 -> 0 Freq changed: зареган 0 -> 50 Freq changed: и 0 -> 60 Freq changed: к 0 -> 60 Deleted: клевом 0 Freq changed: куи 29 -> 0 Freq changed: лох 69 -> 0 Freq changed: о 0 -> 60 Freq changed: ребут 0 -> 50 Freq changed: с 0 -> 60 Freq changed: у 0 -> 60 Freq changed: хуй 77 -> 0 Freq changed: хукера 38 -> 0 Freq changed: широко 0 -> 144 Deleted: щеткой 70 Freq changed: щёткой 69 -> 70 Freq changed: я 0 -> 60 Added: жены 134 Added: звони 100 Added: клёвом 50 Added: мда 0 >>> java/res/raw/main_ru.dict Header : date : 1366974711 <=> 1370244430 version : 32 <=> 34 MULTIPLE_WORDS_DEMOTION_RATE : 0 <=> 50 Body : (same changes) Change-Id: Ie10bdd1f33cac43c5be35e99faef7cfdfe877d2b
2013-06-03Fix ArrayIndexOutOfBoundExceptionTadashi G. Takaoka1-0/+3
Change-Id: I243fc4965365680615eed834efe9ae0240e7f2a8
2013-06-03Move bigram_dictionarySatoshi Kataoka4-2/+2
Change-Id: I2c243ac75bc02b912f6b0fabedd372148adf8076
2013-06-03Create "src/utils" directoryKen Wakasa22-26/+25
Change-Id: I0b7c51d181edc4786e343f7a953367b040ee6b66
2013-06-03Move suggest_options.h to suggest/coreKen Wakasa3-3/+3
Change-Id: Ie95872a4c90ee3089183c1ebafb67243bd2688a4
2013-06-02Fix revert of committed wordsKurt Partridge1-13/+33
Now that separators are put into their own LogUnits, they must be handled when going through a revert. Bug: 9088919 Change-Id: Ibebd0752bb2fa38d74ac96001d63070dd419cee3
2013-06-02Compare scrubbed strings when uncommitting LogUnitsKurt Partridge1-1/+4
A LogUnit is only uncommitted if the LogUnit's word matches what is expected. But a LogUnit never stores numbers, only scrubbed words that replace numbers with a special character. So when uncommitting, the text from the TextView must also be scrubbed for the comparison to pass correctly. Bug: 9088919 Change-Id: I9b56f10afce6d0cc84eb9ead3b9a9b1e061ae39c
2013-06-02Uncommit separator LogUnitsKurt Partridge2-8/+19
Now that separators have their own LogUnits, they must be uncommitted from the LogBuffer when backspacing over them. Bug: 9088919 Change-Id: Ib36cc94939b93abe18850a06bced17caf8aaa5b9
2013-06-02Use BinaryDictonaryInfo instead of raw pointers.Keisuke Kuroyanagi22-139/+571
Bug: 6669677 Change-Id: I9792a872f1609de7c1ba0fc08d916047d6724c0b
2013-06-02Uncommit an extra LogUnitKurt Partridge1-1/+6
The period-generating double-space adds an extra LogUnit -- it must be removed when reverting. Bug: 9088919 Change-Id: Ic148f40b4030a9b4a0651029bda87f7b94a52252
2013-06-01Uncommit LogUnits when reverting textInputKurt Partridge2-0/+13
Bug: 9088919 Change-Id: I17187aa0afc1c3e9d32269c65f66cfb3a08663cb
2013-06-01Move dictionary format independent probability calculation methods to ↵Keisuke Kuroyanagi5-50/+93
ProbabilityUtils. Bug: 6669677 Change-Id: Idc09a2fbb04e4d843e11313011178022177616aa
2013-06-01Remove uncommit on reverting batch inputKurt Partridge1-2/+0
Currently when the user reverts a batch input, a LogUnit is uncommitted from the LogBuffer. It should not be, because the LogUnit containing the batch input is never committed in the first place (it is only committed to the LogBuffer when a key is pressed or a new batch input is entered). Bug: 9088919 Change-Id: I323af453ce082437a663ccae977b21b775a964bc
2013-05-31Move char_utils to the dictionary directoryKen Wakasa21-149/+158
Change-Id: Id397485407fe63600c9bb5c80d223042942b4d8a
2013-05-31Fix the displayed status after downloadJean Chalard2-16/+9
Bug: 9166225 Change-Id: I7490593d88a5854b9e675b9ead89d2ea9b49315c
2013-05-31Refactor SuggestionStripLayoutHelper a bitTadashi G. Takaoka5-127/+134
Bug: 9059710 Change-Id: Ief12029bad75d4dc78090ab97555aece01b873de
2013-05-31Make it easy to open several dictionaries from testsJean Chalard3-15/+17
Bug: 9127175 Change-Id: I3f1840ee73b364df26dfddb5acb10001e0f2cb61
2013-05-30Move "#define LOG_TAG" before include defines.h.Keisuke Kuroyanagi2-4/+4
Change-Id: Iacd2c2ea3878ad2cde5df36b15e1359d10244f60
2013-05-30Catch a permission exceptionKurt Partridge1-1/+7
This change catches a SecurityException if the DictionaryProvider is unavailable. Change-Id: I4f2d87327c40765383d8847fd4e934b3cf799488
2013-05-31Tidy up Utils class a bitTadashi G. Takaoka1-53/+73
Change-Id: Idc2feb84a902a6cbb7265d1efe06c34e7d63c2c7
2013-05-31Move some dictionary related implementations to the dictionary directoryKen Wakasa29-53/+60
Change-Id: I6fe71a540ad91ca46755be234abc8894242e2413
2013-05-30Move additional_proximity_chars to the layout directoryKen Wakasa5-4/+4
Change-Id: Ie892ea9f3199a66e9d62a92a0e1ab2dff62826c3
2013-05-30Fix two strict mode warnings.Jean Chalard2-25/+42
Bug: 9052555 Change-Id: I86e90488679a78a9f6e901b640025619293765a0
2013-05-30Cleanup unreadable variable namesTadashi G. Takaoka2-114/+118
Change-Id: Ic97687c58e25e4b0c6833cc25d10854f5f513081
2013-05-30Separate SuggestionStripLayoutHelper for readablityTadashi G. Takaoka2-541/+570
Change-Id: I82c749c6837c3af7ae290f4cd92f5426ca58b5c7
2013-05-30Create a new directory for layout-related implementationsKen Wakasa23-122/+143
Change-Id: Ia227bb296f20dab0dfc03dfcde3a06c624eca76c
2013-05-29Import translations. DO NOT MERGEBaligh Uddin2-7/+7
Change-Id: I4cd9c57839fe06e2555232074f84d21a45224baa Auto-generated-cl: translation import
2013-05-30Fix dictionary pack preference order.Jean Chalard1-0/+2
It turns out giving them in the right order is not enough, you also have to actually give them a numeric priority. Bug: 9165928 Change-Id: I2ecff38f65b70746feeeeb0ed2cc86a586a35363
2013-05-29Make DicTraverseSession having suggest options.Keisuke Kuroyanagi9-30/+50
Change-Id: I2b802c06634e5226c763fd838f3fc0918fc4a161
2013-05-29Tell the text view we reset state on finish inputJean Chalard1-0/+1
This should be done in onFinishInput rather than onFinishInputView but for an unknown reason onFinishInput never comes. Bug: 9113167 Change-Id: Iafb40846a3ed8fad78bfc160d17cd431f81fe891
2013-05-29Rub some butter on dictionary list scrolling.Jean Chalard3-3/+39
The default implementation for preferences refuses to cache the views for custom preferences at all. We can do it, but the system won't do it for us, so this does it. This makes the screen scrolling smooth again. Incidentally it also fixes the bug where the button may not animate on the first element. Bug: 8882722 Bug: 8883108 Change-Id: I9b2306ac4bf93761a808ebfee3477a65f017cddf
2013-05-28Remove unused methodKurt Partridge1-19/+0
The removed method was used in old versions of ALK, never in master. Change-Id: I607009d4fcca7c7c8493fee51ecd923e6a6b3890
2013-05-28Rename containsCorrection to containsUserDeletionsKurt Partridge2-14/+14
This change renames containsCorrection to avoid confusion with CorrectionInfo, and to better clarify its meaning. Change-Id: I5d8f8e2b03133c15a60d4e8b0f395cda1fff5447
2013-05-28Delete shared preference entry when user select default valueTadashi G. Takaoka2-3/+23
Change-Id: I3fbafd9024c26a99d87376f5d5e359e03988a30f
2013-05-28Fix unit test assert helper methodTadashi G. Takaoka3-50/+70
Change-Id: Id03bf0910708d07b45286dccf8f2bfc97a362ba0
2013-05-28Make unit test independent from test device localeTadashi G. Takaoka2-7/+29
Bug: 9112465 Change-Id: I4fe39bebf130799397485dbe6d23199a29a8641e
2013-05-28Rename StringUtils.parseCsvString to KeySpecParser.splitKeySpecsTadashi G. Takaoka6-77/+86
Change-Id: I16e3f3ebc43772cfd96c824afeddfd225404b857
2013-05-28Refactor suggestion strip layout methods a bitTadashi G. Takaoka1-65/+104
Bug: 9059710 Change-Id: I8dc698c1d61ca51b65b232e6c586472588a4accb
2013-05-28Rename commaConcatinatedText to commaSplittableTextTadashi G. Takaoka4-39/+43
This is a follow up of I5a32882a08. Change-Id: I9f0cda2167811f6bba2af042fbde0a821b4cfecd