aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-12-18Add LatinKeyboard.spacebarTextRatio attributeTadashi G. Takaoka1-37/+11
Bug: 5776979 Change-Id: Ia568d1170ed33a000eb3bb02ecdf611e4b5ff2d5
2011-12-18Get rid of LatinKeyboardParam classTadashi G. Takaoka1-32/+5
Change-Id: I8376f4f570e72929679c5e4955986c48881abd75
2011-12-17Preparatory small clean up for bug: 5776979Ken Wakasa1-1/+7
Change-Id: I96b20d3775180366fac50c2bb4e0b47a92ee4cdb
2011-12-17Remove redundant logsKen Wakasa1-0/+3
bug: 5722703 Change-Id: I6b7285ad6f5c0c8486d24712f22249f83a1c6396
2011-12-16Add Vietnamese keyboardTadashi G. Takaoka3-1/+77
Bug: 5738545 Change-Id: I96abf6807e9375e352a505b822dd50b4d1a7a252
2011-12-16Add Slovenian keyboardTadashi G. Takaoka3-1/+74
Bug: 5738545 Change-Id: Id88a30d3fe46988ac2e0ad129b7bea53b8c7ab07
2011-12-16Add Slovak keyboardTadashi G. Takaoka3-12/+62
Bug: 5738545 Change-Id: I40178f8fc0be4a9fcfc7496dae262574dd0267f9
2011-12-16Add Rumanian keyboardTadashi G. Takaoka3-2/+50
Bug: 5738545 Change-Id: I88ef1a461cf94f10578b5751d0a2fd6abbfd84d9
2011-12-16Add Ukrainian keyboardTadashi G. Takaoka3-1/+72
Bug: 5738545 Change-Id: I78ff8d1c7aa96f3522989e138334b96c5f2aba02
2011-12-16Add Kyrgyz keyboardTadashi G. Takaoka3-1/+73
Bug: 5738545 Change-Id: I9fda2c75654ab4bbaaeb9ee2442dda0a73a3e07e
2011-12-16Fix swapped alphabet and symbols keyboardsTadashi G. Takaoka1-2/+2
Change-Id: I956684332d607cb9ab01d12af7a924c15def7fce
2011-12-16Use Set to group Keys in Keyboard instead of ListTadashi G. Takaoka5-26/+79
In deriving various shift stated alphabet keyboards from base/main keyboard, almost all keys should be shared among variants. Grouping keys in Set instead of List is a essential refactor to have. Bug: 5002108 Bug: 5679585 Change-Id: Idd5644d1c45a3276a24b61c984619c03d4e4c54c
2011-12-16Get rid of key index from ProxymityInfoTadashi G. Takaoka4-44/+38
Change-Id: I9bee0a643d09cdd89e42ae913285c9e78d875c1c
2011-12-16Add Belarusian keyboardTadashi G. Takaoka3-1/+72
Bug: 5738545 Change-Id: I60113c248a5a122e71e20273d44406e8199fa0eb
2011-12-16Remove a write-only variable.Jean Chalard1-10/+1
Change-Id: I825307a429f46b31ed9bd940b5a97d2713127dfe
2011-12-16Generalize Russian to Slavic layoutTadashi G. Takaoka8-32/+48
Adding Belarusian, Kyrgyz, and Ukrainian keyboards will follows. Bug: 5738545 Change-Id: I05055d519fac8c67f728cee693b133c3dfb29047
2011-12-16Pretty print for InputAttributesJean Chalard2-4/+10
Change-Id: I5e4b2b6f3cd943c8f6187aaed21d67ec786bf5df
2011-12-16General cleanup.Jean Chalard2-28/+14
Move variables around, inline useless functions, remove useless local variables. Change-Id: Icb89d8b211a2ad4bc3619137c2276a649c2a5e34
2011-12-16Initialize input attributes in the InputAttribute classJean Chalard2-86/+85
Change-Id: I103d6851f54f47cbffdb567fb0f4c505c4697b05
2011-12-16Move KeyboardSwitcher.getKeyboard to KeyboardSetTadashi G. Takaoka9-120/+135
This change also gets rid of XML id from KeyboardId. Bug: 5002108 Bug: 5679585 Change-Id: I7086c7da3c01ba4ade7f77ee5cc731310da46404
2011-12-16Make applicationSpecifiedCompletionOn final.Jean Chalard1-4/+6
This is the last one (whew) Also move a somewhat unrelated initialization out of the input attribute initialization function. Change-Id: Icc77b32fd16b112ab43786715061b1c9dca31c04
2011-12-16Make inputTypeAutoCorrect final.Jean Chalard1-12/+9
Change-Id: I550eba1fc3fa2843d007a8208d81fad208c1196b
2011-12-16Make isSettingsSuggestionStripOn final.Jean Chalard1-12/+12
Change-Id: Iabb99a7f8f3f1777f9a87ae2bddff9795a50fa92
2011-12-16Small refactoringJean Chalard1-5/+12
This helps to make following changes smaller Change-Id: I95ba2901ac3bf1ed70a748c35a0babdd9af1df63
2011-12-16Make insertSpaceOnPickSuggestionManually final.Jean Chalard1-16/+18
Change-Id: I32fce0ea8c5c58b6f920d0758c8bf57769f39a12
2011-12-16Use temporary variables for computing editor attributesJean Chalard1-17/+24
The ultimate intent is to make these variables final, which will allow to move the computing function to the InputAttributes class. Change-Id: Ifb1fc7321a19b10d60aa63fa0daaa2708deda2cf
2011-12-16Create a class for input attributes.Jean Chalard2-35/+72
Change-Id: I834390c83865aac59fb758d5c66cf9b74103abd8
2011-12-16Send touch event in usability study modesatok2-0/+35
Change-Id: I0cdcd57bfd31c9b21cfb932d7ff91bd013cde6d7
2011-12-16Fix broken buildTadashi G. Takaoka1-1/+2
Change-Id: I84c20db21e13422817cfb85af522feaa5295626a
2011-12-16Prepare for proximity + two words suggestionsatok4-35/+66
Change-Id: I3637f9bec1f4a3c5953498c4562e1f17a7bf593c
2011-12-16Use Params instead of Builder as an argument of KeyboardSet constructorTadashi G. Takaoka2-50/+53
Change-Id: I4c576a0b0b632cdf413f2ccd5c69dbd37747fbd3
2011-12-16Fix broken suggestions layoutTadashi G. Takaoka2-2/+2
This is follow up change of If4b82376 Change-Id: I9b0d86ba630011372f41f26efb56bb0a80e09505
2011-12-16Use the WordComposer to check if we are composing a wordJean Chalard2-18/+18
...instead of the hard-to-understand mHasUncommittedTypedChars. This is possible because now the word composer is actually aware of commits. Change-Id: I36b664ce8402a280f801e87b9ebe161f416b0853
2011-12-16Make the word composer aware of commits.Jean Chalard2-6/+29
Change-Id: I04e691fbc9227d4df195429bca89edea93575347
2011-12-16Add error log to expensive ArraysCompatUtils.binarySearchTadashi G. Takaoka1-2/+13
Change-Id: Id33998e2a99be9249de4011892555f10c5d0968d
2011-12-16Cleanup ProximityInfo.calulateSweetSpotTadashi G. Takaoka1-38/+31
Change-Id: I98238359dffd76a620d3b0e73b3b22dd82c56c93
2011-12-16Add com.android.inputmethod.latin.suggestions packageTadashi G. Takaoka4-6/+16
Change-Id: If4b823768ab9c073625da3034ecc8091be1df230
2011-12-16Make Key.mPreviewIcon public finalTadashi G. Takaoka2-10/+5
Change-Id: I280b1fa6a018e095e9b36ea5475dde68e0965350
2011-12-16Add colorValidTypedWord and alphaValidTypedWordTadashi G. Takaoka3-3/+15
This change fixes Gingerbread theme. Change-Id: I142437ac0173df48ab36390f47ed67c6cea24a65
2011-12-15Cleanup unused variables and parametersTadashi G. Takaoka10-54/+40
Change-Id: Iad756a7a775c93f3344c6962e7b3456ef8339490
2011-12-15Group all input-related info into an inner class.Jean Chalard1-33/+50
Currently, these variables hold the info about the composing word, or maybe some outdated info, and it's not very clear which it is. LatinIME is maintaining the freshness info in a separate boolean, and uses it throughout the code for many, many things, leading to much confusion. The idea in grouping this info is, it can be saved in another instance and restored later. It can be tested against to know whether there is actually outdated but kept info or not, and it should allow to straighten out what is actually currently being typed. Ultimately, it will eliminate the need for LatinIME to keep track of the status of the info in the word composer. Change-Id: I00e2c690f303f8320c9be35590a6df4583e9e456
2011-12-15Change visibility to avoid synthetic accessor methodTadashi G. Takaoka5-99/+99
Change-Id: Ie93c7437fb9a3fe63adaa48c2d4a723f96c0a0e1
2011-12-15Add words priority queue poolsatok7-60/+131
Change-Id: I152df7b876a1756b69ded2ca4fb3ee26b38c971f
2011-12-15Fix auto correction spacebar LEDTadashi G. Takaoka8-73/+82
Change-Id: I4894d188d5612380cc9f8eec7cb72544e37fb2b0
2011-12-15Add a functionality to limit the max correction errorssatok4-48/+65
Before ==== test finished, terminate logcat ===== (0) 121.97 (0.28%) (1) 42032.07 (95.46%) (2) 11.03 (0.03%) (3) 12.19 (0.03%) (4) 10.02 (0.02%) (5) 1417.41 (3.22%) (6) 258.43 (0.59%) (20) 50.20 (0.11%) Total 44033.07 (sum of others 43913.32) After ==== test finished, terminate logcat ===== (0) 110.81 (0.29%) (1) 36416.11 (94.47%) (2) 10.06 (0.03%) (3) 9.45 (0.02%) (4) 9.83 (0.03%) (5) 1535.52 (3.98%) (6) 290.25 (0.75%) (20) 40.57 (0.11%) Total 38546.83 (sum of others 38422.60) Change-Id: Iffd24ce0b2dc422c8c6085d5be5f6bfdaf59ca7d
2011-12-15Prune traversing a bit agressively and add a flag not to do auto completionsatok3-7/+13
+1 1 -1 2 +2 0 -2 0 +3 0 -3 0 +4 6 -4 1 +5 4 -5 3 +6 3 -6 10 +7 7 -7 5 Before: Total 42936.28 (sum of others 42814.63) After: Total 40860.56 (sum of others 40733.92) Change-Id: I6a3d52f31ec181970083358280c3ebaca0a1f63e
2011-12-14Ignore settings key if it isn't adjecent to the space key on phoneTadashi G. Takaoka1-0/+3
Bug: 5759096 Change-Id: I1e1250d917e726e1931de3247ddc782b005ab5c1
2011-12-14Remove long press settings key functionTadashi G. Takaoka1-11/+8
Bug: 5759092 Change-Id: I328e2043075ce5d0d0285febc4a9b7356702c250
2011-12-14Add XmlParseUtils classTadashi G. Takaoka5-99/+140
Change-Id: Ie288272bc75832db7d743262c4c4fbe73b6dca04
2011-12-14Unbundle members in unigram_dictionarysatok5-101/+113
Change-Id: Id737d943d20e3de3db568162caf40d3e956c7fae