aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2014-08-06Deactivate tests for Myanmar•••They are pretty extensive already and require an implementation that works pretty well. However ours is based on an old architecture and updating them will take time, so for the time being it's best to just deactivate the tests. Change-Id: I649a220d13fc455b4306706bb964602c27a5a28c Jean Chalard1-0/+3
2014-08-06Introduce onEvent() to improve testability•••...and prepare for the future Change-Id: Ieed96ab552993fd148e80b9c3355f1b569bd716f Jean Chalard2-20/+33
2014-08-06[HS3] Fix a bug on ICS•••There is a bug in ICS where the input connection won't take any writing commands after rotation until the cursor moves. This fixes it by wiggling the cursor position once before trying to do anything. Bug: 16810766 Change-Id: Ib14c70bd0550420cecfa86dea501d13a1a91e296 Jean Chalard2-0/+23
2014-08-06Clean up IntArrayViewTest•••Change-Id: I30138f0722571100fe13efc96f8332efde846c2e Keisuke Kuroyanagi1-9/+9
2014-08-05Add ViewCompatUtils.setElevation•••Bug: 16210054 Change-Id: I632158951a60ab527246410caefd9fbe471dd859 Tadashi G. Takaoka1-0/+10
2014-08-05Remove unnecessarily overridden defaultEnterKeyStyle•••The overriding defaultEnterKeyStyle was needed because there were two Key's attributes to control key's visual, keyLabel and keyIcon. Because these were merged into one keySpec attribute, there is no need to override defaultEnterKeyStyle. Bug: 16787857 Change-Id: I78ca2c7c9349e4532c67e8d6468a5b98309adc05 Tadashi G. Takaoka2-8/+1
2014-08-05[HW15] Pass events instead of reading them from the transaction•••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 Jean Chalard2-43/+52
2014-08-06Add dedicated background for custom action label key•••Bug: 15526978 Change-Id: Ia73d825c7e00097018822704e61272d0e448f39a Tadashi G. Takaoka6-67/+52
2014-08-06Fix an NPE when running with Keep.•••Change-Id: Ie703e14bff42d34608f11d0c2d7758950b84c88c Jean Chalard1-4/+4
2014-08-06Use add icon for add custom input style menu•••Bug: 16805043 Change-Id: I9730a6aa5d761924457edaabcee25db930e20f02 Tadashi G. Takaoka6-4/+28
2014-08-06[HS2] Move more stuff to onStartInput•••Bug: 8152758 Change-Id: Ida05df7d151ceb582886e2ad06c5bdf0b59978ee Jean Chalard2-51/+62
2014-08-05[HW16] Implement processing event chains.•••Change-Id: I4e1e4f101050ebda77c629a61c548d3c8efb330f Jean Chalard1-7/+11
2014-08-05Remove ProbabilityDictContent and use LanguageModelDictContent•••Bug: 14425059 Change-Id: I1bb9e78ecb24139b87c99be6722e37eec0a2285d Keisuke Kuroyanagi16-282/+43
2014-08-05Add methods for unigrams to LanguageModelDictContent.•••Bug: 14425059 Change-Id: I0a6b480a3d4735787ffac68c47b4ffefc3f1b8a5 Keisuke Kuroyanagi8-2/+277
2014-08-05[HW13] Split up onCodeInput•••Change-Id: I503c5403dcaea5db632eba85ae3fae9ba9a1f946 Jean Chalard1-110/+164
2014-08-06Make dict log cleanup.•••Delete unneeded output when creating a dictionary Change-Id: If7dc5dc74a53d0054967cb801e5ccfdd53ebe179 Akifumi Yoshimoto1-10/+3
2014-08-06Use IntArrayView to add/remove n-gram entry.•••Bug: 14425059 Change-Id: I734f12dfde5161abdfb019a6391677dba8984ff4 Keisuke Kuroyanagi11-68/+108
2014-08-06Add/Get n-gram probability entry in languageModelDictContent•••Bug: 14425059 Change-Id: I7926c3812f89b9a71fe1873a5bc32f793f91b640Keisuke Kuroyanagi5-10/+44
2014-08-05Make popup hint letter theme-aware•••Bug: 16351091 Change-Id: I6af18ea210c00916157138b9cfbeb073aee6ca1b Tadashi G. Takaoka6-5/+18
2014-08-05[HW14] Cleanup•••Do away with the didAutoCorrect local variables which are unnatural to return out of all these functions. Change-Id: I22024004d2c489de018beff812c2c589bfd8ca32 Jean Chalard3-38/+31
2014-08-04[HS1] Save some data in startInputView•••Bug: 8152758 Change-Id: Ic57d3918b08e775769d4ba5d73ba5c31231e0d6a Jean Chalard1-7/+25
2014-08-04Clean up compatible utility classes•••Change-Id: I95a682052037d292801477db0f05e04926b61412 Tadashi G. Takaoka8-30/+41
2014-08-04[HW12] Use the consumed status of the Event.•••Change-Id: I1619f6132f8f71bc1291fd6a5604a5e1e3431ae2 Jean Chalard5-7/+46
2014-08-01Save language model in the body buffer.•••Bug: 14425059 Change-Id: Iaec277f7bed03d6c6780c6ce90fbe5fe799e175e Keisuke Kuroyanagi6-3/+56
2014-08-01Make MmappedBuffer use byte array view.•••Bug: 16691311 Change-Id: I2122c01ee27c33e11dec52643925c069927bea2b Keisuke Kuroyanagi13-53/+76
2014-08-01Use ReadWriteByteArrayView in BufferWithExtendableBuffer.•••Bug: 16691311 Change-Id: Ibd68354a53cebf284a886d76bd8ce9848a51346f Keisuke Kuroyanagi2-21/+22
2014-08-01Use NgramListener in MultiBigramMap.•••Bug: 14425059 Change-Id: I425536290111f2a8172f31370706f858a1e07f6e Keisuke Kuroyanagi4-56/+55
2014-07-31[HW11] Cleanup•••Change-Id: Ia866d3f9a5981c687766f8c39979fb6091018e44 Jean Chalard1-39/+33
2014-07-31[HW10] Pull the processed event in its eventual place•••Change-Id: I5f7932097627766e907764a99a5e9c170f725bc0 Jean Chalard1-6/+9
2014-07-31[HW9] Pull the processed event further.•••The 'processedEvent' variables will ultimately disappear entirely. Change-Id: I612c5ce7dedc341b64921a86ac028fe91b75359b Jean Chalard1-8/+12
2014-07-31Construct TrieMap from existing buffer.•••Bug: 14425059 Change-Id: Ia1c58d88540f55fb38fe0bdfcd7c0a34ebc7415e Keisuke Kuroyanagi2-0/+6
2014-07-31Fix some unit tests.•••The default value for the script needs to be Latin, as we don't specify it in the files. Change-Id: I1275f13f1cd92f00dc5708748fefb4982f0a60b3 Jean Chalard1-1/+1
2014-07-30[HW8] Pull up the processed event.•••Change-Id: I18021b7ec1588fc52533c48b7d8774bec7764822 Jean Chalard1-5/+5
2014-07-30[SD13] Reorder an enum alphabetically•••Change-Id: I907041b09e5bfce537ed4f592947b2cec8cef4ac Jean Chalard2-79/+79
2014-07-30[SD12] Add the last remaining scripts•••Add scripts for Bengali, Devanagari, Kannada, Malayalam, and Tamil. Also include a very minor fix for Arabic. This concludes work on: Bug: 15840116 Change-Id: Iade313fc70030a67c68d424d8cb0cac245b883d1 Jean Chalard11-2/+45
2014-07-30[SD11] Add script checks for Myanmar, Sinhala, Thai and Telugu•••Bug: 15840116 Change-Id: I1264fdeea0d4739ca0f360f4934d06e5a824d4e5 Jean Chalard6-0/+33
2014-07-30[HW7.5] Introduce the @Nonnull annotation (take 2)•••Change-Id: I05512b5434810046c8b72d6bb41567b6cd8b9d6e Ken Wakasa7-5/+17
2014-07-30Cleanup: C++11 doesn't require a space between angle brackets•••Change-Id: Id0777cf3deac94395bd63aee40b49375dff3e35a Ken Wakasa5-14/+14
2014-07-29Don't build dicttool unless it's explicitly requested.•••It easily breaks the checkbuild. Change-Id: I43b35fade550ff9d64782ea43cb6e3a804424830 Ying Wang1-0/+5
2014-07-29[HW10] Pull the processed event in its eventual place•••Change-Id: I9e13bb3efad557e9199021a344d8dff8215d97fa Jean Chalard1-6/+9
2014-07-29[HW9] Pull the processed event further.•••The 'processedEvent' variables will ultimately disappear entirely. Change-Id: If44c68c1116faa9ca23e4ffeabe320704431ab3c Jean Chalard1-8/+12
2014-07-29Use fragment for keyboard theme settings•••Bug: 11866784 Change-Id: Ic50b6eb1bd8f2b823e2c9dfad04d8615bc910936 Tadashi G. Takaoka11-100/+266
2014-07-29Show "navigate up" icon on settings activity•••Bug: 15813742 Change-Id: I8b1feb5c35377e62199e5a909640d9c50f970654 Tadashi G. Takaoka2-11/+34
2014-07-27Use fragment for input preference screen•••This CL introduces a common abstract class, SunScreenFragment, for PreferenceFragment that implements a PreferenceScreen of the main settings preference screen. Bug: 16522808 Change-Id: I11fba71b5e9f96208b261e0c0314de8a41720d0f Tadashi G. Takaoka7-56/+276
2014-07-27Make "Show correction suggestions" as a binary option•••Formerly "Show correction suggestions" had three options, "always show", "show in portrait mode", and "always hide". The reason behind "show in portrait mode" was that there may not be enough screen estate in landscape mode to show suggestions. Because recent phone devices have relatively large screen, we decide to remove "show in portrait mode" option. Bug: 15780939 Change-Id: I896d737452c3893d43ce20bd88127f10c1eb3d83 Tadashi G. Takaoka9-95/+53
2014-08-01Remove getBigramsIteratorOfPtNode from structure policy.•••Bug: 14425059 Change-Id: I427fbfd026c1e33b5e9cf78949fe862d8748b7ec Keisuke Kuroyanagi8-38/+12
2014-07-31Remove doesAutoCorrectValidWord().•••Possibly offensive words are wrongly demoted when input by gesture. Change-Id: Ibb2eb73d4191dea6cb767643341fe96465c1f70c Keisuke Kuroyanagi3-13/+2
2014-07-31Fix native debug build.•••Change-Id: I95ff6b14d7f444911ec76698381b8d2d8da94776 Keisuke Kuroyanagi1-6/+6
2014-07-30Remove PrevWordsInfo.getBigramsIteratorForPrediction().•••This changes the behavior of predictions for some rare cases. For example, let's consider the case of the prev word is "ABC", "ABC" and "abc" is in the dict, "ABC" doesn't have any bigrams, and "abc" has bigrams. Without this change, "abc"'s bigrams are used for prediction. But, with this change, "abc"'s bigrams are not used for prediction. This strategy is the same as the the current way of bigram probability computation during traversal (for suggestion). Bug: 14425059 Change-Id: I857ff39aa70aea265efa651451a63b759bb47d48 Keisuke Kuroyanagi9-76/+46
2014-07-30Add a method to iterate ngram entries.•••Bug: 14425059 Change-Id: I9962c546504288f6c22b1a7368f775decd229c62 Keisuke Kuroyanagi10-22/+132