Commit Graph

13520 Commits (483ba41f5011dc1b7332b10b05d636e294ca4c21)

Author SHA1 Message Date
Chieu Nguyen c4f6a8dcd4 Make privacy policy link clickable in sync settings.
Bug: 19361223
Change-Id: I83128d771bf5214a446afd6a3d5244a184d0a4a8
2015-03-05 17:48:02 -08:00
Tom Ouyang 222f647137 Restart suggestions when backspacing into a reverted word.
This is required for the final corrected word to be learned,
as learning only occurs when suggestions are active.

Note: This is already happening when backspacing into a non-reverted
word

Bug: 19619907
Bug: 18465402
Change-Id: I99a1d4f0ca0d62a2cdfa24cc0833ce89391715d9
2015-03-05 17:42:35 -08:00
Dan Zivkovic 4d0d821d13 am 38b9bffa: Handle words longer tha 256 characters.
* commit '38b9bffa3f60785f30d7976879ddf936f747d7dd':
  Handle words longer tha 256 characters.
2015-03-05 19:25:17 +00:00
Dan Zivkovic 38b9bffa3f Handle words longer tha 256 characters.
Bug 19612315.

Change-Id: I75e84df88b4da5cfc6a39b956613972841342c4b
2015-03-05 10:56:14 -08:00
Dan Zivkovic 5512a84d3e am 1ae16dc3: Next-word suggestion bit in keyboard settings.
* commit '1ae16dc3db170802d1b38273f477125a2a969d32':
  Next-word suggestion bit in keyboard settings.
2015-03-04 23:08:09 +00:00
Dan Zivkovic 1ae16dc3db Next-word suggestion bit in keyboard settings.
This feature works in supported languages.
We don't need a user setting.

Bug 19596067.

Change-Id: Icdded772745f9816da47f8a5e3b87b733083b121
2015-03-04 15:02:53 -08:00
Dan Zivkovic 34adcf9996 am 83e95e60: Remove SHORTCUT column in FROM clause.
* commit '83e95e601876a2f7938da8a3f773f9ef088a23ab':
  Remove SHORTCUT column in FROM clause.
2015-03-04 18:20:47 +00:00
Dan Zivkovic 83e95e6018 Remove SHORTCUT column in FROM clause.
The column is no longer used, and is not available on pre-Jellybean devices.

Bug 19595958.

Change-Id: Ief54c7210698d6668b1b7815900a394cc7f27299
2015-03-04 10:16:28 -08:00
Geoff Mendal 9de4a2e4e5 Merge "Import translations. DO NOT MERGE" 2015-03-04 14:00:30 +00:00
Geoff Mendal 7edcc880c2 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2015-03-04 13:59:59 +00:00
Geoff Mendal 00c5719414 Import translations. DO NOT MERGE
Change-Id: I934e85a5a7cef5a490e62033a37e4c8969c36d43
Auto-generated-cl: translation import
2015-03-04 05:55:42 -08:00
Geoff Mendal d878a8101d Import translations. DO NOT MERGE
Change-Id: I3b6d9386687e987a6ca84a194a26b90a669c2562
Auto-generated-cl: translation import
2015-03-04 05:54:58 -08:00
Geoff Mendal 0774260ed3 Import translations. DO NOT MERGE
Change-Id: Ia6ea2cbd9e914d60bdf9220d40991fd60cf8fc43
Auto-generated-cl: translation import
2015-03-04 05:50:53 -08:00
Geoff Mendal 48494a1654 Import translations. DO NOT MERGE
Change-Id: I23cfe9a6401ca62eeb9f6b42a8f979e9d97345b0
Auto-generated-cl: translation import
2015-03-04 05:50:09 -08:00
Mohammadinamul Sheik ebedd8bb8e am 6e29d261: Introduce DictionaryHeaderUtils to get dictionary header values
* commit '6e29d261cb480ef0f0d90867d4582fabce0b9113':
  Introduce DictionaryHeaderUtils to get dictionary header values
2015-03-04 00:38:25 +00:00
Mohammadinamul Sheik 6e29d261cb Introduce DictionaryHeaderUtils to get dictionary header values
Change-Id: I86cef6c7f2f68a75428bb2b9c4d5a1dc1876b541
2015-03-03 16:17:27 -08:00
Chieu Nguyen 8d9c43b5ba am 2281ba76: Merge "Add DictionaryFacilitator dump()."
* commit '2281ba76668db4343e1d01fff82e031657bfcfd5':
  Add DictionaryFacilitator dump().
2015-03-03 23:21:50 +00:00
Chieu Nguyen 2281ba7666 Merge "Add DictionaryFacilitator dump()." 2015-03-03 23:16:49 +00:00
Chieu Nguyen c809dc26a1 Add DictionaryFacilitator dump().
Change-Id: I8b75aded3fc2b9b33128b6ba5a3e8d943dfca352
2015-03-03 14:36:47 -08:00
Jatin Matani 1d22e76800 am 148aab12: Merge "Add util method in ngramcontext for context array"
* commit '148aab122883d5a53c890fd7795039f4aa087302':
  Add util method in ngramcontext for context array
2015-03-03 22:03:02 +00:00
Jatin Matani 148aab1228 Merge "Add util method in ngramcontext for context array" 2015-03-03 21:59:52 +00:00
Jatin Matani a568e0acb4 Add util method in ngramcontext for context array
Change-Id: I2e3e2ac7706be50ed2055b0c69b30e25a516a879
2015-03-03 13:20:53 -08:00
Dan Zivkovic dd226fbe63 am 63a0bdb4: Forgot to remove reference to deleted class.
* commit '63a0bdb41bdc6dc3cd94f3354bf3bda4d057fa93':
  Forgot to remove reference to deleted class.
2015-03-03 20:16:49 +00:00
Dan Zivkovic 63a0bdb41b Forgot to remove reference to deleted class.
Change-Id: Ic662a536e468390a3f7266daf9c56e4fc5a70ac6
2015-03-03 12:11:00 -08:00
Dan Zivkovic b128db8fc6 am 15cccfcb: Merge "Remove no-op broadcast receiver from LatinIME."
* commit '15cccfcb0d6d693883104b261f8750286084d718':
  Remove no-op broadcast receiver from LatinIME.
2015-03-03 19:59:09 +00:00
Dan Zivkovic 15cccfcb0d Merge "Remove no-op broadcast receiver from LatinIME." 2015-03-03 19:55:25 +00:00
Dan Zivkovic fbfc62209a Remove no-op broadcast receiver from LatinIME.
Bug 19583388.

Change-Id: Ia1ca481e2eae0c9791932f7f28a9072cc3dbbe7c
2015-03-03 11:03:11 -08:00
Geoff Mendal e3abfc4e05 Merge "Import translations. DO NOT MERGE" 2015-03-03 08:45:00 +00:00
Geoff Mendal b3ceffad18 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2015-03-03 08:44:47 +00:00
Chieu Nguyen c36a0c37b4 am ddee4914: Merge "Move dictionary facilitator handling."
* commit 'ddee491450bd4447d1dcf102f472fe7038cbfb1d':
  Move dictionary facilitator handling.
2015-03-02 23:34:01 +00:00
Chieu Nguyen ddee491450 Merge "Move dictionary facilitator handling." 2015-03-02 23:30:42 +00:00
Chieu Nguyen 0103d75aaf Move dictionary facilitator handling.
Change-Id: Ibd42982996a36ac52b4c916035491b835f8d14f9
2015-03-02 15:24:51 -08:00
Jatin Matani 49ef421bca am 55d96519: Merge "Turn off cloud sync if we have managed profiles"
* commit '55d9651929729548c16270de0a83e3a01c7f2a9b':
  Turn off cloud sync if we have managed profiles
2015-03-02 20:25:50 +00:00
Jatin Matani 55d9651929 Merge "Turn off cloud sync if we have managed profiles" 2015-03-02 20:21:29 +00:00
Jatin Matani 854edce6dd Turn off cloud sync if we have managed profiles
UserManager#getUserProfiles > 1 implies managed
profile.

Workflow:
- Disable sync prefs
- Execute an async task to check for managed profile; if
  managed profile is found, remove the sync prefs. If not, enable
  the preference;
- Move the logging pref from Advanced to Account & Privacy.

Bug:19230544
Change-Id: I4dbd1fe8433b3263ccc74c35dc0ee0bb371122b3
2015-03-02 12:03:57 -08:00
Geoff Mendal 740f8d7224 Import translations. DO NOT MERGE
Change-Id: I95888bc0f4841f69b8c5cba881f92311c607347f
Auto-generated-cl: translation import
2015-03-02 10:03:04 -08:00
Geoff Mendal 27f1c79cf5 Import translations. DO NOT MERGE
Change-Id: I13b83c06aeb29a65f2eeea28415b041b654e48b6
Auto-generated-cl: translation import
2015-03-02 10:02:21 -08:00
Jatin Matani d3b6619d9c am 8b290806: Fix build breakage due to changed resource Id
* commit '8b2908066dc5259870fbf210e0af7eeb01d2b1ef':
  Fix build breakage due to changed resource Id
