Commit Graph

13088 Commits (af096dff14478763dd3aca5488ceee7ca793ff52)

Author SHA1 Message Date
Dan Zivkovic 5254c01d4c Fix master build.
For some reason, we can't import android.os package in our Constants.

Change-Id: I357ed72d13c5039a83c6e2489cdf5ef74d0ffea8
2015-02-11 13:32:13 -08:00
Dan Zivkovic fe674a441f am 12d80ebe: Remove shortcut support from LatinIME.
* commit '12d80ebead6a1d7f704a5a3af3b6fe3313ceab05':
  Remove shortcut support from LatinIME.
2015-02-11 21:11:52 +00:00
Dan Zivkovic 12d80ebead Remove shortcut support from LatinIME.
Note this change does not affect the native decoder interface.

Change-Id: I73b7dc008a5acaf75a31a36a2d332b5afabd82d0
2015-02-11 13:02:41 -08:00
Mario Tanev 1c7d6283fc am 2979fad2: Merge "Add new class spellcheck.UserDictionaryLookup that can look up the system "Personal dictionary" in the event that the DictionaryFacilitator doesn\'t."
* commit '2979fad21384bb595ba2baca8f5bbbfc053be921':
  Add new class spellcheck.UserDictionaryLookup that can look up the system "Personal dictionary" in the event that the DictionaryFacilitator doesn't.
2015-02-10 23:32:09 +00:00
Mario Tanev 2979fad213 Merge "Add new class spellcheck.UserDictionaryLookup that can look up the system "Personal dictionary" in the event that the DictionaryFacilitator doesn't." 2015-02-10 23:25:50 +00:00
Jatin Matani 5bfe1c5697 am a7805e98: Add a addOrIncrement term api to DicFacilitator
* commit 'a7805e9870430eac3049129d47bebb312d457477':
  Add a addOrIncrement term api to DicFacilitator
2015-02-10 21:41:29 +00:00
Jatin Matani a7805e9870 Add a addOrIncrement term api to DicFacilitator
The API is used by the decoder to add term to the
dictionary.

Change-Id: I607c8c676b7650f3052b2d3ed3f7f656573fca45
2015-02-10 11:45:54 -08:00
Mario Tanev 8aa310aa5a Add new class spellcheck.UserDictionaryLookup that can look up the
system "Personal dictionary" in the event that the DictionaryFacilitator
doesn't.

Change-Id: Ib4f15ec4d8f06ea43c2e063f5a13a2f699afbb8a
2015-02-10 10:56:35 -08:00
Dan Zivkovic e18ab4a7c7 am 644a709a: Remove distracter filter from client.
* commit '644a709a5fec65c3ac1c96f18af397458fac7658':
  Remove distracter filter from client.
2015-02-09 21:03:55 +00:00
Dan Zivkovic 644a709a5f Remove distracter filter from client.
Bug 19296201.

Change-Id: Ic834e5956347cd86a96bd14024c42ad8ee258659
2015-02-09 11:52:12 -08:00
Mohammadinamul Sheik 2c36c9944e am aadfef6f: Merge "Move decoder specific constants to DecoderSpecificConstants.java"
* commit 'aadfef6ffaf4fd4249a92252e401cbd98cf79d54':
  Move decoder specific constants to DecoderSpecificConstants.java
2015-02-06 22:52:26 +00:00
Mohammadinamul Sheik aadfef6ffa Merge "Move decoder specific constants to DecoderSpecificConstants.java" 2015-02-06 22:46:08 +00:00
Dan Zivkovic 3237983b37 am d6a8adcb: Cleanup in preparation of distracter change.
* commit 'd6a8adcb044dd8b73a1c96776a835b411a978b46':
  Cleanup in preparation of distracter change.
2015-02-06 22:29:27 +00:00
Dan Zivkovic d6a8adcb04 Cleanup in preparation of distracter change.
Bug 19296201.

