aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/event (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename to Kelar Keyboard (org.kelar.inputmethod.latin)Amin Bandali2025-01-118-1057/+0
|
* Update language to comply with Android’s inclusive language guidanceSeigo Nonaka2020-07-221-1/+1
| | | | | | | | See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Test: tapas LatinIME && m Change-Id: I2ffb39ff70f61e579b62761d3da526a545dead1f
* Disable the Burmese keyboard.Dan Zivkovic2015-01-292-304/+1
| | | | | | | | We'll resurrect this effort in the new code base. Bug 16900511. Change-Id: Iae4cd27cb29cb8f991e97cffd88ed59c30d66628
* Fix moving the cursor inside composition in lang w/o spacesJean Chalard2014-12-221-0/+15
| | | | | | | | Also introduce the cursor move event, which we needed to do anyway Bug: 18827118 Change-Id: I30e994764c095b4423b874dc05d1bbedc0de592f
* Move StringUtils under common.Jean Chalard2014-10-281-1/+1
| | | | | Bug: 18108776 Change-Id: Ia46a4102a0e86e71118ca5e641f9f531998e166b
* Fix unit test breakageTadashi G. Takaoka2014-10-241-7/+7
| | | | Change-Id: I538288054a58eb2c81ce3cbe5c9bef900fb653a5
* Merge "Move Constants.java to the latin.common package"Ken Wakasa2014-10-245-5/+5
|\
| * Move Constants.java to the latin.common packageKen Wakasa2014-10-235-5/+5
| | | | | | | | | | | | | | Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
* | Fix unit tests (InputLogicTestsDeadKeys).Keisuke Kuroyanagi2014-10-231-1/+4
|/ | | | Change-Id: I9a3191548aa0a4e674d736bc10845b952fc9a1e8
* Fix Javadoc and null analysis related warningsTadashi G. Takaoka2014-10-233-6/+5
| | | | | | | This CL also adds @SuppressWarning("unused" to java-overridable package. Bug: 18003991 Change-Id: If70527e30654384705d7a814f5efd181d9f539e1
* Fix some compiler warningsTadashi G. Takaoka2014-10-214-97/+107
| | | | | | | | | | | | | | | | | | | | | This CL fixes the following compiler warnings. - Indirect access to static member - Access to a non-accessible member of an enclosing type - Parameter assignment - Method can be static - Local variable declaration hides another field or variable - Value of local variable is not used - Unused import - Unused private member - Unnecessary 'else' statement - Unnecessary declaration of throw exception - Redundant type arguments - Missing '@Override' annotation - Unused '@SuppressWarning' annotations Bug: 18003991 Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
* Straighten the dead char implementation, take 3.Jean Chalard2014-08-282-22/+245
| | | | Change-Id: I4f70f6eebe076c7d2b780d25e3a2c1d3faa2edfa
* Revert "Straighten the dead char implementation."Ken Wakasa2014-08-271-243/+22
| | | | | | | | This reverts commit 5ef447aeea97c755008785b36468715922b7ccc1. Reverting because this broke a bunch of unit tests -- https://sponge.corp.google.com/target?id=b6439742-099e-46cb-8f00-d0c602a4d9bb&target=com.google.android.inputmethod.latin.tests&searchFor=&show=FAILED&sortBy=STATUS Change-Id: Ibbd9e11372993f62e630fd9da37158ffcf47c17a
* Straighten the dead char implementation.Jean Chalard2014-08-271-22/+243
| | | | | | | | This now supports all cases, including cases not supported by the framework. Now rebased on top of the right change, and renamed Change-Id: I7886f0dcbb86cdb4dccec09aa7c52ad339680e04
* Revert "[HW17] Straighten the dead char implementation."Jean Chalard2014-08-221-243/+22
| | | | | | This reverts commit c6612ff05185503bedc56dc610aa300d01be2e82. Change-Id: I750d9bff9cb89a6ab13af7a33567c3a0fe2af381
* [HW17] Straighten the dead char implementation.Jean Chalard2014-08-221-22/+243
| | | | | | | This now supports all cases, including cases not supported by the framework. Change-Id: I9dfbe2829c28c5bcb64b0b5a2551e7806990c00f
* Add the input style to SuggestedWords.Jean Chalard2014-08-142-1/+3
| | | | Change-Id: I81f37d08659d449822b027d3d5912e11eec8b8ff
* [HW15] Pass events instead of reading them from the transactionJean Chalard2014-08-051-1/+1
| | | | | | | | It's probably cleaner to just pass the events rather than read them from a transaction, especially when a transaction may be associated with several events in a chain. Change-Id: I27830f0f3f3f32fe77ea8b9cad505b7ebee648af
* [HW14] CleanupJean Chalard2014-08-051-0/+16
| | | | | | | Do away with the didAutoCorrect local variables which are unnatural to return out of all these functions. Change-Id: I22024004d2c489de018beff812c2c589bfd8ca32
* [HW12] Use the consumed status of the Event.Jean Chalard2014-08-043-5/+25
| | | | Change-Id: I1619f6132f8f71bc1291fd6a5604a5e1e3431ae2
* [HW7.5] Introduce the @Nonnull annotation (take 2)Ken Wakasa2014-07-304-4/+12
| | | | Change-Id: I05512b5434810046c8b72d6bb41567b6cd8b9d6e
* [HW7] Introduce consumed eventsJean Chalard2014-07-304-12/+28
| | | | Change-Id: I692c35b8e701d5a84500b949884472545b1f424d
* [HW6] Split processing and applying the event.Jean Chalard2014-07-301-2/+10
| | | | | | ...take 2 Change-Id: I9d13b6d51e13ce2e76ae3febebfb8c310eba509d
* Revert "[HW6] Split processing and applying the event."Ken Wakasa2014-07-301-10/+2
| | | | | | | | This reverts commit 1db3d860ca0d7380c5a6a3a0f95751565f23043b. Reverting due to a few critical bugs and unit test failures. Change-Id: I5e2d02300320438ef9c29577ec5b0860ea91d822
* [HW6] Split processing and applying the event.Jean Chalard2014-07-291-2/+10
| | | | | | If anyone has better names for those... Change-Id: Ia2dfc75381816bd688948647e2c50c10657b9e89
* [SD4] Restart suggestions on language changeJean Chalard2014-06-301-0/+16
| | | | | | | | | | | | | | ...otherwise we can't recompute the composition when we change scripts. This also fixes when we register that we need to take note that the current subtype was used. Luckily this is a good occasion for some cleanup that I've wanted to do for some time: use InputTransaction for onTextInput (with the goal to ultimately remove it entirely) Bug: 15840116 Change-Id: Ie4f4f9157b66b79237eeb3db75535803124d3e19
* [HW1] Fix some bugs with event handlingJean Chalard2014-06-262-1/+8
| | | | | | | | | With hardware events, we do have some events that have both a keycode and a code point, so we need a better way of distinguishing between auto-insert keystrokes and others. Change-Id: Ia23042989b4dca9d3a7d4a4c06bcebdabe324a7a
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-242-9/+8
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Fix a bug where changing languages kills the composition.Jean Chalard2014-05-141-3/+5
| | | | | Bug: 14926896 Change-Id: Id2a06c68a51f833db4d8bbc858a232c2696afb6e
* Implement backspace in the current cluster for MyanmarJean Chalard2014-05-141-3/+27
| | | | | Bug: 13945569 Change-Id: I738b01ede25fd731a2e10c4775f5511ce9bb54c8
* Add initial reordering rules for MyanmarJean Chalard2014-05-121-3/+200
| | | | | Bug: 13945569 Change-Id: Ib546ba110e87bf72afa7f42c878cc5f638bff6c7
* Create the path for specifying combining rules in the subtypeJean Chalard2014-05-122-0/+74
| | | | | | | | Also add the skeleton of the combining rules for Myanmar reordering as a pilot. Bug: 13945569 Change-Id: Iabeb6838f45f1efff482143595ce5b48543e0c43
* Fix updating the shift state upon backspaceJean Chalard2014-04-143-10/+22
| | | | | Bug: 13514349 Change-Id: If4c9db12b0ab5be676f7a2f72715f469066ee537
* [IL131] Cleanup some cruftJean Chalard2014-04-031-32/+46
| | | | | Bug: 8636060 Change-Id: I169618b50532df68e973e14b3f114c6c19714c84
* [IL128] Remove passing some handlers.Jean Chalard2014-03-271-0/+25
| | | | | Bug: 8636060 Change-Id: I088be9a7555265ca097667523defd73be4cbe37f
* [CB14] Implement backspace in the combiner chainJean Chalard2014-03-252-2/+16
| | | | | | Bug: 13622107 Bug: 13406701 Change-Id: I0023b398c4451253f9f717e2bd990b8a054004bc
* [CB12] Reset the combining state when resetting the composerJean Chalard2014-03-243-0/+18
| | | | | Bug: 13406701 Change-Id: I490574b7ca4b953f67dd2c0ef97401297fade0a4
* [CB11] Get the result of the combinationJean Chalard2014-03-204-4/+57
| | | | Change-Id: I165ec4a24f5b1334d55c14948e4d942ec40eb33b
* [CB10] Add an event for string inputJean Chalard2014-03-201-14/+31
| | | | Change-Id: Ie5da6c73d4df4553067c58cd0dce9abb34534250
* [CB09] Pass events through the combiner chainJean Chalard2014-03-203-4/+30
| | | | | Bug: 13406701 Change-Id: I4696f145478afdd132314b7d3c148c3a9ca11c9c
* [CB08] Create a combiner chain in the word composer.Jean Chalard2014-03-203-84/+54
| | | | | Bug: 13406701 Change-Id: I3b9f75de9283f76366d1bef7e14a8f22f2186669
* [IL125] Remove arg to onPickSuggestionManuallyJean Chalard2014-03-191-8/+42
| | | | | | Bug: 8636060 Change-Id: I55332c22897e97148621cbd367acf5175b5b3d04
* [CB06] Fix a design error.Jean Chalard2014-03-174-134/+7
| | | | | | | | | | | | The event interpreter should intervene later, after decoding. Decoding should happen first, and then the Event should be passed to the InputLogic. For the time being, we will leave the (unused) EventInterpreter class and its friends, because we'll use them again later. Bug: 13406701 Change-Id: I7582d486724311e39e6692e606cca50c78800643
* [CB04] Add an event array to WordComposer.Jean Chalard2014-03-141-0/+28
| | | | | Bug: 13406701 Change-Id: I9ecd2709c8f1c678a85b0cfaf7c5ed4f78459821
* [CB03] Pass whole events to the various input logic handlers.Jean Chalard2014-03-132-11/+10
| | | | | Bug: 13406701 Change-Id: I0a0e4e0b3357f116e1b915c548dee4575e300c92
* [CB02] Pass an Event to onCodeInput.Jean Chalard2014-03-133-12/+34
| | | | | Bug: 13406701 Change-Id: Id82e9aab6544ca308e6ac6dee2cfa018b9ce2d8f
* [CB01] Reset some old assumptions about dead keysJean Chalard2014-03-133-38/+66
| | | | | | | | | The combining framework will be more generic than previously thought. We don't need to handle dead keys as a special type of event, as all events can be combined arbitrarily. Bug: 13406701 Change-Id: I8137fdb186c4d70eaa71808c5a1430b1559db1ae
* [IL123] Put the settings values inside the transactionJean Chalard2014-03-061-2/+7
| | | | | | | | | A transaction should always operate with a consistent set of settings. It's better to have it reference them than to always pass them along. Bug: 8636060 Change-Id: I3c642dfea6be30712fc6cbb279c64f3185895791
* [IL122] Put the code, x and y in the transactionJean Chalard2014-03-061-1/+14
| | | | | Bug: 8636060 Change-Id: Icdf87995dedec410b54c306e8d312ba7ec25cea6
* [IL121] Introduce InputTransactionJean Chalard2014-03-051-0/+48
| | | | | | | We probably can't put this off any longer Bug: 8636060 Change-Id: I1e5d3cf62d719f4d064ced3282bebf2e822f6baa