aboutsummaryrefslogtreecommitdiffstats
path: root/native/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Enable score calibration by touch coordinatesYusuke Nojima2011-10-051-1/+1
| | | | | | | | | | | | | | | | | | | | Result of diff.sh: +1 3 -1 3 +2 0 -2 0 +3 0 -3 0 +4 1 -4 3 +5 3 -5 2 +6 3 -6 1 +7 1 -7 2 Change-Id: I41b803df23ac03e1fc81043df4e1e6a63c0afbb1
* Promote touches in hit box according to the distance from sweet spotYusuke Nojima2011-10-056-95/+84
| | | | Change-Id: Ice0fd0514304a79aed67627c2ea3439bd5177de4
* Cache the sweet spot typesYusuke Nojima2011-10-042-18/+33
| | | | Change-Id: Ibaee062dc55c11892143d48b2d0959e78e52be83
* Move ProximityInfo::calculateSweetSpotType right after ↵Yusuke Nojima2011-10-041-32/+32
| | | | | | ProximityInfo::setInputParams Change-Id: Ifc76ab0aa3e9467d54696bb8b84bf523f001938a
* Merge "Demote words with a capitalized char"satok2011-10-034-8/+45
|\
| * Demote words with a capitalized charsatok2011-10-034-8/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5371514 +1 4 -1 2 +2 0 -2 0 +3 0 -3 0 +4 1 -4 3 +5 0 -5 12 +6 3 -6 3 +7 12 -7 0 Change-Id: I6b46e43f9059f1e8a1cc02a626ea6eb8f1f9924f
* | Fix bug in calculateSweetSpotType()Yusuke Nojima2011-10-031-1/+1
|/ | | | Change-Id: I215bc02367e123a73ffc94974e7b1cbec52a25fa
* Calibrate score by touch coordinatesYusuke Nojima2011-09-302-0/+18
| | | | Change-Id: I9fc066eb1a455243536e72405922fcb7e26d7dc6
* Merge "Classify touches into three types."Yusuke Nojima2011-09-307-41/+151
|\
| * Classify touches into three types.Yusuke Nojima2011-09-307-41/+151
| | | | | | | | Change-Id: I7c1d42835e0c15d596a1b66d421b0aa514ec0890
* | Merge "Add a flag to demote completed suggestions"satok2011-09-294-22/+40
|\ \ | |/ |/|
| * Add a flag to demote completed suggestionssatok2011-09-294-22/+40
| | | | | | | | | | Bug: 5390063 Change-Id: I0ef4fbcc705539624269fd2f8c4e782679fc44b3
* | Pass the touch position correction data to native.Yusuke Nojima2011-09-293-89/+20
|/ | | | Change-Id: I92958779377a530410d1682100f9d0a2ba267dea
* Extend JNI interface to pass the theme id of the keybaord to the native.Yusuke Nojima2011-09-282-3/+4
| | | | Change-Id: I705ec2fa1d32a673a8d84bc9afc2a46208a414a1
* Add explicit NULL check to latinime_Keyboard_setProximityInfo() and ↵Yusuke Nojima2011-09-271-10/+13
| | | | | | | ProximityInfo::ProximityInfo(). Bug: 5375319 Change-Id: If3016ab56b6c62c8855b394f23e09e127a279be7
* Merge "Extend JNI interface to pass the key coordinate information"Yusuke Nojima2011-09-223-3/+128
|\
| * Extend JNI interface to pass the key coordinate informationYusuke Nojima2011-09-223-3/+128
| | | | | | | | Change-Id: Iec0d1415d6abba43b775a014516b961b167597b7
* | Merge "Fix a dangerous macro."Yusuke Nojima2011-09-201-1/+1
|\ \
| * | Fix a dangerous macro.Yusuke Nojima2011-09-201-1/+1
| |/ | | | | | | Change-Id: Idb5530ceb03c415e4ec002f8d2fbbec837b35636
* / Fix editDistance() not to access the outside of mEditDistanceTableYusuke Nojima2011-09-161-1/+2
|/ | | | | | | editDistance() can access the outside of mEditDistanceTable when called with strings that contain MAX_WORD_LENGTH_INTERNAL characters. Change-Id: I996e6cf21bd6acd6584beb4046c10491a044191e
* Delete unused function and add TODO comment for a potential bug.Yusuke Nojima2011-09-142-14/+3
| | | | Change-Id: I7b16de1bd6b278c51d56eb1904e186c3db3b7f3d
* Fix a bug for calculating the edit distancesatok2011-08-261-1/+1
| | | | Change-Id: I4c2cd102c258ccdb2de18c53901f91c0f7c7a986
* remove unnecessary condition check.Yusuke Nojima2011-08-261-2/+1
| | | | Change-Id: I6e5e3dee0ca3aae0088dcb309da8be16d3842d47
* Combine proximity and correctionssatok2011-08-241-30/+36
| | | | | | bug: 4170136 Change-Id: I0a6d54c769b05f7a67f2f472d48a3e54fe3af475
* Combine the skipped and transposed correctionsatok2011-08-235-84/+162
| | | | | | bug: 4170136 Change-Id: I7b50b40478abf27f51ec5e001815ff4882f3e5e5
* Fix last excessive char correction handlingsatok2011-08-191-1/+6
| | | | Change-Id: Id1d46cd96e041fbbbee995093ef8ca56daa3b383
* Refactor correction.cppsatok2011-08-191-89/+89
| | | | Change-Id: I1275496e3e7d7124494994d3c52730ec8afdfad3
* Do the transposed correction and the excessive correction by one loopsatok2011-08-194-64/+165
| | | | Change-Id: Idc7a3451a65f7b980e5c499e9083f67646b3a199
* Improve fat finger correction.satok2011-08-173-103/+101
| | | | Change-Id: I37ed0dc6956f7e6fab5dcfd0483ab5691cd819d4
* Combilne normal correction and skip correctionsatok2011-08-157-15/+157
| | | | Change-Id: Ide868d977c0f35900340c7be1b71d572c69a8806
* Removed matchedChar countsatok2011-08-113-49/+28
| | | | Change-Id: I69e92026f802635f900b1e72d089afe4bda5fb0b
* Calculate the skip correction by one loopsatok2011-08-114-14/+18
| | | | Change-Id: Ie70829407cd58be2ffe75c7d649d86f62ee4df24
* Improve skip correction algorithmsatok2011-08-115-58/+95
| | | | Change-Id: Ife45e3886137d60a4e903d4c6f7a9ef20c7e705a
* Add correction state.satok2011-08-105-47/+119
| | | | Change-Id: I0a1419922e1ce7a15b566d1b6da3794f8e84c754
* Refactor CorrectionState to Correctionsatok2011-08-105-92/+92
| | | | Change-Id: I5f1ce35413731f930b43b1c82014e65d9eaa240b
* Refactor the correction algorithm related to missing character correctionsatok2011-08-094-30/+61
| | | | Change-Id: If68f2aaea7df48d013aea5401cee4ec0df32111a
* Move scoring part to the correction statesatok2011-08-054-182/+245
| | | | Change-Id: I2dc4a0869636fce5526f48b3a6267b6bdf61dbfb
* Change the prune conditionsatok2011-08-041-1/+2
| | | | Change-Id: I92aef12e0e1d89cfe1b346ddc6ef4df158ffe0b3
* Move the input index and output index to correction statesatok2011-08-044-83/+102
| | | | Change-Id: Idebdb59143f3367929df6a0475cefe941eb16d01
* Move code related to ranking algorithm to correction_state.cppsatok2011-08-035-79/+93
| | | | Change-Id: I52b34de45969fef82e46d9c10079c2d45e0b94eb
* Add bigram lookup implementation.Jean Chalard2011-08-024-163/+196
| | | | | Bug: 5046459 Change-Id: Id2c7686c5da078751ed587e559417e808779aa7a
* Move code related to ranking algorithm to the correction statesatok2011-08-024-194/+298
| | | | Change-Id: I2d9e2db81cf6597ca4e88d7bc6737ab3b52b34b2
* Remove old dictionary format codesatok2011-08-012-262/+0
| | | | Change-Id: Ic4b9e069c9bd5c088769519f44d0a9ea45acb833
* Add correction statesatok2011-08-016-97/+165
| | | | Change-Id: I0d281cede1590893bd1def005cf83c9431d12750
* Small native refactoring.Jean Chalard2011-07-263-82/+74
| | | | | | | | | | | | Move a purely dictionary-format-related function that is needed both by unigrams and bigrams to the binary format handling file. Also remove the empty UnigramDictionary::getBigrams placeholder function, on grounds that it should be in the BigramDictionary class. Bug: 5046459 Change-Id: I8a67a25f72122e2fa0b19ae1d936db25eb0b20ba
* Some refactoringJean Chalard2011-07-261-5/+6
| | | | | | | | | | Getting the frequency of a terminal is not very useful, however getting its position will be very useful for retrieving bigrams later. Moreover, from the position it's easy to find out the frequency. Bug: 5046459 Change-Id: Ica53472c2038c7e407dbd1399d336511c731087f
* Some native cleanupJean Chalard2011-07-222-17/+18
| | | | | | | | Take a function that does not need to be a member and make it static inline. Also replace the return value of -1 by a #define'd constant. Change-Id: I92e0deaa1df65998b76aba6329a4c8eb4d287485
* Check the binary dictionary magic numberJean Chalard2011-07-201-0/+13
| | | | | | | ...and return NULL if it does not matched an expected value. Bug: 5052486 Change-Id: I1dc7955d2785ee080bc5c22398be9befe332f096
* (Step2)Move functions related to proximity to proximity_info.cppsatok2011-07-146-119/+150
| | | | Change-Id: Iae0eb2a5cd758bda820fa42b4bc3eb3d2665bf96
* Merge "(Step 1) Move proximity related parameters from unigram_dictionary to ↵satok2011-07-134-31/+51
|\ | | | | | | proximity_info"