2015-03-02 17:48:29 +00:00
Jatin Matani 8b2908066d Fix build breakage due to changed resource Id
Change-Id: I09ba038930416d1261ef095ec503f1ac68cd92ea
2015-03-02 09:44:19 -08:00
Geoff Mendal 1312b216a8 Merge "Revert "Import translations. DO NOT MERGE"" 2015-03-02 15:30:38 +00:00
Geoff Mendal dd09e82f64 Revert "Import translations. DO NOT MERGE"
This reverts commit 7989b88833.

Change-Id: Ie0fb3fef89938938da661c030808b1d8110816c9
2015-03-02 15:30:10 +00:00
Geoff Mendal 8a6980828b Merge "Revert "Import translations. DO NOT MERGE"" into jb-ub-latinimegoogle 2015-03-02 15:21:02 +00:00
Geoff Mendal 6504e6135f Revert "Import translations. DO NOT MERGE"
This reverts commit 2f0fcc1e30.

Change-Id: I2d96e769a55a6f95888cb6cd86a185c86555ad83
2015-03-02 15:20:52 +00:00
Geoff Mendal 3d82160002 Merge "Import translations. DO NOT MERGE" 2015-03-02 15:10:59 +00:00
Geoff Mendal e0ab979f0a Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2015-03-02 15:07:41 +00:00
Geoff Mendal 7989b88833 Import translations. DO NOT MERGE
Change-Id: I891a5bfa2cfebb4852ba0a1277cf7ae1aec912ae
Auto-generated-cl: translation import
2015-03-02 06:42:15 -08:00
Geoff Mendal a9de6f589f Import translations. DO NOT MERGE
Change-Id: I4cab7c63e46cfef30b344658d8af54e9e0247752
Auto-generated-cl: translation import
2015-03-02 06:41:33 -08:00
Geoff Mendal 2f0fcc1e30 Import translations. DO NOT MERGE
Change-Id: I0cc15dd7b0ad8c710df0c33325a37899d1bd6810
Auto-generated-cl: translation import
2015-03-02 06:37:25 -08:00
Geoff Mendal cceb4c71a7 Import translations. DO NOT MERGE
Change-Id: I675c2cc5bdc246498b5b96058bc528f96ceee071
Auto-generated-cl: translation import
2015-03-02 06:36:42 -08:00
Dan Zivkovic a3b7ff254d am 9770336a: Merge "Label empty suggestions."
* commit '9770336a9b9b65fc62bde6f361e90909d4259769':
  Label empty suggestions.
2015-02-27 21:36:56 +00:00
Dan Zivkovic 9770336a9b Merge "Label empty suggestions." 2015-02-27 21:33:02 +00:00
Chieu Nguyen 33fdb46b5e am 98886775: Merge "Handle double space inserting a period."
* commit '98886775cfb95dc7f6ab50653215373b94b13941':
  Handle double space inserting a period.
2015-02-27 21:27:32 +00:00
Chieu Nguyen 98886775cf Merge "Handle double space inserting a period." 2015-02-27 21:24:36 +00:00
Chieu Nguyen fdf3cc41ee Handle double space inserting a period.
Change-Id: I109f0e9cf3e972bf60aa3fbbe817337aef70ea3c
2015-02-27 13:19:21 -08:00
Mohammadinamul Sheik 35a9bdbee8 am 62cbaba7: Merge "Update the MAX supported file version for downloaded static Dictionaries."
* commit '62cbaba715878ea31811d4fc7300741510931f6d':
  Update the MAX supported file version for downloaded static Dictionaries.
2015-02-27 21:18:30 +00:00
Mohammadinamul Sheik 62cbaba715 Merge "Update the MAX supported file version for downloaded static Dictionaries." 2015-02-27 21:09:04 +00:00
Dan Zivkovic 24c275ccb9 Label empty suggestions.
When talkback is enabled, empty strings will have a content description.

Bug 19479836.

Change-Id: I25679a2bdeff238a5330ba406d5bc7e6e2868ba1
2015-02-27 12:44:28 -08:00
Dan Zivkovic 29de00a52d am 69c04cad: Race condition in cursor move.
* commit '69c04cadc7c017f9de53f13ea045347b80316d4a':
  Race condition in cursor move.
2015-02-27 18:36:42 +00:00
Mohammadinamul Sheik 377ba98b75 Update the MAX supported file version for downloaded static Dictionaries.
Change-Id: I72d37cc21585b18f4a41ff32627024502f10e993
2015-02-27 10:30:23 -08:00
Dan Zivkovic 69c04cadc7 Race condition in cursor move.
The method WordComposer.moveCursorByAndReturnIfInsideComposingWord() iterates
through all the code points in the word that's currently being composed, and
it tries to adjust the cursor position by a given amount (left or right).
It copies the code points to a new array while processing. But the code point
count comes from a member variable. If the member variable changes while the
method is processing the copy of the code points, it can run over the length
of the code point array.

Bug 18876474.

Change-Id: Ib3a2d90a4e82b76d381efa774e6b3d6bca99c869
2015-02-27 10:29:47 -08:00
Jatin Matani 730151b3f4 am c83352d5: Merge "Refresh pref settings for cloud sync"
* commit 'c83352d527bbae430f52b6494ad3e391d950520a':
  Refresh pref settings for cloud sync
2015-02-26 22:15:45 +00:00
Jatin Matani c83352d527 Merge "Refresh pref settings for cloud sync" 2015-02-26 22:10:02 +00:00
Jatin Matani 8ec328fb2e Refresh pref settings for cloud sync
- Show the opt-in text
- Show the account picker if user presses 'enable sync'. Previously
  we disabled the sync pref which was confusing.
- Remove the debug tags from some prefs; and improve messaging overall

General rules;
- sync is turned ON : user checks 'enable sync' pref AND
  accepts the opt-in AND chooses an account
- sync is turned OFF: when user signs out

Demo link
https://drive.google.com/a/google.com/file/d/0B9tNQOWdRuiWSUdVVE5rVDJudlk/view?usp=sharing

Change-Id: I2e7933796b15e47005ba9970a8c1294416ef31a0
2015-02-26 11:43:42 -08:00
Dan Zivkovic e0c1315966 am edd94a44: Ignore the Emoji key when not connected.
* commit 'edd94a449e293c07779ac50e98aca3ad92910d92':
  Ignore the Emoji key when not connected.
2015-02-26 19:33:49 +00:00
Dan Zivkovic edd94a449e Ignore the Emoji key when not connected.
When the LatinIME does not have an active InputConnection, it will not try
to toggle the Emoji keyboard.

Bug 19513415.

Change-Id: I31f928cd7db1cddd771c548cd3dc42f8af64d0e2
2015-02-26 11:10:37 -08:00
Jatin Matani c8828eb8b4 am 48b07124: Merge "Share decoders among latinime components."
* commit '48b071249cd662a5448ae0178e16b0b5026ee4cf':
  Share decoders among latinime components.
2015-02-26 18:00:12 +00:00
Jatin Matani 48b071249c Merge "Share decoders among latinime components." 2015-02-26 17:54:26 +00:00
Dan Zivkovic 1512af3662 am 7d7f0820: Stop waking up to decay dynamic dictionaries.
* commit '7d7f082075768c03e4b1d4b84ba2e6ef6cba1132':
  Stop waking up to decay dynamic dictionaries.
2015-02-26 04:36:00 +00:00
Dan Zivkovic 7d7f082075 Stop waking up to decay dynamic dictionaries.
Bug 19516048.

Change-Id: Ibc27a792b4fa80fa8c6af4721c47a617526e9584
2015-02-25 20:13:59 -08:00
Dan Zivkovic 458cc72c15 am e4619f02: Merge "Don\'t assume that correctable words are invalid"
* commit 'e4619f029e84fd845b0771871218274b99c30ffa':
  Don't assume that correctable words are invalid
2015-02-26 03:48:37 +00:00
Dan Zivkovic e4619f029e Merge "Don't assume that correctable words are invalid" 2015-02-26 03:44:20 +00:00
Mohammadinamul Sheik d11e4cd964 am 48ba1ea1: Merge "Make DictionaryFactory.killDictionary public"
* commit '48ba1ea19f7e18a24813a9301ed620612c2e53d7':
  Make DictionaryFactory.killDictionary public
2015-02-26 03:37:56 +00:00
Mohammadinamul Sheik 48ba1ea19f Merge "Make DictionaryFactory.killDictionary public" 2015-02-26 03:33:08 +00:00
Dan Zivkovic 5551302d27 Don't assume that correctable words are invalid
Currently, the Delight3DictionaryFacilitator sets a boolean flag when the top
suggestion score exceeds the auto-correction threshold. This flag is used to
trigger auto-correction of the typed word. Also, the existing logic assumes
that if allowsToBeAutoCorrected then the word is invalid, which is no longer
true after we stopped using whitelists.

Bug 19518376.

