aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Revive the Makefile for makedictKen Wakasa2012-03-221-9/+3
| |_|/ |/| | | | | | | | | | | | | | | | | | | | Follow up to I4d2ef504. Address a compiler warning and a small optimization as well. bug: 6188977 bug: 6209651 Change-Id: Ibc9da51d48ebf0b8815ad0bb2f697242970ba8f7
* | | Merge "Move makedict to LatinIME android keyboard."Tom Ouyang2012-03-217-3/+2085
|\ \ \
| * | | Move makedict to LatinIME android keyboard.Tom Ouyang2012-03-217-3/+2085
| | | | | | | | | | | | | | | | | | | | Bug: 6188977 Change-Id: I4d2ef504bb983abbda3cb52ee450cb46f58d95cf
* | | | Merge "Add additional structure to output logs to group entries by optional ↵Kurt Partridge2012-03-212-9/+29
|\ \ \ \ | | |/ / | |/| / | |_|/ |/| | fields."
| * | Add additional structure to output logs to group entries by optional fields.Kurt Partridge2012-03-212-9/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new format has time, time as int, and the new logGroup code (m=motionEvent, k=key, s=statechange, c=correction) followed by additional text whose format depends on the logGroup code. The additional text will be cleaned up in later CL's. 20120321-170548.067+0900 1332317148067 m [Down]143116235,0,691,378,0.40000004,0.435 20120321-170548.133+0900 1332317148133 m [Up]143116302,0,691,378,0.40000004,0.435 20120321-170548.146+0900 1332317148146 k <enter> 691 378 20120321-170602.485+0900 1332317162485 s [onStartInputView]com.socialnmobile.dictapps.notepad.color.note,2131624043,147457,1140850694 20120321-170606.508+0900 1332317166508 m [Down]143134679,0,40,154,0.4666667,0.64 20120321-170606.567+0900 1332317166567 m [Move]143134723,0,42,154,0.4666667,0.765 20120321-170606.577+0900 1332317166577 m [Move]143134746,0,44,154,0.4666667,0.775 20120321-170606.652+0900 1332317166652 m [Up]143134824,0,44,154,0.4666667,0.775 20120321-170606.662+0900 1332317166662 k A 40 154 20120321-170607.200+0900 1332317167200 m [Down]143135372,0,411,390,0.53333336,0.585 20120321-170607.311+0900 1332317167311 m [Up]143135483,0,411,390,0.53333336,0.585 20120321-170607.313+0900 1332317167313 c [----]A Bug: 6188932 Change-Id: I8694eb9016d8cf0389ef582f6c7d2820aa4d2c92
* | | Merge "Refactor key drawing code in KeyboardView"Tadashi G. Takaoka2012-03-214-33/+31
|\ \ \
| * | | Refactor key drawing code in KeyboardViewTadashi G. Takaoka2012-03-215-37/+31
| | | | | | | | | | | | | | | | Change-Id: Ic7af05caee32eb6cba68d27ba4e2d9072472b34d
* | | | Merge "Refactor to memorize device dependent override parameters"Tadashi G. Takaoka2012-03-213-31/+30
|\ \ \ \
| * | | | Refactor to memorize device dependent override parametersTadashi G. Takaoka2012-03-213-31/+30
| | |_|/ | |/| | | | | | | | | | Change-Id: I79482a8ef3846525669979a30dec183ea18138b5
* | | | Merge "Correctly close the gzip stream"Jean Chalard2012-03-211-2/+2
|\ \ \ \ | |_|_|/ |/| | |
| * | | Correctly close the gzip streamJean Chalard2012-03-211-2/+2
| |/ / | | | | | | | | | | | | | | | | | | I had gotten the chain call in reverse. Bug: 6177523 Change-Id: Ic5b76425de2d5d05d5132f8d2c7ade0d79c14ccc
* | | Merge "Strengthen java code against bad returns from native"Jean Chalard2012-03-211-0/+3
|\ \ \
| * | | Strengthen java code against bad returns from nativeJean Chalard2012-03-211-0/+3
| |/ / | | | | | | | | | | | | | | | | | | | | | This doesn't really fix the following bug but it may alleviate the symptoms Bug: 6191885 Change-Id: I0de3f550cc7c6cdf79b291399785ad31b205d2ac
* / / Updated logger to record touch position within backspace key events.Kurt Partridge2012-03-203-4/+4
|/ / | | | | | | | | Bug: 6188932 Change-Id: Ida2aff618153792f9803f30f1251d67c89af1fe0
* | Merge "Cleanup proximity related code"satok2012-03-1910-287/+13
|\ \
| * | Cleanup proximity related codesatok2012-03-1910-287/+13
| | | | | | | | | | | | | | | Bug: 4343280 Change-Id: I57c0f9e20d9d8911009ea97057251a7f7a81512f
* | | Merge "Add a dummy file and package for make dict"satok2012-03-191-0/+21
|\ \ \
| * | | Add a dummy file and package for make dictsatok2012-03-191-0/+21
| |/ / | | | | | | | | | Change-Id: I195fd42f2a773bcc6fab0a61336a1c15d97902bb
* | | Merge "Fix TAG name"Kurt Partridge2012-03-191-1/+1
|\ \ \ | |/ / |/| |
| * | Fix TAG nameKurt Partridge2012-03-191-1/+1
| | | | | | | | | | | | Change-Id: Ibea065bc72e6b5e40cfa3ffa2fb6bcdeb107ffc4
* | | Merge "Make the primary character stable"satok2012-03-181-2/+2
|\ \ \
| * | | Make the primary character stablesatok2012-03-191-2/+2
| |/ / | | | | | | | | | | | | Bug: 4343280 Change-Id: I3e6eaa3803dc32a837825f3a64403430721b6192
* / / Rename the user history dictionary.Jean Chalard2012-03-193-59/+40
|/ / | | | | | | | | | | | | | | | | | | UserBigramDictionary -> UserHistoryDictionary. Also update all methods, strings and comments, except those needed for backward compatibility (which only include the name of the database file). Change-Id: I0bccea29880dc566b90100575b83baaa947b03ae
* | Small performance improvement by removing interface accesses.Ken Wakasa2012-03-1712-44/+36
| | | | | | | | Change-Id: I6d91f3b086470b79306dbe2874db9748b9e0eb5f
* | Fix NPEsatok2012-03-171-2/+10
| | | | | | | | | | | | bug: 6181736 Change-Id: I6522f19555c27f33c9ff4eaa8b2559a51a38f015
* | Merge "Calculate proximity characters in the native code"satok2012-03-162-6/+13
|\ \
| * | Calculate proximity characters in the native codesatok2012-03-162-6/+13
| |/ | | | | | | | | | | Bug: 4343280 Change-Id: I6adaf560f7a4f1f96dcb6ec2f61f20ee3001167e
* | Merge "Remove UserUnigramDictionary."Jean Chalard2012-03-161-276/+0
|\ \
| * | Remove UserUnigramDictionary.Jean Chalard2012-03-161-276/+0
| | | | | | | | | | | | | | | | | | This isn't used any more. Change-Id: Ie63ae621bcac9342b869b9f236f35bf66ec3a09b
* | | Merge "Move the UserUnigramDictionary functionality over"Jean Chalard2012-03-163-20/+57
|\| | | |/ |/|
| * Move the UserUnigramDictionary functionality overJean Chalard2012-03-163-20/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UserBigramDictionary now assumes both functionalities. It will be renamed to UserHistoryDictionary in a future change. There are several reasons to do this. First, there is a lot of duplicate code in User{Unigram,Bigram}Dictionaries that are factored by the few lines of code in this change. Also, other dictionaries like BinaryDictionary or ContactsDictionary all assume both responsibilities, as should be the case theoretically. It is also possible to do this because previous versions don't write any unigram data that we'd want to reuse. For even older versions that do write data, we can't really make any sense out of it. Bigram data however can be useful, and this allows us to reuse it easily. Change-Id: I755525f92744e1536eaef097527e8151b7859a30
* | Merge "Don't reset animation alpha value when keyboard is set"Tadashi G. Takaoka2012-03-152-47/+26
|\ \
| * | Don't reset animation alpha value when keyboard is setTadashi G. Takaoka2012-03-162-47/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The keys' blinking that mentioned in the bug is caused by switching keyboard layout resets the animation's alpha value to opaque but the animation is still running and changing the alpha value asynchronously. I think that switching keyboard layout between alphabet and symbols doesn't imply that the user stops typing. So the keyboard view should continue typing state timer to keep animations' alpha values changing and never reset the value. Bug: 6174273 Change-Id: Id795feaf44750358f30c1b3dc8e783a7e62aefe8
* | | Merge "Do not change the proximity orders"satok2012-03-151-16/+0
|\ \ \ | |_|/ |/| |
| * | Do not change the proximity orderssatok2012-03-161-16/+0
| | | | | | | | | | | | | | | Bug: 4343280 Change-Id: I4e2dfb00d9c843a8a285d409ac5ab8fca5fb1694
* | | Streamline some user history dictionary codeJean Chalard2012-03-163-42/+13
|/ / | | | | | | | | | | | | | | A lot of things don't really make sense in the old code. Let's streamline it for now so that we have a cleaner interface to work with. This is preliminary work for bug 4192129. Change-Id: If01a5974cfadc43afced610c57fcf7fde67c1346
* | Merge "Remove touch dead zone"Tadashi G. Takaoka2012-03-154-22/+55
|\ \
| * | Remove touch dead zoneTadashi G. Takaoka2012-03-154-22/+55
| |/ | | | | | | | | | | | | | | KeyDetector should use the distance from the hit box to detect the key. Bug: 6174250 Change-Id: Id1745d90222d1d1a10467f194b45307c12449944
* | Extract an annoying method callJean Chalard2012-03-151-2/+3
| | | | | | | | Change-Id: I78f22bb38222fea54a55e460fcf728bf941d15e9
* | Fix a bug where quotes and dashes are considered lettersJean Chalard2012-03-151-2/+4
|/ | | | | Bug: 6174065 Change-Id: I702760d44ead0eeb60d06360aa3bb03c2ec73325
* Small cleanupJean Chalard2012-03-151-11/+9
| | | | | | Exit-fast, update comment, make a method private Change-Id: Id103bf03aeef43a1a4d064ecabb819490dc5d39a
* Remove useless codeJean Chalard2012-03-151-1/+1
| | | | | | | I tracked all the calls to the constructor, and the passed list is never null. It's also final, so it's safe. Change-Id: I320f907acee0b237bb286a9a183c18106809174a
* De-duplicate a methodJean Chalard2012-03-153-27/+16
| | | | Change-Id: Ia1c80eeff00a55573bb311f07e1275da23bdcf98
* Remove useless codeJean Chalard2012-03-151-2/+0
| | | | Change-Id: I58de87c1ba4cd1130419191f63ff83b685604356
* OptimizationJean Chalard2012-03-152-5/+5
| | | | | | | All calls to this methods are made with an actual String. No sense beating ourselves with an interface stick. Change-Id: I6ef98286be6f81f73864b04f3a17e68f36a6e542
* Stop meaningless explicit null passingJean Chalard2012-03-151-9/+6
| | | | Change-Id: I6950897d262f610d502b7f8293b9dd8d2b53e6e8
* Remove a now-useless flag.Jean Chalard2012-03-152-17/+8
| | | | | | | This has been moved to the SuggestedWords object and is now represented by a single flag instead of a flag in each suggestion. Change-Id: I6e9a7cff5a7701de7e61b4de13baac25c9a87b1b
* Use the unique flag in SuggestionsViewJean Chalard2012-03-152-2/+1
| | | | | | | Also, the first word in a sugestions list can never be obsolete. Change-Id: Ib21439aac8db4e6ce5b15b7a2aabe4222bc354db
* Add info for obsolete suggestions in SuggestedWordsJean Chalard2012-03-154-7/+15
| | | | Change-Id: I9684c7b08244b34853ce8a99b6e9d885389f6687
* Remove useless stuffJean Chalard2012-03-151-35/+0
| | | | Change-Id: I43dae30774c40a9d6e7396f8fa73ed4b82a7c777