aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-27[IL92] Straighten out showSuggestionStripWithTypedWordJean Chalard1-7/+2
Bug: 8636060 Change-Id: I066ff29c76349f0ab61441ea5f7bc9085d24bdbc
2014-01-27[IL91] Call reorderJean Chalard1-9/+8
Bug: 8636060 Change-Id: I3d0ce6dcb3b51cabc424d00a397d243c32360e92
2014-01-27[IL90] Small refactoringJean Chalard1-3/+5
Bug: 8636060 Change-Id: I37844ab1c5c61ea940897e7d72bb79c7b329f743
2014-01-27[IL89] Inline a functionJean Chalard1-7/+3
We will then refactor the contents of showSuggestionStripWithTypedWord Bug: 8636060 Change-Id: I8a2a0d50b79fcc7ad21b01a0060b9fa7e4c1bdd6
2014-01-27[IL88] Simple refactoringJean Chalard2-2/+2
With this, the value passed to suggestedWords is never null. Bug: 8636060 Change-Id: I433dd7e7290125e217e05cc20bee7a4b58fe083f
2014-01-27[IL87] Remove a call to clearSuggestionStripJean Chalard1-6/+2
The goal is to remove the function completely. Bug: 8636060 Change-Id: I50b8f0368c8f6506209398ff931881e2235c3d2d
2014-01-27[IL86] Simplification and correctness fix.Jean Chalard1-5/+1
This should be what was intended. Bug: 8636060 Change-Id: I20a1cc4f0b1fb9444fb6f9a20ef727e3d1a3a880
2014-01-27[IL85] Maybe show punctuations when app completions are nullJean Chalard1-1/+1
When the app goes to the trouble of supplying completions, but supplies null, then we should show punctuations if settings allow. Bug: 8636060 Change-Id: I33c32566039c80df61fcca3fab346fd336d96a12
2014-01-27[IL84] Remove a useless call and rename a methodJean Chalard2-5/+6
Bug: 8636060 Change-Id: I5cac787953a3c71b6402520c2f5c70619d4a40a8
2014-01-27[IL83] Inline a callJean Chalard1-1/+2
The coming string of changes is very complicated, so I'm going to do things really slowly. Bug: 8636060 Change-Id: Id8a07a154ac514e9b3307ead22d47c3ae6fa732b
2014-01-27[IL82] Fix a wrong commentJean Chalard1-1/+1
Change-Id: I6e16b4e05010a08f4d1da34145f819c32b3bc79e
2014-01-27[IL81] Remove a useless test.Jean Chalard1-12/+3
It seems the comments were right all along. This seems to really be useless. Bug: 8636060 Change-Id: Ie030e9cb73007334380d023abeaa4ce52a863a34
2014-01-27[IL80] Reverse a test for clarity.Jean Chalard1-50/+49
Bug: 8636060 Change-Id: I5092942ab4fd6aaf37023083040cadbc18583fd1
2014-01-27[IL79] Some refactoringJean Chalard2-20/+18
Bug: 8636060 Change-Id: I931c553f68a1f15d22711a661dbffd4e5d421979
2014-01-27[IL78] Move most of onUpdateSelection to InputLogic.Jean Chalard2-59/+83
Bug: 8636060 Change-Id: I7290250637e37bf6964bab71d2141e19f20a5459
2014-01-27Refactor SuggestionsStripLayoutHelper classTadashi G. Takaoka3-65/+77
Bug: 9126496 Change-Id: I8bede13c8745fbcad68099d882681ca4f2326d14
2014-01-27Fix SubtypeLocaleUtilsTestsTadashi G. Takaoka1-18/+27
Change-Id: Ifbdfd320b1416d210592ec14099e4dd9d9d0047d
2014-01-27[IL77] Remove refs to Settings from InputLogicJean Chalard2-11/+6
Bug: 8636060 Change-Id: I4ce5c9b62181ce8593a453ce222ae7d1fdc08f07
2014-01-27[IL75] Move the SubtypeSwitcher out of InputLogic.Jean Chalard2-7/+9
Bug: 8636060 Change-Id: I2a5da27e73cf378e55bd80ab2054c1ba8b13f6ec
2014-01-27Try to figure out whether d.quotes open or close.Jean Chalard4-6/+103
Bug: 8911672 Change-Id: I5d5635949530a67f95e5208986907251b7bce903
2014-01-27Revert "Use ViewCompat support library"Tadashi G. Takaoka4-9/+80
This reverts commit e7ee4fa862e9d7986c292c2e3a0d6b392100540a. Change-Id: I56fab60ac859289d3ed51f691cd7e2a15da01856
2014-01-27[IL74] Remove unused/unwanted arguments to a method.Jean Chalard2-7/+3
Bug: 8636060 Change-Id: I3c5213cc57b5b5febd25f14d40c197d2da43dfb8
2014-01-27Fix inconsistent behavior with backspace in the Emoji pallete.Yohei Yukawa1-55/+93
In some ways, the delete key on the Emoji palette was inconsistent with that in other keyboard layouts. - It deletes a character in down events, not up events. - A user cannot cancel the event by moving the finger away from the key. This patch fixes these inconsistencies by revisin EmojiPalettesView.DeleteKeyOnTouchListener. Notable changes are: - An explicit state machine is introduced because there are different event sequences to be considered. - Background thread is replaced with CountDownTimer so tha key-repeat events can be naturally generated in the UI thread. - MotionEvent.ACTION_MOVE is now handled to cancel the subsequent delete key events when the finger is moved away from the key area. Bug: 12464067 Change-Id: Ibc360a1394afef368a8d9af7b4c0e99e8ce1d83c
2014-01-27Use ViewCompat support libraryTadashi G. Takaoka4-77/+9
Change-Id: I4ba261752750f5087cba810045669512b430b5e0
2014-01-27Follow up to Ic7d2cbb2c1b2deaa4e735484bdc7413c0b3b1939Ken Wakasa1-26/+23
some cleanups as well Change-Id: I92252eb7b13cb70283a79f50429ed77405ea9575
2014-01-24Add length check for dict update operations.Keisuke Kuroyanagi2-0/+64
Bug: 12602903 Change-Id: I6835dee8bf8b356f0f1cf6c0531bee5b3415a13f
2014-01-24Check length of words for personalization dict.Keisuke Kuroyanagi1-1/+5
Bug: 12602903 Change-Id: I1ea4e558b6d2fde425ce28226647ad60095e3488
2014-01-24Fix wrong indents.Ken Wakasa2-14/+9
Removed an unused method too. Change-Id: Id364009fd4e94ec65862fc3651a181e862909a42
2014-01-24Fix buildJean Chalard1-4/+6
Missing change after a thousandth comment fix Change-Id: Iec48f892978507fb9823236cd1c5a70209b58b0e
2014-01-24[IL69.1] Move a static method to a utility class.Jean Chalard5-25/+47
This is a followup to IL69. Change-Id: Iba154517aa7f75b9f16aa1b808c0da8d84be837f
2014-01-23Import translations. DO NOT MERGEBaligh Uddin40-146/+96
Change-Id: Ib5a8be5d9ac508d57648e4e8811805eea4355fc3 Auto-generated-cl: translation import
2014-01-23Import translations. DO NOT MERGEBaligh Uddin2-16/+17
Change-Id: I6c8aa53b9be4c3aa5822a820cc8cfdc3cf31c390 Auto-generated-cl: translation import
2014-01-23[IL71.1] Add some javadoc.Jean Chalard1-0/+7
Change-Id: I382abd3104d535a1e868935d8cfb4e34ad8ebaed
2014-01-23[IL76] Remove a SuggestionStripView dependencyJean Chalard5-16/+13
This constant is better located in SuggestedWords. Or it could be in Constants, that would be fine too. Bug: 8636060 Change-Id: I3e721bb1e2559f028dce8929eceadfe0478c5924
2014-01-23[IL66.1] Add a commentJean Chalard1-1/+1
Followup to IL66 Change-Id: I067e72c36f483cc3e3b24736c01843531298b507
2014-01-23[IL73] Remove all refs to Key and Keyboard in WordComposerJean Chalard1-21/+0
Please hold my gun while I have this nice cup of tea. Yes !! Bug: 8636060 Change-Id: I33c8ffe51bb2106b17f7941235ad1e427e3a81f7
2014-01-23[IL70] Remove unused argumentsJean Chalard5-27/+20
Bug: 8636060 Change-Id: Iec56bce362ebfc52fedab02b127978abb4f3c7f9
2014-01-23[IL69] Oust Keyboard from WordComposer#setComposingWordJean Chalard7-35/+120
Bug: 8636060 Change-Id: I624a45500603dfad355ee3b8b794b2d895219c0b
2014-01-23[IL68] Start refactoring setComposingWordJean Chalard3-13/+5
Bug: 8636060 Change-Id: I242b7c264abf380bcd6b6b3c848238921f988e54
2014-01-23[IL71] Add indices to toCodePointArray.Jean Chalard1-2/+8
This is necessary for tests Bug: 8636060 Change-Id: I50ea401a22e4df72333eda61ca39aa180966ee4b
2014-01-23[IL67] Externalize a call to the keyboard switcherJean Chalard3-11/+22
Bug: 8636060 Change-Id: Ib13a54854e30afb79217a0a1f2aeca50a95ba155
2014-01-23[IL66] Remove two accesses to KeyboardSwitcher.Jean Chalard2-10/+16
Bug: 8636060 Change-Id: I3b144993e2bcd552f9b292b8f057c9db4216125c
2014-01-22[IL65] Pull up X,Y processing, step 4Jean Chalard3-11/+13
This works because getKey{X,Y} is a no-op on Constants.NOT_A_COORDINATE. Bug: 8636060 Change-Id: I2f7dd96b6011f094110f7978f8ff24ef2a6e2585
2014-01-22[IL64] Pull up X,Y processing, step 3Jean Chalard3-23/+23
Bug: 8636060 Change-Id: Ic051e5d5514d270101b0571a2d30e2caa8f85bc1
2014-01-22[IL63] Pull up X,Y processing, step 2Jean Chalard1-20/+20
This also fixes the coordinates passed to logOnDelete and log onSeparator. Bug: 8636060 Change-Id: I4703d61ad7de76b501adca18df3a69e06450c9a1
2014-01-22[IL62] Pull up X,Y processing, step 1Jean Chalard1-8/+9
This is fine because getKey{X,Y} is idempotent for any non-keyboard coordinate value. However this makes a net change : the x,y values passed to LatinImeLoggerUtils.onNonSeparator are now different. The point is however that they used to be wrong. The logged values used not to account for the keyboard padding that is present on tablets, and in the simulating tools we don't know about that padding so we couldn't use the coordinates. The catch here is that other calls like LoggerUtils.onSeparator should follow suit, but this is too big a change to do it at once. Follow-up changes will fix them too. Bug: 8636060 Change-Id: If4b3d3cb1ed4b44c35f23e66aba3b5797236bba7
2014-01-20Use memmove for all place src and dest can be same.Keisuke Kuroyanagi4-9/+9
Change-Id: I03e5c8f95cb22c7096ff545f1181f914b80a6c58
2014-01-20Use sorted int[] to represent word separatorsTadashi G. Takaoka10-93/+117
Change-Id: I4103541d99fe59bfcf12379a1298a0a690497846
2014-01-20Fix newline string resourceTadashi G. Takaoka4-4/+4
The newline string resource "\n" doesn't work off-device simulation. Bug: 12623502 Change-Id: I3ad63d8afe50be174493d43f00f7191062c87cb7
2014-01-20Add SpacingAndPunctuationsTestsTadashi G. Takaoka3-15/+424
Change-Id: I78d488ad84a11af809ee1f8d3d2fa01a89fbfa28