Change-Id: Ifa7f6a09c07d25ac68c6cf3aec91f358bd88689f
2015-02-25 17:59:58 -08:00
Mohammadinamul Sheik 20fb37afee Make DictionaryFactory.killDictionary public
Change-Id: I9a0733392651714b3ba232cdb805565a5238eb93
2015-02-25 17:53:35 -08:00
Jatin Matani b684d2d2e4 Share decoders among latinime components.
Change-Id: I6c8d3cf10e05e606308cea42d1e935a415ada9f8
2015-02-25 17:48:30 -08:00
Mario Tanev 86ae0ffe9d am 487e038f: Use Keyboard in several interfaces.
* commit '487e038ff329b6099ff5343fb2d7bdc60a6fd699':
  Use Keyboard in several interfaces.
2015-02-26 01:34:54 +00:00
Mario Tanev 487e038ff3 Use Keyboard in several interfaces.
Simplify interfaces by passing Keyboard instead of
KeyboardLayout and ProximityInfo directly.  Also require
the Keyboard passed be non-null and change the SpellChecker
to bail out if there is no keyboard for the locale.

Change-Id: I960f15ff60171f55d3e0a96fd6469b7dc3a045e2
2015-02-25 17:20:00 -08:00
Dan Zivkovic 6e8c45a4da am ed378c78: Auto-correct without whitelist in Delight3.
* commit 'ed378c78a15757c7386d84c6cd7470d56ed00c76':
  Auto-correct without whitelist in Delight3.
2015-02-25 21:25:12 +00:00
Dan Zivkovic ed378c78a1 Auto-correct without whitelist in Delight3.
Bug 19390471.

Change-Id: Ie09b916ca80591c98f48ae1d74d4fd5b0c5d6b33
2015-02-25 11:47:43 -08:00
Martin Paraskevov 2d91e5419f am 2b8d763c: Pass ComposedData to the decoder instead of WordComposer.
* commit '2b8d763c65b2482fcdc7efe301907ac18133fa42':
  Pass ComposedData to the decoder instead of WordComposer.
2015-02-25 02:27:21 +00:00
Martin Paraskevov 2b8d763c65 Pass ComposedData to the decoder instead of WordComposer.
Change-Id: I8bd544d03d9087a02294b08a9986cad229dae795
2015-02-24 17:59:47 -08:00
Mario Tanev af096dff14 am a3ac6f24: Merge "Don\'t call resetDictionaries if DictionaryFacilitatorLruCache.get() hasn\'t been called yet. This breaks the AOSP SpellChecker. This seems to be a bug introduced recently, when the DictionaryFacilitatorLruCache was turned into a "cache" of 1 elemen
* commit 'a3ac6f24cc6a22651e09a1bf7fc018d4af945333':
  Don't call resetDictionaries if DictionaryFacilitatorLruCache.get() hasn't been called yet. This breaks the AOSP SpellChecker.  This seems to be a bug introduced recently, when the DictionaryFacilitatorLruCache was turned into a "cache" of 1 element.
2015-02-25 00:25:09 +00:00
Mario Tanev a3ac6f24cc Merge "Don't call resetDictionaries if DictionaryFacilitatorLruCache.get() hasn't been called yet. This breaks the AOSP SpellChecker. This seems to be a bug introduced recently, when the DictionaryFacilitatorLruCache was turned into a "cache" of 1 element." 2015-02-25 00:20:32 +00:00
Mohammadinamul Sheik 85c78f7124 am 24c28243: Do not crash when dictioanryInfo is NULL
* commit '24c282437dd7dd4b135e3410b5459ca83d304524':
  Do not crash when dictioanryInfo is NULL
2015-02-24 23:57:21 +00:00
Mario Tanev 1a6d01b61e Don't call resetDictionaries if DictionaryFacilitatorLruCache.get()
hasn't been called yet. This breaks the AOSP SpellChecker.  This seems
to be a bug introduced recently, when the
DictionaryFacilitatorLruCache was turned into a "cache" of 1 element.

Change-Id: I55f6c18b274c9a33fd62cb25bcd02f64788d5ff0
2015-02-24 15:56:43 -08:00
Mohammadinamul Sheik 24c282437d Do not crash when dictioanryInfo is NULL
Bug: 19417599
Change-Id: I82174401c595b57b42fc74bc478b551869729ba6
2015-02-24 15:45:10 -08:00
Jatin Matani 3c0997c961 am f7058c2a: Merge "Pass long timestamps to DictionaryFacilitator"
* commit 'f7058c2a89d3e081b2a279ef4853409924d42346':
  Pass long timestamps to DictionaryFacilitator
2015-02-24 21:01:53 +00:00
Jatin Matani f7058c2a89 Merge "Pass long timestamps to DictionaryFacilitator" 2015-02-24 20:57:34 +00:00
Tom Ouyang 30a9af899f am edb2d238: Check for null TextRange in InputLogic.unlearnWordBeingDeleted
* commit 'edb2d2380214fa3a6d5416cc916f58360214d123':
  Check for null TextRange in InputLogic.unlearnWordBeingDeleted
2015-02-24 20:07:20 +00:00
Tom Ouyang edb2d23802 Check for null TextRange in InputLogic.unlearnWordBeingDeleted
Change-Id: Ia0df0ab740c76185f94966f59a74a6ebdd1cffe8
2015-02-24 11:30:42 -08:00
Mohammadinamul Sheik 57b2d854b3 am 1d5ec613: Use DECODER_DICT_SUFFIX on fallback to the default main dict resource.
* commit '1d5ec6136cf2d2c84453120407957ddb64c7b2b7':
  Use DECODER_DICT_SUFFIX on fallback to the default main dict resource.
2015-02-24 01:33:33 +00:00
Mohammadinamul Sheik 1d5ec6136c Use DECODER_DICT_SUFFIX on fallback to the default main dict resource.
Change-Id: Icec45c364732c0aa9ac713846cad23439b9e42b5
2015-02-23 17:25:08 -08:00
Jatin Matani 94b8523566 Pass long timestamps to DictionaryFacilitator
Change-Id: I95500f210ed409c0ff254b08b68fe3b5b59ba4f4
2015-02-23 16:50:02 -08:00
Mohammadinamul Sheik 95b179e699 am bae3c4ba: Merge "Make checksum and header checks decoder dependent."
* commit 'bae3c4bac563d2379b462334b55ee78cc24ba0a0':
  Make checksum and header checks decoder dependent.
2015-02-23 21:53:10 +00:00
Mohammadinamul Sheik bae3c4bac5 Merge "Make checksum and header checks decoder dependent." 2015-02-23 21:47:28 +00:00
Chieu Nguyen fd35422dfa am 53b4bfdb: Merge "Add StatsUtils method for handling subtype change."
* commit '53b4bfdba01477860993bff29eefc337e3fd1d99':
  Add StatsUtils method for handling subtype change.
2015-02-23 19:18:13 +00:00
Chieu Nguyen 53b4bfdba0 Merge "Add StatsUtils method for handling subtype change." 2015-02-23 19:11:15 +00:00
Dan Zivkovic 3466a3bd7e am 08f3cdb3: Hide app icon when keyboard is a system app.
* commit '08f3cdb3c87e56ac62f5ac3c573beade592b4b06':
  Hide app icon when keyboard is a system app.
2015-02-23 18:29:55 +00:00
Dan Zivkovic 08f3cdb3c8 Hide app icon when keyboard is a system app.
The objective is to show an app icon when the user installs the keyboard from
the Play Store, but not show the icon when it comes from the system image.
The latter rule applies to AOSP keyboards and to the Google Keyboard on a
Nexus device.

This change partially reverts ag/613096.

Bug 19001197.

Change-Id: Icb202deffe9f1ab2bde9b3c9d221347da6793a19
2015-02-23 10:21:20 -08:00
Mohammadinamul Sheik eeeec21bac Make checksum and header checks decoder dependent.
Change-Id: I0ec4aa69d9b5f013ae926cc368e25225d9d3073b
2015-02-20 18:30:23 -08:00
Jatin Matani c372b3bce4 am 1c11f3fe: Merge "Remove unused APIs in DIctionaryFacilitator"
* commit '1c11f3fe0ef5e92af3f8c1c9f9e157ea400c6c35':
  Remove unused APIs in DIctionaryFacilitator
2015-02-21 01:22:34 +00:00
Jatin Matani 1c11f3fe0e Merge "Remove unused APIs in DIctionaryFacilitator" 2015-02-21 01:17:25 +00:00
Jatin Matani 83e9a29c33 Remove unused APIs in DIctionaryFacilitator
Change-Id: Iae20a0a3b7c1aa0c2f6d29cef780fb50dc9010cb
2015-02-20 11:19:27 -08:00
Dan Zivkovic f1ce7e1c53 am fe3c4ef9: Merge "Spell checker uses cache of size 1."
* commit 'fe3c4ef9401d7cdcf07498d97820980fa90528fb':
  Spell checker uses cache of size 1.
