aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-11-14Hide statustics logging optionSatoshi Kataoka1-0/+8
Change-Id: I1ee258948a8335af7996f9e3afcc0508adbb1ac0
2012-11-13Make sure all FDs are correctly closed.Jean Chalard1-11/+19
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
2012-11-13Use hexadecimal constants for subtypeIdTadashi G. Takaoka1-55/+55
Change-Id: I5ee7981f1d1d142c4d21d0257879e8e126860fa6
2012-11-13Refactor all phantom-space-inserted spaces in one placeJean Chalard1-5/+10
Bug: 7164981 Change-Id: If1635c212b2d5d9cf51f5fb074f3b20dd7ec7b2a
2012-11-12Don't restrict reset composing state to non-identical setTextJean Chalard1-14/+10
Bug: 7497063 Change-Id: Ifbd5c37408131867458fd921bdef46ef90d81478
2012-11-12Enhance ImfUtils to InputMethodManagerWrapper classTadashi G. Takaoka10-318/+313
Change-Id: I6ff86ee819a446dd3ed5f9c3400d23564027b020
2012-11-12Remove backup agent from AOSP Android KeyboardSatoshi Kataoka1-1/+0
Bug: 4590284 Change-Id: I22f0e42cb898d20dfc2c4506493bf48170ce7b04
2012-11-10Cleanup basechars.cppKen Wakasa3-195/+177
Change-Id: I7b88876f60720182910fab97ef79f3d04fbd81f0
2012-11-09Import translations. DO NOT MERGEBaligh Uddin1-3/+3
Change-Id: Ibf5dc194560d09cc1945c5478197b9170c176492 Auto-generated-cl: translation import
2012-11-09Remove gesture typing settings when disabled by configurationTadashi G. Takaoka1-10/+4
Bug: 7506408 Change-Id: I4de53ace170d5ddc9779f42ac344c4190c80a019
2012-11-09Fix a logic flaw.Jean Chalard1-2/+1
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
2012-11-09Suppress dictionary pack support when IS_EXPERIMENTAL is trueKen Wakasa3-14/+27
Change-Id: If8813cb989c1fa8744a3bf36e8514ced3c8f46a3
2012-11-09Remove gesture typing settings when disabled by configurationTadashi G. Takaoka1-10/+4
Bug: 7506408 Change-Id: I4de53ace170d5ddc9779f42ac344c4190c80a019
2012-11-08Fix a bug in the diff toolJean Chalard1-1/+6
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
2012-11-06Import translations. DO NOT MERGEBaligh Uddin1-2/+2
Change-Id: I97ceec5680a8ba9f27d5f62a7573555590268376 Auto-generated-cl: translation import
2012-11-07Fix a build error in x86 buildsKen Wakasa1-2/+5
Change-Id: I64a7c35d01540eb63f09cacddaab03f95729ed02
2012-11-07Reset the IME if requested by the app.Ken Wakasa3-0/+35
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
2012-11-05Tidy up visibility of members of BinaryFormat.Ken Wakasa1-26/+27
Change-Id: I38a00076b82de8e1a19209c67954fe01585f7943
2012-11-05Adjust compiler warning options with the offdevice MakefileKen Wakasa13-38/+52
Make use of AK_FORCE_INLINE for -Winline and better performance Change-Id: If0016e2ef61c1fe007c83bb1a5133a6b6bde568e
2012-11-03Follow up to Ic6af0c596374d936d2b9b31e626fb62bd265ce64Ken Wakasa5-140/+140
Tidy up inline functions with AK_FORCE_INLINE. Moved back some inline methods to header files. Change-Id: Ibd37b595666ebddda198d9237f19f6712653a8e8
2012-11-02Add more compiler warning flagsKen Wakasa9-153/+177
Change-Id: Ic6af0c596374d936d2b9b31e626fb62bd265ce64
2012-11-02A small code cleanup in geometry_utils.hKen Wakasa2-20/+20
Change-Id: Ie9ff77c661693a1e21d0aa4cfc079bfbf3171f49
2012-11-01Use sizeof() more safely.Ken Wakasa5-18/+18
Change-Id: I7cffb4d8da847b483cf4bb482508e3c88c4903be
2012-11-01Cleanup logging codeTadashi G. Takaoka1-40/+41
Change-Id: Ia604a4fcebfc5179bdbeaa982e052f7d3882ac6e
2012-11-01Make sure PointerTrackerQueue is non-nullTadashi G. Takaoka2-44/+23
Change-Id: I2106cf64bed1472fb39d24e7e5bdee7238a30bfe
2012-11-01Rename SuddenJumpingTouchEventHandler to TouchSCreenRegulatorTadashi G. Takaoka2-15/+15
Change-Id: Ia4fb5b3612ff78ed1b243c80a03294b829470f5c
2012-11-01Add a missing report, and fix a wrong reportJean Chalard1-7/+16
Deleted words would be reported, but added words wouldn't Also, shortcuts would be reported as bigrams Change-Id: I017653f2afa65cf16924017a0be2ee2cbd6ca10d
2012-11-01Add a "no changes" message in the diff commandJean Chalard1-8/+30
Also fix a bug where no locale would be interpreted as a different locale instead of the same. Change-Id: I296feef45e39a9e89509cb315e789676755141ab
2012-11-01Straighten an if-else-if blocks into if-return blocksTadashi G. Takaoka1-28/+28
Change-Id: If3eede1257658f27384e3efc72586fabbed19f7b
2012-11-01Move isInvalidCordinates() method to Constants classTadashi G. Takaoka3-14/+10
Change-Id: Iad1464c299ad6055af1db1ff7978e5cd9a14750f
2012-11-01Cosmetic source code formating changeTadashi G. Takaoka3-34/+51
Change-Id: I3a53b49afab70dfb13f12027070635da6001eb79
2012-11-01Cleaup non-distinct multitouch related stuffTadashi G. Takaoka3-31/+17
Change-Id: I09072267217caad2513f83b61d7db1c6d74e18d1
2012-11-01Fix an NPE in recent codeJean Chalard1-1/+3
Change-Id: I5c76edff5c3c250167d425a737b09b10e25f9f84
2012-11-01Use 32-bit code points for suggestions outputKen Wakasa20-363/+329
This is a multi-project commit with Ic43dd666 bug: 6526418 Change-Id: I39c1acb4e91d04cd8a4ec5a943c8cf575da75ebc
2012-10-31Consolidate two helper methods (refactor step 3)Tadashi G. Takaoka1-25/+13
Change-Id: I8b8522d1e5342fc73346ba2748e75f0c1d5bf03c
2012-10-31Flatten nested if-else blocks into plain if-else blocks (refactor step 2.5)Tadashi G. Takaoka1-36/+32
Change-Id: I42aad04658e14e8fd703e3828676719a333ec8f9
2012-10-31Separate nested if-blocks into helper methods (refactor step 2)Tadashi G. Takaoka1-61/+77
Change-Id: Ic0ed243f8c1fbf62793565ee37175270b47f0801
2012-10-31Move the emoji dictionaries source under AOSP.Jean Chalard2-0/+0
Change-Id: Ie870a90d483d9f27aed96fb4b44126315c43922f
2012-10-31Switch the AOSP word lists to the combined format.Jean Chalard51-17/+38
This will help with managing the word lists. Bug: 7388859 Change-Id: I89f049569b177d3027fe56d6c67eaca27d44dc7d
2012-10-31Separate nested if-blocks into helper methods (refactor step 1)Tadashi G. Takaoka1-112/+127
Change-Id: I87ef8b174295fb12a91fec35acd3b0cc152ad8f0
2012-10-31Use spaces instead of tabs in the combined format.Jean Chalard1-3/+3
Change-Id: Ie8a4cdc44f87839e29bfbffc03d4853b7b5cc5f6
2012-10-31Add a plumbing option to dicttool info.Jean Chalard3-15/+31
Also align the `porcelain' option to the diff command that was used mistakenly. Bug: 7388665 Change-Id: Ic0e1b98c62ce37b2e909384a0370af4458563703
2012-10-31Escape "#" sign in XML fileTadashi G. Takaoka10-15/+15
Change-Id: Icd38abc4a0454ca949613d8c4bb528758cd990d8
2012-10-30Cleanup after dicttoolJean Chalard3-7/+19
Arrange for temporary files to be deleted. Also, add a security on stack overflows. Change-Id: I9da2ebefb06409a71b235243ea835ce10d6a9b81
2012-10-30Implement the package commandJean Chalard1-3/+17
Bug: 7388852 Change-Id: Ib6a50e02894961b4c7d3f57bc0fc70c3b3bfe4e9
2012-10-30Add the unpackage commandJean Chalard4-0/+87
Bug: 7388852 Change-Id: I7e5376f5d646e669884ef78e4e0dee62c99d4d6b
2012-10-30Add an empty crypt command to aosp dicttoolJean Chalard4-24/+33
This also makes the AdditionalCommandList useless, so let's remove it Bug: 7388852 Change-Id: I308f54ca6f778afe01c1233801a9cc22ebb3d1e9
2012-10-29Fix possible NPETadashi G. Takaoka1-1/+1
Bug: 7398904 Change-Id: I6b7aba7a9bf52ca494cb4390b19525c98790bd49
2012-10-29Adjust C++ compiler warning flags with the off-device TRTKen Wakasa1-1/+1
Change-Id: I031d191f8de99789fa0c000c01d61baffa2d3627
2012-10-29Accept comments in the combined file formatJean Chalard1-2/+10
Change-Id: I17b745281b8b7b1922e1c2d3717986e9bb11aa0b