Change-Id: If016da2b7f4b3ecb9afd6d7aed9d19fbd4938758
2015-02-06 14:25:37 -08:00
Mohammadinamul Sheik 0f7d881dc7 Move decoder specific constants to DecoderSpecificConstants.java
Change-Id: Ie4d325b3152e1e7e424b8b436e222e194e4d9da0
2015-02-05 13:27:36 -08:00
Chieu Nguyen 02ffa6c3c0 am 608ef472: Merge "Add accessor methods for typed word info to SuggestedWords and for word and source dictionary to SuggestedWordInfo."
* commit '608ef4729c26dca2be48eb72f372a278a03ff26d':
  Add accessor methods for typed word info to SuggestedWords and for word and source dictionary to SuggestedWordInfo.
2015-02-05 03:22:03 +00:00
Chieu Nguyen 608ef4729c Merge "Add accessor methods for typed word info to SuggestedWords and for word and source dictionary to SuggestedWordInfo." 2015-02-05 03:16:45 +00:00
Dan Zivkovic 0e86b8dae7 am 23d19626: Use shared constants in old+new facilitators.
* commit '23d19626f3edd142eab2c58e41e40fdfc27b8b2b':
  Use shared constants in old+new facilitators.
2015-02-05 03:12:59 +00:00
Dan Zivkovic 23d19626f3 Use shared constants in old+new facilitators.
Change-Id: I18b701df6ecbcc20ff0c664c218289179c4b2b2d
2015-02-04 18:55:39 -08:00
Chieu Nguyen 4e94109031 Add accessor methods for typed word info to SuggestedWords and for word
and source dictionary to SuggestedWordInfo.

Change-Id: Ic3bdf67a9edd5352f3b911f5cb72a25986e31e2c
2015-02-04 18:35:20 -08:00
Dan Zivkovic a02f82c48d am 6e0467c2: Fix accidentally inverted if check.
* commit '6e0467c20e51bc64f494141cecdfc0fe560d749b':
  Fix accidentally inverted if check.
2015-02-05 02:31:07 +00:00
Dan Zivkovic 68946c796d am c0eb5712: Don\'t check user dictionary, except for spelling.
* commit 'c0eb57124fd295ceb85c3350de3189c40594ee96':
  Don't check user dictionary, except for spelling.
2015-02-05 02:31:05 +00:00
Dan Zivkovic 6e0467c20e Fix accidentally inverted if check.
Change-Id: I9c28f4154f69c63564a2bda357c16cef4e68dc0d
2015-02-04 18:23:38 -08:00
Dan Zivkovic c0eb57124f Don't check user dictionary, except for spelling.
We check different lists of dictionaries based on the use case.

Bug 19270992.

Change-Id: Ide69f2855978ebad32a58e9689b3a8d47e095994
2015-02-04 18:23:38 -08:00
Dan Zivkovic 74198f967a am c4977b5f: Merge "Removing code from RichInputConnection."
* commit 'c4977b5f8990ce73a7c9c26daa5b7cfb201fe024':
  Removing code from RichInputConnection.
2015-02-05 02:10:59 +00:00
Dan Zivkovic 7bb8e5083a am 7b2646dd: Merge "Selections spans should not split surrogate pair."
* commit '7b2646dd58769f7c4a078febfb79810b953bf2ad':
  Selections spans should not split surrogate pair.
2015-02-05 02:10:58 +00:00
Mohammadinamul Sheik 124039cfe1 am bae68484: Merge "AOSP changes to use KeyboardLayout to support the new DictionaryFacilitator"
* commit 'bae6848434c0618887bd3fd441dd5ce16a2375fd':
  AOSP changes to use KeyboardLayout to support the new DictionaryFacilitator
2015-02-05 02:10:56 +00:00
Dan Zivkovic baf0bd90a3 am c71e4d65: Remnant of green [+] feature.
* commit 'c71e4d65343bf782d80ce508786befa6ee3261cf':
  Remnant of green [+] feature.
2015-02-05 02:10:54 +00:00
Dan Zivkovic c4977b5f89 Merge "Removing code from RichInputConnection." 2015-02-05 01:14:46 +00:00
Dan Zivkovic a6d2cf5ec7 Removing code from RichInputConnection.
Followup CL that removes some more unused methods and variables.