2015-02-20 19:11:16 +00:00
Dan Zivkovic fe3c4ef940 Merge "Spell checker uses cache of size 1." 2015-02-20 19:06:48 +00:00
Dan Zivkovic 29aa3df3da Spell checker uses cache of size 1.
This is a step in the direction of removing the LRU cache completely.

Change-Id: I8886f7ef74e6b1b35135e68f169cb461682964e9
2015-02-20 11:05:44 -08:00
Jatin Matani b42013ae4f am 01b02373: Add tests for Contact* classes
* commit '01b023730ee3d86d60016c21915608376c724442':
  Add tests for Contact* classes
2015-02-20 18:01:07 +00:00
Jatin Matani 01b023730e Add tests for Contact* classes
Also add empty implementation for dictionary
facilitator iteration APIs
Change-Id: Ia847e3faa75075c819fcfda89193d1024d2d5aca
2015-02-20 09:14:27 -08:00
Dan Zivkovic 6ed6306e1f am 40b75456: Rename in preparation of caching an instance.
* commit '40b754565ce86247e2ae95e9de6b54b53a35fca8':
  Rename in preparation of caching an instance.
2015-02-20 01:16:26 +00:00
Dan Zivkovic 40b754565c Rename in preparation of caching an instance.
Change-Id: I112c957e20d4573daaa71aa218b575037585385c
2015-02-19 15:41:58 -08:00
Dan Zivkovic 4b0697938b am 3bfc9d46: Merge "Schedule with 0 delay is the same as execute."
* commit '3bfc9d46923a2f769ac2072ac817b01b720fabb2':
  Schedule with 0 delay is the same as execute.
2015-02-19 22:51:46 +00:00
Dan Zivkovic 3bfc9d4692 Merge "Schedule with 0 delay is the same as execute." 2015-02-19 22:42:55 +00:00
Dan Zivkovic c38d83eb1a am 7041313f: Merge "If contacts observer is running, return early."
* commit '7041313f717db3bc89db46c9c59703bd99366095':
  If contacts observer is running, return early.
2015-02-19 22:20:25 +00:00
Dan Zivkovic 6a000183c5 Schedule with 0 delay is the same as execute.
Change-Id: Ifadae8aee668edbe2b507735d3ed6e68d52ef329
2015-02-19 14:19:23 -08:00
Dan Zivkovic 7041313f71 Merge "If contacts observer is running, return early." 2015-02-19 22:16:33 +00:00
Tom Ouyang c47894641b am 076f76cc: Merge "Add more options for calling removeWordFromPersonalizedDicts."
* commit '076f76cc124a98906e643147dc6867488bdbf491':
  Add more options for calling removeWordFromPersonalizedDicts.
2015-02-19 21:37:37 +00:00
Tom Ouyang 076f76cc12 Merge "Add more options for calling removeWordFromPersonalizedDicts." 2015-02-19 21:31:38 +00:00
Tom Ouyang edea47ff2e Add more options for calling removeWordFromPersonalizedDicts.
Bug: 19441205

Change-Id: I41aff536a64271d2dc9489a20df33d64170756cc
2015-02-19 12:03:42 -08:00
Dan Zivkovic 705b118672 If contacts observer is running, return early.
Change-Id: I084a251b0f72288243c73b6166d992b427449635
2015-02-19 11:54:18 -08:00
Dan Zivkovic e3e7589f85 am 0b03f13c: Sanitize the usage of executors.
* commit '0b03f13cabec84d2d841fde47ce9fec0d531b6a1':
  Sanitize the usage of executors.
2015-02-19 19:49:07 +00:00
Dan Zivkovic 0b03f13cab Sanitize the usage of executors.
There should be 1 executor each for static and dynamic language models.
This prevents too many dynamic LM updates from running in parallel,
competing for resources.

Change-Id: I8ec439e0ea2d92fba275bc20a0b8c9193346a0c1
2015-02-19 11:40:57 -08:00
Chieu Nguyen 40833d2dd7 Add StatsUtils method for handling subtype change.
Change-Id: I0f334ab5e6f5aa41ad780641276dc3d2aa232f48
2015-02-18 16:00:59 -08:00
Mohammadinamul Sheik baefd1c87e am 95711bfc: Add Decoder specific dictionary suffix to resource lookup
* commit '95711bfcee07d848883316cf07439408f5b332a1':
  Add Decoder specific dictionary suffix to resource lookup
2015-02-13 07:19:55 +00:00
Mohammadinamul Sheik 95711bfcee Add Decoder specific dictionary suffix to resource lookup
Change-Id: Ia2c74acdc8ac6f7b605bb06a1078d23b32f388a1
2015-02-12 19:56:46 -08:00
Dan Zivkovic 920b3fd32a am cf84f8ce: Switch from script to language codes.
* commit 'cf84f8ce0c65923dc9a66e386c17ab9de338accf':
  Switch from script to language codes.
2015-02-13 00:09:43 +00:00
Dan Zivkovic cf84f8ce0c Switch from script to language codes.
Unfortunately, our Locale objects don't always have a script code.
But we can get almost the same functionality by specifying script
codes for some languages, and defaulting the rest to Latin.

Change-Id: Id81ff67bf44c84f44707a2e167c2787c60c6ecee
2015-02-12 15:42:25 -08:00
Dan Zivkovic 07d64c553d am 98596e51: Map ISO 15924 codes to internal IME script codes.
* commit '98596e51a1ec262bd0f90154e156928e1458d4fc':
  Map ISO 15924 codes to internal IME script codes.
2015-02-12 19:23:33 +00:00
Dan Zivkovic 98596e51a1 Map ISO 15924 codes to internal IME script codes.
This way we can support all the languages for which we define a script code.

Bug 19340741.

Change-Id: Ia80eca4cc2511b70f11058f73bd31746948ded19
2015-02-12 11:00:06 -08:00
Jatin Matani 2a307fdd0a am 4084fa5c: Refactor content provider code from ContactsDict
* commit '4084fa5caeee09ef7993957c5e922dab14c57f3f':
  Refactor content provider code from ContactsDict
2015-02-12 00:39:30 +00:00
Jatin Matani 4084fa5cae Refactor content provider code from ContactsDict
Break contacts binary dictionary into two parts
- one that talks to contacts content provider and maintains
  local state. Includes a manager class and a content observer
- other one that just manages the dict code.

Change-Id: Ie8f89ac9ce174c803ff3168ee0bee5cbe7721d5b
2015-02-11 16:29:14 -08:00
Dan Zivkovic 28f9aa1fad am 5254c01d: Fix master build.
* commit '5254c01d4cc024527479d4dc5fab2ed2516c395c':
  Fix master build.
2015-02-11 23:04:40 +00:00
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
Baligh Uddin 9c32d0144c Import translations. DO NOT MERGE
Change-Id: I9c1d8432e329cdb0b55fbb738a14efbf323075fa
Auto-generated-cl: translation import
2014-12-31 12:10:55 -08:00
Jatin Matani e3b181cc96 am a1a9896b: Rename production flag for cloud sync feature
* commit 'a1a9896b42ae4f2d31793ff75b82a3b17a45316a':
  Rename production flag for cloud sync feature
2014-12-30 12:13:20 +00:00
Jatin Matani a1a9896b42 Rename production flag for cloud sync feature
Change-Id: I24cbe94f128f54fb9bfeeef78cf271fee2216c8e
2014-12-29 12:45:27 -08:00
Baligh Uddin 810c7379b2 Import translations. DO NOT MERGE
Change-Id: Ie0f79d9b8ca48cc6de2ab976e83bb7643d9ca909
Auto-generated-cl: translation import
2014-12-22 08:17:10 -08:00
Baligh Uddin 1647b2c1dc Import translations. DO NOT MERGE
Change-Id: Iddeafcfdce0e390ad8faed2c31a10e8b4d2f56f7
Auto-generated-cl: translation import
2014-12-22 08:14:11 -08:00
Jean Chalard 8e235191dd Fix moving the cursor inside composition in lang w/o spaces
Also introduce the cursor move event, which we needed to do
anyway

Bug: 18827118
Change-Id: I30e994764c095b4423b874dc05d1bbedc0de592f
2014-12-22 17:47:33 +09:00
Jatin Matani ee05945af0 am 3e35b871: [3]Ping dictionary stats:Pass DictionaryFacilitator
* commit '3e35b8712c3df40291e6ff8ec2889b53f6dd8371':
  [3]Ping dictionary stats:Pass DictionaryFacilitator
2014-12-19 03:32:27 +00:00
Jatin Matani fc59211bed am 20469a87: Merge "[2]Pass context to StatsUtilsManager for alarms."
* commit '20469a8779f7e934cc69a634d171313dd60bd364':
  [2]Pass context to StatsUtilsManager for alarms.
2014-12-18 21:50:35 +00:00
Jatin Matani 3e35b8712c [3]Ping dictionary stats:Pass DictionaryFacilitator
Pass dictionaryFacilitator to StatsUtilsManager from
LatinIME
Bug:16553957

