aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2012-11-13Make sure all FDs are correctly closed.•••In this kind of series of calls, it's possible that an outer call to a constructor fails, but the inner succeeded. Example: try { is = new A(new B()); } finally { if (null != is) is.close(); } In this case, if new B() succeeds but new A() throws an exception, is stays null and the intermediate object is never closed. This is what was happening in this instance. Bug: 7377336 Change-Id: I3fae9fec1135244982fcf5098c76d93f3e0f2add Jean Chalard1-11/+19
2012-11-13Use hexadecimal constants for subtypeId•••Change-Id: I5ee7981f1d1d142c4d21d0257879e8e126860fa6 Tadashi G. Takaoka1-55/+55
2012-11-13Refactor all phantom-space-inserted spaces in one place•••Bug: 7164981 Change-Id: If1635c212b2d5d9cf51f5fb074f3b20dd7ec7b2a Jean Chalard1-5/+10
2012-11-12Don't restrict reset composing state to non-identical setText•••Bug: 7497063 Change-Id: Ifbd5c37408131867458fd921bdef46ef90d81478 Jean Chalard1-14/+10
2012-11-12Enhance ImfUtils to InputMethodManagerWrapper class•••Change-Id: I6ff86ee819a446dd3ed5f9c3400d23564027b020 Tadashi G. Takaoka10-318/+313
2012-11-12Remove backup agent from AOSP Android Keyboard•••Bug: 4590284 Change-Id: I22f0e42cb898d20dfc2c4506493bf48170ce7b04 Satoshi Kataoka1-1/+0
2012-11-10Cleanup basechars.cpp•••Change-Id: I7b88876f60720182910fab97ef79f3d04fbd81f0 Ken Wakasa3-195/+177
2012-11-09Import translations. DO NOT MERGE•••Change-Id: Ibf5dc194560d09cc1945c5478197b9170c176492 Auto-generated-cl: translation import Baligh Uddin1-3/+3
2012-11-09Remove gesture typing settings when disabled by configuration•••Bug: 7506408 Change-Id: I4de53ace170d5ddc9779f42ac344c4190c80a019 Tadashi G. Takaoka1-10/+4
2012-11-09Fix a logic flaw.•••This test is seriously wrong : although we do have a method that does exactly the right thing, this looks at a very specific, unrelated variable state in hope it happens to be set only in the relevant cases by the play of logic. I don't think this changes anything concretely, as the assumption was probably true in the practice ; still, this code is very hard to read and prone to unexpected breakage. Change-Id: I77ab576f90762429fcc752df31ed30e1c81871dc Jean Chalard1-2/+1
2012-11-09Suppress dictionary pack support when IS_EXPERIMENTAL is true•••Change-Id: If8813cb989c1fa8744a3bf36e8514ced3c8f46a3 Ken Wakasa3-14/+27
2012-11-09Remove gesture typing settings when disabled by configuration•••Bug: 7506408 Change-Id: I4de53ace170d5ddc9779f42ac344c4190c80a019 Tadashi G. Takaoka1-10/+4
2012-11-08Fix a bug in the diff tool•••Fix reporting of removed attributes multiple times instead of just one in some cases. Also, report the frequency of the removed bigram in the same cases. Change-Id: I1455fa7553fcebc3005c222bf5aa9afcf1678c31 Jean Chalard1-1/+6
2012-11-06Import translations. DO NOT MERGE•••Change-Id: I97ceec5680a8ba9f27d5f62a7573555590268376 Auto-generated-cl: translation import Baligh Uddin1-2/+2
2012-11-07Fix a build error in x86 builds•••Change-Id: I64a7c35d01540eb63f09cacddaab03f95729ed02 Ken Wakasa1-2/+5
2012-11-07Reset the IME if requested by the app.•••Specifically, reset the KeyboardState to the main Alphabet layout in LatinIME.onStartInputViewInternal() if a keyboard layout set doesn't get reloaded in the method. Please note TextView.setText() calls up resetInput(), then the IME should reset with it. bug: 7482086 Note that bug: 6851364 needs to be revisited. Change-Id: I5d448c10963d3dd952dd13cb587085ec7b014e69 Ken Wakasa3-0/+35
2012-11-05Tidy up visibility of members of BinaryFormat.•••Change-Id: I38a00076b82de8e1a19209c67954fe01585f7943 Ken Wakasa1-26/+27
2012-11-05Adjust compiler warning options with the offdevice Makefile•••Make use of AK_FORCE_INLINE for -Winline and better performance Change-Id: If0016e2ef61c1fe007c83bb1a5133a6b6bde568e Ken Wakasa13-38/+52
2012-11-03Follow up to Ic6af0c596374d936d2b9b31e626fb62bd265ce64•••Tidy up inline functions with AK_FORCE_INLINE. Moved back some inline methods to header files. Change-Id: Ibd37b595666ebddda198d9237f19f6712653a8e8 Ken Wakasa5-140/+140
2012-11-02Add more compiler warning flags•••Change-Id: Ic6af0c596374d936d2b9b31e626fb62bd265ce64 Ken Wakasa9-153/+177
2012-11-02A small code cleanup in geometry_utils.h•••Change-Id: Ie9ff77c661693a1e21d0aa4cfc079bfbf3171f49 Ken Wakasa2-20/+20
2012-11-01Use sizeof() more safely.•••Change-Id: I7cffb4d8da847b483cf4bb482508e3c88c4903be Ken Wakasa5-18/+18
2012-11-01Cleanup logging code•••Change-Id: Ia604a4fcebfc5179bdbeaa982e052f7d3882ac6e Tadashi G. Takaoka1-40/+41
2012-11-01Make sure PointerTrackerQueue is non-null•••Change-Id: I2106cf64bed1472fb39d24e7e5bdee7238a30bfe Tadashi G. Takaoka2-44/+23
2012-11-01Rename SuddenJumpingTouchEventHandler to TouchSCreenRegulator•••Change-Id: Ia4fb5b3612ff78ed1b243c80a03294b829470f5c Tadashi G. Takaoka2-15/+15
2012-11-01Add a missing report, and fix a wrong report•••Deleted words would be reported, but added words wouldn't Also, shortcuts would be reported as bigrams Change-Id: I017653f2afa65cf16924017a0be2ee2cbd6ca10d Jean Chalard1-7/+16
2012-11-01Add a "no changes" message in the diff command•••Also fix a bug where no locale would be interpreted as a different locale instead of the same. Change-Id: I296feef45e39a9e89509cb315e789676755141ab Jean Chalard1-8/+30
2012-11-01Straighten an if-else-if blocks into if-return blocks•••Change-Id: If3eede1257658f27384e3efc72586fabbed19f7b Tadashi G. Takaoka1-28/+28
2012-11-01Move isInvalidCordinates() method to Constants class•••Change-Id: Iad1464c299ad6055af1db1ff7978e5cd9a14750f Tadashi G. Takaoka3-14/+10
2012-11-01Cosmetic source code formating change•••Change-Id: I3a53b49afab70dfb13f12027070635da6001eb79 Tadashi G. Takaoka3-34/+51
2012-11-01Cleaup non-distinct multitouch related stuff•••Change-Id: I09072267217caad2513f83b61d7db1c6d74e18d1 Tadashi G. Takaoka3-31/+17
2012-11-01Fix an NPE in recent code•••Change-Id: I5c76edff5c3c250167d425a737b09b10e25f9f84 Jean Chalard1-1/+3
2012-11-01Use 32-bit code points for suggestions output•••This is a multi-project commit with Ic43dd666 bug: 6526418 Change-Id: I39c1acb4e91d04cd8a4ec5a943c8cf575da75ebc Ken Wakasa20-363/+329
2012-10-31Consolidate two helper methods (refactor step 3)•••Change-Id: I8b8522d1e5342fc73346ba2748e75f0c1d5bf03c Tadashi G. Takaoka1-25/+13
2012-10-31Flatten nested if-else blocks into plain if-else blocks (refactor step 2.5)•••Change-Id: I42aad04658e14e8fd703e3828676719a333ec8f9 Tadashi G. Takaoka1-36/+32
2012-10-31Separate nested if-blocks into helper methods (refactor step 2)•••Change-Id: Ic0ed243f8c1fbf62793565ee37175270b47f0801 Tadashi G. Takaoka1-61/+77
2012-10-31Move the emoji dictionaries source under AOSP.•••Change-Id: Ie870a90d483d9f27aed96fb4b44126315c43922f Jean Chalard2-0/+0
2012-10-31Switch the AOSP word lists to the combined format.•••This will help with managing the word lists. Bug: 7388859 Change-Id: I89f049569b177d3027fe56d6c67eaca27d44dc7d Jean Chalard51-17/+38
2012-10-31Separate nested if-blocks into helper methods (refactor step 1)•••Change-Id: I87ef8b174295fb12a91fec35acd3b0cc152ad8f0 Tadashi G. Takaoka1-112/+127
2012-10-31Use spaces instead of tabs in the combined format.•••Change-Id: Ie8a4cdc44f87839e29bfbffc03d4853b7b5cc5f6 Jean Chalard1-3/+3
2012-10-31Add a plumbing option to dicttool info.•••Also align the `porcelain' option to the diff command that was used mistakenly. Bug: 7388665 Change-Id: Ic0e1b98c62ce37b2e909384a0370af4458563703 Jean Chalard3-15/+31
2012-10-31Escape "#" sign in XML file•••Change-Id: Icd38abc4a0454ca949613d8c4bb528758cd990d8 Tadashi G. Takaoka10-15/+15
2012-10-30Cleanup after dicttool•••Arrange for temporary files to be deleted. Also, add a security on stack overflows. Change-Id: I9da2ebefb06409a71b235243ea835ce10d6a9b81 Jean Chalard3-7/+19
2012-10-30Implement the package command•••Bug: 7388852 Change-Id: Ib6a50e02894961b4c7d3f57bc0fc70c3b3bfe4e9 Jean Chalard1-3/+17
2012-10-30Add the unpackage command•••Bug: 7388852 Change-Id: I7e5376f5d646e669884ef78e4e0dee62c99d4d6b Jean Chalard4-0/+87
2012-10-30Add an empty crypt command to aosp dicttool•••This also makes the AdditionalCommandList useless, so let's remove it Bug: 7388852 Change-Id: I308f54ca6f778afe01c1233801a9cc22ebb3d1e9 Jean Chalard4-24/+33
2012-10-29Fix possible NPE•••Bug: 7398904 Change-Id: I6b7aba7a9bf52ca494cb4390b19525c98790bd49 Tadashi G. Takaoka1-1/+1
2012-10-29Adjust C++ compiler warning flags with the off-device TRT•••Change-Id: I031d191f8de99789fa0c000c01d61baffa2d3627 Ken Wakasa1-1/+1
2012-10-29Accept comments in the combined file format•••Change-Id: I17b745281b8b7b1922e1c2d3717986e9bb11aa0b Jean Chalard1-2/+10
2012-10-29Remove reference of android.util.Log in Constants class•••This is a follow up of Iee01d4d2. Change-Id: I0bcd349d317d9f7d40ef0574e72c640f9f990c5d Tadashi G. Takaoka1-4/+0