aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-13Import translations. DO NOT MERGEEric Fischer1-1/+1
Change-Id: I23a7371b635d689966afe63c2c1e42032579a193
2012-03-13Avoid using interface member, use concrete collection class insteadTadashi G. Takaoka1-3/+4
Change-Id: I8b647e8c260aec58c557ce07f3a2d8987c24d7be
2012-03-13Update other alt keys' graphicsTadashi G. Takaoka2-34/+60
Change-Id: I12699907a514f5fc2e110a0a711fb91c14a8756f
2012-03-13Support Persian KeyboardTadashi G. Takaoka14-18/+324
This is a first trial implementation based on Arabic layout. Bug: 5456620 Change-Id: Ifa21d7fbd408853a44678623c13b9c078283732c
2012-03-13Avoid using collection interface, using array insteadTadashi G. Takaoka6-42/+31
Change-Id: Ie0554362b73967bfcbbab6ad19c24683066a608e
2012-03-13Straighten out the last bastion of the BuilderJean Chalard2-3/+10
...and go for the kill Change-Id: I5ad57211b250d2578ca22a5dae93344d52f9da80
2012-03-13Add to SuggestedWords a missing parameter, and use it.Jean Chalard2-8/+14
Also stop using Builder between its creation and the call to the #build() method. Change-Id: Ie1fc3ec7b6f4c7c3789f672f4e26b4bf58c3e062
2012-03-13Make still more members of the Builder final.Jean Chalard4-22/+22
Change-Id: Ic455f97247da5e40d4939555ab639ecffef36e2d
2012-03-13Some code reorganization.Jean Chalard2-9/+6
Use the same local variable inside both branches of an if. Change-Id: I61f7d506d984f3723ec90604416d1875dd97cd8c
2012-03-13Make some more Builder attributes final.Jean Chalard4-27/+29
Change-Id: I3132b7fe4ee97c566736bfc21c3783cfc79fc7ff
2012-03-13Make the suggested word list final in Builder.Jean Chalard4-22/+12
Change-Id: I2ddfab00dc8c141fc989a051f16eb2b3571b7e86
2012-03-13Remove unused stuff.Jean Chalard2-26/+3
Remove 2 methods that were left only for tests to compile in another project, but are not used any more now that the tests have been updated. Also remove an attribute that is never read. Change-Id: Ic9ba1f52a465199c82c923d77ed7450460e8a4b9
2012-03-13Pass the locale to the native codesatok2-4/+12
Change-Id: I8f73b9b33cca56b3fa44ec6259c0896be22f4a47
2012-03-13Make an add into a set.Jean Chalard4-12/+13
This method now only sets words, so it should be named set. The functionality is identical since there are no more places where the list is reused. This will also allow to make the list final in an upcoming change. Change-Id: I25b0c7d7f13c3fa5d89806f01f48f1026769603f
2012-03-13Use additional proximity chars in the native codesatok5-15/+42
Bug: 4343280 Change-Id: Ida690fe246cea80a82fcdb3ad0c28e2907b882ac
2012-03-13Support invalidating multiple keys in KeyboardViewTadashi G. Takaoka3-44/+51
Change-Id: I347ccfc2cf60c17f5f0eddec6566662cb3a954ca
2012-03-13CleanupJean Chalard2-27/+8
Remove an unused method, make others static, fix a formatting issue Change-Id: I40cb0b5e01a6f8e2f7b953bd9aad3168dfee71d1
2012-03-13Remove a method that causes annoying side-effects.Jean Chalard2-15/+14
...and replace by a call to a central method. Change-Id: I93d0a2c2e99963a5b69923d1062d0e01853216b6
2012-03-13Kill the StringBuilderPool.Jean Chalard3-117/+11
The intention may have been nice originally but these end up being copied anyway :/ Let's remove them now, and in a later change, just keep references to the created objects. Change-Id: Ifba8357c20384f9eb40cd916665ed1fc6dc8cab1
2012-03-13Implement additional proximity characters in the native codesatok7-16/+157
Bug: 4343280 Change-Id: I9bbc5cab2fef1ee80c1fe32017df811ef8af10bc
2012-03-13Use integer alpha value instead of factor for animationTadashi G. Takaoka3-23/+19
Change-Id: I3099a7625e0176a1d2be42e58d6eb5fa95797bcb
2012-03-13Move language on spacebar parameters to LatinKeyboardView attributesTadashi G. Takaoka5-30/+38
Change-Id: I06e5d7d158a9b14b00df34e68b12cd012faf17d1
2012-03-13Remove a useless parameter.Jean Chalard4-27/+40
Change-Id: I7625bf17158c207ad7e8cd496bef825704173c4c
2012-03-13Use Animator to draw language name on spacebarTadashi G. Takaoka4-72/+50
Note that Animator class exists in framework only on Honeycomb or later. Change-Id: Ie3392dbf8acc1547ebb2d16e04086c911d961aed
2012-03-13Kill methods with side-effects, take 2Jean Chalard2-20/+16
...working this time Change-Id: I80e377e6250d3817f1e067a551bca2a557740764
2012-03-12Revert "Kill methods with side-effects"Jean Chalard2-14/+18
This reverts commit ca0e04868891c461a3e6f30bf15d209d622c8349
2012-03-12Import translations. DO NOT MERGEEric Fischer5-27/+18
Change-Id: I8546456a3d567b821a5a409a7459f9043fa04315
2012-03-12Kill methods with side-effectsJean Chalard2-18/+14
Change-Id: I42baeec68eb2540e7d8f8538ae2dceeef5594391
2012-03-12Tweak 7 inch layout a bitTadashi G. Takaoka16-86/+60
* For 10-9-7 (qwerty, qwertz), keys' width are 9.0%-9.0%-9.0% * For 10-10-7 (azerty, hebrew, spanish), keys' width are 8.5%-8.5%-8.5% * For 11-11-{7,8} (arabic, bulgarian, nordic), keys' width are 7.6%-7.6%-7.6% * For {11,12}-11-9 (south_slavic, east_slavic), keys' width are 7.6%-7.6%-7.363% Change-Id: Ife4ce0ac587bd179afcfce0cb5dffb8d82fee4f1
2012-03-12Consolidate words into SuggestedWordInfoJean Chalard2-34/+37
We can't get rid of SuggestedWordInfo because it conveys the information about whether a suggestion is outdated or not. It is always created anyway. So it makes sense not to have separate lists and to just keep everything in the SuggestedWordInfo object. Change-Id: Idd79dc267d97633901d3d2869da457736963e178
2012-03-12Add AZERTY compatible symbols/symbols shifted layouts for tabletTadashi G. Takaoka16-11/+485
This change also adds Spanish compatible symbols/symbols shifted layouts for tablet. Bug: 6100832 Change-Id: Ib5ed9856573657b2680e08f9e64fd09b12a0a27d
2012-03-12Support disableAdditionalMoreKeys and disableKeyLabelHintTadashi G. Takaoka31-548/+82
Change-Id: Idfa586417acd4a223380d52f044e3a86eb780b21
2012-03-12Fix an OOBJean Chalard1-1/+1
The combination of I6b0262fe which removes the internal size() > 1 test in the safety net calculation and I642a5893 which assumed DBG means there is at least one suggestion. This change writes the test correctly. Change-Id: Ib63bce4e163a785f408dd145c23d64cd58fa8c90
2012-03-12Rename keyboard XML filesTadashi G. Takaoka36-41/+81
* Slavic to East Slavic * Serbian to South Slavic * Scandinavian to Nordic Bug: 6150183 Change-Id: I8f5641aa07b83cbb225f5fd73e351a6f8abe0784
2012-03-12Make a method accessible for testsJean Chalard1-1/+2
Tests are using a wrapper method that's going to disappear soon. The method that becomes package-visible now is destined to be removed too a little later. Change-Id: If99b1c77ed52e050b47216cc7afab5f35c4bbb38
2012-03-12Make a method staticJean Chalard2-4/+10
Change-Id: Ie1d460562d38105abe91ae2da17cafd49e2cd394
2012-03-12Separate Greek semicolon key from rowTadashi G. Takaoka7-24/+78
Change-Id: Ie568da868a0bed4f72652cf7475bdeb752be1f5b
2012-03-12Breakdown Serbian keyboard into rowsTadashi G. Takaoka7-305/+265
This change also slightly re-design 7-inch and 10-inch tablet layout Change-Id: Ibfe11386d865f7c3becf4a60286557921f95036d
2012-03-12Breakdown Slavic keyboard into rowsTadashi G. Takaoka7-309/+266
Change-Id: Iff2048839a51e14351ba235ef9d7f5ecbef159e3
2012-03-12Breakdown Hebrew keyboard into rowsTadashi G. Takaoka6-288/+186
Change-Id: I25c928a3251424280e2ac4f065126c3019734d20
2012-03-11Fix an obvious bug in handleLanguageSwitchKey()Ken Wakasa1-1/+1
bug: 5759092 Change-Id: I8c7b2ef024cbab399d96f6b3ec553da4e9d2fb18
2012-03-09Import translations. DO NOT MERGEEric Fischer1-2/+2
Change-Id: Ie0609f97096ad1e9dfa8f9b778047723dcf9868f
2012-03-09Entirely remove safety net memory.Jean Chalard1-8/+4
mHasAutoCorrectionCandidate now includes the fact that this did not get caught by the safety net. This is more intuitive. Change-Id: I6502bbf1ca64a0a6d64f55d723305cf78352a656
2012-03-09Make the safety net memory privateJean Chalard2-4/+4
Change-Id: I10959d47c980d2e8f2ea995955acf02193e3ff7b
2012-03-09Recompute safety net in debug cases instead of memorizingJean Chalard1-1/+5
Change-Id: I67f3a31db081afa4871ec441dd461c56e098c668
2012-03-09Make access to the safety net calculation easierJean Chalard1-10/+7
Change-Id: If33897b38af94ae81b05e5ef140a542724b9f34a
2012-03-09Extract a condition from a methodJean Chalard1-11/+4
Change-Id: I6b0262fe7cb3f7a31cc19d724c301467be932640
2012-03-09Remove a useless argumentJean Chalard1-2/+2
Change-Id: I713433a3225193489fad5bdafcf302b529903116
2012-03-09Remove a useless escapeJean Chalard2-7/+4
Change-Id: I1ef0685cc9888c9cef9f60015d32b66dde75ef9b
2012-03-09Remove a useless testJean Chalard1-3/+0
If we are not composing a word here, we have already returned Change-Id: I63281abace777e3658286d4df6781d2cd5a29c33