Change-Id: I912a0b447e5684909ff67e3653a4bd8649cd03c5
2014-12-18 13:42:41 -08:00
Jatin Matani 20469a8779 Merge "[2]Pass context to StatsUtilsManager for alarms." 2014-12-18 21:35:45 +00:00
Jatin Matani 2b69244555 [2]Pass context to StatsUtilsManager for alarms.
Change corresponding to ag/605384

Bug:16553957

Change-Id: I77024957b9497c45296bbbb24ca972b26348a8c3
2014-12-17 12:16:02 -08:00
Geoff Mendal 0e89af0816 Import translations. DO NOT MERGE
Change-Id: I825d9b1a1094ee1ccb425113bb1f36ff25918e0d
Auto-generated-cl: translation import
2014-12-17 10:14:13 -08:00
Geoff Mendal 94482c287c Import translations. DO NOT MERGE
Change-Id: I576dc8335256a453c7e91c613ca9d6a7eae751f1
Auto-generated-cl: translation import
2014-12-17 10:13:19 -08:00
Tadashi G. Takaoka fc7ef2da01 am dbdc81a3: Merge "Cleanup InputMethodInfoCache"
* commit 'dbdc81a36ac44f217e14a660ac671562f2948d89':
  Cleanup InputMethodInfoCache
2014-12-17 06:44:35 +00:00
Tadashi G. Takaoka 7d7dc07c27 am 4077a7e5: Merge "Remove SubtypeSwitcher"
* commit '4077a7e52f4016484de914cbfb26e58fe06f3b65':
  Remove SubtypeSwitcher
2014-12-17 06:44:33 +00:00
Tadashi G. Takaoka dbdc81a36a Merge "Cleanup InputMethodInfoCache" 2014-12-17 06:39:19 +00:00
Tadashi G. Takaoka 4077a7e52f Merge "Remove SubtypeSwitcher" 2014-12-17 06:39:07 +00:00
Jatin Matani aadf94944e am bc4ae6bd: Passing account info to dictionaryFacilitator
* commit 'bc4ae6bdc0249f9282efea5d1fe7ccfefd6f93b0':
  Passing account info to dictionaryFacilitator
2014-12-17 00:08:14 +00:00
Jatin Matani bc4ae6bdc0 Passing account info to dictionaryFacilitator
Attempt to use dictionary facilitor without invoking
preference manager. Instead use account from settings only when
things are being reset/changed. Discussion forked from ag/591663

Overall, the idea here is to maintain an account information
inside dictionary groups. Reset the dictionary groups if
account changes (the way we do for locale). Since only user
history dictionary is currently affected, the check to reset user
history dictionary also includes the check to verify the account.
For other things remain the same.

SettingsValues holds the current account (and is updated if prefs change
due to change in account settings). The updated settings are then
propagated to dictionary facilitator via LatinIME#loadSettings.

Bug:18104749,18469539
Change-Id: I553e776e7ea125d0fb7a1fe70a4c7eb0b2277fb8
2014-12-16 15:56:00 -08:00
Geoff Mendal 40add58eff Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-12-16 05:53:38 +00:00
Geoff Mendal a117138bef Import translations. DO NOT MERGE
Change-Id: I7f534873325682f9ba21f6608e277215fa244f6a
Auto-generated-cl: translation import
2014-12-15 21:51:45 -08:00
Geoff Mendal 296d233903 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-12-16 05:50:53 +00:00
Geoff Mendal cbc4728189 Import translations. DO NOT MERGE
Change-Id: I4ba6610e1746b16ba9b27a0a6523bb50b20d7954
Auto-generated-cl: translation import
2014-12-15 21:49:51 -08:00
Geoff Mendal 0b3f05a7f9 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-12-16 05:49:26 +00:00
Geoff Mendal c0179db81d Import translations. DO NOT MERGE
Change-Id: Ia23bbf865f21fa72e0284ab54d7bddecaa3d4fce
Auto-generated-cl: translation import
2014-12-15 21:48:08 -08:00
Geoff Mendal 94d2bc8239 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-12-16 05:47:13 +00:00
Geoff Mendal 97c6fa58f1 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-12-16 05:47:01 +00:00
Geoff Mendal e9351452c8 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-12-16 05:46:46 +00:00
Geoff Mendal c7923d988a Import translations. DO NOT MERGE
Change-Id: Icccd4be3223c303db3a005304755281bacb5a028
Auto-generated-cl: translation import
2014-12-15 21:46:42 -08:00
Geoff Mendal 9d2152c8d5 Import translations. DO NOT MERGE
Change-Id: Iac85d0d17ee2525361d5fdae09b04fbcacb0cbdb
Auto-generated-cl: translation import
2014-12-15 21:46:04 -08:00
Geoff Mendal 36353ffb34 Import translations. DO NOT MERGE
Change-Id: Ic4efd60b2e1e37aa78b3e50773f4a28e57526a91
Auto-generated-cl: translation import
2014-12-15 21:45:29 -08:00
Geoff Mendal d7db0252d9 Import translations. DO NOT MERGE
Change-Id: Ia393c59b3788d6e72fb46f270dac1aa4bc0cf8e0
Auto-generated-cl: translation import
2014-12-15 21:44:23 -08:00
Geoff Mendal 2c826fd28e Import translations. DO NOT MERGE
Change-Id: I2f30e1c0c9956747c80906e31bfb2ddd9bda9587
Auto-generated-cl: translation import
2014-12-15 07:24:19 -08:00
Geoff Mendal 7f49e96da2 Import translations. DO NOT MERGE
Change-Id: I58c643fccc32e6e57bbf5a4e55d0b0a27aa0de63
Auto-generated-cl: translation import
2014-12-15 07:23:20 -08:00
Jatin Matani 28a1d4d5da am 25daca00: Merge "Provide a preference to delete data from cloud."
* commit '25daca00531e79c7bae9d5508644aaa2e677f0f5':
  Provide a preference to delete data from cloud.
2014-12-12 19:49:03 +00:00
Jatin Matani 25daca0053 Merge "Provide a preference to delete data from cloud." 2014-12-12 19:43:16 +00:00
Tadashi G. Takaoka afd52dfc60 Cleanup InputMethodInfoCache
Change-Id: I40afeb4557c3b1ad32bd90f67502a625df2bc3fb
2014-12-12 13:53:13 +09:00
Tadashi G. Takaoka 1f890c4d82 am 8cfad7ed: Merge "Make LanguageOnSpacebarHelper as utility class"
* commit '8cfad7ed64d08c5a131c9c539aa4fc964030c214':
  Make LanguageOnSpacebarHelper as utility class
2014-12-12 04:49:24 +00:00
Tadashi G. Takaoka 31a10e226d Remove SubtypeSwitcher
Change-Id: Ic4def69a9f742f13c98bc3e518c406658b52797d
2014-12-12 13:45:46 +09:00
Tadashi G. Takaoka 8cfad7ed64 Merge "Make LanguageOnSpacebarHelper as utility class" 2014-12-12 04:42:09 +00:00
Jean Chalard 7907757943 am 498dbfbd: Disable multiple language input
* commit '498dbfbd9dcd9a03b91b6efe4d0e5b3afb1df078':
  Disable multiple language input
2014-12-11 06:18:27 +00:00
Jean Chalard 498dbfbd9d Disable multiple language input
Bug: 18705799
Change-Id: I73730ccf59e2697acfb3fe436c01b94c40307f2f
2014-12-11 14:50:03 +09:00
Tadashi G. Takaoka 633ee96070 am 2b25f674: Add NetworkConnectivityUtils class
* commit '2b25f674f29a4c7b3c8d70bc0fbfbdc60da131c4':
  Add NetworkConnectivityUtils class
2014-12-11 05:25:41 +00:00
Tadashi G. Takaoka 4934a88b61 Make LanguageOnSpacebarHelper as utility class
Change-Id: I546f3b1943999a41803222bd14f9ddd23aa87a51
2014-12-11 14:22:21 +09:00
Tadashi G. Takaoka 2b25f674f2 Add NetworkConnectivityUtils class
Change-Id: I7bd71f1d4ef0fc0fe21ddfd9f3e11463f53ac4e7
2014-12-11 01:37:44 +00:00
Geoff Mendal 370f129b58 Merge "Import translations. DO NOT MERGE" 2014-12-10 17:02:47 +00:00
Geoff Mendal ab28730015 Merge "Import translations. DO NOT MERGE" 2014-12-10 17:02:34 +00:00
Geoff Mendal 8e018ce4ea Merge "Import translations. DO NOT MERGE" 2014-12-10 16:55:17 +00:00
Geoff Mendal 9a2eff0a07 Merge "Import translations. DO NOT MERGE" 2014-12-10 16:54:58 +00:00
Geoff Mendal 02997b635d Import translations. DO NOT MERGE
Change-Id: I5f13df7f8a2052eec3fec476e0ff4799700ead5d
Auto-generated-cl: translation import
2014-12-10 08:33:59 -08:00
Geoff Mendal 63be78df90 Import translations. DO NOT MERGE
Change-Id: I20a64560aae11adc1f83c65d04a8904a7ddd72e1
Auto-generated-cl: translation import
2014-12-10 08:32:40 -08:00
Geoff Mendal 4e7d304d42 Import translations. DO NOT MERGE
Change-Id: I06b39554ebf48a8082729ba74b9171bedd83cd5a
Auto-generated-cl: translation import
2014-12-10 08:30:59 -08:00
Geoff Mendal facb6072db Import translations. DO NOT MERGE
Change-Id: If4395624b57330bb22be0d00e17b0fb44bfc271a
Auto-generated-cl: translation import
2014-12-10 08:29:40 -08:00
Geoff Mendal b09ff0fc90 Import translations. DO NOT MERGE
Change-Id: I0e97e34676f52202305373738d3871bc46f31eec
Auto-generated-cl: translation import
2014-12-10 08:28:20 -08:00
Jatin Matani 6814e7aa87 Provide a preference to delete data from cloud.
For now, it is a debug preference, but we may make this a proper
user setting in the future. Thus note that the messaging is not
final.