Change-Id: I4163c7cd017f59d1fd445adb6294fc89dcaafe6e
2015-02-04 16:47:56 -08:00
Dan Zivkovic 7b2646dd58 Merge "Selections spans should not split surrogate pair." 2015-02-05 00:47:29 +00:00
Mohammadinamul Sheik bae6848434 Merge "AOSP changes to use KeyboardLayout to support the new DictionaryFacilitator" 2015-02-05 00:44:10 +00:00
Dan Zivkovic f3c319fb8a Selections spans should not split surrogate pair.
When committing a span after a revert, the offset logic was such that it
split a surrogate unicode pair used to express an emoji.
Checking the last character of the span lets us avoid this problem.

Fix for bug 19255233.

Change-Id: I07d18d9002b5075f7925319dd05962011656c311
2015-02-04 16:35:18 -08:00
Mohammadinamul Sheik b00c054125 AOSP changes to use KeyboardLayout to support the new DictionaryFacilitator
Change-Id: Ie0c9ce805d9ad009fc9bbaac37b715aff90cd844
2015-02-04 12:50:31 -08:00
Dan Zivkovic c71e4d6534 Remnant of green [+] feature.
Change-Id: I059b1062e1d73b2fa439d9d4ee04ff0182795335
2015-02-04 11:57:16 -08:00
Dan Zivkovic e105a6fde0 am 0d3f01f3: Remove last vestiges of contextual+personal dictionary.
* commit '0d3f01f3014e7a519b08c9337bc4b73670f741ef':
  Remove last vestiges of contextual+personal dictionary.
2015-02-04 19:44:55 +00:00
Dan Zivkovic 0d3f01f301 Remove last vestiges of contextual+personal dictionary.
Change-Id: I20746381583ee8a4d7d42b1243f5c7ba45529e5e
2015-02-04 11:38:19 -08:00
Dan Zivkovic 0a404b5176 am daa3ad86: Merge "Fix delete handling in Emoji keyboard."
* commit 'daa3ad860532e4285551005943d0e4263a1f3d2b':
  Fix delete handling in Emoji keyboard.
2015-02-04 18:20:49 +00:00
Dan Zivkovic daa3ad8605 Merge "Fix delete handling in Emoji keyboard." 2015-02-04 18:15:28 +00:00
Geoff Mendal 449711dd19 Import translations. DO NOT MERGE
Change-Id: I3e9a864efab46895ffc21f73f5d78b7937d701fc
Auto-generated-cl: translation import
2015-02-04 06:56:18 -08:00
Geoff Mendal ab272c4b0e Import translations. DO NOT MERGE
Change-Id: Id30c21f9e5818cd2a5dbfc95c634ec8904db5932
Auto-generated-cl: translation import
2015-02-04 06:55:36 -08:00
Dan Zivkovic 00ae43316e Fix delete handling in Emoji keyboard.
Bug 19113652.

Change-Id: I4255c248a25bb92f5c12da6a185d17cc13a9a69d
2015-02-03 18:27:17 -08:00
Dan Zivkovic 311ebf3397 am 23574d12: LatinIME portion of "green plus" feature.
* commit '23574d1231296e090e6efb41a50c7885a116ddb4':
  LatinIME portion of "green plus" feature.
2015-02-04 00:15:27 +00:00
Dan Zivkovic 23574d1231 LatinIME portion of "green plus" feature.
Removes the feature that adds strings to the user dictionary,
aka the "green highlight with a plus sign".

Bug 19237189.

Change-Id: I2387129a3add2d69d625f2ff16ed8cab3f10a735
2015-02-03 15:12:01 -08:00
Jatin Matani 8303c7b90f am 48cc0d64: Merge "Nuke Amanatto"
* commit '48cc0d642081df20c66aab0a453942e54f390a0b':
  Nuke Amanatto
2015-02-03 19:25:03 +00:00
Jatin Matani 48cc0d6420 Merge "Nuke Amanatto" 2015-02-03 19:20:40 +00:00
Jatin Matani 15acbdc905 Nuke Amanatto
Change-Id: Ieff2cd37f869dca69abf53ac32a576c2e45cc1e3
2015-02-02 17:10:38 -08:00
Dan Zivkovic 1d19da8856 am 53e81fdc: Remove custom code for Emoji keyboard Delete key.
* commit '53e81fdc553751b7df139f5b21caec2e9be75e2d':
  Remove custom code for Emoji keyboard Delete key.
