aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2012-03-14Use HashSet to hold keys in Keyboard•••This partially reverts Ie0554362. Change-Id: I0de971c5efb4e8eb093be2a0793a08bd79baee22 Tadashi G. Takaoka1-1/+2
2012-03-14Cleanup & optimization•••Renaming some variables, and obvious optimizations. Change-Id: Ib716748e9f3d602cf276dcd4e73f3bcfb819585e Jean Chalard1-28/+24
2012-03-14Remove a useless parameter•••Change-Id: I03005240238fb004c20b2df0d836796e2e8b307f Jean Chalard4-18/+11
2012-03-14Remove a useless method•••Change-Id: I208dd2e725e37c2fb3cd51fe48194679e5912f6b Jean Chalard4-29/+13
2012-03-14Remove the Builder•••Change-Id: Idef22e6a82d59e3ec95b95ad237debcb07daf000 Jean Chalard1-31/+2
2012-03-14Match the constructor of SuggestedWords to the Builder call.•••We have to match one way or another, and the argument order to the Builder call is more logical. Change-Id: Iac7c3a351c2687cb294d6a4924fd9cb20ca95177 Jean Chalard1-11/+11
2012-03-14Make the Builder private•••Change-Id: I2184084f4b7729c4324f8291d548bd4c4c2872a1 Jean Chalard4-17/+30
2012-03-14Re-sequence the last calls to build()•••Change-Id: If77ee5aa9483d3ca03c52812f31665dee6468e99 Jean Chalard2-13/+10
2012-03-14Move up the static methods of the Builder•••Change-Id: Ic3e07b745b7b24cae0f772ea49e0de615b44caf9 Jean Chalard3-40/+40
2012-03-14Kill the last place where the Builder was being used•••I had missed that one Change-Id: I9a5040a7a61e294396aa424de96a69dbb15f037a Jean Chalard2-29/+6
2012-03-14Use XML animator definition•••Change-Id: Ic2f6d3f8fdd2c0b0a00f004f49f95b00d474ee4b Tadashi G. Takaoka4-40/+68
2012-03-14Fix additional proximity in the native code•••Bug: 4343280 Change-Id: I4164bb916b2dbdfb6bdc151b99d46a6171d9c355 satok6-39/+83
2012-03-14ZWNJ key on Persian shouldn't be altCodeWhileTyping key•••Change-Id: I69301a2c61c2e465058309337672f983669e7967 Tadashi G. Takaoka3-8/+2
2012-03-13Import translations. DO NOT MERGE•••Change-Id: I23a7371b635d689966afe63c2c1e42032579a193 Eric Fischer1-1/+1
2012-03-13Avoid using interface member, use concrete collection class instead•••Change-Id: I8b647e8c260aec58c557ce07f3a2d8987c24d7be Tadashi G. Takaoka1-3/+4
2012-03-13Update other alt keys' graphics•••Change-Id: I12699907a514f5fc2e110a0a711fb91c14a8756f Tadashi G. Takaoka2-34/+60
2012-03-13Support Persian Keyboard•••This is a first trial implementation based on Arabic layout. Bug: 5456620 Change-Id: Ifa21d7fbd408853a44678623c13b9c078283732c Tadashi G. Takaoka14-18/+324
2012-03-13Avoid using collection interface, using array instead•••Change-Id: Ie0554362b73967bfcbbab6ad19c24683066a608e Tadashi G. Takaoka6-42/+31
2012-03-13Make the Builder fully immutable at last•••Change-Id: Ie399ca7a9e76ccab44a92bc378d11f92392fed2c Jean Chalard4-16/+16
2012-03-13Straighten out the last bastion of the Builder•••...and go for the kill Change-Id: I5ad57211b250d2578ca22a5dae93344d52f9da80 Jean Chalard2-3/+10
2012-03-13Add to SuggestedWords a missing parameter, and use it.•••Also stop using Builder between its creation and the call to the #build() method. Change-Id: Ie1fc3ec7b6f4c7c3789f672f4e26b4bf58c3e062 Jean Chalard2-8/+14
2012-03-13Make still more members of the Builder final.•••Change-Id: Ic455f97247da5e40d4939555ab639ecffef36e2d Jean Chalard4-22/+22
2012-03-13Some code reorganization.•••Use the same local variable inside both branches of an if. Change-Id: I61f7d506d984f3723ec90604416d1875dd97cd8c Jean Chalard2-9/+6
2012-03-13Make some more Builder attributes final.•••Change-Id: I3132b7fe4ee97c566736bfc21c3783cfc79fc7ff Jean Chalard4-27/+29
2012-03-13Make the suggested word list final in Builder.•••Change-Id: I2ddfab00dc8c141fc989a051f16eb2b3571b7e86 Jean Chalard4-22/+12
2012-03-13Remove unused stuff.•••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 Jean Chalard2-26/+3
2012-03-13Pass the locale to the native code•••Change-Id: I8f73b9b33cca56b3fa44ec6259c0896be22f4a47 satok2-4/+12
2012-03-13Make an add into a set.•••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 Jean Chalard4-12/+13
2012-03-13Use additional proximity chars in the native code•••Bug: 4343280 Change-Id: Ida690fe246cea80a82fcdb3ad0c28e2907b882ac satok5-15/+42
2012-03-13Support invalidating multiple keys in KeyboardView•••Change-Id: I347ccfc2cf60c17f5f0eddec6566662cb3a954ca Tadashi G. Takaoka3-44/+51
2012-03-13Cleanup•••Remove an unused method, make others static, fix a formatting issue Change-Id: I40cb0b5e01a6f8e2f7b953bd9aad3168dfee71d1 Jean Chalard2-27/+8
2012-03-13Remove a method that causes annoying side-effects.•••...and replace by a call to a central method. Change-Id: I93d0a2c2e99963a5b69923d1062d0e01853216b6 Jean Chalard2-15/+14
2012-03-13Kill the StringBuilderPool.•••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 Jean Chalard3-117/+11
2012-03-13Implement additional proximity characters in the native code•••Bug: 4343280 Change-Id: I9bbc5cab2fef1ee80c1fe32017df811ef8af10bc satok7-16/+157
2012-03-13Use integer alpha value instead of factor for animation•••Change-Id: I3099a7625e0176a1d2be42e58d6eb5fa95797bcb Tadashi G. Takaoka3-23/+19
2012-03-13Move language on spacebar parameters to LatinKeyboardView attributes•••Change-Id: I06e5d7d158a9b14b00df34e68b12cd012faf17d1 Tadashi G. Takaoka5-30/+38
2012-03-13Remove a useless parameter.•••Change-Id: I7625bf17158c207ad7e8cd496bef825704173c4c Jean Chalard4-27/+40
2012-03-13Use Animator to draw language name on spacebar•••Note that Animator class exists in framework only on Honeycomb or later. Change-Id: Ie3392dbf8acc1547ebb2d16e04086c911d961aed Tadashi G. Takaoka4-72/+50
2012-03-13Kill methods with side-effects, take 2•••...working this time Change-Id: I80e377e6250d3817f1e067a551bca2a557740764 Jean Chalard2-20/+16
2012-03-12Revert "Kill methods with side-effects"•••This reverts commit ca0e04868891c461a3e6f30bf15d209d622c8349Jean Chalard2-14/+18
2012-03-12Import translations. DO NOT MERGE•••Change-Id: I8546456a3d567b821a5a409a7459f9043fa04315 Eric Fischer5-27/+18
2012-03-12Kill methods with side-effects•••Change-Id: I42baeec68eb2540e7d8f8538ae2dceeef5594391 Jean Chalard2-18/+14
2012-03-12Tweak 7 inch layout a bit•••* 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 Tadashi G. Takaoka16-86/+60
2012-03-12Consolidate words into SuggestedWordInfo•••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 Jean Chalard2-34/+37
2012-03-12Add AZERTY compatible symbols/symbols shifted layouts for tablet•••This change also adds Spanish compatible symbols/symbols shifted layouts for tablet. Bug: 6100832 Change-Id: Ib5ed9856573657b2680e08f9e64fd09b12a0a27d Tadashi G. Takaoka16-11/+485
2012-03-12Support disableAdditionalMoreKeys and disableKeyLabelHint•••Change-Id: Idfa586417acd4a223380d52f044e3a86eb780b21 Tadashi G. Takaoka31-548/+82
2012-03-12Fix an OOB•••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 Jean Chalard1-1/+1
2012-03-12Rename keyboard XML files•••* Slavic to East Slavic * Serbian to South Slavic * Scandinavian to Nordic Bug: 6150183 Change-Id: I8f5641aa07b83cbb225f5fd73e351a6f8abe0784 Tadashi G. Takaoka36-41/+81
2012-03-12Make a method accessible for tests•••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 Jean Chalard1-1/+2
2012-03-12Make a method static•••Change-Id: Ie1d460562d38105abe91ae2da17cafd49e2cd394 Jean Chalard2-4/+10