Pref looks like :
1. https://screenshot.googleplex.com/OLxW0myWD9.png
2. https://screenshot.googleplex.com/YeqWYXGstw.png

Bug: 18106936
Change-Id: I88bbc1a2ee0c23a48ff3972a91d57c218b10bb65
2014-12-09 12:45:34 -08:00
Keisuke Kuroyanagi cc45f04cdc am 52e92f81: Merge "Quit auto-correct explicit accented letters to base letters."
* commit '52e92f812b43fca77f0555965a940faf030bc55b':
  Quit auto-correct explicit accented letters to base letters.
2014-12-09 10:30:17 +00:00
Keisuke Kuroyanagi 52e92f812b Merge "Quit auto-correct explicit accented letters to base letters." 2014-12-09 10:24:56 +00:00
Keisuke Kuroyanagi 515c508135 Quit auto-correct explicit accented letters to base letters.
Bug: 7677193
Change-Id: I66eddbf27a9db8682c0347a1be19922792a3bea7
2014-12-09 19:23:27 +09:00
Tadashi G. Takaoka 29cc1d1981 am be819dbe: Revert "Add keyboard margin options to place the keyboard dynamically."
* commit 'be819dbe2b7a5c418530a2fa1182766a4d31d6d5':
  Revert "Add keyboard margin options to place the keyboard dynamically."
2014-12-09 09:00:12 +00:00
Tadashi G. Takaoka be819dbe2b Revert "Add keyboard margin options to place the keyboard dynamically."
This reverts commit 8584db1461.

Bug: 18675223
Bug: 18675476
Change-Id: I4e25d87ac261c44b1943df832115f8cca690103a
2014-12-09 17:53:24 +09:00
Jatin Matani 3e5c66dbe7 am 45bbdc20: Merge "Rename variable name to remove ambiguity"
* commit '45bbdc20bb613a84fef35fe685ead394c7b06d57':
  Rename variable name to remove ambiguity
2014-12-09 03:59:08 +00:00
Jatin Matani 45bbdc20bb Merge "Rename variable name to remove ambiguity" 2014-12-09 03:53:22 +00:00
Jatin Matani 88cd34f8f8 Rename variable name to remove ambiguity
Change-Id: If95c34c9eab09cbc941bef5ee3d34b9048bf3bf9
2014-12-08 19:27:25 -08:00
Tadashi G. Takaoka 490dfc5498 am 8af412d8: Remove unnecessary cast and import
* commit '8af412d80c2a167ad5a0b8476bb108a1cac36152':
  Remove unnecessary cast and import
2014-12-09 03:07:02 +00:00
Tadashi G. Takaoka 8af412d80c Remove unnecessary cast and import
Change-Id: I9bcd6c9c48ad51aa0f95937869eb6757e4dd4511
2014-12-09 11:57:32 +09:00
Jatin Matani 78039db773 am 2bdd5290: Merge "Hook for fetching sync content from UserHistoryDict"
* commit '2bdd5290a979f6412a91a7f0a4a97b07e5955dd2':
  Hook for fetching sync content from UserHistoryDict
2014-12-09 00:05:16 +00:00
Jatin Matani 2bdd5290a9 Merge "Hook for fetching sync content from UserHistoryDict" 2014-12-08 20:00:10 +00:00
Geoff Mendal 639306faf1 Merge "Import translations. DO NOT MERGE" 2014-12-08 19:46:35 +00:00
Geoff Mendal 81fa4e60c8 Merge "Import translations. DO NOT MERGE" 2014-12-08 19:46:21 +00:00
Geoff Mendal 2717ab8dc9 Merge "Import translations. DO NOT MERGE" 2014-12-08 19:45:54 +00:00
Geoff Mendal fdce4f5469 Merge "Import translations. DO NOT MERGE" 2014-12-08 19:45:20 +00:00
Geoff Mendal 984a0102c6 Import translations. DO NOT MERGE
Change-Id: I9e432c23844da1ba6a745db16db6c27a9133cf20
Auto-generated-cl: translation import
2014-12-08 11:27:38 -08:00
Geoff Mendal b767b3cd46 Import translations. DO NOT MERGE
Change-Id: Ibdf218d10fa731a075557225ad5238d369468850
Auto-generated-cl: translation import
2014-12-08 11:26:31 -08:00
Geoff Mendal 4e3c81e07b Import translations. DO NOT MERGE
Change-Id: I404dfae96be21a461336e281471cdcd586bed59c
Auto-generated-cl: translation import
2014-12-08 11:24:55 -08:00
Geoff Mendal 42b24a8e0f Import translations. DO NOT MERGE
Change-Id: I8eb628866c7e2e229454b6704376e4564365eae3
Auto-generated-cl: translation import
2014-12-08 11:23:51 -08:00
Geoff Mendal 8833bdfa93 Import translations. DO NOT MERGE
Change-Id: Iff7a78dd511dfe6b4eae2fbf13eced968fb80d80
Auto-generated-cl: translation import
2014-12-08 11:22:45 -08:00
Tadashi G. Takaoka 8fa7cdcb69 am 3dca77ec: Merge "Refactor KeysCache to UniqueKeysCache"
* commit '3dca77ec076a8d7fa64a5326a0409f038edac890':
  Refactor KeysCache to UniqueKeysCache
2014-12-08 08:39:15 +00:00
Tadashi G. Takaoka 3dca77ec07 Merge "Refactor KeysCache to UniqueKeysCache" 2014-12-08 08:33:38 +00:00
Tadashi G. Takaoka bf6b55853d am 5ac8b040: Merge "Remove RichInputMethodManager.updateShortcutIME call from SubtypeSwitcher"
* commit '5ac8b040e8ddfd9e33370efd8f5b15372c499c3c':
  Remove RichInputMethodManager.updateShortcutIME call from SubtypeSwitcher
2014-12-06 01:48:54 +00:00
Tadashi G. Takaoka 5ac8b040e8 Merge "Remove RichInputMethodManager.updateShortcutIME call from SubtypeSwitcher" 2014-12-06 01:44:54 +00:00
Andy Wang a25169bc37 am 8584db14: Add keyboard margin options to place the keyboard dynamically.
* commit '8584db1461d286f8eb966c40eb0bc76e8c9df76a':
  Add keyboard margin options to place the keyboard dynamically.
2014-12-05 07:33:19 +00:00
Andy Wang 8584db1461 Add keyboard margin options to place the keyboard dynamically.
Keyboard location and location can now be set in the debug options
section.

Change-Id: I87c5a1d679489e12dccf26632c399af28087629e
2014-12-05 16:21:20 +09:00
Geoff Mendal d21db3cf61 Merge "Import translations. DO NOT MERGE" 2014-12-04 04:59:25 +00:00
Geoff Mendal 92fdb3d966 Merge "Import translations. DO NOT MERGE" 2014-12-04 04:58:09 +00:00
Geoff Mendal f201aac092 Merge "Import translations. DO NOT MERGE" 2014-12-04 04:57:55 +00:00
Geoff Mendal 81e4f7bbc4 Merge "Import translations. DO NOT MERGE" 2014-12-04 04:57:37 +00:00
Tadashi G. Takaoka 77f4c0dde3 am 57996128: Merge "Fix comment"
* commit '57996128591ab4b7891beb4aa1b3c5caf94ba979':
  Fix comment
