Jean Chalard
fdc4173213
Merge "Fix a view-related crash"
2014-02-14 09:19:34 +00:00
Jean Chalard
a7e3e74ddd
Fix a view-related crash
...
Bug: 12788164
Change-Id: If0d815518824a8e57b15e80111c5e6e08e93ba7e
2014-02-14 18:03:34 +09:00
Tadashi G. Takaoka
0d25c11b6f
am 3c4f05dd: Remove unused label_tab_key
...
* commit '3c4f05dd66f8211508010e82b414d111037f35dd':
Remove unused label_tab_key
2014-02-14 00:53:46 -08:00
Tadashi G. Takaoka
3c4f05dd66
Remove unused label_tab_key
...
Change-Id: Ic10b9678c9b0ebab977589aa0093740b9c9f2d90
2014-02-14 17:40:53 +09:00
Tadashi G. Takaoka
9286ff7f2b
am e422c946: Fix test resource declarations and parsing a bit
...
* commit 'e422c94634da4d0e61a9106addebf06cbcf70c2e':
Fix test resource declarations and parsing a bit
2014-02-13 23:38:49 -08:00
Tadashi G. Takaoka
e422c94634
Fix test resource declarations and parsing a bit
...
Change-Id: I882a41b2934c48f4405f1ea5bf4d6ad41e87322c
2014-02-14 16:27:26 +09:00
Tadashi G. Takaoka
240cc54a0a
am d4469756: Merge "Special punctuations for Arabic and Persian"
...
* commit 'd4469756beca3b890fa52ff21aefa0559b0c38ac':
Special punctuations for Arabic and Persian
2014-02-13 23:22:56 -08:00
Tadashi G. Takaoka
d4469756be
Merge "Special punctuations for Arabic and Persian"
2014-02-14 07:20:25 +00:00
Tadashi G. Takaoka
96e16d6f18
am 17993ed4: Merge "Fix null KeyDetector reference"
...
* commit '17993ed4ef235a730f609f6bd38c914ff0f5b4a6':
Fix null KeyDetector reference
2014-02-13 23:19:37 -08:00
Tadashi G. Takaoka
17993ed4ef
Merge "Fix null KeyDetector reference"
2014-02-14 07:17:33 +00:00
Tadashi G. Takaoka
d508b676cf
Special punctuations for Arabic and Persian
...
This change also removes duplications from tablet punctuation suggestions
Bug: 12640318
Change-Id: I221922484027d6b91e2f23a6bf60a18766f3a13c
2014-02-14 16:11:50 +09:00
Tadashi G. Takaoka
65507d5fb1
am 32a7e079: Merge "Add PunctuationSuggestions class"
...
* commit '32a7e079e0f66c23405880bc228edcbaa42bd945':
Add PunctuationSuggestions class
2014-02-13 22:21:01 -08:00
Tadashi G. Takaoka
8cdd284d59
am 42e4ea7d: Add Kazakh (kk) subtype
...
* commit '42e4ea7d6cdaddcd2b055d3d8ddf04c86dba2575':
Add Kazakh (kk) subtype
2014-02-13 22:20:58 -08:00
Tadashi G. Takaoka
32a7e079e0
Merge "Add PunctuationSuggestions class"
2014-02-14 06:19:52 +00:00
Tadashi G. Takaoka
42e4ea7d6c
Add Kazakh (kk) subtype
...
The Kazakh (kk) subtype has been temporarily disabled by Ic44ef378a9.
Bug: 9698902
Change-Id: Ib2096cdf79fd45d36f5504be55f76416ba11445d
2014-02-14 15:16:16 +09:00
Tadashi G. Takaoka
a273319c59
Add PunctuationSuggestions class
...
This change must be checked in together with I366c477516.
Bug: 12640318
Change-Id: I8d3864b9d9649c9e3306e82b01a6327b11281b1f
2014-02-14 14:13:39 +09:00
Jean Chalard
19d5d141a5
am 4197c6f3: Merge "Show the suggestion strip for the important notice"
...
* commit '4197c6f3ab1db7d37bfb5fca05bd7169504f451e':
Show the suggestion strip for the important notice
2014-02-13 20:10:09 -08:00
Jean Chalard
4197c6f3ab
Merge "Show the suggestion strip for the important notice"
2014-02-14 04:07:46 +00:00
Tadashi G. Takaoka
ef8a03685f
Fix null KeyDetector reference
...
This change must be checked in together with I737c266c45.
Bug: 13011041
Change-Id: Ia3d25be6de47fa16ab7156a25641e53a23948ff4
2014-02-14 11:42:09 +09:00
Yohei Yukawa
f45b3b98cf
am 362ab36c: Fix a null object reference crash on Emoji Palette
...
* commit '362ab36cf009d724768e742c3b2e264387efc521':
Fix a null object reference crash on Emoji Palette
2014-02-13 17:56:36 -08:00
Yohei Yukawa
362ab36cf0
Fix a null object reference crash on Emoji Palette
...
Do nothing if the current EmojiPageKeyboardView is null.
BUG: 13006906
Change-Id: I169b70122ec939075b5be033953b48762fd528fc
2014-02-14 10:36:31 +09:00
Yohei Yukawa
a1e6d5cb5f
am 5f9f4b92: Merge "Fix indent."
...
* commit '5f9f4b929b246491865553758fe55d58e720ca44':
Fix indent.
2014-02-13 17:28:34 -08:00
Yohei Yukawa
5f9f4b929b
Merge "Fix indent."
2014-02-14 01:26:48 +00:00
Jean Chalard
ef30447d2a
am 5e099580: Merge "Backward compatibility hack : send delete when empty."
...
* commit '5e099580565039dfd19cc23eff5e086202473fcd':
Backward compatibility hack : send delete when empty.
2014-02-13 02:13:00 -08:00
Jean Chalard
5e09958056
Merge "Backward compatibility hack : send delete when empty."
2014-02-13 10:09:41 +00:00
Jean Chalard
2c48846903
Backward compatibility hack : send delete when empty.
...
Some apps depend on the keyboard sending something to them
when the text is empty. This is BROKEN. Your app must not lie
to the keyboard about what is before the cursor. If there is something
to delete, you must not pretend there is not and try to catch some
delete event. This will result in a bad user experience. This will not
work with all IMEs. If your app needs this broken behavior, you're
doing it wrong. Seriously guys, we're not in the era of typewriters
any more, there are touch screens, there are gestures, there is
accessibility, there are many innovative IMEs that don't have
keys. Do *NOT* rely on key events.
This change implements an ugly hack so that these broken apps
may continue half-working with LatinIME. We are very unhappy
about this.
Bug: 12998568
Change-Id: Ia62ae2fbee4fee65b463acf3a79aafcfd0defa1d
2014-02-13 18:41:54 +09:00
Tadashi G. Takaoka
8950f96b84
am 7ae6721f: Remove RTL aware !code and add corresponding !text
...
* commit '7ae6721ffad1e79ee446de87d13f18a27619830b':
Remove RTL aware !code and add corresponding !text
2014-02-13 01:37:30 -08:00
Tadashi G. Takaoka
64e4e1883b
am 3cb77678: Fix Armenian switch to alphabet key text
...
* commit '3cb77678f52d343aff03cd9facf5379c7ef7e519':
Fix Armenian switch to alphabet key text
2014-02-13 01:37:28 -08:00
Tadashi G. Takaoka
7ae6721ffa
Remove RTL aware !code and add corresponding !text
...
Change-Id: I9021c8fa1cf2d4ac07579237a939c15551509a0b
2014-02-13 17:32:09 +09:00
Tadashi G. Takaoka
3cb77678f5
Fix Armenian switch to alphabet key text
...
Bug: 7963631
Change-Id: If5768c761ec96d3404900b0c017abc2317cce8d4
2014-02-13 17:26:16 +09:00
Tadashi G. Takaoka
f676586b85
am 0af6d988: Merge "Optimize KeyboardTextsTable"
...
* commit '0af6d988a7dc0ccce2ba7d0c4cbe4cc0c9c0c921':
Optimize KeyboardTextsTable
2014-02-13 00:25:48 -08:00
Tadashi G. Takaoka
0af6d988a7
Merge "Optimize KeyboardTextsTable"
2014-02-13 08:22:58 +00:00
Tadashi G. Takaoka
0fe4d00068
Optimize KeyboardTextsTable
...
This change counts all occurrences of each string resource and sort
those in descending order of the occurrence.
Change-Id: I726402157feb0d436a54bd0a7252acd17fd711f9
2014-02-13 17:11:00 +09:00
Tadashi G. Takaoka
8cdc727346
am 36b8962a: Merge "Fix UserHistoryDictionaryTests"
...
* commit '36b8962a9ae063e51567ccae25d81b841cb322f0':
Fix UserHistoryDictionaryTests
2014-02-12 23:52:10 -08:00
Tadashi G. Takaoka
36b8962a9a
Merge "Fix UserHistoryDictionaryTests"
2014-02-13 07:49:51 +00:00
Tadashi G. Takaoka
6f028d243d
am 32c8d58c: Merge "Fix showing all suggestions when the top suggestion is long"
...
* commit '32c8d58cef6ef9c55e8c4362da7ab1d4f9942d37':
Fix showing all suggestions when the top suggestion is long
2014-02-12 23:19:58 -08:00
Tadashi G. Takaoka
32c8d58cef
Merge "Fix showing all suggestions when the top suggestion is long"
2014-02-13 07:17:31 +00:00
Tadashi G. Takaoka
0cda0e8a9c
Fix UserHistoryDictionaryTests
...
Change-Id: I5f2f555f9c3f471545921ef80e4cf528976be837
2014-02-13 16:16:44 +09:00
Baligh Uddin
9819bb7c2e
Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle
2014-02-13 06:43:32 +00:00
Baligh Uddin
d23cef69c6
Merge "Import translations. DO NOT MERGE"
2014-02-13 06:43:25 +00:00
Tadashi G. Takaoka
4f8a8f125e
Fix showing all suggestions when the top suggestion is long
...
This change also fixes Bug#12982404; displays the suggestion word
using entire suggestions strip if there is only one suggestion.
Bug: 12564279
Bug: 12982404
Change-Id: I51806b90c3ee34a2072880245d4e33f7be273c8f
2014-02-13 15:22:36 +09:00
Jean Chalard
2311c4b976
am e0a42568: Merge "Fix a test."
...
* commit 'e0a425681c2902b463e57c55a4c4e9d6b3dc7311':
Fix a test.
2014-02-12 21:22:57 -08:00
Jean Chalard
e0a425681c
Merge "Fix a test."
2014-02-13 05:20:58 +00:00
Jean Chalard
cf03ff02b1
Fix a test.
...
This fixes two separate problems:
- The word finds itself with two separate suggestion spans.
This is fine for LatinIME, but it's hard to predict whether it's
fine for other interested parties (other keyboards).
- The test for the blue underline was incorrect.
Change-Id: I3ecc849676851bf25a25238d694adaa956521a26
2014-02-13 14:01:37 +09:00
Tadashi G. Takaoka
d360816f43
am 8dd47029: Merge "Refactor dictionary constructor"
...
* commit '8dd47029f129cf7077c091170a8f7eeb88dd0ccf':
Refactor dictionary constructor
2014-02-12 20:58:18 -08:00
Tadashi G. Takaoka
8dd47029f1
Merge "Refactor dictionary constructor"
2014-02-13 04:55:16 +00:00
Jean Chalard
92e772e5df
am c3cfabd0: Merge "Dump settings."
...
* commit 'c3cfabd0ebdaf51251e4ec14ad46ba4d476bacca':
Dump settings.
2014-02-12 20:29:18 -08:00
Jean Chalard
c3cfabd0eb
Merge "Dump settings."
2014-02-13 04:26:52 +00:00
Tadashi G. Takaoka
870d89b1a8
Refactor dictionary constructor
...
This change must be checked in together with I3923d5af2a.
Bug: 12994268
Change-Id: I19de6efbdfa3b6c6c69a20a836e53962fd5737de
2014-02-13 13:23:55 +09:00
Baligh Uddin
a973e0926a
Import translations. DO NOT MERGE
...
Change-Id: Ibf72865a393c8e5e41ef6420e7131bbcddfb18e5
Auto-generated-cl: translation import
2014-02-12 16:04:35 -08:00
Baligh Uddin
e99f9d727e
Import translations. DO NOT MERGE
...
Change-Id: I54170dbd991b10f1a037318adcc766ead114ea27
Auto-generated-cl: translation import
2014-02-12 16:03:08 -08:00
Yohei Yukawa
cfe26bbcde
Fix indent.
...
This is a follow up for the previous commit to fix indent.
BUG: 12964092
Change-Id: I0530b1c0dae26ac736ddcc6d426ec6ce57bce4d1
2014-02-13 01:58:58 +09:00
Jean Chalard
367a35d377
Dump settings.
...
Bug: 10315296
Change-Id: Ieb020a23886514b3ba97611d8a6001f32b322f63
2014-02-12 22:53:15 +09:00
Yohei Yukawa
a8a06ad6d4
am 50fbe4cc: Merge "Cancel keydown events immediately once the view starts scrolling"
...
* commit '50fbe4cc09e9ee98f94f3a90b1353ec22ac149c7':
Cancel keydown events immediately once the view starts scrolling
2014-02-12 02:23:24 -08:00
Yohei Yukawa
50fbe4cc09
Merge "Cancel keydown events immediately once the view starts scrolling"
2014-02-12 10:21:08 +00:00
Yohei Yukawa
4c259866c4
Cancel keydown events immediately once the view starts scrolling
...
The motivation of this patch is to make sure a user never feel
haptic feedback when scrolling the Emoji palette. In order to
achieve it, EmojiPageKeyboardView#releaseCurrentKey() should
be called whenever (delayed) keydown events should be canceled.
This patch wires up ViewPager.OnPageChangeListener#onPageScrolled
with EmojiPageKeyboardView#releaseCurrentKey() so that delayed
keydown events will be canceled immediately once the ViewParger
starts scrolling.
BUG: 12964092
Change-Id: Iea8c3e090bb16a8622e6b4a850af2bf963aa77d0
2014-02-12 18:56:08 +09:00
Tadashi G. Takaoka
71a6277e87
am 5a885e85: Merge "Keep showing key preview even when keyboard has been changed"
...
* commit '5a885e85c2df89247ccdde50fe26ca46438727fb':
Keep showing key preview even when keyboard has been changed
2014-02-12 01:43:41 -08:00
Tadashi G. Takaoka
5a885e85c2
Merge "Keep showing key preview even when keyboard has been changed"
2014-02-12 09:40:55 +00:00
Tadashi G. Takaoka
0b7cecf1f0
am dd6ba4b1: Merge "Fix bug in KeyPreviewChoreographer.dismissKeyPreview"
...
* commit 'dd6ba4b184c2572f4947fda7d0743a7be919045c':
Fix bug in KeyPreviewChoreographer.dismissKeyPreview
2014-02-12 01:37:17 -08:00
Tadashi G. Takaoka
dd6ba4b184
Merge "Fix bug in KeyPreviewChoreographer.dismissKeyPreview"
2014-02-12 09:13:37 +00:00
Jean Chalard
8adedbf47c
Show the suggestion strip for the important notice
...
Bug: 10587358
Change-Id: Ia060a9ca9dfc2e7fe0750536a9fea3b9cc5900c4
2014-02-12 17:30:04 +09:00
Tadashi G. Takaoka
075158ccd0
Keep showing key preview even when keyboard has been changed
...
Bug: 12979147
Change-Id: I7e1f60686d6a8a0fca463174abb0a45f1f62ca43
2014-02-12 15:09:03 +09:00
Tadashi G. Takaoka
7e9b0b42bf
Fix bug in KeyPreviewChoreographer.dismissKeyPreview
...
Bug: 12979147
Change-Id: Ibc60b4565badaebe760194f27984b02f9f966996
2014-02-12 14:50:56 +09:00
Tadashi G. Takaoka
1fefabfe23
am 351c8e61: Merge "Make importance notice dialog cancel able"
...
* commit '351c8e6185a3b301a7469358cc1df5d075fc1b01':
Make importance notice dialog cancel able
2014-02-11 20:29:05 -08:00
Tadashi G. Takaoka
351c8e6185
Merge "Make importance notice dialog cancel able"
2014-02-12 04:25:59 +00:00
Keisuke Kuroyanagi
a44879a8be
am b05b183f: Merge "Increase CHAR LIMIT for personalized setting."
...
* commit 'b05b183f60f9e01aa6a90b655dc27fcb324a195f':
Increase CHAR LIMIT for personalized setting.
2014-02-11 20:14:12 -08:00
Keisuke Kuroyanagi
b05b183f60
Merge "Increase CHAR LIMIT for personalized setting."
2014-02-12 04:11:16 +00:00
Keisuke Kuroyanagi
29c92c40e0
Increase CHAR LIMIT for personalized setting.
...
Bug: 12189366
Change-Id: I19764b3aaf97319ac841460ac2a6ab1571d3ea2b
2014-02-12 12:23:22 +09:00
Tadashi G. Takaoka
7ffac033ac
Make importance notice dialog cancel able
...
Bug: 10587358
Change-Id: I7415a6f33e6b5542718164fea1555095d23233e5
2014-02-12 11:59:43 +09:00
Baligh Uddin
2089afd257
Merge "Import translations. DO NOT MERGE"
2014-02-11 21:33:06 +00:00
Baligh Uddin
31df2d1aea
Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle
2014-02-11 21:33:01 +00:00
Tadashi G. Takaoka
bd060947ad
am 6e1710f0: Merge "Optimize text resources\' ordering a bit"
...
* commit '6e1710f0d474f8750a8dacfd10ec5fccc10909ea':
Optimize text resources' ordering a bit
2014-02-11 05:37:28 -08:00
Tadashi G. Takaoka
6e1710f0d4
Merge "Optimize text resources' ordering a bit"
2014-02-11 13:33:42 +00:00
Tadashi G. Takaoka
5e879c5c02
am d495cc36: Merge "Get nicer output of make-keyboard-text"
...
* commit 'd495cc36b7fd460c410b75519560febe2a3a3374':
Get nicer output of make-keyboard-text
2014-02-11 04:47:11 -08:00
Tadashi G. Takaoka
d495cc36b7
Merge "Get nicer output of make-keyboard-text"
2014-02-11 12:43:32 +00:00
Tadashi G. Takaoka
8bfd6100d9
Optimize text resources' ordering a bit
...
Change-Id: I19382f1d9a4b6be173d1e9f62edd727ea987fa20
2014-02-11 21:41:55 +09:00
Tadashi G. Takaoka
ed509695a4
Get nicer output of make-keyboard-text
...
Change-Id: I6d30127aac2198d55b1335002f7a66b4aaebf82d
2014-02-11 21:41:21 +09:00
Baligh Uddin
d8e4928372
Import translations. DO NOT MERGE
...
Change-Id: I55e2d607627ba6f1f27c8cc60ffe8416f250638e
Auto-generated-cl: translation import
2014-02-10 17:55:21 -08:00
Baligh Uddin
9930b5c1d6
Import translations. DO NOT MERGE
...
Change-Id: I7ae917a1a5c68e266ce8d998f31ad9d5b8294ec2
Auto-generated-cl: translation import
2014-02-10 17:53:20 -08:00
Jean Chalard
342cd1a0b1
am 3df8bcb7: Revert "Display predictions when the cursor is moved after a word."
...
* commit '3df8bcb7a999c63c027faf527b5995dd0d8b40b2':
Revert "Display predictions when the cursor is moved after a word."
2014-02-10 06:42:36 -08:00
Jean Chalard
3df8bcb7a9
Revert "Display predictions when the cursor is moved after a word."
...
This change is lacking some comments and break some unit tests.
It needs more work.
This reverts commit 38d31a5e79
.
Change-Id: I675854fd0729f2d01b7751e35c6d0117f4f88993
2014-02-10 14:24:30 +00:00
Jean Chalard
7a99f741d6
am 38d31a5e: Display predictions when the cursor is moved after a word.
...
* commit '38d31a5e79c64e706e1698d2d24adb51c4ac53aa':
Display predictions when the cursor is moved after a word.
2014-02-10 06:24:06 -08:00
Jean Chalard
38d31a5e79
Display predictions when the cursor is moved after a word.
...
Bug: 12951777
Change-Id: I744b98df6679edd34ca3c1392e38597325935932
2014-02-10 23:07:00 +09:00
Jean Chalard
909ad2c4ff
am f9e5b1ee: Merge "Show important notice strip"
...
* commit 'f9e5b1ee4ffa08fd10f8685cceff34daf2258ae0':
Show important notice strip
2014-02-10 04:27:26 -08:00
Jean Chalard
f9e5b1ee4f
Merge "Show important notice strip"
2014-02-10 12:18:10 +00:00
Tadashi G. Takaoka
8dda9e480b
Show important notice strip
...
Bug: 10587358
Change-Id: I1af3faa59afb2fc4cb90176acff1c2b0b1ba369c
2014-02-10 21:15:35 +09:00
Keisuke Kuroyanagi
def8a4c60b
am ea24abf8: Merge "Remove unused code."
...
* commit 'ea24abf87834bf4aae263f316ca90b4a805a00bf':
Remove unused code.
2014-02-10 03:59:22 -08:00
Keisuke Kuroyanagi
ea24abf878
Merge "Remove unused code."
2014-02-10 07:19:53 +00:00
Keisuke Kuroyanagi
b4fbf9ac2f
am 2ef87aee: Merge "Make PtNode have ProbabilityInfo instead of raw value."
...
* commit '2ef87aee3e36e2c1121b454e321e59b4b450dd82':
Make PtNode have ProbabilityInfo instead of raw value.
2014-02-09 22:13:56 -08:00
Keisuke Kuroyanagi
2ef87aee3e
Merge "Make PtNode have ProbabilityInfo instead of raw value."
2014-02-10 06:10:51 +00:00
Keisuke Kuroyanagi
69ccac6e51
Remove unused code.
...
Bug: 12810574
Change-Id: If0ef02a984469a3b6e0c00b1c3c8d98d0d2b5466
2014-02-10 15:05:11 +09:00
Keisuke Kuroyanagi
8ffc631826
Make PtNode have ProbabilityInfo instead of raw value.
...
Bug: 11281877
Bug: 12810574
Change-Id: Id1cda0afc74c4e30633c735729143491b2274a7b
2014-02-10 15:05:08 +09:00
Tadashi G. Takaoka
4ed37fface
am cbb0a6de: Merge "Fix possible NPE while finding device override value from resource"
...
* commit 'cbb0a6de3b3ef0afad604bc2b62319d47b6e2f5d':
Fix possible NPE while finding device override value from resource
2014-02-09 21:53:37 -08:00
Tadashi G. Takaoka
cbb0a6de3b
Merge "Fix possible NPE while finding device override value from resource"
2014-02-10 05:51:44 +00:00
Tadashi G. Takaoka
bd9887a574
Fix possible NPE while finding device override value from resource
...
Bug: 12949735
Change-Id: Iffda08db413b3b3d338ab9bf625bb0968c2e48dd
2014-02-10 14:38:53 +09:00
Tadashi G. Takaoka
20083cce07
am f70bcf3d: Refactor Key constructors
...
* commit 'f70bcf3d323b13b60c0567c69768ed986647f86a':
Refactor Key constructors
2014-02-09 20:13:36 -08:00
Tadashi G. Takaoka
f70bcf3d32
Refactor Key constructors
...
This is a followup of I76432556ca.
Change-Id: Ie2c8f7c23352a33db28e89ee8e6ebaba9eb760a3
2014-02-10 11:14:35 +09:00
Tadashi G. Takaoka
6fa4705c06
am e592c1b2: Merge "Add example attribute to <xliff:g> elements in string resources"
...
* commit 'e592c1b291b9eba807b0ee888a3944555d296877':
Add example attribute to <xliff:g> elements in string resources
2014-02-09 18:11:54 -08:00
Tadashi G. Takaoka
e592c1b291
Merge "Add example attribute to <xliff:g> elements in string resources"
2014-02-10 02:09:08 +00:00
Tadashi G. Takaoka
1271da4679
Add example attribute to <xliff:g> elements in string resources
...
Bug: 8693729
Change-Id: Ide98ab83439cda43a8b84aaf64d0a9c18e44a8cc
2014-02-10 10:49:43 +09:00