aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2012-07-13Fix a bug where the word composer is not correctly reset•••...upon commit Change-Id: I1fea87cb4c133a0884329eb9b61bf3053c36cd1b Jean Chalard1-0/+3
2012-07-13Fix InputPointers.append•••Change-Id: I6995f9b2ed00b9f948e1299e576a5e24725d58f8 Tadashi G. Takaoka2-53/+59
2012-07-12Import translations. DO NOT MERGE•••Change-Id: Ie03bf1e866e2b93cade6f02ce3ce14fa4864097d Auto-generated-cl: translation import Ying Wang62-351/+292
2012-07-12Add values for suggestion types (A120)•••Also, use it in getBigrams. Change-Id: Ia0be9b57d1b7effcd8a936e01e957d1195b39c68 Jean Chalard4-4/+17
2012-07-12Pass an array to output suggestion types (A119a)•••This needs the matching A119b change to not break the build. The array is passed, but not used yet. Bug: 6166228 Change-Id: Ia91d658461d989ee8c94e9b31bb06f4a36f4c5b6 Jean Chalard9-21/+26
2012-07-12Increase encapsulation (A118)•••showSuggestions is only ever called by updateSuggestionsOrPredictions. It only feels natural that, when called with a 0-sized or null suggestion list, it clears the suggestions. Change-Id: I5b52bc9151afca1bb6c6f0a7f81e3255add92177 Jean Chalard1-6/+6
2012-07-12Readability improvement (A117)•••Change-Id: I6f8bb05a23edb40a079da60b7136170ec9043282 Jean Chalard1-6/+3
2012-07-12Simplification (A116)•••Change-Id: I97cf92a7b0dabc251dd241b24978ea00d1e5f047 Jean Chalard2-9/+8
2012-07-12Compute variables closer to where they are used (A115)•••This improves locality, it's better for readability/performance Change-Id: Ibb1efaf86e362dd2c9398722d0da2144df96b333 Jean Chalard1-4/+3
2012-07-12Cleanup (A114)•••Change-Id: I7e24e0aeae7c004cae310ae9f46cf90dac2d4d14 Jean Chalard1-3/+4
2012-07-12Cleanup (A113)•••If not composing a word, then consideredWord is always the empty string. Hence, it's never whitelisted, but it's also always "NotAWord", so isWhitelistedOrNotAWord returns always true, so allowsToBeAutoCorrected is always true. Which means that isPrediction implies allowsToBeAutoCorrected == true. Thus, !isPrediction && !allowsToBeAutoCorrected is strictly equivalent to !allowsToBeAutocorrected. Change-Id: I4ad7a7c3447851c539646d97cf55ff065e6ee115 Jean Chalard1-1/+1
2012-07-12Simplification (A112)•••If we are not composing a word, that isFirstCharCapitalized and isAllUpperCase are guaranteed to return false. Change-Id: Ic4a0be9574acf4653c729a9594f963f5bcf0c757 Jean Chalard1-3/+2
2012-07-12Remove the ultimate code duplication (A111)•••Change-Id: I7c76613df8f148feb02765f187db3ca6dc577977 Jean Chalard1-14/+5
2012-07-12Resolve a TODO: bury some implementation detail in native (A110)•••The fact that prediction does not accept a null argument is an implementation detail, it should not be visible to Java code. Change-Id: I3a156b323b6db9353de898d33f3f7c81751cecb1 Jean Chalard3-8/+5
2012-07-12Remove an unused method (A109)•••Change-Id: Ib785b7e8c554d030395e2c0ca92edb44eb2b245f Jean Chalard2-21/+0
2012-07-12Stop using a redundant method (A108)•••Change-Id: Iffc0bae0a273419e7c50d69526c0c8e402c6461c Jean Chalard1-14/+9
2012-07-12Move an implementation detail to native code (A107)•••Java code does not have to know about this implementation detail: the generic method should do the dispatching, instead of having the caller call either method. Change-Id: Ic13727f0cb18f4ced2c356cce2f8d710588c0421 Jean Chalard1-4/+11
2012-07-12Remove a useless parameter (A106)•••Change-Id: Ic0ecea22212fd1a098a3a168da460374e446f4a3 Jean Chalard5-12/+9
2012-07-12Remove a constant parameter (A105)•••Change-Id: I8a09fa2f0649880c943364699a07652e47dede22 Jean Chalard2-8/+8
2012-07-12Make a constant really constant (A104)•••Change-Id: Ied1f9f96a574b1e6a8ee0a71bfb1604d9c962e1c Jean Chalard6-16/+19
2012-07-11Import translations. DO NOT MERGE•••Change-Id: I056d8d8d630a2b3576462f7900bc39a7f19f5aa0 Auto-generated-cl: translation import Ying Wang80-24/+1032
2012-07-11Cleanup (A103)•••Change-Id: Ib5ebddfdb87ef71a2f8d859fb45d3ac78040e97a Jean Chalard1-11/+6
2012-07-11Revert "Workaround to avoid a bug in the batch input bigram dictionary lookup"•••This reverts commit 1250cdeab2da2c7f7d9c732a816dbc36e49fd61aTadashi Takaoka1-8/+4
2012-07-11Workaround to avoid a bug in the batch input bigram dictionary lookup•••Change-Id: I8a5641c88c45918d6bed81a0b03efdcff0b380c5 Tadashi G. Takaoka1-4/+8
2012-07-11Inline a method to be able to factorize code (A102)•••Change-Id: I121071f80c8af3c1053968dc76aaeca3352ca9a8 Jean Chalard1-20/+14
2012-07-11Inline a wrapper method (A101)•••Change-Id: I6ce856ff49a8f8c696851b2487590704010fc758 Jean Chalard1-14/+4
2012-07-11Support batch input•••Change-Id: Ibe63212fe71cdebb5b897bc5018ae75b2a87555a Tadashi G. Takaoka1-1/+1
2012-07-11Small readability improvement (A100)•••Change-Id: I6340748654a95d203ed43ceb9a7e6468b5b8ab1c Jean Chalard1-2/+2
2012-07-11Pull up some common code again (A99)•••Change-Id: I9e9f5664bb12bb25d74c8a076a6ee1024c708145 Jean Chalard1-8/+9
2012-07-11Pull up some identical code (A98)•••Change-Id: I6c265956394cf49e74b0256dfa5af06fe6b30467 Jean Chalard1-39/+23
2012-07-11Inline a method to avoid confusion (A97)•••Change-Id: I3c3ffcd3d40493f4bfa0f6596f923b3430e605aa Jean Chalard1-25/+18
2012-07-11Remove parameters for easier inlining (A96)•••Change-Id: Ied2e291393609300173681e26e82b7dd36b41bd0 Jean Chalard1-5/+3
2012-07-11Pull up some more common code (A95)•••Change-Id: I3ac7ee823471a6d1da8031e064bce38b0e5a8f5c Jean Chalard1-15/+13
2012-07-11Pull up common code in the caller (A94)•••Change-Id: I84b97886280eca75d5f2b7546f20f8b1bced55bc Jean Chalard1-14/+8
2012-07-10intentional logging•••- separate ResearchLog from ResearchLogger - fix abort menu to explicitly indicate re-enabling of logging - auto flush entries every 5s - conform to new suggestedWords class multi-project change with I9fe1f8fe59d5891daa4ca84af157f36fb1bb17dc Bug: 6188932 Change-Id: I7e99390f934481c6ed9cea2b259944583edda5bb Kurt Partridge5-286/+538
2012-07-10Import translations. DO NOT MERGE•••Change-Id: I0376c38451de66ff8c40b488ed3a8599326755ad Auto-generated-cl: translation import Ying Wang24-0/+672
2012-07-10Remove useless member variables (A93)•••Change-Id: Iff0a0e8835f4d630b51a15c0d91881437094e785 Jean Chalard1-14/+13
2012-07-10Register the key when the finger slides off it in multitouch•••Moved from jb-dev branch (I807fd6f4). Bug: 6722867 Change-Id: I9764ac72f726396caaac819675d440372c882981 Tadashi G. Takaoka2-0/+24
2012-07-10Start converging two identical methods (A92)•••Change-Id: I3c85a80610fde664a328f5606d0724f00d445ebe Jean Chalard1-4/+4
2012-07-10Add batch input dictionary lookup•••Change-Id: I4da3c976838e8eb56c9ec80aafaaf54d759b7981 Tadashi G. Takaoka3-18/+73
2012-07-10Remove a useless parameter (A91A)•••Change-Id: I1d1758048649ef337875a5141d825569af7ad38c Jean Chalard2-5/+3
2012-07-10Cleanup old methods (A90)•••Change-Id: I5435cef8ac6be523934ffa394952cb120c8e89d6 Jean Chalard9-151/+16
2012-07-10Implement the common Dictionary interface (A89)•••This will de-duplicate a lot of existing code. Change-Id: Idaffb2fde23b9741f057bcb2ecb3dde9d12ea5c5 Jean Chalard5-8/+78
2012-07-10Reduce method visibility (A88)•••Change-Id: I29d6afbcba0998558c9b19287a460d9f0e410994 Jean Chalard9-14/+14
2012-07-10Factorize code (A87)•••Why was this copy-pasted :( Change-Id: I6a537c56425ad039d7301a5fe1e0485784f07914 Jean Chalard1-13/+7
2012-07-10Move stuff around for readability (A86)•••Change-Id: I5f4a18e43f3012acf96978d625325bf7c69c9c80 Jean Chalard1-21/+21
2012-07-10Add a consolidated method to the Dictionary interface (A85)•••Change-Id: I5d79021e69cc738e3013e31764ab0a59e15decdf Jean Chalard3-5/+27
2012-07-10Refresh the cached single quotes count on commit•••Change-Id: I9df5cf95c14da2e11ac709ca5e32dc7db3b02c37 Jean Chalard1-0/+1
2012-07-10Enhance behavior consistency (A84)•••Use the word the same way for suggestion and prediction. It makes little logical sense that the trailing single quotes be removed for suggestion lookup but not for prediction lookup. Change-Id: I0de4b5f7c5b4c1b4ba1817ff9653d7c03967146d Jean Chalard1-11/+12
2012-07-10Refactoring for whitelist (A83)•••Avoid special casing the whitelist dictionary by having it implement the interface it pretends it implements Change-Id: I8b873cb0f3fe13cefd32c8cb756a25c8ae16a2b4 Jean Chalard2-3/+11