2015-02-02 23:30:44 +00:00
Dan Zivkovic 53e81fdc55 Remove custom code for Emoji keyboard Delete key.
The code tries to implement a completely separate touch handler for the Delete
key, so it can do fancy things like suppress haptic feedback during long press.
This is not really necessary.

Change-Id: I0eae758b617e94605035c40e0df15d972ae733c1
2015-02-02 15:24:17 -08:00
Geoff Mendal cbbe8d0cdc Import translations. DO NOT MERGE
Change-Id: I2785f4af2bee0b126e71b1fa22925e478611857f
Auto-generated-cl: translation import
2015-02-02 06:36:21 -08:00
Geoff Mendal b56554dfb9 Import translations. DO NOT MERGE
Change-Id: I08819308fb1507f051be558d2774a9570a81db62
Auto-generated-cl: translation import
2015-02-02 06:35:39 -08:00
Mohammadinamul Sheik 8fe9e3c523 am a0efc133: Merge "Create a new KeyboardLayout class to represent the layout."
* commit 'a0efc133bd6c8e623fef0a8b3b709aa775dba054':
  Create a new KeyboardLayout class to represent the layout.
2015-01-31 01:59:06 +00:00
Mohammadinamul Sheik a0efc133bd Merge "Create a new KeyboardLayout class to represent the layout." 2015-01-31 01:46:12 +00:00
Mohammadinamul Sheik d543984d2e Create a new KeyboardLayout class to represent the layout.
Change-Id: Ia08c8194f460271c831702675cfb687ab9f6678b
2015-01-30 17:24:09 -08:00
Dan Zivkovic 10155b5ef8 am 77e0fa1d: LatinIME portion of multi-lang option removal.
* commit '77e0fa1d6708fa53549d80fcd2035da5a30e4140':
  LatinIME portion of multi-lang option removal.
2015-01-30 01:45:46 +00:00
Dan Zivkovic 77e0fa1d67 LatinIME portion of multi-lang option removal.
Bug 19188067.

Change-Id: Ic9a3637f59dda30c699141222b9dcac3cd624b99
2015-01-29 15:57:03 -08:00
Dan Zivkovic 7eb388c737 am 174da5c3: Merge "Disable the Burmese keyboard."
* commit '174da5c39541dab78a9d82904f90c28a4c4be436':
  Disable the Burmese keyboard.
2015-01-29 18:30:20 +00:00
Dan Zivkovic e1758feeff Disable the Burmese keyboard.
We'll resurrect this effort in the new code base.

Bug 16900511.

Change-Id: Iae4cd27cb29cb8f991e97cffd88ed59c30d66628
2015-01-29 10:17:33 -08:00
Mario Tanev d7409c2e1f am ab6f3b36: Change DictionaryFacilitator.java to an interface, create its implementation DictionaryFacilitatorImpl.java and add a java-overridable factory DictionaryFacilitatorProvider.java used to create a DictionaryFacilitator.
* commit 'ab6f3b36d0303bc4cc1ad0fbbc72a64ca2df0eb2':
  Change DictionaryFacilitator.java to an interface, create its implementation DictionaryFacilitatorImpl.java and add a java-overridable factory DictionaryFacilitatorProvider.java used to create a DictionaryFacilitator.
2015-01-27 21:46:51 +00:00
Chieu Nguyen a8278c9474 am d523bace: Merge "Add a method for handling for words not found in dictionary."
* commit 'd523bacebc2498186d6d01140d3fde1eca11c80f':
  Add a method for handling for words not found in dictionary.
2015-01-27 21:46:51 +00:00
Mario Tanev ab6f3b36d0 Change DictionaryFacilitator.java to an interface, create its
implementation DictionaryFacilitatorImpl.java and add a java-overridable
factory DictionaryFacilitatorProvider.java used to create a
DictionaryFacilitator.

Change-Id: Id4a58ae31feaa4d12a048a772c8d76ff82fdee45
2015-01-27 21:38:32 +00:00
Dan Zivkovic 4366e6c0b1 am bd254ca7: Merge "Re-enable new keyboard layouts in Fava."
* commit 'bd254ca776ac25a311a3aeae96e00cf543dc18f9':
  Re-enable new keyboard layouts in Fava.
