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
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
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
0d3f01f301
Remove last vestiges of contextual+personal dictionary.
...
Change-Id: I20746381583ee8a4d7d42b1243f5c7ba45529e5e
2015-02-04 11:38:19 -08: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
Dan Zivkovic
00ae43316e
Fix delete handling in Emoji keyboard.
...
Bug 19113652.
Change-Id: I4255c248a25bb92f5c12da6a185d17cc13a9a69d
2015-02-03 18:27:17 -08: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
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
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
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
77e0fa1d67
LatinIME portion of multi-lang option removal.
...
Bug 19188067.
Change-Id: Ic9a3637f59dda30c699141222b9dcac3cd624b99
2015-01-29 15:57:03 -08: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
2c826fd28e
Import translations. DO NOT MERGE
...
Change-Id: I2f30e1c0c9956747c80906e31bfb2ddd9bda9587
Auto-generated-cl: translation import
2014-12-15 07:24:19 -08: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
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
498dbfbd9d
Disable multiple language input
...
Bug: 18705799
Change-Id: I73730ccf59e2697acfb3fe436c01b94c40307f2f
2014-12-11 14:50:03 +09: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
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
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
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
8af412d80c
Remove unnecessary cast and import
...
Change-Id: I9bcd6c9c48ad51aa0f95937869eb6757e4dd4511
2014-12-09 11:57:32 +09: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