2014-12-03 17:19:19 +00:00
Geoff Mendal 0bf7f5744a Import translations. DO NOT MERGE
Change-Id: I7d62a0ae1381400f738f3c412099b7cc6b29b235
Auto-generated-cl: translation import
2014-12-03 07:40:59 -08:00
Geoff Mendal 73063f6c92 Import translations. DO NOT MERGE
Change-Id: I89edde7e6211e021080f483bdb29ba2bc4a45569
Auto-generated-cl: translation import
2014-12-03 07:39:41 -08:00
Geoff Mendal b8d30f3433 Import translations. DO NOT MERGE
Change-Id: I34449c93e9983c00f27a05bac7aaa63fd884aadf
Auto-generated-cl: translation import
2014-12-03 07:38:01 -08:00
Geoff Mendal 4fec3522bb Import translations. DO NOT MERGE
Change-Id: I095f173fadbd9d950f4e88b4df8e8c373bcbd2f1
Auto-generated-cl: translation import
2014-12-03 07:36:49 -08:00
Geoff Mendal 7931010072 Import translations. DO NOT MERGE
Change-Id: If617d908d39c28f08a9da6b56fcaa848b0bb097e
Auto-generated-cl: translation import
2014-12-03 07:35:32 -08:00
Tadashi G. Takaoka 5799612859 Merge "Fix comment" 2014-12-03 05:03:46 +00:00
Keisuke Kuroyanagi a0c82bdc25 am e79d504c: Merge "Cancel interval alarm for dictionary decaying in onDestroy."
* commit 'e79d504cf521e6dd516f0d15eb29f9e61be3e85d':
  Cancel interval alarm for dictionary decaying in onDestroy.
2014-12-03 02:38:09 +00:00
Keisuke Kuroyanagi e79d504cf5 Merge "Cancel interval alarm for dictionary decaying in onDestroy." 2014-12-03 02:32:52 +00:00
Andy Wang c95ebf9644 am d179e408: Stop passing through keyPrefs as it\'s already available.
* commit 'd179e40899b648ce2ceb8543678176f9a696ff30':
  Stop passing through keyPrefs as it's already available.
2014-12-02 06:35:45 +00:00
Keisuke Kuroyanagi 47ae0c3af4 Cancel interval alarm for dictionary decaying in onDestroy.
Bug: 18528171
Change-Id: I6e12c006bd9eff15f3fa9cfd335bdd9fa081be61
2014-12-02 15:10:10 +09:00
Andy Wang d179e40899 Stop passing through keyPrefs as it's already available.
Change-Id: I43a56beba0cf0fdf5f93c5c764edbd279ee033b2
2014-12-02 05:17:51 +00:00
Adrian Velicu f8f1bb2235 am 11a3965f: Fix a misspelled method name
* commit '11a3965f8c376db4d8fbdf3c6ea6ac54550ae6ed':
  Fix a misspelled method name
2014-12-02 04:46:41 +00:00
Adrian Velicu 11a3965f8c Fix a misspelled method name
Change-Id: I1151dc1d5db3986a97daf68c1e387dbc2e4610dc
2014-12-02 12:53:56 +09:00
Geoff Mendal f5c754eb8a Import translations. DO NOT MERGE
Change-Id: I18ee0107ad0292a8b19bbda3fe875b6d1757d6b4
Auto-generated-cl: translation import
2014-12-01 08:44:42 -08:00
Tadashi G. Takaoka 10f4d6e524 am 391e83dc: Merge "Add null analysis annotations to keyboard package"
* commit '391e83dc8f2643fb415d7116170b922de827e0a1':
  Add null analysis annotations to keyboard package
2014-12-01 03:41:48 +00:00
Tadashi G. Takaoka 391e83dc8f Merge "Add null analysis annotations to keyboard package" 2014-12-01 03:37:53 +00:00
Tadashi G. Takaoka 4dd9f336f6 Fix comment
Change-Id: Ia07839c1a01b4d2a82a49017410637266ea1eb96
2014-12-01 12:24:00 +09:00
Tadashi G. Takaoka 4486314225 Remove RichInputMethodManager.updateShortcutIME call from SubtypeSwitcher
Change-Id: I5661a7926cf5a404788516c542b25cc0707bb417
2014-12-01 12:16:10 +09:00
Jean Chalard 8fc596ed17 am 949045b6: Merge "Be always confident in the current language when only one"
* commit '949045b6a3582c52191c8f44698ee92568b52724':
  Be always confident in the current language when only one
2014-11-28 03:30:09 +00:00
Jean Chalard 949045b6a3 Merge "Be always confident in the current language when only one" 2014-11-28 03:25:29 +00:00
Jean Chalard 2d81c1f183 Be always confident in the current language when only one
Change-Id: I7ea289f7e78aa33562c7737e91024a25c02333b6
2014-11-28 12:22:16 +09:00
Tadashi G. Takaoka f635fa7b8e am 796792ce: Merge "Fix comment"
* commit '796792ce6d1d613fee27d326d2c1ef57d2a706b4':
  Fix comment
2014-11-28 03:05:45 +00:00
Tadashi G. Takaoka c9952fa7d0 am 063b2e8d: Merge "Make LocaleUtils.constructLocaleFromString as @Nonnull"
* commit '063b2e8d7141641dff06093c807e75737a082818':
  Make LocaleUtils.constructLocaleFromString as @Nonnull
2014-11-28 03:05:43 +00:00
Tadashi G. Takaoka 796792ce6d Merge "Fix comment" 2014-11-28 03:03:00 +00:00
Tadashi G. Takaoka 063b2e8d71 Merge "Make LocaleUtils.constructLocaleFromString as @Nonnull" 2014-11-28 03:02:20 +00:00
Tadashi G. Takaoka 4ea7092aa3 am 032bac3e: Merge "Fix crash while settings custom input style"
* commit '032bac3ebbf37adbe879bd9dea2364571e3c91d6':
  Fix crash while settings custom input style
2014-11-28 03:01:03 +00:00
Tadashi G. Takaoka 1ea80887c4 Fix comment
Change-Id: Ic0db304f213c9f4fdcea263a91d14ad62b98eb70
2014-11-28 12:00:49 +09:00
Tadashi G. Takaoka 041a7291a7 am 71f82c37: Merge "Fix settings keys on tablet"
* commit '71f82c375cef69cb9044805b0ad87c394dc25ca2':
  Fix settings keys on tablet
2014-11-28 02:57:16 +00:00
Tadashi G. Takaoka d39011e2d7 am b0a0ce0b: Remove unused import and local variable
* commit 'b0a0ce0b31c552270a21f2952b2d804b119e22e9':
  Remove unused import and local variable
2014-11-28 02:57:15 +00:00
Tadashi G. Takaoka 032bac3ebb Merge "Fix crash while settings custom input style" 2014-11-28 02:56:55 +00:00
Tadashi G. Takaoka 71f82c375c Merge "Fix settings keys on tablet" 2014-11-28 02:56:01 +00:00
Tadashi G. Takaoka b0a0ce0b31 Remove unused import and local variable
Change-Id: I256d1c6bf96c07b10d2d063d7935e20e0ab8ea17
2014-11-28 11:53:12 +09:00
Tadashi G. Takaoka f463ffd3c2 am 60d880cf: Remove unnecessary code of CustomInputStylePreference
* commit '60d880cf5e08553257212aaf63b51b4ce7efb2ef':
  Remove unnecessary code of CustomInputStylePreference
2014-11-28 02:44:07 +00:00
Tadashi G. Takaoka 60d880cf5e Remove unnecessary code of CustomInputStylePreference
Change-Id: I68d2c85139e01684d5f0705f621ba223fc5e4425
2014-11-27 17:05:37 +09:00
Tadashi G. Takaoka 06b02817b3 Fix crash while settings custom input style
Bug: 18515346
Change-Id: I3a893333762233cd6c8716755793f6ffaf22bb9a
2014-11-27 17:03:40 +09:00
Tadashi G. Takaoka 64885b263e Fix settings keys on tablet
Bug: 18531491
Change-Id: Id374932b71674177abddd6d249ba6e712cbb5d25
2014-11-27 16:08:53 +09:00
Tadashi G. Takaoka 01d54002b3 Refactor KeysCache to UniqueKeysCache
Change-Id: I8e3c4705c705a1c6e05e9112211d7012912d7e41
2014-11-27 15:44:22 +09:00
Tadashi G. Takaoka 9d5d01a543 Add null analysis annotations to keyboard package
Change-Id: I6f020ece3c45d584d413e4265d6d3fbdf1ea8bd8
2014-11-27 12:37:38 +09:00
Tadashi G. Takaoka 2daf1b910a am bb4075bc: Merge "Fix possible NPE in MainKeyboardView"
* commit 'bb4075bc9378b791f5b73bde2a448acc50606947':
  Fix possible NPE in MainKeyboardView
2014-11-27 03:05:30 +00:00
Tadashi G. Takaoka 50b0e7cdba am 2ffcad11: Merge "Remove unused code from DictionaryFactory"
* commit '2ffcad113a19bb1c33a9d2cc796d3b3d7f2b8316':
  Remove unused code from DictionaryFactory
2014-11-27 03:05:28 +00:00
Tadashi G. Takaoka bb4075bc93 Merge "Fix possible NPE in MainKeyboardView" 2014-11-27 03:03:54 +00:00
Tadashi G. Takaoka 2ffcad113a Merge "Remove unused code from DictionaryFactory" 2014-11-27 03:01:46 +00:00
Tadashi G. Takaoka 5de30cc2a4 am b5a7ece0: Merge "Remove obsolete comment"
* commit 'b5a7ece02bc4619f4163a83f5534905aa0a01c73':
  Remove obsolete comment