2015-01-23 16:40:20 +00:00
Chieu Nguyen d523bacebc Merge "Add a method for handling for words not found in dictionary." 2015-01-23 16:35:16 +00:00
Dan Zivkovic bd254ca776 Merge "Re-enable new keyboard layouts in Fava." 2015-01-21 19:34:12 +00:00
Geoff Mendal e1867ff0e8 Import translations. DO NOT MERGE
Change-Id: Ifd6ac19adb46ebd6aefb94814bc2f5fba14a61e8
Auto-generated-cl: translation import
2015-01-21 07:50:09 -08:00
Geoff Mendal 35caeb19b1 Import translations. DO NOT MERGE
Change-Id: Ie548e337ad22fb4c88d40d27dd60fa170be19b17
Auto-generated-cl: translation import
2015-01-21 07:49:26 -08:00
Dan Zivkovic 9ea443e8c0 Re-enable new keyboard layouts in Fava.
This reverts commit da27faeb87.

Change-Id: I08e2b2510efcafd20743679de4a1ef7f09d9949a
2015-01-20 19:37:26 +00:00
Geoff Mendal 7710610dc1 Merge "Import translations. DO NOT MERGE" 2015-01-19 18:09:28 +00:00
Geoff Mendal 9cbd291138 Merge "Import translations. DO NOT MERGE" 2015-01-19 18:09:16 +00:00
Geoff Mendal 4e4aa06bf7 Merge "Import translations. DO NOT MERGE" 2015-01-19 18:08:39 +00:00
Geoff Mendal 335e34decc Merge "Import translations. DO NOT MERGE" 2015-01-19 18:07:57 +00:00
Geoff Mendal 217856d7f5 Import translations. DO NOT MERGE
Change-Id: Iac5b20265c265d76c26833b36321702c34d1f50b
Auto-generated-cl: translation import
2015-01-19 10:07:44 -08:00
Geoff Mendal 5303675947 Import translations. DO NOT MERGE
Change-Id: I2add0d5e1a7056d4f6124a47bcf5a7b156458cd1
Auto-generated-cl: translation import
2015-01-19 10:05:23 -08:00
Geoff Mendal 8d8485e792 Import translations. DO NOT MERGE
Change-Id: Ic464f48ed8a32867b85c61569cb14f6f14a54b9e
Auto-generated-cl: translation import
2015-01-19 10:03:48 -08:00
Geoff Mendal fd28eb7cf0 Import translations. DO NOT MERGE
Change-Id: Ifac8d34a41ff545b48f08a9afeabc3b990cdc7da
Auto-generated-cl: translation import
2015-01-19 10:00:50 -08:00
Geoff Mendal 42b21c079e Import translations. DO NOT MERGE
Change-Id: Ic30904288f27cb9719d2da00abd002909d5fb1bd
Auto-generated-cl: translation import
2015-01-19 09:58:34 -08:00
Geoff Mendal a67f1dd5f5 Import translations. DO NOT MERGE
Change-Id: I10ad0004cd6adb8de189c4e97b7513736309ad1a
Auto-generated-cl: translation import
2015-01-19 09:56:22 -08:00
Dan Zivkovic 2a689958b7 am fc470076: Merge "AOSP change for showing the app icon."
* commit 'fc470076741a61a7133590d63fc5241ee1343d2e':
  AOSP change for showing the app icon.
2015-01-16 17:56:02 +00:00
Dan Zivkovic fc47007674 Merge "AOSP change for showing the app icon." 2015-01-16 17:49:37 +00:00
Dan Zivkovic d913617e0c AOSP change for showing the app icon.
This change deletes a bunch of code that was used to conditionally show/hide
the keyboard app icon given system states and user preferences.

Bug 19001197.

Change-Id: I69a57aa21872a571af87a193b3e52b7f985e5168
2015-01-16 09:37:30 -08:00
Jean Chalard a0b9e57af4 am 9fe700ec: Merge "Fix moving the cursor inside composition in lang w/o spaces"
* commit '9fe700ec4fceba1e061733795bc89ca9d0620525':
  Fix moving the cursor inside composition in lang w/o spaces
2015-01-16 03:27:10 +00:00
Jean Chalard 9fe700ec4f Merge "Fix moving the cursor inside composition in lang w/o spaces" 2015-01-16 03:22:18 +00:00
Chieu Nguyen 2e8d536678 Add a method for handling for words not found in dictionary.
This is apparently called only once for every unique word, so repeated instances
of the same word are not handled separately. Upon changing orientation of the
device, however, all invalid words in the textbox are underlined again and this
method is called for each unique instance in order.

