aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2012-03-15Fix a bug where quotes and dashes are considered letters•••Bug: 6174065 Change-Id: I702760d44ead0eeb60d06360aa3bb03c2ec73325 Jean Chalard2-2/+20
2012-03-15Small cleanup•••Exit-fast, update comment, make a method private Change-Id: Id103bf03aeef43a1a4d064ecabb819490dc5d39a Jean Chalard1-11/+9
2012-03-15Remove useless code•••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 Jean Chalard1-1/+1
2012-03-15De-duplicate a method•••Change-Id: Ia1c80eeff00a55573bb311f07e1275da23bdcf98 Jean Chalard3-27/+16
2012-03-15Remove useless code•••Change-Id: I58de87c1ba4cd1130419191f63ff83b685604356 Jean Chalard1-2/+0
2012-03-15Optimization•••All calls to this methods are made with an actual String. No sense beating ourselves with an interface stick. Change-Id: I6ef98286be6f81f73864b04f3a17e68f36a6e542 Jean Chalard2-5/+5
2012-03-15Stop meaningless explicit null passing•••Change-Id: I6950897d262f610d502b7f8293b9dd8d2b53e6e8 Jean Chalard1-9/+6
2012-03-15Remove a now-useless flag.•••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 Jean Chalard2-17/+8
2012-03-15Use the unique flag in SuggestionsView•••Also, the first word in a sugestions list can never be obsolete. Change-Id: Ib21439aac8db4e6ce5b15b7a2aabe4222bc354db Jean Chalard2-2/+1
2012-03-15Add info for obsolete suggestions in SuggestedWords•••Change-Id: I9684c7b08244b34853ce8a99b6e9d885389f6687 Jean Chalard4-7/+15
2012-03-15Remove useless stuff•••Change-Id: I43dae30774c40a9d6e7396f8fa73ed4b82a7c777 Jean Chalard1-35/+0
2012-03-15Move a computation closer to where it's used.•••Change-Id: I5aee4c36ceaacbb1dbfc47c011f1e4aec4b9dca6 Jean Chalard1-8/+8
2012-03-14Import translations. DO NOT MERGE•••Change-Id: I792cacc137b1b782c28b258bf91bf475bd0ced89 Eric Fischer4-24/+12
2012-03-14Really pass the y - touch correction to the native code•••Bug: 4343280 Test: I11f8518d9ee Change-Id: I4b90bdffffed9736af223ac83c1a54019add70bb satok1-1/+1
2012-03-14Disabled key should respond if it is in the altCodeWhileTyping state•••Bug: 6128215 Change-Id: I81e9980f8ffa5c5eaba30676c8433f542645de1d Tadashi G. Takaoka3-8/+17
2012-03-14Gray out "alt-code-while-typing" key icon while typing•••Bug: 6128215 Change-Id: Ie9c13d9d38aad6e92cc465e22f3ef20c80e0a36a Tadashi G. Takaoka8-24/+182
2012-03-14Fix SuggestedWords.toString•••Change-Id: Ide3f605ce40e8c230f217bbf37ab016457ee91f1 Tadashi G. Takaoka1-1/+14
2012-03-14Send key information even when the touch position correction is not triggered.•••Bug: 4343280 Change-Id: Id24935f9f0f66ebaa799bb92537d842033427c4c satok1-24/+24
2012-03-14Use HashSet to hold keys in Keyboard•••This partially reverts Ie0554362. Change-Id: I0de971c5efb4e8eb093be2a0793a08bd79baee22 Tadashi G. Takaoka1-1/+2
2012-03-14Some readability improvement•••In-place replacements of visibly identical things. Change-Id: I02b51bd7f63597e3428f0650b239e9a39ef5a7c7 Jean Chalard1-14/+7
2012-03-14Cut out a private method to make things more readable•••Change-Id: I791700890338e023bd86b8794dbc90379b91dc7d Jean Chalard1-24/+32
2012-03-14Minor optimization•••We know the size in advance, this may save a few allocations Change-Id: I2fb9a725f34ba2da4f34ed335652f10447d5d166 Jean Chalard1-3/+2
2012-03-14Some code simplification•••Just write the same thing in a more succint manner Change-Id: I08a2c5edd52a3502914541061fd5b6ee7a92ebc4 Jean Chalard1-6/+6
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