2014-11-27 02:57:11 +00:00
Tadashi G. Takaoka b5a7ece02b Merge "Remove obsolete comment" 2014-11-27 02:52:04 +00:00
Jatin Matani 12d63820d4 Hook for fetching sync content from UserHistoryDict
Add API to ExpandableBinaryDictionary to dump content
from a given dictionary. We use this for dumping data
for sync process.

Refactored UserHistoryDictionaryTests to scrap out the util
methods for testing. These utility methods would be used
for testing sync + user dictionary code in LatinIMEGoogleTests

Bug:18106539
Change-Id: I357f9192ea1bd69a526d0b620c25616a2e8e9d5b
2014-11-26 11:17:24 -08:00
Geoff Mendal 0cc4b88531 Import translations. DO NOT MERGE
Change-Id: I6edc9f4285ac08e1d97360a0b6d489c5f809c363
Auto-generated-cl: translation import
2014-11-26 07:18:45 -08:00
Jean Chalard 88e021f2ef am 56577461: Allow whitelist changes when no close word
* commit '56577461d63ad3618598ceddfb9a73b797917061':
  Allow whitelist changes when no close word
2014-11-26 10:41:33 +00:00
Jean Chalard 56577461d6 Allow whitelist changes when no close word
When there isn't a close word in another language of the
current multi-language set, we allow whitelist entries
to take force even if we are not confident in the current
language.

Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: I044674ba7b70aa86ab2a48d2e4d53a1c8007b62c
2014-11-26 18:43:22 +09:00
Jean Chalard 9ab179a142 am e752aab7: Use confidence to fix whitelist
* commit 'e752aab70dc15c993a65d7db8314a72bb9e0f8b2':
  Use confidence to fix whitelist
2014-11-26 08:37:27 +00:00
Jean Chalard e752aab70d Use confidence to fix whitelist
With this the most obvious problem is fixed. However there
are two remaining items : we should still enforce whitelist
when there are no close candidates at all, and we should
start in confident mode when pressing the globe key.

Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: Ibc0571ae35fc28f8d13760aa86b25db1163d3e31
2014-11-26 17:29:59 +09:00
Tadashi G. Takaoka cbefc0c8f9 Remove obsolete comment
Change-Id: I9e606fd573a60d12482b12e0e9adaecd552f66a7
2014-11-26 12:02:07 +09:00
Jean Chalard 5af54d904a am b479a56f: Merge "Add confidence."
* commit 'b479a56f281d7b20abbb05369a5d6d0a6ce9dc67':
  Add confidence.
2014-11-25 06:25:17 +00:00
Jean Chalard b479a56f28 Merge "Add confidence." 2014-11-25 06:22:30 +00:00
Jean Chalard d06dd0ca12 Add confidence.
Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: Ica09d11cb95308dd014c4e4e0d99a30dd66bfea9
2014-11-25 14:41:27 +09:00
Tadashi G. Takaoka 58f5e62ba8 am 8e327009: Merge "Refactor PointerTracker and MainKeyboardView"
* commit '8e3270091409ac7c1f9d960f5023d4ddf5f46114':
  Refactor PointerTracker and MainKeyboardView
2014-11-25 02:13:23 +00:00
Tadashi G. Takaoka 8e32700914 Merge "Refactor PointerTracker and MainKeyboardView" 2014-11-25 02:09:25 +00:00
Geoff Mendal dd01ed3af8 Merge "Import translations. DO NOT MERGE" 2014-11-24 18:05:52 +00:00
Geoff Mendal e6e354720c Merge "Import translations. DO NOT MERGE" 2014-11-24 18:04:24 +00:00
Geoff Mendal 7c2da981de Merge "Import translations. DO NOT MERGE" 2014-11-24 18:03:12 +00:00
Geoff Mendal e40a068cee Merge "Import translations. DO NOT MERGE" 2014-11-24 18:02:54 +00:00
Geoff Mendal d665a22f69 Import translations. DO NOT MERGE
Change-Id: I8a777c9f33e81b6b95bec3b20ef5370ccb88b5f6
Auto-generated-cl: translation import
2014-11-24 07:50:47 -08:00
Geoff Mendal 7c4f3f4ea2 Import translations. DO NOT MERGE
Change-Id: Ie03e186016b62bf0d758dd25ee820e6180944e02
Auto-generated-cl: translation import
2014-11-24 07:49:06 -08:00
Geoff Mendal af204539c3 Import translations. DO NOT MERGE
Change-Id: Ic96fae7d192e2994698f1b48d0f8f07ba52607e7
Auto-generated-cl: translation import
2014-11-24 07:48:25 -08:00
Geoff Mendal 909e5628ef Import translations. DO NOT MERGE
Change-Id: I3a0eb63a15ceb2330de6558bf3cb93987ee753af
Auto-generated-cl: translation import
2014-11-24 07:47:05 -08:00
Geoff Mendal eaee40e223 Import translations. DO NOT MERGE
Change-Id: I58dc523d0cc2eed8750d877e44556b5c97767540
Auto-generated-cl: translation import
2014-11-24 07:45:58 -08:00
Geoff Mendal 0791009872 Import translations. DO NOT MERGE
Change-Id: Ice840a82a58fc65860512fdcfd3a5ef29e3a0a6c
Auto-generated-cl: translation import
2014-11-24 07:44:49 -08:00
Tadashi G. Takaoka a414b81a6c Remove unused code from DictionaryFactory
Change-Id: I666308ada968ee7993235ad98b92f2ad522af122
2014-11-21 17:58:50 +09:00
Tadashi G. Takaoka e757c9605f am 8a711f2a: Remove unneeded Context argument
* commit '8a711f2a547a61b9f4f3ef3bdb79a66b618db58f':
  Remove unneeded Context argument
2014-11-21 03:59:48 +00:00
Tadashi G. Takaoka 8a711f2a54 Remove unneeded Context argument
Change-Id: Ib34931836a617d0dc049fb3c9ae6686374ec8c12
2014-11-21 12:49:04 +09:00
Tadashi G. Takaoka 53b6d627e7 Refactor PointerTracker and MainKeyboardView
This CL reorganize the key press/release state visual drawing code.

Change-Id: I4aa10f57309ae2f81333a1e2bd863c23a7a41d82
2014-11-21 12:40:00 +09:00
Tadashi G. Takaoka ebe5b42f71 Make LocaleUtils.constructLocaleFromString as @Nonnull
Change-Id: I82d574c67b25239510f3ecc8882efe46e40677eb
2014-11-21 12:02:06 +09:00
Jean Chalard 9e13e83b25 am 4195567d: Merge "Annotate the typed word with its source dictionary"
* commit '4195567d24e89b36d23fac89a01ca9459d5b7c47':
  Annotate the typed word with its source dictionary
2014-11-20 09:56:02 +00:00
Jean Chalard a7efe06208 Annotate the typed word with its source dictionary
...when applicable of course. This will allow for informing the
language switching authorities that the typed word was a
specific language, instead of leaving them in the dark.

Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: Ice3e7026a68c3018f54d730ec84f6762bf55899b
2014-11-20 18:31:01 +09:00
Tadashi G. Takaoka a66069abd8 Fix possible NPE in MainKeyboardView
Change-Id: I1fc21a981d9f1740315763b5ca0c1024ece1fa4d
2014-11-20 15:07:28 +09:00
Jean Chalard c4b2322970 am a94733cb: Fix an NPE.
* commit 'a94733cbca5bc3544fa73fa1649bbb1dadf31356':
  Fix an NPE.
2014-11-20 05:53:43 +00:00
Jean Chalard a94733cbca Fix an NPE.
Change-Id: Ie5ab5cc716ef1211eb9ad76baa0467455e1f1a71
2014-11-20 14:48:33 +09:00
Jean Chalard d0fea7bebf am 1d80cb23: Merge "Fix a NPE"
* commit '1d80cb230180305a173add2fe30b14cefc597126':
  Fix a NPE
2014-11-20 05:32:03 +00:00
Jean Chalard 1d80cb2301 Merge "Fix a NPE" 2014-11-20 05:28:47 +00:00
Jean Chalard cb0a34c408 am a2cb2f36: Make the typed word a SuggestedWordInfo
* commit 'a2cb2f36a6b51f73602bd7e917c418657da0c973':
  Make the typed word a SuggestedWordInfo
2014-11-20 05:04:56 +00:00
Jean Chalard a2cb2f36a6 Make the typed word a SuggestedWordInfo
That allows to carry the language information in an
accurate manner.

Bug: 18063142
Change-Id: I0bca8981372ae10648274095b18b26a3686b762b
2014-11-20 13:57:01 +09:00
Jean Chalard 0e00f5fe3a Fix a NPE
Bug: 18451316
Change-Id: Ia20bf388471f84c963354df050182e722d966a02
2014-11-20 13:50:27 +09:00