Change-Id: Ic57e4b9e5675bd7abd723644aa318d964f7f875f
2015-01-14 16:20:42 -08:00
Geoff Mendal 4e395e119f Merge "Import translations. DO NOT MERGE" 2015-01-14 16:51:50 +00:00
Geoff Mendal 858136cf81 Import translations. DO NOT MERGE
Change-Id: I7e4d95c35676465b2e849047a4608657516d20b2
Auto-generated-cl: translation import
2015-01-14 08:36:13 -08:00
Geoff Mendal 34d823bbeb Import translations. DO NOT MERGE
Change-Id: I01e1b9c8e909e4023b396a697e4a5d5ee73715b5
Auto-generated-cl: translation import
2015-01-14 08:35:09 -08:00
Dan Zivkovic 867446646a am 303a2ae5: Fix NPE in PunctuationSuggestions.
* commit '303a2ae5c90300caaf87571e28cb4ffdcd816ce3':
  Fix NPE in PunctuationSuggestions.
2015-01-13 21:29:00 +00:00
Dan Zivkovic 303a2ae5c9 Fix NPE in PunctuationSuggestions.
The NPE happens when the keyboard doesn't specify any punctuation suggestions.

Bug 18047927.

Change-Id: I9f8aa35df4f163b527dc6580a99afc6da45a96b8
2015-01-13 13:24:16 -08:00
Dan Zivkovic 32bfcef3f9 am da27faeb: Revert "Enable preliminary subtypes for F-release"
* commit 'da27faeb87dc47656f82ba90ee590872a3993985':
  Revert "Enable preliminary subtypes for F-release"
2015-01-13 19:26:52 +00:00
Dan Zivkovic da27faeb87 Revert "Enable preliminary subtypes for F-release"
Bug 17743363: Preliminary subtypes should be removed from F-release

This reverts commit 45c917e238.

Change-Id: I5e91a7fd0efdc16e140a91fab6300bd8ba9cd6c7
2015-01-12 16:35:54 -08:00
Geoff Mendal 15f2c0a405 Merge "Import translations. DO NOT MERGE" 2015-01-05 16:58:06 +00:00
Geoff Mendal 6ea69bf55a Merge "Import translations. DO NOT MERGE" 2015-01-05 16:54:41 +00:00
Geoff Mendal 44aeae7778 Merge "Import translations. DO NOT MERGE" 2015-01-05 16:53:40 +00:00
Geoff Mendal eb28e8cbdd Merge "Import translations. DO NOT MERGE" 2015-01-05 16:53:16 +00:00
Geoff Mendal 6b178af8ac Import translations. DO NOT MERGE
Change-Id: I333d1f34d135a8aedd451edace8f4f1bb476a1d4
Auto-generated-cl: translation import
2015-01-05 08:08:17 -08:00
Geoff Mendal ffa64c0257 Import translations. DO NOT MERGE
Change-Id: I94f6dcaaf6ea2f8672ee4b23c543650198cec807
Auto-generated-cl: translation import
2015-01-05 08:06:34 -08:00
Geoff Mendal 9f5bdeb360 Import translations. DO NOT MERGE
Change-Id: I0101c2024853a5d2e0c446772f10d024a0b03ed2
Auto-generated-cl: translation import
2015-01-05 08:05:51 -08:00
Geoff Mendal fda19fef52 Import translations. DO NOT MERGE
Change-Id: Icea4999616f1c95ff9f40d580b4d19f943d3aa7b
Auto-generated-cl: translation import
2015-01-05 08:04:29 -08:00
Geoff Mendal c32c579572 Import translations. DO NOT MERGE
Change-Id: I154b9b0cb7650a3bca9c08514fd2fb5f20621f82
Auto-generated-cl: translation import
2015-01-05 08:03:29 -08:00
Geoff Mendal 33a3bf95d8 Import translations. DO NOT MERGE
Change-Id: Ia033a164b3c392477dc328c1010265aa379332f9
Auto-generated-cl: translation import
2015-01-05 08:02:22 -08:00