Tadashi G. Takaoka
826186f66b
Use Devanagari Danda letter as full stop on Nepali keyboard
...
Bug: 17741882
Change-Id: I62e8c9a3f194b9a3a6724c7d1a92292b150ddeb9
2014-10-03 09:48:18 +00:00
Jean Chalard
332f43275d
Merge "Fix a behavior change in dicttool"
2014-10-03 09:33:28 +00:00
Jean Chalard
d415747a27
Merge "[ML13] Fix the locale passing in ProximityInfo"
2014-10-03 09:24:49 +00:00
Tadashi G. Takaoka
96d31df8c4
Fix when to show input view
...
Bug: 15922840
Bug: 17788786
Change-Id: I69aea682202650b601a295d9da583ef8e05a3982
2014-10-03 18:20:06 +09:00
Jean Chalard
4ef27c0358
[ML13] Fix the locale passing in ProximityInfo
...
The locale is used to determine additional proximity characters. This
is dependent on the dictionary language, but was passed as a function
of the layout, which is wrong and would have given bad suggestions in
multi-lingual mode.
Ideally, additional proximity characters should be inserted in the
dictionary header, but for now it's a rather simple change to get
it from the dictionary's locale instead of the proximity info locale.
Also, that allows us to remove completely the locale parameter from
proximity info, which is a much needed change.
This change has zero effect on unit tests and on regression tests.
Bug: 11230254
Change-Id: If95157155db7dccd1f00b8ba55ccb3600283f9e4
2014-10-03 18:16:34 +09:00
Jean Chalard
b28d1cc487
Fix a behavior change in dicttool
...
The behavior change was introduced by I8b3458ad. Concretely,
empty bigram lists would end up as empty lists instead of null.
Change-Id: Ibcdf7e6aabc6aba3f5db0477335882394e050ce5
2014-10-03 18:04:10 +09:00
David Faden
c92c883fdf
Add calls to stub for API to consume gesture data.
...
Bug: 17400259
Change-Id: Ib3511afffe1d14662e7dd14611f384689516e664
2014-10-03 15:01:34 +09:00
Tadashi G. Takaoka
049d642cc4
Fix ellipsizing and text scale x calculation
...
Bug: 17742721
Bug: 11158757
Change-Id: I98b55a8e661804e84f75e75675c6f2ef33ac1a11
2014-10-02 19:58:24 +09:00
Yohei Yukawa
45ebb2001d
Merge "Preserve spans when splitting sentences"
2014-10-02 09:29:23 +00:00
Jean Chalard
371d76ff07
Merge "[ML12] Add a getPrimaryLocale function and some refactoring"
2014-10-02 09:20:04 +00:00
Jean Chalard
1c0876dc49
[ML12] Add a getPrimaryLocale function and some refactoring
...
Bug: 11230254
Change-Id: Ic579b93702c24f47e6cdb0c9a4da6b11f1fa76c8
2014-10-02 18:15:35 +09:00
Akifumi Yoshimoto
7e5614520a
Merge "Include a code point table in the binary dictionary."
2014-10-02 08:55:18 +00:00
Tadashi G. Takaoka
a5cdd6f4c5
Merge "Fix unnecessary touch event handling"
2014-10-02 07:51:02 +00:00
Yohei Yukawa
3852cfa717
Preserve spans when splitting sentences
...
This CL fixes a bug that span information was unintentionally
removed when given sentences are split into words. Nothing is
changed in KitKat and prior because TextInfo never returns
spanned text until L.
Note that the spell checker service still doesn't rely on
span information even with this CL.
BUG: 16419551
Change-Id: I6ffb75ee6add4ae20e9d3dcfb90b65f097d70fba
2014-10-02 14:08:59 +09:00
Jean Chalard
c91166de54
Merge "Avoid downloading the metadata in quick succession."
2014-10-02 04:31:08 +00:00
Tadashi G. Takaoka
8ab46225b3
Fix unnecessary touch event handling
...
Bug: 17762449
Change-Id: I698ca91ab977aa65c7bd8a5fb82b3d91264cfbca
2014-10-02 12:48:26 +09:00
Akifumi Yoshimoto
9168ab60cf
Include a code point table in the binary dictionary.
...
Bug:17097992
Change-Id: I677a5eb3a704e4386f6573360e44ca335d81d2df
2014-10-02 12:27:49 +09:00
Jean Chalard
2910990065
Merge "Never include the typed word in recorrections"
2014-10-01 10:34:22 +00:00
Jean Chalard
eff21b653f
Merge "Make a better effort to detect a framework lie."
2014-10-01 10:24:32 +00:00
Jean Chalard
38144047ea
Make a better effort to detect a framework lie.
...
Bug: 17130496
Change-Id: I1a3631670c152d9b7667c9c4e08e14c48569eef5
2014-10-01 19:17:31 +09:00
Jean Chalard
7f226b4f9d
Merge "Fix an NPE on ICS factory rom."
2014-10-01 10:16:40 +00:00
Jean Chalard
57e29436b1
Fix an NPE on ICS factory rom.
...
In ICS factory rom and MR0, there was a bug where calling the
constructor for SuggestionSpan that doesn't take a context as
an argument would always return in a crash. Don't call it,
and pass an explicit context instead.
Bug: 13552505
Change-Id: I5c919499b9d086c2cf283795b2af5b91cb425933
2014-10-01 18:33:47 +09:00
Jean Chalard
4c90df7e5b
Never include the typed word in recorrections
...
Bug: 17623275
Change-Id: I2461e5e8baf06fb80a05b87f9d3db7a4d1952a01
2014-10-01 18:32:02 +09:00
Tadashi G. Takaoka
31c16d41bc
Add Uzbek keyboard
...
Bug: 13222403
Change-Id: I9a4cf447a8ab0c26c4dc7f7794c57390024660cc
2014-10-01 09:29:34 +00:00
Tadashi G. Takaoka
79d992ccba
Merge "Use Devanagari Danda letter as full stop on Hindi keyboard"
2014-10-01 09:29:14 +00:00
Tadashi G. Takaoka
a987f6d0cc
Use Devanagari Danda letter as full stop on Hindi keyboard
...
Bug: 17418371
Change-Id: I22bb2913015a83604301576e68095974c38b7c9a
2014-10-01 18:20:31 +09:00
Keisuke Kuroyanagi
bcb439e702
Merge "Add jni method to update entries for a word efficiently."
2014-10-01 08:57:02 +00:00
Keisuke Kuroyanagi
ce5fd94b97
Add jni method to update entries for a word efficiently.
...
Bug: 14425059
Change-Id: Ic628939ea68cdee17573409883a8403c73b78905
2014-10-01 17:40:20 +09:00
Tadashi G. Takaoka
d368975cdb
Merge "Add Akkhor Layout for Bengali Bangladesh"
2014-10-01 08:13:46 +00:00
Tadashi G. Takaoka
f41c11a5c0
Merge "Fix when to show more suggestions dot hint"
2014-10-01 07:58:28 +00:00
Tadashi G. Takaoka
0487290f0f
Merge "Fix NPE in KeyboardParams"
2014-10-01 07:54:47 +00:00
Keisuke Kuroyanagi
108dad1491
Merge "Introduce NgramProperty in Java side."
2014-10-01 07:53:04 +00:00
Tadashi G. Takaoka
23b35a9689
Fix when to show more suggestions dot hint
...
Bug: 17742406
Change-Id: Ifdf5d196778da2bb9bb9e3ca9250d23857d90bab
2014-10-01 16:50:28 +09:00
Tadashi G. Takaoka
dbf5701ee0
Fix NPE in KeyboardParams
...
Bug: 17707885
Change-Id: Ie6a54ac5ab60f5d11363ac8da8eef850d65dba7c
2014-10-01 16:08:58 +09:00
Jean Chalard
9d92d3e02d
Avoid downloading the metadata in quick succession.
...
Bug: 17668298
Bug: 8651816
Bug: 17709442
Change-Id: Ib232f9d95d7c01a028be85d10f974a5a570c0ed5
2014-10-01 12:20:27 +09:00
Yohei Yukawa
7b673c7265
am 5139c4fd: am 702a736e: am 31838876: am 9baaa4b5: am 6ad437ed: Merge "Fix NPE due to the lack of null-check" into lmp-dev
...
* commit '5139c4fd28d1a34981d590f2fbec9b407481ea52':
Fix NPE due to the lack of null-check
2014-10-01 02:26:35 +00:00
Keisuke Kuroyanagi
c6a6f6a990
Introduce NgramProperty in Java side.
...
Bug: 14425059
Change-Id: I8b3458ad22730b3dccbe0caea2c5930f5276dc82
2014-10-01 11:21:08 +09:00
Jatin Matani
0187db39b5
Merge "Add StatsUtils#onLoadSettings for when settings are changed"
2014-10-01 00:41:32 +00:00
Jatin Matani
cc7e44e34c
Add StatsUtils#onLoadSettings for when settings are changed
...
Non-blocking call in nature.
Bug:17013677
Change-Id: Iff737422bbacbf22c9b0ff6eaf1c1f75e6bf23c3
2014-09-30 17:09:00 -07:00
Adrian Velicu
9586d69bdf
Avoid double space when autocorrect is triggered
...
Bug: 17596034
Change-Id: Iaa6cc066eefd2436195a91791f2628e9a5f1c449
2014-09-30 15:48:48 +09:00
Yohei Yukawa
de12c1bf49
Fix NPE due to the lack of null-check
...
The case that was not coverted well is that
CursorAnchorInfoCompatWrapper could be instantiated
with null object. In such situations, we should
do nothing.
BUG: 17682582
Change-Id: I6625a2f0ed8c5580ed9edfe4728f342da77a8e40
2014-09-29 17:03:29 +09:00
Tadashi G. Takaoka
4936d259d7
Merge "Fix verbalizing missing emoticons"
2014-09-29 06:39:30 +00:00
Akifumi Yoshimoto
5e828b2c61
Merge "Create a code point table based on occurrence counts."
2014-09-29 06:31:33 +00:00
Tadashi G. Takaoka
d9d5ba4287
Fix verbalizing missing emoticons
...
Bug: 15585153
Change-Id: I8ae184047558d1a78e20efde0b08e40beb4458b9
2014-09-29 15:15:18 +09:00
Keisuke Kuroyanagi
a4a4e9d96b
Merge "Rename PrevWordsInfo to NgramContext."
2014-09-29 03:00:55 +00:00
Keisuke Kuroyanagi
33b0ebff27
Merge "Refactoring PrevWordsInfo."
2014-09-29 02:33:00 +00:00
Keisuke Kuroyanagi
bb0eca5705
Rename PrevWordsInfo to NgramContext.
...
Bug: 14425059
Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984
2014-09-29 10:52:18 +09:00
Tadashi G. Takaoka
76150b8133
Add Akkhor Layout for Bengali Bangladesh
...
Bug: 16143057
Change-Id: I0b4a3d0d1125f9af25a98ee7a1852129ae1c1d2c
2014-09-26 18:20:25 +00:00
Sandeep Siddhartha
569f6f1c9e
Merge "Add authentication/http request related code to LatinIme"
2014-09-26 17:22:12 +00:00
Sandeep Siddhartha
05274d5a0d
Add authentication/http request related code to LatinIme
...
Bug: 17464068
Bug: 17464805
Change-Id: I533ae8821e0628fdf6591538a96ab50f805c0cdf
2014-09-26 10:14:24 -07:00
Keisuke Kuroyanagi
bbd6a26be0
Refactoring PrevWordsInfo.
...
Bug: 14425059
Change-Id: I48a193b965e3055bd10a00046322c2b7b19a6232
2014-09-26 21:46:57 +09:00
Tadashi G. Takaoka
dade81d78c
Fix adding more diacritics letters for Nordic languages
...
Bug: 10787354
Change-Id: Ia71417069a0cc10d7908d0c404ce85eb0cd76540
2014-09-26 20:21:17 +09:00
Tadashi G. Takaoka
8108a3e1cd
Add Serbian Latin keyboard
...
Bug: 9687668
Change-Id: I0631ab04cf33e3d454c965e98a756c31666537bf
2014-09-26 16:01:34 +09:00
Akifumi Yoshimoto
8a6e96d286
Create a code point table based on occurrence counts.
...
Bug:17097992
Change-Id: Ifd76dbd4d385d800af416368e25c9e56a76d0fbf
2014-09-26 15:15:16 +09:00
Tadashi G. Takaoka
1c70a8e147
Merge "Add info log of custom input styles"
2014-09-26 03:56:22 +00:00
Tadashi G. Takaoka
10a93dc80c
Add info log of custom input styles
...
Bug: 17622871
Change-Id: Ia97c7bc2f0923417b458b178fbd8776d5cd0758c
2014-09-26 12:51:42 +09:00
Tadashi G. Takaoka
90058c3d1f
Add an internal state test to ImportantNoticeUtilsTests
...
On some 32bit-x86 testing emulators, it seems the internal state after
clear the related settings seems like a contradiction state. This CL
adds an test to check such internal state in order to investigate what
is happening on these emulators.
Bug: 17635340
Change-Id: Iba85f06c46959b1dc22e2a9213c50c9e7e30949b
2014-09-26 12:16:54 +09:00
Tadashi G. Takaoka
f99cce8615
Merge "Fix checking a11y status just before calling an a11y method"
2014-09-25 14:14:28 +00:00
Tadashi G. Takaoka
aaefd56661
Add !string/<resource_name> reference
...
This CL introduces new text reference notation !string/<resource_name>
to refer a string resource on the fly.
This notation is mainly used to represent action key labels may refer
a string in a system locale in run-time.
This notation is needed to implement Hinglish and Serbian-Latin
keyboards that need to refer its own action key labels.
Bug: 17169632
Bug: 9687668
Change-Id: I042f6bd04714e0e448cd92031730eb9fb422e6d3
2014-09-25 18:27:23 +09:00
Tadashi G. Takaoka
04cd8794e0
Fix checking a11y status just before calling an a11y method
...
Bug: 17035860
Change-Id: I9627d525a570ced085281b4db93fe6896081e818
2014-09-25 18:24:17 +09:00
Keisuke Kuroyanagi
951252bf47
Merge "Get stats from dictionary."
2014-09-25 08:24:55 +00:00
Tadashi G. Takaoka
22e2fa372c
Merge "Add allowRedundantMoreKeys attribute"
2014-09-25 08:20:19 +00:00
Jean Chalard
2828d9eda7
Merge "[ML10.1] Adjust call for additional features"
2014-09-25 08:19:47 +00:00
Tadashi G. Takaoka
0be4e6e585
Add allowRedundantMoreKeys attribute
...
This CL also adds a couple of custom layout tests of Nordic languages.
Bug: 10787354
Change-Id: I5e875d3f30863395511afa82f0a02deb093d3a6f
2014-09-25 15:12:06 +09:00
Jean Chalard
8da2052113
[ML10.1] Adjust call for additional features
...
Bug: 11230254
Change-Id: I7b60d9174d7d267eb1b3cd848cff36cdbea75b12
2014-09-25 12:50:11 +09:00
Keisuke Kuroyanagi
a40db55d9b
Merge "Fix typo."
2014-09-25 02:52:12 +00:00
Keisuke Kuroyanagi
97465afbf8
Fix typo.
...
Change-Id: Ib090a3dfa7e53232e0d1ef5e4d2cbe48130f657f
2014-09-25 11:50:30 +09:00
Sandeep Siddhartha
145f05d637
Merge "Add account change receiver to handle account removal"
2014-09-24 23:40:58 +00:00
Sandeep Siddhartha
d4aec65f65
Add account change receiver to handle account removal
...
Also cleanup the manifest to group similar components together.
Moving LoginAccountUtils to its own package
Bug: 17464068
Change-Id: Iad7928855531d58334b1e4039bb45b97dde75462
2014-09-24 13:10:54 -07:00
Tadashi G. Takaoka
21f038ee0a
Stop showing more suggestions while important notice is showing
...
Bug: 15812659
Change-Id: I314e235cfffae3ae655320a9a75867efc28066bf
2014-09-24 14:12:05 +09:00
Tadashi G. Takaoka
064ba6bc0a
Merge "Fix Turkish/Azerbaijani keyboard to add more accented letters"
2014-09-24 03:36:10 +00:00
Tadashi G. Takaoka
9a73a79cbe
Merge "Fix not intercepting touch event while in modal mode"
2014-09-24 03:24:18 +00:00
Jean Chalard
3db17c5394
Merge "[ML9.1] Add option for multi-lingual support"
2014-09-24 02:42:46 +00:00
Tadashi G. Takaoka
620bfb9bb9
am 4c4ba10b: am 71b51590: am a76e11a2: am 1f490d6c: am be4e0d0e: Fix when to show important notice
...
* commit '4c4ba10bbb257036d7cb6ae8a128263285b7384f':
Fix when to show important notice
2014-09-23 16:18:45 +00:00
Keisuke Kuroyanagi
9997853d6f
Merge "Prepare supporting n-gram for user history dictionary."
2014-09-23 10:18:41 +00:00
Jatin Matani
e2e48eb9b3
Merge "Add StatsUtilManager.onStartInput & onFinishInput"
2014-09-22 16:15:14 +00:00
Keisuke Kuroyanagi
ddfaeff544
Prepare supporting n-gram for user history dictionary.
...
Bug:17097992
Change-Id: Ic8bfde3d4cc0e720bf7681e08e16fb2ad94d5670
2014-09-22 18:18:50 +09:00
Jean Chalard
4b0dba4cd8
[ML9.1] Add option for multi-lingual support
...
Bug: 11230254
Change-Id: I15d42fad155142fa6f556f13e84cad489be00dbd
2014-09-22 17:41:37 +09:00
Tadashi G. Takaoka
d144b7874e
Fix not intercepting touch event while in modal mode
...
Bug: 17600156
Change-Id: Ife8f04550411d88311e08dd33e370a410d791ca2
2014-09-22 15:30:29 +09:00
Adrian Velicu
b12c174c2f
Merge "Hiding SuggestedWords.EMPTY and refactoring code that compares SuggestedWords instances directly to it to use isEmpty instead"
2014-09-22 06:20:25 +00:00
Adrian Velicu
30f4a2a4d7
Hiding SuggestedWords.EMPTY and refactoring code that compares SuggestedWords instances directly to it to use isEmpty instead
...
Bug: 17560717
Change-Id: I7032bf0ab46f9cf5e3b3312a14e689b5496764c1
2014-09-22 14:50:21 +09:00
Tadashi G. Takaoka
be4e0d0e39
Fix when to show important notice
...
This CL introduces a timeout duration to show an important notice
message. When the timeout has passed, the important notice message
will be suppressed without user intervention.
This CL also adds unit tests and fixes a bug in
getNextImportantNoticeTitle().
Bug: 17181982
Change-Id: If321c0060cc2f7ca14ad0631b84f4990f88bd659
2014-09-22 14:28:31 +09:00
Jatin Matani
6a6137325b
Add StatsUtilManager.onStartInput & onFinishInput
...
Bug:15657192
Change-Id: I6e976202812d1c1675bd7822c4a15686d1ec1fe9
2014-09-21 20:19:12 -07:00
Keisuke Kuroyanagi
825747348b
Merge "Create DictionaryStats in executor."
2014-09-22 02:49:04 +00:00
Mohammadinamul Sheik
8f116d7cda
Merge "Invoke onWordCommitUserTyped on startInput() with non empty wordcomposer"
2014-09-22 02:13:21 +00:00
Tadashi G. Takaoka
8ea51a2760
Fix Turkish/Azerbaijani keyboard to add more accented letters
...
Bug: 16807005
Change-Id: Ifd0ab3aeb8207cdecacf8cfe5b1d58c07690142f
2014-09-22 10:55:08 +09:00
Keisuke Kuroyanagi
743a9b4499
Get stats from dictionary.
...
Bug: 16553957
Change-Id: I70c7a7be3c902dc8a0dfe8f946f9ef75ba6c9655
2014-09-22 10:26:19 +09:00
Keisuke Kuroyanagi
c724864c61
Create DictionaryStats in executor.
...
Bug: 16553957
Change-Id: Ie4e9a6ee67f90ba0086af2075068e078efc7f189
2014-09-22 10:25:51 +09:00
Yohei Yukawa
c514d64bff
am d8c83fb8: am 88cae78f: am 89dd5f03: am c1d35148: am f2d0d9b0: Merge "Avoid the add-to-dictionary indicator from being clipped" into lmp-dev
...
* commit 'd8c83fb81bb06e22ab0857e1a7531c666ad8701e':
Avoid the add-to-dictionary indicator from being clipped
2014-09-20 04:46:48 +00:00
Yohei Yukawa
f2d0d9b0b9
Merge "Avoid the add-to-dictionary indicator from being clipped" into lmp-dev
2014-09-20 03:58:03 +00:00
Yohei Yukawa
9d2f606aa8
Avoid the add-to-dictionary indicator from being clipped
...
With this CL, the display bounds is taken into consideration
when the location of add-to-dictionary indicator is determined.
BUG: 17578360
Change-Id: I31e458fa7bbc33e539578b331fe1c51ff7f8668e
2014-09-19 19:19:56 +09:00
Keisuke Kuroyanagi
845c061970
Fix unit tests.
...
Change-Id: I7706db4c9279488552ea5fabc16dd1dd2bc7fa05
2014-09-19 19:02:08 +09:00
Jean Chalard
c648bae15d
(DO NOT MERGE) Remove some logs which spam encrypted boot
...
Bug: 17539539
Change-Id: Idb442c2f0db2361b8e535f39b02d209b1edd1069
(cherry picked from commit 4b6c6fa0e4
)
2014-09-19 07:29:03 +00:00
Mohammadinamul Sheik
6901ea6eac
Invoke onWordCommitUserTyped on startInput() with non empty wordcomposer
...
In chat clients, the last committed word is not committed via
rich input connection. This will handle those missed out cases.
Change-Id: If3f1f6e1927cdf56a09d3e9124f05c66ca75de53
2014-09-18 23:00:11 -07:00
Adrian Velicu
bacf2dbac6
Merge "Added @UsedForTesting to 'missing' methods to avoid ProGuard removing them"
2014-09-19 05:39:31 +00:00
Adrian Velicu
8c889784e2
Added @UsedForTesting to 'missing' methods to avoid ProGuard removing them
...
Bug: 16864527
Change-Id: I698a1b3e09e7e9a12722169b37f87bd51c8cbd34
2014-09-19 14:31:33 +09:00
Jean Chalard
17511a41a4
Merge "[ML8] Add a language weight"
2014-09-19 05:15:51 +00:00
Jean Chalard
4b6c6fa0e4
Remove some logs which spam encrypted boot
...
Bug: 17539539
Change-Id: Idb442c2f0db2361b8e535f39b02d209b1edd1069
2014-09-19 14:02:23 +09:00
Jean Chalard
6da9b21191
[ML8] Add a language weight
...
...and rename an improperly named normalization value
Bug: 11230254
Change-Id: I0f5633148a9f66dbfd7d28540b8a8985131c4549
2014-09-19 13:44:42 +09:00
Tadashi G. Takaoka
00e018370f
Merge "(DO NOT MERGE) Fix showing important notice even at beginning of sentence" into lmp-dev
2014-09-18 22:48:10 +00:00
Mohammadinamul Sheik
0e9419d014
Add word commit methods to StatsUtils
...
Change-Id: Ibb2cf0150cd9a851ff48d097688edc916dc82998
2014-09-18 13:06:38 -07:00
Sandeep Siddhartha
84185148c5
Add account listing and preference integration for current account
...
Bug: 17464068
Change-Id: Idb68a6012b285d6bc4632414bb6d11131148cf67
2014-09-18 10:39:30 -07:00
Sandeep Siddhartha
27bb70d6a0
Merge "Start showing the split keyboard layout"
2014-09-18 17:05:28 +00:00
Sandeep Siddhartha
a7c5dcdedf
Merge "Add Accounts & privacy settings in LatinIME"
2014-09-18 16:49:34 +00:00
Keisuke Kuroyanagi
6624ea96f7
Merge "Pass prevWordCount to native code for getSuggestion."
2014-09-18 13:01:35 +00:00
Keisuke Kuroyanagi
8806248386
Pass prevWordCount to native code for getSuggestion.
...
Bug: 14425059
Change-Id: Id2b49a448982c997e5c0a22445b115e675156c3e
2014-09-18 19:18:55 +09:00
Tadashi G. Takaoka
0055d26164
Merge "Fix showing important notice even at beginning of sentence"
2014-09-18 10:01:49 +00:00
Tadashi G. Takaoka
f4c7eb478f
Fix showing important notice even at beginning of sentence
...
This is a cherry-pick of Ic72d6fecc3 from lmp-dev.
Bug: 17536096
Change-Id: Id76b8f8dc85d03bc7ed5f24800301c081a82a8d2
2014-09-18 18:51:23 +09:00
Tadashi G. Takaoka
26b3d1de7e
(DO NOT MERGE) Fix showing important notice even at beginning of sentence
...
Bug: 17536096
Change-Id: Ic72d6fecc3241c1a9aba87b82a46750cbd69e001
2014-09-18 09:45:37 +00:00
David Faden
5dda75b538
Add methods to get a Key's horizontal and vertical gaps.
...
Record the horizontal and vertical gap for the key, adding
corresponding accessors. This info is helpful in interpreting
corresponding touch points data.
Bug: 17400259
Change-Id: I825c537a48db35baab71580ff5c41cd911094a4b
2014-09-18 09:40:02 +00:00
Yohei Yukawa
eddfe51b38
resolved conflicts for merge of 233a2f21
to master
...
Change-Id: If391cc622367dfb4448c6a5c32b82111d352d86e
2014-09-18 18:27:45 +09:00
Jean Chalard
cdabc71c6d
Merge "Add a Dictionary.isUserSpecific method."
2014-09-18 08:52:07 +00:00
David Faden
0c837daee6
Add a Dictionary.isUserSpecific method.
...
As the name suggests, returns true if the Dictionary is of a type
that may use user-specific data, e.g., contacts.
Cherry-pick of I11e71286c7635f50ace156dcc5308dbe51268d4e
Change-Id: I08c3f22f0c34eaa71bbd06594314f3b411658c5c
2014-09-18 17:42:37 +09:00
Yohei Yukawa
fa63d91095
Merge "Use Add-To-Dictionary indicator only" into lmp-dev
2014-09-18 07:13:42 +00:00
Yohei Yukawa
5896153f93
Use Add-To-Dictionary indicator only
...
With this CL, the previously used commit indicator was reverted.
Instead we use the add-to-dictionary indicator only at the moment.
This CL also fixes the indicator position in bidi context.
BUG: 17335734
Change-Id: I5f7cf173ddc30876e2b01320acaff8ba4265edf6
2014-09-18 16:06:35 +09:00
Tadashi G. Takaoka
e7c2d1c99c
am 902cefb6: am 97ad4968: am bfabac44: Suppress voice input key on textWebEmailAddress field
...
* commit '902cefb6635053b682a917259eb5a964a17506fd':
Suppress voice input key on textWebEmailAddress field
2014-09-18 06:15:41 +00:00
Tadashi G. Takaoka
bfabac449d
Suppress voice input key on textWebEmailAddress field
...
Bug: 17486589
Change-Id: Ie9bf9266ee423b7e03cebcaa5f522accdd1a7802
2014-09-18 14:08:21 +09:00
Keisuke Kuroyanagi
ace9c14852
Merge "Use PrevWordsInfo.getPrevWordCount() in Java side."
2014-09-18 04:58:44 +00:00
Sandeep Siddhartha
081c2d386d
Start showing the split keyboard layout
...
Change [3/3]
Added tests for Qwerty/en-US/split
Parse the switch-case statement from KeyboardBuilder to use the right layout.
Bug: 4968173
Change-Id: If4d6d71d5900525290268d8affa55dccf1ebd4f2
2014-09-17 20:56:57 -07:00
Sandeep Siddhartha
a4e0b6efdd
Add Accounts & privacy settings in LatinIME
...
Also start showing the logging preference on this screen too.
This settings screen will be the container for all account
management, sync and privacy related settings
Bug: 17464068
Change-Id: Ie0806f6e8a542e9dea2834445ff7b38805207bda
2014-09-17 20:50:05 -07:00
Tadashi G. Takaoka
90f06760b9
Fix Romanian keyboard to promote "A with breve"
...
Bug: 17324498
Change-Id: Ie27f0023b2bfb18b0ee2051260ecf6bab75727a5
2014-09-18 11:48:29 +09:00
Jatin Matani
fc12c0a7fd
Merge "Add a user preference for split layout within Appearance & Layouts"
2014-09-17 17:00:38 +00:00
Keisuke Kuroyanagi
4466464c24
Use PrevWordsInfo.getPrevWordCount() in Java side.
...
Bug: 14425059
Change-Id: Ie6295ff657c483876af403f2d474b7d857e5e3d6
2014-09-17 22:04:25 +09:00
Tadashi G. Takaoka
7d64bc3455
Merge "Revert "Revert "Fall back to default keyboard theme"""
2014-09-17 11:51:19 +00:00
Tadashi G. Takaoka
311f12d024
Revert "Revert "Fall back to default keyboard theme""
...
This reverts commit 821486ba8b
.
Change-Id: If0285c87edcd5f7d3c5449026953a74bf1125f65
2014-09-17 11:51:09 +00:00
Tadashi G. Takaoka
c6cc000892
Merge "Revert "Fall back to default keyboard theme""
2014-09-17 11:46:50 +00:00
Tadashi G. Takaoka
821486ba8b
Revert "Fall back to default keyboard theme"
...
This reverts commit 6ed8b18326
.
Change-Id: I48f775e54f4077e556b26bc0146bc918421c6845
2014-09-17 11:46:40 +00:00
Tadashi G. Takaoka
e2a396eef0
Merge "Fall back to default keyboard theme"
2014-09-17 11:23:56 +00:00
Tadashi G. Takaoka
6ed8b18326
Fall back to default keyboard theme
...
Bug: 17537884
Change-Id: I3452d6d4a5837c6b2d417c8d256c121df86131cc
2014-09-17 19:36:22 +09:00
Adrian Velicu
f116f91033
Making spelling of the word "distracters" consistent
...
Bug: 17537869
Change-Id: Ibfc1c84aff72aeb76c9b127503369d00f3dfaceb
2014-09-17 17:32:43 +09:00
Jatin Matani
a5d4cb7769
Add a user preference for split layout within Appearance & Layouts
...
Note The preference is flag protected.
Change-Id: I1be219ba961f002897b7b13ff9f200e2f142b2d8
2014-09-16 23:27:01 -07:00
Tadashi G. Takaoka
44398bb5e1
am cf5fc1ea: am 4e1f1689: am 5ae05786: Merge "Fix drawing of custom action label key" into lmp-dev
...
* commit 'cf5fc1ea065873cd6d7b1d5d467940e4e45354d3':
Fix drawing of custom action label key
2014-09-16 23:59:08 +00:00
Mohammadinamul Sheik
16bfac9ff4
Add StatsUtils.onAutoCorrection method.
...
Change-Id: I9547b6c0f082ef7c09b251a6458badb65a841229
2014-09-16 12:34:22 -07:00
Jean Chalard
618907e1f1
Merge "[ML7] Have multiple DictionaryGroup instances in facilitator"
2014-09-16 11:31:27 +00:00
Jean Chalard
8cd5326622
[ML7] Have multiple DictionaryGroup instances in facilitator
...
This is the central change of multilingual input.
Bug: 11230254
Change-Id: Id8b68fb101e837e8cf182ab4bc1e55e4da5cc49d
2014-09-16 19:00:50 +09:00
Tadashi G. Takaoka
dad7a5dffd
Fix drawing of custom action label key
...
Bug: 17488054
Change-Id: I433561ed19ec2a79402867a0395a3e388730f087
2014-09-16 18:21:49 +09:00
Sandeep Siddhartha
23f38149c6
Merge "Add a canSplitKeyboard attribute for specifying split keyboard layouts"
2014-09-16 03:05:46 +00:00
Jatin Matani
9b140f4e4f
am 4d8efc97: am b41d1fcd: am d0d8f90a: Merge "Reorganize settings in Google Keyboard" into lmp-dev
...
* commit '4d8efc97873d12b4596c695fbcf7e72330b5253e':
Reorganize settings in Google Keyboard
2014-09-13 02:12:24 +00:00
Ken Wakasa
64176158e7
resolved conflicts for merge of 75513e51
to master
...
Change-Id: I058c3e63e5e349b58b2bdd2723cb43fbc24a0425
2014-09-13 10:41:19 +09:00
Ken Wakasa
8ed81f9fd7
resolved conflicts for merge of 8e9385cc
to master
...
Change-Id: Ia6d192ee4a8496afa3f788894844ebef78fb7a8c
2014-09-13 09:25:23 +09:00
Sandeep Siddhartha
3939455c1d
Add a canSplitKeyboard attribute for specifying split keyboard layouts
...
Change [1/3]
This'll be used in conjunction with a user preference to split the keyboard when possible.
Bug: 4968173
Change-Id: I7a05948d67b94a55024790115ae261d7fef7941a
2014-09-12 18:46:14 +09:00
Jatin Matani
d0d8f90a32
Merge "Reorganize settings in Google Keyboard" into lmp-dev
2014-09-12 09:12:01 +00:00
Tadashi G. Takaoka
fd5f2b91fd
Merge "Fix not always showing input view with physical keyboard connected" into lmp-dev
2014-09-12 09:02:31 +00:00
Tadashi G. Takaoka
3a90cb9ad0
Reorganize settings in Google Keyboard
...
Changes :
Input languages -> Languages
Input preferences -> Preferences
Multi lingual Options -> Multilingual Options
Keyboard Theme -> Theme
Gesture typing preferences -> Gesture typing
**New
Appearance
-> Theme
-> Custom input style
**Removed
Multilingual options from L dynamically
Bug: 11866784
Change-Id: I07404c27868e1b087b0cafb63d2031a5b493a885
2014-09-12 02:00:26 -07:00
Jean Chalard
7aa47cb374
Only do double-space-period on real text fields.
...
Bug: 15559216
Change-Id: Id6ecadc58c03889496967d67371457e4050d695b
2014-09-12 17:49:47 +09:00
Tadashi G. Takaoka
88f282de0d
Fix not always showing input view with physical keyboard connected
...
Bug: 17163374
Change-Id: I57f7eeac0c9ac0a15d3d55927e18a2d97849c508
2014-09-12 17:45:35 +09:00
Yohei Yukawa
97b465044f
am ead70974: am 27ccbeb4: am cd119050: Support CursorAnchorInfo in the full-screen mode
...
* commit 'ead70974aecd78d5bad0fa87a759f6bf82dcb503':
Support CursorAnchorInfo in the full-screen mode
2014-09-11 17:31:47 +00:00
Jean Chalard
96f0ae5e68
[ML6] Have asyncReloadMainDictionary support multiple locales
...
Change-Id: I4c3dfaad38ec1cc91d1a9f81d5ff45ef12f70029
2014-09-11 19:05:22 +09:00
Jean Chalard
e6df5f015c
[ML5] Rewrite resetDictionariesWithDictNamePrefix
...
This change rewrites resetDictionariesWithDictNamePrefix so
that it would work if there were several locales, which is going to
happen shortly. This change on its own is quite large and difficult
already, so I didn't want to merge it into the change that actually
makes several locales happen; another such change is following.
Change-Id: Ibb80b05b73c0f0f0bea64b7e308cc4d38ca448f9
2014-09-11 19:05:19 +09:00
Yohei Yukawa
cd11905022
Support CursorAnchorInfo in the full-screen mode
...
This CL allows to emulate the behavior of CursorAnchorInfo
in the full-screen mode to work around the limitation of
the framework.
Basically this CL copies relevant code from the framework
to LatinIME. This is actually a code duplicate which isn't
great, but probably the only way that is available right now.
Change-Id: I30bc8c3387c91c8e47252ba699cbd967d8927dad
2014-09-11 18:36:53 +09:00
Jatin Matani
fd96928175
Merge "Adds StatsUtil methods for LatinIME.on{Start,Create,Finish}inputView"
2014-09-11 03:14:57 +00:00
Keisuke Kuroyanagi
af1a06d7e1
Enable personalization for multilingual users.
...
Bug: 16547557
Change-Id: I03eda34edc902fc4732d16d234216344d8d84d88
2014-09-10 18:23:09 +09:00
Keisuke Kuroyanagi
89e34169f8
Get locale using detected language for personalization.
...
Bug: 16547557
Change-Id: If3d88a548e5a2255ff81c819b056f77bfbe237ae
2014-09-10 18:23:07 +09:00
Jatin Matani
1c45f9142b
Adds StatsUtil methods for LatinIME.on{Start,Create,Finish}inputView
...
Change-Id: I4e7dc008b98e398c38aafea5cb31156dde7f42ea
2014-09-10 15:55:15 +09:00
Mohammadinamul Sheik
97243cea28
Merge "Add backspace event methods to StatsUtils"
2014-09-10 04:56:23 +00:00
Keisuke Kuroyanagi
934e1d8087
Merge "Move case and OOV detection logic into distracter filter."
2014-09-10 03:49:10 +00:00
Keisuke Kuroyanagi
d843081193
Move case and OOV detection logic into distracter filter.
...
Bug: 16547557
Change-Id: I8502585976deb5e93fff3b1e0266654b8a927bda
2014-09-10 11:25:34 +09:00
Mohammadinamul Sheik
acdd2e4572
Add backspace event methods to StatsUtils
...
Change-Id: Id45d217073e49ca5f2ba639b608d168d136bba58
2014-09-10 10:54:49 +09:00
Tadashi G. Takaoka
63ee10d63a
am c29276b7: am 12814352: am 486c4894: Keep aspect ratio of Material action key background
...
* commit 'c29276b782cfc45be5ab79177e991f2cba8fb04b':
Keep aspect ratio of Material action key background
2014-09-09 15:03:15 +00:00
Tadashi G. Takaoka
486c4894ce
Keep aspect ratio of Material action key background
...
Bug: 15681452
Change-Id: Ie4b823dca541b76b68cade580845a21ff0b21e2f
2014-09-09 14:28:46 +09:00
Jean Chalard
ef0ef2d0b9
am beb74610: am ab18b5f1: am 9395014e: Don\'t resume suggestions with H/W keyboard
...
* commit 'beb746103011149d6dfce10278475946e679263d':
Don't resume suggestions with H/W keyboard
2014-09-08 13:52:25 +00:00
Jean Chalard
7140035932
Fix a missing initialization
...
Change-Id: I14a35f5a38b6e0f48c95cbb8c0c6e4507cd61fa7
2014-09-08 22:40:36 +09:00
Jean Chalard
1cf2acd8de
am 61e7afa6: am 0eaa25e0: am 914078fd: Fix a bug where recorrection would stop on connectors
...
* commit '61e7afa6fa98939f9dcb9f7a2ebb5678a51d4201':
Fix a bug where recorrection would stop on connectors
2014-09-08 13:20:27 +00:00
Jean Chalard
9395014e76
Don't resume suggestions with H/W keyboard
...
...unless we do support a hardware keyboard, which we still
do not at the moment.
Change-Id: Iec24b1ae8ba5e23e0bbb7e5a468b7404296d4b18
2014-09-08 22:14:02 +09:00
Jean Chalard
b41ee67194
Fix the sentence separator for Hindi.
...
Change-Id: I623e4ccbc324751eb67ec4bb777e2be5ae2a60d1
Bug: 17418371
2014-09-08 21:54:28 +09:00
Jean Chalard
914078fd91
Fix a bug where recorrection would stop on connectors
...
Bug: 16733686
Change-Id: I7a9f79a81e33a1f5bf5f3daf0b78d0f1e4447e7a
2014-09-08 21:47:01 +09:00
Yohei Yukawa
a48fe12b9c
am 42ddc212: am f930ce12: am 1caa0b71: Merge "Follow up API signature changes of CursorAnchorInfo" into lmp-dev
...
* commit '42ddc2127deb117a0bb2b7a7797cb8c9ba335f5a':
Follow up API signature changes of CursorAnchorInfo
2014-09-08 09:35:00 +00:00
Jean Chalard
653546a618
am c3fac52d: am 1f74ba17: am cb077f75: Merge "Resolve an old TODO." into lmp-dev
...
* commit 'c3fac52dd51ba70db83d96b2d421bd440683d9bc':
Resolve an old TODO.
2014-09-08 09:34:58 +00:00
Yohei Yukawa
1caa0b714d
Merge "Follow up API signature changes of CursorAnchorInfo" into lmp-dev
2014-09-08 09:11:41 +00:00
Jean Chalard
a1d2315499
Merge "Fix a bug with the Greek question mark."
2014-09-08 08:58:27 +00:00
Jean Chalard
cb077f75ac
Merge "Resolve an old TODO." into lmp-dev
2014-09-08 08:57:23 +00:00
Yohei Yukawa
a8ecd29646
Follow up API signature changes of CursorAnchorInfo
...
This is a follow up CL for Ic8c6fab58c01206872a34e7ee604cdda.
No behavior change is intended in this CL.
BUG: 17365414
BUG: 17335734
Change-Id: I4299536d0cb0c660b7b564653c72c9cb409a7aa5
2014-09-08 17:07:34 +09:00
Mohammadinamul Sheik
74332597d6
Merge "Add StatsUtils.onPickSuggestionManually and SuggestedWords.indexOf."
2014-09-08 06:52:02 +00:00
Jean Chalard
b526a894db
Fix a bug with the Greek question mark.
...
Bug: 17398284
Change-Id: If49593e2c959935a183a4cd9d988407cc1160599
2014-09-08 15:33:51 +09:00
Tadashi G. Takaoka
100a8aec5b
am ad4de3fc: am 9ca6658e: am 0f33e614: Implement Floating Action Button more keys keyboard
...
* commit 'ad4de3fc819d658775eed470fc74ad76da5caad2':
Implement Floating Action Button more keys keyboard
2014-09-08 06:07:52 +00:00
Tadashi G. Takaoka
e1b10aedd7
am 3aabf655: am f21c77d7: am 727e818e: Move more keys divider to MoreKeysKeyboardView
...
* commit '3aabf655d0125fb824e5e47687f5084b2df6979c':
Move more keys divider to MoreKeysKeyboardView
2014-09-08 05:42:32 +00:00
Tadashi G. Takaoka
0f33e614c0
Implement Floating Action Button more keys keyboard
...
Bug: 15681452
Change-Id: I8484e4fe4d989b391f2b5230836dc9dfac218429
2014-09-08 14:34:33 +09:00
Mohammadinamul Sheik
c74ffe8edc
Add StatsUtils.onPickSuggestionManually and SuggestedWords.indexOf.
...
Change-Id: I1588448154d086569cb026825fdc36cd1812a582
2014-09-07 20:43:48 -07:00
Tadashi G. Takaoka
727e818e95
Move more keys divider to MoreKeysKeyboardView
...
Bug: 15681452
Change-Id: I1b32719cc927a24db4c41fdeb812b39f7e98a85c
2014-09-08 11:02:07 +09:00
Tadashi G. Takaoka
8b7ed7f6c6
am 079f9c3f: am 1b430219: am 6888ec00: Merge "Create donottranslate debug settings string resources file" into lmp-dev
...
* commit '079f9c3f5ae7b2f7926321522b6020affd422b52':
Create donottranslate debug settings string resources file
2014-09-05 17:23:45 +00:00
Jean Chalard
6bb6d30344
Resolve an old TODO.
...
This is cleaner.
Bug: 17347779
Change-Id: I5b612783b1ec98a1a11401f00d68db49654f3023
2014-09-05 20:10:29 +09:00
Jean Chalard
46d111ff4a
Merge "Fix a bug where CAPS_WORDS would not be returned."
2014-09-05 09:53:51 +00:00
Jean Chalard
17901db691
Fix a bug where CAPS_WORDS would not be returned.
...
Also introduce some unit tests that would have caught the bug.
Bug: 17398284
Change-Id: Idb715b7bd2f70992d6cdf4e25ef368809382caef
2014-09-05 07:56:25 +00:00
Tadashi G. Takaoka
f0f49f9806
Create donottranslate debug settings string resources file
...
This is a follow up of the I26e4d292de.
Bug: 15678343
Bug: 17385083
Change-Id: I2c2b08b8dd991ac981aa8f8c8436de9e4399da5f
2014-09-05 11:38:29 +09:00
Jean Chalard
78d1dcd356
[ML4] Rename Dictionaries to DictionaryGroup
...
We're going to have multiple DictionaryGroup objects and it
would be very confusing to have this class name a plural.
Change-Id: I8f5c621459ede49f245be26097fe71f44289761c
2014-09-04 18:35:47 +09:00
Tadashi G. Takaoka
964877a8f2
am c297197b: am 1c2cf719: Add new value "spacebar" to Key.backgroundType attribute
...
* commit 'c297197b1548307c31017ba3dc89bbb6bbf2223e':
Add new value "spacebar" to Key.backgroundType attribute
2014-09-03 17:55:54 +00:00
Tadashi G. Takaoka
e355274642
am ec7d6752: am 5a9c9649: Removes "customAction" value from Key.backgroundType attribute
...
* commit 'ec7d67529e0dd4e5bf87e3b96c4b78db44adb96f':
Removes "customAction" value from Key.backgroundType attribute
2014-09-03 17:55:53 +00:00
Tadashi G. Takaoka
6a4e9218ca
am 2a7a5740: am 0af2472a: Add new "keyboardTheme" <case> predicator
...
* commit '2a7a5740e929503a0aca23f376175a9c118b7a83':
Add new "keyboardTheme" <case> predicator
2014-09-03 17:55:52 +00:00
Yohei Yukawa
5d7b24f29c
am f2c509a8: am 310da35c: Merge "Follow up API signature change" into lmp-dev
...
* commit 'f2c509a81ef107e6c71dc6804417469d12c94fca':
Follow up API signature change
2014-09-03 17:41:46 +00:00
Yohei Yukawa
f618f351fe
am 6e29bf56: am 8c42bf54: Follow API signature change in CursorAnchorInfo
...
* commit '6e29bf56c680331a7d1a50be38212c1356cb584d':
Follow API signature change in CursorAnchorInfo
2014-09-03 17:41:43 +00:00
Tadashi G. Takaoka
1c2cf71921
Add new value "spacebar" to Key.backgroundType attribute
...
Bug: 17318036
Change-Id: Ie84438a6aa3adc14a9db603d0cd4d5e37a55d612
2014-09-03 23:37:03 +09:00
Tadashi G. Takaoka
5a9c9649db
Removes "customAction" value from Key.backgroundType attribute
...
Bug: 17318036
Change-Id: I6a36d50ba2e69eafbb0faa049014281bd4d4ddfc
2014-09-03 23:35:39 +09:00
Tadashi G. Takaoka
0af2472a69
Add new "keyboardTheme" <case> predicator
...
Bug: 17318036
Change-Id: Ief386c84969d8646fb5cfe2050a2f59a7db16c88
2014-09-03 23:26:46 +09:00
Jatin Matani
972003428b
Merge "Attempt retry for broken dictionaries"
2014-09-03 08:56:38 +00:00
Yohei Yukawa
5d6ac77732
Follow up API signature change
...
This is a follow up CL for API signature change in
I772c48ff18918e48a81e807b48ff907614485c09
BUG: 17320996
Change-Id: Ic8b6162bda12bf74fae79af212c5d81c400eb9e8
2014-09-03 01:13:15 -07:00
Jatin Matani
256b1b2a1e
Attempt retry for broken dictionaries
...
1. Add retry count column within metadata in dictionary pack.
2. Attempt a retry for download and installation by running StartDownloadAction.
3. If the number retrial are at the threshold, we don't attempt it again.
Bug: 15150487
Change-Id: I70720353e5803fccf4728c2aa798883ba75c61e5
2014-09-03 17:11:06 +09:00
Yohei Yukawa
8c42bf54af
Follow API signature change in CursorAnchorInfo
...
This is just a follow up CL for Ia8cbb9f6b41cd9509fc0147fd68763df.
No behavial change is intended.
BUG: 17200900
Change-Id: Iba23b731ebde64ec2e816c5b4bef1d93632fce1e
2014-09-02 16:29:35 -07:00
Tadashi G. Takaoka
d27af1a5d4
am 3ad86d91: am afa9d6d8: Merge "Add theme aware key popup preview animation" into lmp-dev
...
* commit '3ad86d91f1e3d251635303e0fb9a83dce22efa3a':
Add theme aware key popup preview animation
2014-09-02 17:44:10 +00:00
Tadashi G. Takaoka
ac88f3d845
Add theme aware key popup preview animation
...
Bug: 15678343
Change-Id: I26e4d292deab37724387cc9ebc03033fcd698c60
2014-09-02 18:45:23 +09:00
Jean Chalard
a341e7d244
Merge "[ML3] Put the locale in SuggestedWordInfo"
2014-09-02 06:40:59 +00:00
Jean Chalard
c0d3123930
Merge "[ML2] Small refactoring"
2014-09-02 06:40:51 +00:00
Jean Chalard
576c96af95
[ML3] Put the locale in SuggestedWordInfo
...
...and remove it from SuggestionResults.
Change-Id: Iae85ec7e82e2caf18cc6d7656aa46dc150707cdd
2014-09-01 20:09:32 +09:00
Jean Chalard
146cb98e54
[ML2] Small refactoring
...
Change-Id: I1283d666b8904ff4e6c012332bdbc9c0c13df415
2014-09-01 20:09:24 +09:00
Jatin Matani
962c40d326
Merge "StatsUtilsManager should be initiated(#onCreate) before loadSettings."
2014-09-01 08:27:19 +00:00
David Faden
95b7bd3ba5
Add a private IME option to suppress the gesture floating preview text.
...
If the option defined by Constants.NO_FLOATING_GESTURE_PREVIEW is set
for a text field via EditorInfo.privateImeOptions, the floating gesture
preview will be suppressed regardless of the settings preference.
Feature request:
bug: 17325039
Change-Id: I1a1df194369e8f2d76abd9d84939a057f55f4a1c
2014-09-01 03:59:38 +00:00
Keisuke Kuroyanagi
dec2c2d910
Merge "Support multiple locales in distractor filter."
2014-09-01 03:27:35 +00:00
Jatin Matani
aa223400c3
StatsUtilsManager should be initiated(#onCreate) before loadSettings.
...
Change-Id: I9002b4afb023e55ab251ea070ec0b7a6ace99261
2014-08-29 15:51:57 -07:00
Tadashi G. Takaoka
f5960b4f62
am 034a4a5a: am c4710124: Merge "Fix the order of keys on more keys keyboard" into lmp-dev
...
* commit '034a4a5a19ba37dba8999b3763ae756fe748deaf':
Fix the order of keys on more keys keyboard
2014-08-29 19:07:06 +00:00
Tadashi G. Takaoka
2d713c87c6
am 2fabd50d: am f507d1fe: Support RTL layout in custom input style settings
...
* commit '2fabd50df49f894afde15ac5f4ebd2ff5372a9c4':
Support RTL layout in custom input style settings
2014-08-29 19:07:04 +00:00
Jean Chalard
78bb2dd945
am 3bd8eee3: am 4e28a6a8: Fix an IOOB exception
...
* commit '3bd8eee3e8c3e89539578a4231661819de65c804':
Fix an IOOB exception
2014-08-29 19:07:03 +00:00
Tadashi G. Takaoka
f9af39e53e
am 727cd740: am f2eadbb4: Clear keyboard cache when system locale is changed
...
* commit '727cd74072d97af334fe8c0d18fa6a1e23629ccb':
Clear keyboard cache when system locale is changed
2014-08-29 19:07:02 +00:00
Keisuke Kuroyanagi
fdaedb6c1d
Support multiple locales in distractor filter.
...
Bug: 16547557
Change-Id: I4aba278eb4114e0075f3f8b38c7e132743927fa8
2014-08-29 22:29:30 +09:00
Keisuke Kuroyanagi
9eec97d5b0
Merge "Use DictionaryFacilitatorLruCache for personalization."
2014-08-29 10:10:40 +00:00
Tadashi G. Takaoka
c471012483
Merge "Fix the order of keys on more keys keyboard" into lmp-dev
2014-08-29 09:58:28 +00:00
Tadashi G. Takaoka
f507d1febb
Support RTL layout in custom input style settings
...
Bug: 17322353
Change-Id: I3b211ab8729121271563a8a243558a58ee7847c2
2014-08-29 18:28:53 +09:00
Jean Chalard
4e28a6a844
Fix an IOOB exception
...
Bug: 17316001
Change-Id: Iaa2cfd30ebbe0d49e10a5c3a30336e06817d0a8b
2014-08-29 06:56:34 +00:00
Keisuke Kuroyanagi
e59f3e4fbf
Use DictionaryFacilitatorLruCache for personalization.
...
Bug: 16547557
Change-Id: I5faba5e26d072b49c0fffcaeaf5062f9e0c2dcc0
2014-08-29 12:57:50 +09:00
Tadashi G. Takaoka
a9fc8622fe
Fix the order of keys on more keys keyboard
...
This CL fixes the behavior of !autoColumnOrder!<n> flag in a more keys
specification. Formerly the <n> value specifies the maximum number of
column of more keys. With this CL, the <n> value specifies the exact
number of column of more keys.
Bug: 16603887
Change-Id: I2120620fa512ee30043bb146ad675a942a375129
2014-08-29 11:06:20 +09:00
Jatin Matani
aabb351279
Refactor StatsUtils into two components:StatsUtils & StatsUtilsManager
...
Bug:16522256
Change-Id: I9cb8129c552159cf17ea5c2656e0988bf0f999f5
2014-08-28 17:28:23 -07:00
Tadashi G. Takaoka
f2eadbb497
Clear keyboard cache when system locale is changed
...
Bug: 17310080
Change-Id: I2b388772f269f1e7610a5bd32de80793da2df16e
2014-08-28 22:50:07 +09:00
Jean Chalard
98e56c6905
am 3ef26ac1: am 6bd267f4: Merge "Add new attributes to our notification" into lmp-dev
...
* commit '3ef26ac13b677bc8d7adeed378ce6d6cbad171ee':
Add new attributes to our notification
2014-08-28 09:52:03 +00:00
Jean Chalard
a2928484f6
Add new attributes to our notification
...
Bug: 17167221
Bug: 17128331
Change-Id: I6a045fd2398f40dbdc10c9d20993f7513e1f2cff
2014-08-28 07:47:07 +00:00
Jean Chalard
f95770354c
Straighten the dead char implementation, take 3.
...
Change-Id: I4f70f6eebe076c7d2b780d25e3a2c1d3faa2edfa
2014-08-28 16:03:45 +09:00
Keisuke Kuroyanagi
b85349e981
Merge "Create DictionaryFacilitatorLruCache."
2014-08-28 03:09:28 +00:00
Yohei Yukawa
af5c2b24e7
am 8d0d2363: am acce1aa5: Make sure to obtain the IC before requesting CursorAnchorInfo
...
* commit '8d0d236394548be4e2302a03960ce4ee363a5483':
Make sure to obtain the IC before requesting CursorAnchorInfo
2014-08-27 23:41:33 +00:00
Yohei Yukawa
acce1aa59e
Make sure to obtain the IC before requesting CursorAnchorInfo
...
RichInputConnection#requestUpdateCursorAnchorInfo must make
sure to obtain the input connection before calling methods
of it.
BUG: 17299587
Change-Id: I8e0cd473a4cc32583cd47634c227d702f7c69c6c
2014-08-27 15:59:52 -07:00
Ken Wakasa
95c4d26994
Merge "Revert "Straighten the dead char implementation.""
2014-08-27 15:07:52 +00:00
Ken Wakasa
0ba6bcb16d
Revert "Straighten the dead char implementation."
...
This reverts commit 5ef447aeea
.
Reverting because this broke a bunch of unit tests -- https://sponge.corp.google.com/target?id=b6439742-099e-46cb-8f00-d0c602a4d9bb&target=com.google.android.inputmethod.latin.tests&searchFor=&show=FAILED&sortBy=STATUS
Change-Id: Ibbd9e11372993f62e630fd9da37158ffcf47c17a
2014-08-27 15:07:28 +00:00
Keisuke Kuroyanagi
d267764d5a
Create DictionaryFacilitatorLruCache.
...
This class is separated from AndroidSpellCheckerService
Bug: 16547557
Change-Id: I3e58521207395588cecb2977234b89067d6da8c3
2014-08-27 22:00:48 +09:00
Jean Chalard
4204d59864
Merge "Straighten the dead char implementation."
2014-08-27 12:54:49 +00:00
Tadashi G. Takaoka
8b5788d72b
am 68a2a69a: am 37beaf15: Simplify onComputeInsets of LatinIME
...
* commit '68a2a69ae35352650a4c6dfc0b0c69069c4a1e1d':
Simplify onComputeInsets of LatinIME
2014-08-27 10:44:51 +00:00
Tadashi G. Takaoka
37beaf1529
Simplify onComputeInsets of LatinIME
...
This CL expands SoftInputWindow to the entire screen. Thus a key
review backing view is eliminated and onComputeInsets() gets
simplified too.
Bug: 17212702
Bug: 10841052
Bug: 10541453
Change-Id: I2d859f4e4698c64cabe399000821f13bab729996
2014-08-27 19:20:38 +09:00
Yohei Yukawa
00042cb453
am c925ca43: am 97681ebd: Set highlight color along with the commit indicator
...
* commit 'c925ca43a6e0b3175feb002ce6b5577ef7d66507':
Set highlight color along with the commit indicator
2014-08-27 10:01:24 +00:00
Ken Wakasa
6da1c674fd
resolved conflicts for merge of 8159336b
to master
...
Change-Id: I9dd726593c6768b1db35305935ee69b0937358ef
2014-08-27 18:55:39 +09:00
Ken Wakasa
c1596086d3
resolved conflicts for merge of 0268f736
to master
...
Change-Id: Ib89ef55a8752f9b5e357eed3a05c79dd28d0ec0e
2014-08-27 18:41:31 +09:00
Jean Chalard
5ef447aeea
Straighten the dead char implementation.
...
This now supports all cases, including cases not supported by
the framework.
Now rebased on top of the right change, and renamed
Change-Id: I7886f0dcbb86cdb4dccec09aa7c52ad339680e04
2014-08-27 17:59:39 +09:00
Yohei Yukawa
97681ebdf1
Set highlight color along with the commit indicator
...
With this CL, the text highlight color is applied
when the commit indicator is displayed.
Note that the underline is not rendered when the
background color is enabled. This is a known issue.
Change-Id: Ia19355e1303e3a10e8a7d69bc47c779feb70248a
2014-08-27 01:41:16 -07:00
Yohei Yukawa
29200b0abe
Set the text bgcolor only when CursorAnchorInfo is available
...
When CursorAnchorInfo is unavailable, we shouldn't try to show
the commit indicator and set the text highlight color.
With this CL, RichInputConnection can be used to track if the
application responded that it does support CursorAnchorInfo or
not. This result will be taken into consideration when
InputLogic needs to determine whether the commit indicator
should be displayed or not.
Change-Id: I945d70eeb02a7a5f3d9b22459b23d7028508910f
2014-08-27 01:30:45 -07:00
Yohei Yukawa
a475c85480
Introduce a mechanism to hide the indicator speculatively
...
This is an optional optimization to reduce the UI latency.
Imagine that the commit indicator is now displayed and the
composing text is being updated, it is highly likely that
the commit indicator will disappear unless the application
rejects the setComposingText request.
If we assume that the application will accept the new
composing text without any modifications, we can hide the
indicator without waiting for the arrival of new
CursorAnchorInfo event.
This optimization isn't dangerous because we can show the
indicator again when we receive new CursorAnchorInfo event
and the assumption is turned out to be invalid.
Change-Id: Id59c6607a1029782410611e768791af9984f14ac
2014-08-26 23:42:53 -07:00
Yohei Yukawa
bea17c49ec
Introduce commit/add-to-dictionary indicators
...
This CL introduces commit/add-to-dictionary indicators.
Note that the text is not yet highlighted when the commit
indicator is displayed. It will be addressed in subsequent
CLs.
Change-Id: I7e9b0fcfdc0776a50a1d8cfb41ee0add813317dd
2014-08-26 21:20:27 -07:00
Ken Wakasa
4660ecaa44
Merge "Fix a bug where mic/emoji key wouldn't work."
2014-08-26 13:30:15 +00:00
Jean Chalard
e38043849e
Fix a bug where mic/emoji key wouldn't work.
...
Bug: 17272902
Bug: 17269948
Change-Id: I561609fa84a6265f8148db7d2411bc1fd38dd163
2014-08-26 22:06:21 +09:00
Jean Chalard
96522da9eb
am 2a2d324e: am 8380f921: Fix a bug where the top prediction would disappear.
...
* commit '2a2d324eb627807a9d09b491fbb4ac78ffb253fc':
Fix a bug where the top prediction would disappear.
2014-08-26 12:37:17 +00:00
Jean Chalard
8380f921f7
Fix a bug where the top prediction would disappear.
...
This is because prediction can't be easily distinguished in
style. This fixes the bug by simulating the right members,
but some refactoring should be done to remove useless
booleans.
Bug: 17271923
Change-Id: Ib88f3fb95678021624e59535492926dd315d26fb
2014-08-26 20:35:59 +09:00
David Faden
9cf69a45b2
Adds documentation for a few methods.
...
Change-Id: I6bdae25a8b81cdac931f2591f33570b01e34fb2c
2014-08-26 08:08:24 +00:00
Keisuke Kuroyanagi
bf6fc4953b
Merge "Get dynamic dict stats via DictionaryFacilitator"
2014-08-25 11:24:54 +00:00
Yohei Yukawa
d8dfac6dcb
am abf05cc0: am fdfe73ff: Merge "Use more descriptive names for some internal fields" into lmp-dev
...
* commit 'abf05cc0da1ead7e270a7c99bf9f000dabf91f5b':
Use more descriptive names for some internal fields
2014-08-25 10:16:11 +00:00
Jean Chalard
1a31d784cd
Merge "Introduce onEvent() to improve testability"
2014-08-25 09:57:42 +00:00
Yohei Yukawa
fdfe73ff1f
Merge "Use more descriptive names for some internal fields" into lmp-dev
2014-08-25 09:50:59 +00:00
Tadashi G. Takaoka
d147db8763
am c500700f: am 19dd34a0: Show view even when IME is explicitly shown with physical keyboard
...
* commit 'c500700faec11b7a6d54a821009be4d657c43394':
Show view even when IME is explicitly shown with physical keyboard
2014-08-25 09:35:08 +00:00
Yohei Yukawa
a61b7245b0
Use more descriptive names for some internal fields
...
This CL clarifies that delay parameters are specified with
milliseconds.
Change-Id: I401a60b8c09c2a04201af5b74babcdb091c07f4a
2014-08-25 02:28:01 -07:00
Jean Chalard
ee8ebeecbf
Merge "Fix unit tests"
2014-08-25 09:26:17 +00:00
Jean Chalard
dc110b2a6a
Fix unit tests
...
Change-Id: I48bfa4e4dd80f36d2fe0a1e9d2a2706533cc722e
2014-08-25 18:19:00 +09:00
Tadashi G. Takaoka
7defe926ca
am 4a782da3: am f145fff0: Merge "Fix NPE when pressing ALT key" into lmp-dev
...
* commit '4a782da382b83164ea5c23c771b771e73bbe31b3':
Fix NPE when pressing ALT key
2014-08-25 08:25:42 +00:00
Yohei Yukawa
4587b135be
am 2d508203: am 8681287c: Fix build due to an illegal character
...
* commit '2d508203c64f50ed47fb87c24ae5ebbfb0610a36':
Fix build due to an illegal character
2014-08-25 08:25:35 +00:00
Yohei Yukawa
8c7daa829a
am 02716083: am 5eebaddc: Merge "Dismiss "Add to dictionary" hint with non-special char event" into lmp-dev
...
* commit '02716083158c3affbcfc719ff6471112d7397578':
Dismiss "Add to dictionary" hint with non-special char event
2014-08-25 08:25:34 +00:00
Yohei Yukawa
a5687ee9f7
am b65a1e46: am 2c4cce8d: Merge "Introduce #shouldShowAddToDictionaryHint" into lmp-dev
...
* commit 'b65a1e46ce06adc462dfc4cbde302ac27a79b695':
Introduce #shouldShowAddToDictionaryHint
2014-08-25 08:25:33 +00:00
Yohei Yukawa
f6f55add17
am e0d00803: am 4a71d2c4: Allow to add/remove background color to/from the committed text
...
* commit 'e0d00803087ac2f873332d43a78453c068633545':
Allow to add/remove background color to/from the committed text
2014-08-25 08:25:31 +00:00
Yohei Yukawa
c06c6e42ad
am 7d146cdb: am cd6ef9a8: Indroduce SuggestedWords#getTypedWordInfoOrNull
...
* commit '7d146cdbe86692f153fb5b7f781f701a8c04050d':
Indroduce SuggestedWords#getTypedWordInfoOrNull
2014-08-25 08:25:24 +00:00
Jean Chalard
908f0ed154
Introduce onEvent() to improve testability
...
...and prepare for the future
Change-Id: Ieed96ab552993fd148e80b9c3355f1b569bd716f
2014-08-25 16:33:47 +09:00
Tadashi G. Takaoka
19dd34a023
Show view even when IME is explicitly shown with physical keyboard
...
Bug: 17242477
Bug: 13988700
Change-Id: I519c0481760a9aa93a5d9bee68e0f6a3a8fc4d9d
2014-08-25 16:28:44 +09:00
Tadashi G. Takaoka
f145fff085
Merge "Fix NPE when pressing ALT key" into lmp-dev
2014-08-25 06:52:36 +00:00
Keisuke Kuroyanagi
9cbf814cb5
Get dynamic dict stats via DictionaryFacilitator
...
Bug: 16553957
Change-Id: Ida08ceaf34708daed52d61b3d5adfbdb48e42c71
2014-08-25 15:19:48 +09:00
Tadashi G. Takaoka
ad1f880811
Fix NPE when pressing ALT key
...
Bug: 17203708
Change-Id: I4f203603496e9401dacba4db21372e3353916418
2014-08-25 15:08:27 +09:00
Jean Chalard
dc44260484
Merge "Revert "Revert "[ML1] Introduce RichInputMethodSubtype"""
2014-08-25 05:24:28 +00:00
Jean Chalard
85ddfe1317
Revert "Revert "[ML1] Introduce RichInputMethodSubtype""
...
This reverts commit a63d0a8ee6
.
This patch seems to be fine after all, but was submitted without its companion [ML1.1] patch causing a build breakage. Reverting the revert and submitting both at the same time seems like the right thing to do.
Change-Id: Ib8fefa40b74dcee0edb025a52dac9b35c82d49df
2014-08-25 04:42:15 +00:00
Yohei Yukawa
8681287cd6
Fix build due to an illegal character
...
Change-Id: I597ab26db70387b80ddcd7d51de6ae751380030d
2014-08-24 21:14:41 -07:00
Yohei Yukawa
5eebaddccb
Merge "Dismiss "Add to dictionary" hint with non-special char event" into lmp-dev
2014-08-25 04:08:56 +00:00
Yohei Yukawa
ebc1509039
Introduce #shouldShowAddToDictionaryHint
...
This is a groundwork for subsequent CLs where we need to
call this method from multiple places. This CL does not
change any existing behaviors.
Change-Id: Id8fa0360305d7383571edffab6752b2240367cf9
2014-08-24 20:59:30 -07:00
Yohei Yukawa
034c326078
Dismiss "Add to dictionary" hint with non-special char event
...
This CL slightly extends the condition when "Add to dictionary"
hint is dismissed.
With this CL, "Add to dictionary hint" will be dismissed by any
non-special char event. This is more comfortable especially if
we start using more intrusive UIs such as indicator and/or
background color with the text hint in the suggestion strip.
Change-Id: I2ea0fa40d9c6663ebf5d5439be3eca2a2cbd5166
2014-08-24 20:32:22 -07:00
Yohei Yukawa
4a71d2c480
Allow to add/remove background color to/from the committed text
...
This is a groundwork for subsequent CLs where we need to
add/remove background color to/from the commited text.
In this CL, we use Spanned#SPAN_COMPOSING so that we can easily
remove such a background color by calling
InputConnection#finishComposingText. To make this operation easy
and realiable, we need to track whether we have specified the
background color to the commited text or not at one place. Here
we use RichInputConnection for this purpose.
Change-Id: I5f9bc4425c5d1b80a719a20e5baf336729ec08d2
2014-08-24 20:28:24 -07:00
Yohei Yukawa
cd6ef9a8b1
Indroduce SuggestedWords#getTypedWordInfoOrNull
...
This is a groundwork for subsequent CLs whith need to
do certain things for and only for the typed word.
Change-Id: I374b79cbc79470f57f523c996010301ea5701a61
2014-08-24 16:32:17 -07:00
Tadashi G. Takaoka
560876508f
am cc4d21df: am 2637be27: Support Accept typed word UI
...
* commit 'cc4d21df7b08c3143dd1c4af786609a279a0bb79':
Support Accept typed word UI
2014-08-22 14:27:26 +00:00
Tadashi G. Takaoka
2637be27c5
Support Accept typed word UI
...
Change-Id: I58e95b2791a45afdc7dae8e26dcfc200b3b4b854
2014-08-22 21:25:35 +09:00
Jean Chalard
6c638d1bbd
Merge "Revert "[ML1] Introduce RichInputMethodSubtype""
2014-08-22 09:41:46 +00:00
Jean Chalard
a63d0a8ee6
Revert "[ML1] Introduce RichInputMethodSubtype"
...
This reverts commit 8ffe4bc932
.
Change-Id: I9d4c98b0adfdb78b0f4d376f7691e50d1bd2228f
2014-08-22 09:40:27 +00:00
Yohei Yukawa
eb99b461f0
am 96db9222: am cabb66e9: follow-up to API change in I4a577bfd02b37b
...
* commit '96db9222c2c8c728498751221cc92664676dd4f0':
follow-up to API change in I4a577bfd02b37b
2014-08-22 09:26:22 +00:00
Keisuke Kuroyanagi
e2ebd5d621
Merge "Add ExpandableBinaryDictionary#getDictionaryStats()."
2014-08-22 09:05:18 +00:00
Jean Chalard
395d778739
Merge "Revert "[HW17] Straighten the dead char implementation.""
2014-08-22 08:20:28 +00:00
Jean Chalard
5bfd661b38
Revert "[HW17] Straighten the dead char implementation."
...
This reverts commit c6612ff051
.
Change-Id: I750d9bff9cb89a6ab13af7a33567c3a0fe2af381
2014-08-22 08:16:28 +00:00
Jean Chalard
f429d8f138
Merge "[ML1] Introduce RichInputMethodSubtype"
2014-08-22 07:42:29 +00:00
Jean Chalard
8ffe4bc932
[ML1] Introduce RichInputMethodSubtype
...
Bug: 11230254
Change-Id: Ic7a1bf938a5a186dcff527b556295aba2406e8b9
2014-08-22 16:34:27 +09:00
Jean Chalard
1b34985dcf
Merge "[HW17] Straighten the dead char implementation."
2014-08-22 07:33:31 +00:00
Mohammadinamul Sheik
698b19ef35
Pass a new argument to StatsUtils.
...
Change-Id: I61e32c7a455a273e8daf9a5487d7969923802488
Bug: 17013677
2014-08-22 15:58:45 +09:00
Jean Chalard
c6612ff051
[HW17] Straighten the dead char implementation.
...
This now supports all cases, including cases not supported by
the framework.
Change-Id: I9dfbe2829c28c5bcb64b0b5a2551e7806990c00f
2014-08-22 15:55:32 +09:00
Yohei Yukawa
cabb66e9bc
follow-up to API change in I4a577bfd02b37b
...
BUG: 17182367
BUG: 17185263
Change-Id: Id54ca29c191b9752fa82ffe5a960113b2e97e5c1
2014-08-21 21:39:15 -07:00
Keisuke Kuroyanagi
6f2ddddb5b
Add ExpandableBinaryDictionary#getDictionaryStats().
...
Bug: 16553957
Change-Id: I05866624d0ba9f32ea7a71cb231ba501dde4376c
2014-08-22 12:02:40 +09:00
Tadashi G. Takaoka
ebec5e1338
Merge "Add Hinglish (hi_ZZ) subtype"
2014-08-21 10:22:17 +00:00
Tadashi G. Takaoka
d6696ae78b
Add Hinglish (hi_ZZ) subtype
...
Bug: 17169632
Change-Id: Ibee088d76c2b19f1d62a3c9c119452726e856ec8
2014-08-21 19:12:25 +09:00
Keisuke Kuroyanagi
68a52c1245
Merge "Update FormatSpec.java"
2014-08-21 09:50:38 +00:00
Keisuke Kuroyanagi
c7b6393535
Update FormatSpec.java
...
Change-Id: I27d14697f931c9511420a459c49312ea6e10c366
2014-08-21 17:23:11 +09:00
Yohei Yukawa
b8337e7232
am 2834ddf1: am b9768702: Merge "Use #onStartInputInternal to initialize cursor rect retrieval" into lmp-dev
...
* commit '2834ddf1a0c9bea38569429f90bdf7526ba8fa22':
Use #onStartInputInternal to initialize cursor rect retrieval
2014-08-20 15:52:48 +00:00
Yohei Yukawa
b9768702fa
Merge "Use #onStartInputInternal to initialize cursor rect retrieval" into lmp-dev
2014-08-20 01:43:56 +00:00
Yohei Yukawa
9f4f6681a9
Use #onStartInputInternal to initialize cursor rect retrieval
...
This CL simply moves the method calls of #requestCursorAnchorInfo
into #onStartInputInternal just to consolidate the logic.
Change-Id: Ia205738b9614e9ae375c1dab767a91d2e1f6d0d3
2014-08-21 00:21:57 +09:00
Yohei Yukawa
fa39ffcf84
Support more methods in the wrapper of CursorAnchorInfo
...
This CL add more compatibility wrapper methods for
CursorAnchorInfo.
This CL also adds more utility functions and types into
CompatUtils to reduce explict cast operations.
Change-Id: Id50165b552bbf28b832a6da13bf06eedcd2a190e
2014-08-20 09:27:22 +09:00
Ken Wakasa
c37205f5ab
Merge "DO NOT MERGE: Abolish source code overlay and introduce overridable src dir" into lmp-dev
2014-08-16 04:25:55 +00:00
Ken Wakasa
0b3e48fb50
DO NOT MERGE: Abolish source code overlay and introduce overridable src dir
...
This should make IDEs happy with appropriate source code directory
selection.
Change-Id: Ic734bd4d20aa050c688a3158b1a382ae0ac18991
(cherry picked from commit fb74ab15c1
)
2014-08-20 02:56:09 +00:00
Yohei Yukawa
3cf13d1267
am 17aeaa75: am fa39ffcf: Support more methods in the wrapper of CursorAnchorInfo
...
* commit '17aeaa75780591f1bf7fefcc887869fd90c88a9f':
Support more methods in the wrapper of CursorAnchorInfo
2014-08-20 05:04:07 +00:00
Ken Wakasa
9be350bc21
Merge "Abolish source code overlay and inroduce overridable src dir"
2014-08-16 04:15:21 +00:00
Keisuke Kuroyanagi
ffaa9c2a71
Merge "Add language to PersonalizationDataChunk."
2014-08-16 04:12:14 +00:00
Keisuke Kuroyanagi
e66d59e6d8
Add language to PersonalizationDataChunk.
...
Bug: 16547557
Change-Id: I11b82667631cbd5263cc08ccb304fc97bf692050
2014-08-19 18:27:34 +09:00
Jean Chalard
8adf5e8a70
Have the "add to dictionary" hint display the right word
...
Before this, we display the word we have committed instead
of the word we will actually insert into the personal dictionary.
There is a difference when the word was typed with auto-caps.
Bug: 17071785
Change-Id: I2bfec0402b1307934590a78ab5c25104d92b75ca
2014-08-18 20:43:40 +09:00
Yohei Yukawa
c9240d280c
am 18ac3c8a: am 16a43d2b: Let the backing view cover the entire content area
...
* commit '18ac3c8afd06c237a2935abad130aa3b99b5004b':
Let the backing view cover the entire content area
2014-08-16 14:02:21 +00:00
Yohei Yukawa
16a43d2bd9
Let the backing view cover the entire content area
...
With this CL, the backing view starts covering the content area
entirely. This allows the IME to render its UI elements at an
arbitrary position on the screen.
Change-Id: I8b4173410931b776964dddf66de2fe247e51d9de
2014-08-16 12:28:13 +09:00
Ken Wakasa
fb74ab15c1
Abolish source code overlay and inroduce overridable src dir
...
This should make IDEs happy with appropriate source code directory
selection.
bug: 16829244
Change-Id: Ic734bd4d20aa050c688a3158b1a382ae0ac18991
2014-08-16 03:37:54 +09:00
Jean Chalard
3dbc3ece26
am e04c8b10: am b8d76477: Add the input style to SuggestedWords.
...
* commit 'e04c8b10d7876effbfdf2340a1fec6bf368c3409':
Add the input style to SuggestedWords.
2014-08-14 18:10:05 +00:00
Jean Chalard
b8d764772b
Add the input style to SuggestedWords.
...
Change-Id: I81f37d08659d449822b027d3d5912e11eec8b8ff
2014-08-14 17:53:04 +09:00
Tadashi G. Takaoka
af078ce7b4
am 1901c331: am a94c89e0: Use light emoji icon for Material light tablet keyboard
...
* commit '1901c331283e2f60e6277a7773a103a447bd31ca':
Use light emoji icon for Material light tablet keyboard
2014-08-13 15:54:51 +00:00
Tadashi G. Takaoka
a94c89e017
Use light emoji icon for Material light tablet keyboard
...
Bug: 16808603
Change-Id: I39ce0ed8b5580754dfd0cf1494289b0a23863d50
2014-08-14 00:25:34 +09:00
Yohei Yukawa
d9a8e1ccfd
Enable CursorAnchorInfo callback when necessary
...
Change-Id: If3dda7442418053600ac935da50baaddb0e31d37
2014-08-13 20:02:14 +09:00
Yohei Yukawa
6e7806bc00
Add stub implementation of #onUpdateCursorAnchorInfo
...
This CL never changes existing behavior because
ProductionFlags.ENABLE_CURSOR_ANCHOR_INFO_CALLBACK is
not yet turned on.
Change-Id: I4bcbd2aebd05977b07231e8aa14acdcf6d8e1fa0
2014-08-13 19:36:23 +09:00
Tadashi G. Takaoka
c225d2e29c
Add setting boolean for showing UI to accept typed word
...
Change-Id: Iedd90d07b904362d9debc9994ce86cd78a0303b9
2014-08-13 17:29:49 +09:00
Tadashi G. Takaoka
a696c92477
(DO NOT MERGE) Add debug setting to force hardware special key
...
Bug: 13988700
Change-Id: If23f8a14097431e76a303a6d6c24e8d9835fb655
(cherry picked from commit 3659c70fc3
)
2014-08-13 08:04:54 +00:00
Tadashi G. Takaoka
78cff10f8d
Add BuildCompatUtils to get an effective platfrom API version
...
This CL removes reference of VERSION_CODES.CUR_DEVELOPMENT.
Bug: 13888366
Change-Id: I5c8499a175473a220c8fb04ead219760c585a19a
2014-08-13 16:21:23 +09:00
Tadashi G. Takaoka
8f3e778a21
Revert "Remove reference of VERSION_CODES.CUR_DEVELOPMENT"
...
This reverts commit 5380acfd04
.
Bug: 13888366
Change-Id: Iae0fb6798cef9d59c9de3790123f6acaf8b2746b
2014-08-13 04:00:36 +00:00
Yohei Yukawa
85ce863d19
am 4a2dbd87: am d9a8e1cc: Enable CursorAnchorInfo callback when necessary
...
* commit '4a2dbd87c4a49afbe40a61028ff338e2864554ed':
Enable CursorAnchorInfo callback when necessary
2014-08-13 11:38:19 +00:00
Yohei Yukawa
bec6c6e306
am 3a346bf5: am 6e7806bc: Add stub implementation of #onUpdateCursorAnchorInfo
...
* commit '3a346bf51c441b9b62f0cee364940c2d4661c72c':
Add stub implementation of #onUpdateCursorAnchorInfo
2014-08-13 10:55:00 +00:00
Tadashi G. Takaoka
f8f83c24ca
am 43b8646a: am c225d2e2: Add setting boolean for showing UI to accept typed word
...
* commit '43b8646a31573ef3ce8efbbaf46c3d72d8c5deca':
Add setting boolean for showing UI to accept typed word
2014-08-13 09:21:32 +00:00
Tadashi G. Takaoka
26233cddee
Merge "Add debug setting to force hardware special key"
2014-08-12 23:14:48 +00:00
Tadashi G. Takaoka
089371b649
am bdb05cc8: am 78cff10f: Add BuildCompatUtils to get an effective platfrom API version
...
* commit 'bdb05cc89f63f4f3956936fa062d0b4555aa072a':
Add BuildCompatUtils to get an effective platfrom API version
2014-08-13 07:52:52 +00:00
Tadashi G. Takaoka
3659c70fc3
Add debug setting to force hardware special key
...
Bug: 13988700
Change-Id: If23f8a14097431e76a303a6d6c24e8d9835fb655
2014-08-13 15:33:07 +09:00
Tadashi G. Takaoka
4ac551d189
am 7edc27f1: am 8f3e778a: Revert "Remove reference of VERSION_CODES.CUR_DEVELOPMENT"
...
* commit '7edc27f17b450e690f08a972c4573b92b39ef7ee':
Revert "Remove reference of VERSION_CODES.CUR_DEVELOPMENT"
2014-08-13 05:28:51 +00:00
Keisuke Kuroyanagi
82be1873f1
Merge "Add additional wait for writing file in testAddManyWords()."
2014-08-12 23:14:42 +00:00
Tadashi G. Takaoka
89a2145448
am a70542a5: am 5380acfd: Remove reference of VERSION_CODES.CUR_DEVELOPMENT
...
* commit 'a70542a5ef2c7f4d5cfe62150ed17be3776904c5':
Remove reference of VERSION_CODES.CUR_DEVELOPMENT
2014-08-12 15:02:59 +00:00
Tadashi G. Takaoka
5380acfd04
Remove reference of VERSION_CODES.CUR_DEVELOPMENT
...
Bug: 13888366
Change-Id: I0b829e2cf9a11c694cf01b6f02753233c9c85105
2014-08-12 23:13:18 +09:00
Keisuke Kuroyanagi
9f584e15eb
Add additional wait for writing file in testAddManyWords().
...
Change-Id: Ibb79b9821dac3d48e18c684e8aca605254bec045
2014-08-12 22:29:02 +09:00
Jatin Matani
0807c897f4
Make SettingsValues non-final to testability
...
Add getter for enableMetricsLogging boolean.
Bug:16522256
Change-Id: Ie9a38efc7861b3d4207562d2bf0344c5c2ae957a
2014-08-11 16:33:01 -07:00
Yohei Yukawa
89e8cba6ae
Merge "Add CursorAnchorInfoCompatWrapper for KitKat and older platforms" into lmp-dev
2014-08-11 19:46:21 +00:00
Tadashi G. Takaoka
499153734e
(DO NOT MERGE) Add SpecialkeyDetector
...
Bug: 13988700
Change-Id: I215e879ad33b149370c1d0a5fdcf2203c0fc8b4a
(cherry picked from commit 34541bfeb6
)
2014-08-12 10:14:41 +00:00
Tadashi G. Takaoka
8fdff5a111
(DO NOT MERGE) Show InputView even when hardware keyboard is connected
...
Bug: 13988700
Change-Id: I4aeb01bf3571afc97959c213474a6424d7896120
(cherry picked from commit 06514f00f4
)
2014-08-12 10:03:47 +00:00
Yohei Yukawa
deff9495f7
Add CursorAnchorInfoCompatWrapper for KitKat and older platforms
...
Change-Id: Ia26c783ebefd7b928d623a598792b7ba32d89a80
2014-08-12 17:26:56 +09:00
Tadashi G. Takaoka
016d6c424c
Auto scale-X text of key popup preview
...
Bug: 9978106
Change-Id: I335fa3117ac2af2cb8220c4827dd54c1a1da4c5c
2014-08-12 12:17:40 +09:00
Yohei Yukawa
0ba23b3ab3
am 6a5cba26: am 89e8cba6: Merge "Add CursorAnchorInfoCompatWrapper for KitKat and older platforms" into lmp-dev
...
* commit '6a5cba2695cc82707535845d6265ddc7d92a79ed':
Add CursorAnchorInfoCompatWrapper for KitKat and older platforms
2014-08-12 11:08:47 +00:00
Tadashi G. Takaoka
1fc4d5aab3
Merge "Add SpecialkeyDetector"
2014-08-11 19:46:21 +00:00
Tadashi G. Takaoka
34541bfeb6
Add SpecialkeyDetector
...
Bug: 13988700
Change-Id: I215e879ad33b149370c1d0a5fdcf2203c0fc8b4a
2014-08-12 19:08:58 +09:00
Tadashi G. Takaoka
06514f00f4
Show InputView even when hardware keyboard is connected
...
Bug: 13988700
Change-Id: I4aeb01bf3571afc97959c213474a6424d7896120
2014-08-12 18:44:05 +09:00
Tadashi G. Takaoka
ef2c537e59
Merge "Show InputView even when hardware keyboard is connected"
2014-08-11 18:59:25 +00:00
Tadashi G. Takaoka
2ae42d7861
am 3d477a73: am 016d6c42: Auto scale-X text of key popup preview
...
* commit '3d477a73afac2449794d953f00dd3411210b1b81':
Auto scale-X text of key popup preview
2014-08-12 04:33:01 +00:00
Tadashi G. Takaoka
25906373ff
Fix Tamil keyboard
...
This CL adds Tamil (Sri Lanka) and Tamil (Singapore) subtypes.
This CL also fixes Sinhala Keyboard's currency symbol.
Bug: 9978106
Bug: 6911143
Change-Id: I2060978097882d0f4b1ec10f1103260ed8a447d0
2014-08-11 18:07:27 +09:00
Ken Wakasa
f729f2214f
Help & feedback should be the very last item in the menu
...
bug: 16717930
Change-Id: I7ce73fe067bb7f9a639b414875780c39bb1de12d
2014-08-08 21:26:51 +09:00
Keisuke Kuroyanagi
a848c09485
Merge "Rename distracter filter class." into lmp-dev
2014-08-07 16:37:11 +00:00
Keisuke Kuroyanagi
e05eb21826
Rename distracter filter class.
...
Bug: 13142176
Bug: 15531638
Change-Id: I89cef5264073eed25ffb5be10fdff731df0a3138
2014-08-08 17:01:19 +09:00
Keisuke Kuroyanagi
33ca0c80c1
Use suggestions in the distracter filter.
...
Bug: 13142176
Bug: 15531638
Change-Id: I609fa61fccf2a0c738726985806b7d9248eadf49
2014-08-08 17:01:16 +09:00
Keisuke Kuroyanagi
6fef4ff00d
Merge "Use suggestions in the distracter filter." into lmp-dev
2014-08-07 16:56:07 +00:00
Ken Wakasa
83a96fe5c7
Initial implementation of Help & feedback
...
bug: 16717930
Change-Id: Iddc8e831c3f01ec7eb02ed1bc5d5e103d497e177
2014-08-08 12:58:31 +09:00
Tadashi G. Takaoka
db776143d9
Revert "Revert "Align hint label to bottom""
...
This reverts commit 02c4a80afe
.
2014-08-07 23:44:34 +09:00
Tadashi G. Takaoka
f7f6574368
Revert "Revert "Remove unused Key and Keyboard attributes""
...
This reverts commit 44e20f4fb4
.
Change-Id: I6560c8f4ef15bf8318d9eedf68a9eb5031f0581d
2014-08-07 23:36:57 +09:00
Tadashi G. Takaoka
0b5d12c6b4
Revert "Revert "Add Key label off center attribute""
...
This reverts commit 787e9a37b4
.
Change-Id: I177b8f5d08eb487c19180c09101cc073222c4efe
2014-08-07 14:31:47 +00:00
Ken Wakasa
787e9a37b4
Revert "Add Key label off center attribute"
...
This reverts commit ba49920e80
.
Due to unit test breakage.
Bug: 14419121
Change-Id: I6f4fc30b86227e59c883d202551b162dc91b4166
2014-08-07 11:38:36 +00:00
Ken Wakasa
5f57fe4ad0
Merge "Revert "Remove unused Key and Keyboard attributes"" into lmp-dev
2014-08-05 00:03:09 +00:00
Ken Wakasa
44e20f4fb4
Revert "Remove unused Key and Keyboard attributes"
...
This reverts commit cdcaa37a37
.
Due to unit test breakage.
Change-Id: I1c22edf983f6e03a34b86d7c1fae3d3188447a75
2014-08-07 11:37:11 +00:00
Tadashi G. Takaoka
cdcaa37a37
Remove unused Key and Keyboard attributes
...
This CL removes the following unused Key attributes
- Key.keyLabelFlags' followKeyLargeLabelRatio
- Keyboard.keyLargeLabelRatio
Change-Id: Ib4fb13cc7ca902ac1733ecf27bd284d07e10bc3e
2014-08-07 17:23:37 +09:00
Tadashi G. Takaoka
e19c520b41
Align space key icon to bottom of a key
...
The Key.keyLabelFlags's flag "alignButtom" (misspelled) has been
removed by Iae3cd66744. This CL re-introduce the same flag with
"alignIconToBottom".
Bug: 16803172
Change-Id: I412590f394c6ca9b36358d6acfe8675071403bdd
2014-08-07 12:42:27 +09:00
Ken Wakasa
3316dcd453
Merge "Revert "Introduce onEvent() to improve testability"" into lmp-dev
2014-08-05 00:07:36 +00:00
Ken Wakasa
f5f5fb4b64
Revert "Introduce onEvent() to improve testability"
...
This reverts commit ef74e737f5
.
Apparently, this CL broke several unit tests.
Change-Id: I86cf5f1ffb0214707afe99ee97f92ba8c5157f3f
2014-08-06 23:57:03 +00:00
Jean Chalard
ef74e737f5
Introduce onEvent() to improve testability
...
...and prepare for the future
Change-Id: Ieed96ab552993fd148e80b9c3355f1b569bd716f
2014-08-06 07:29:35 +00:00
Jean Chalard
1f3d89c2af
Revert "[HS1] Save some data in startInputView"
...
This reverts commit f1accd4f04
.
Bug: 16830599
Change-Id: I4c9367f742b8ee8463920e91263b05c2195f8480
2014-08-06 18:36:55 +09:00
Jean Chalard
772a8019ef
Revert "[HS2] Move more stuff to onStartInput"
...
This reverts commit 93b00a314e
.
Bug: 16830599
Change-Id: I955e7da77978c3a495660aa29247e010d489c36b
2014-08-06 18:36:29 +09:00
Tadashi G. Takaoka
5dee1fd67d
Merge "Add dedicated background for custom action label key" into lmp-dev
2014-08-05 00:07:36 +00:00
Tadashi G. Takaoka
017e9f7e7f
Add dedicated background for custom action label key
...
Bug: 15526978
Change-Id: Ia73d825c7e00097018822704e61272d0e448f39a
2014-08-06 17:23:14 +09:00
Tadashi G. Takaoka
aa3ff194cd
Merge "Use add icon for add custom input style menu" into lmp-dev
2014-08-05 00:07:36 +00:00
Tadashi G. Takaoka
f7d1dc2b5e
Use add icon for add custom input style menu
...
Bug: 16805043
Change-Id: I9730a6aa5d761924457edaabcee25db930e20f02
2014-08-06 11:38:45 +09:00
Jean Chalard
c08c506487
Merge "Fix an NPE when running with Keep." into lmp-dev
2014-08-05 00:07:36 +00:00
Jean Chalard
411fa5909b
Fix an NPE when running with Keep.
...
Change-Id: Ie703e14bff42d34608f11d0c2d7758950b84c88c
2014-08-06 13:00:05 +09:00
Jean Chalard
9273f3832b
[HS3] Fix a bug on ICS
...
There is a bug in ICS where the input connection won't take
any writing commands after rotation until the cursor moves.
This fixes it by wiggling the cursor position once before trying
to do anything.
Bug: 16810766
Change-Id: Ib14c70bd0550420cecfa86dea501d13a1a91e296
2014-08-06 11:38:11 +09:00
Jean Chalard
93b00a314e
[HS2] Move more stuff to onStartInput
...
Bug: 8152758
Change-Id: Ida05df7d151ceb582886e2ad06c5bdf0b59978ee
2014-08-06 11:14:47 +09:00
Tadashi G. Takaoka
a262144dcb
Add ViewCompatUtils.setElevation
...
Bug: 16210054
Change-Id: I632158951a60ab527246410caefd9fbe471dd859
2014-08-05 18:56:24 +09:00
Jean Chalard
6474ef9925
Merge "[HW16] Implement processing event chains." into lmp-dev
2014-08-05 00:07:36 +00:00
Jean Chalard
0a2872cb44
[HW16] Implement processing event chains.
...
Change-Id: I4e1e4f101050ebda77c629a61c548d3c8efb330f
2014-08-05 15:37:01 +09:00
Jean Chalard
f69bb4c7a3
[HW15] Pass events instead of reading them from the transaction
...
It's probably cleaner to just pass the events rather than read
them from a transaction, especially when a transaction may be
associated with several events in a chain.
Change-Id: I27830f0f3f3f32fe77ea8b9cad505b7ebee648af
2014-08-05 15:37:01 +09:00
Ken Wakasa
1c7e6f8d6e
Merge "Revert "Align hint label to bottom"" into lmp-dev
2014-08-04 23:56:40 +00:00
Ken Wakasa
02c4a80afe
Revert "Align hint label to bottom"
...
This reverts commit f1784266ec
.
Due to unit test breakage.
Bug: 14419121
Change-Id: Ibc201649e71135292530b26337d9305a6681f446
2014-08-07 11:35:26 +00:00
Tadashi G. Takaoka
f1784266ec
Align hint label to bottom
...
Bug: 14419121
Change-Id: I9147d3c4a3687ed745ffdddfff221d88652919b2
2014-08-07 18:42:47 +09:00
Tadashi G. Takaoka
8cbb4eb984
Merge "Make popup hint letter theme-aware" into lmp-dev
2014-08-04 23:56:40 +00:00
Tadashi G. Takaoka
3410e16907
Make popup hint letter theme-aware
...
Bug: 16351091
Change-Id: I6af18ea210c00916157138b9cfbeb073aee6ca1b
2014-08-05 17:32:53 +09:00
Keisuke Kuroyanagi
b6665d958a
Merge "Use DistracterFilterCheckingIsInDictionary for User History" into lmp-dev
2014-08-04 23:56:40 +00:00
Keisuke Kuroyanagi
87ab5b0518
Use DistracterFilterCheckingIsInDictionary for User History
...
Bug: 13142176
Bug: 15531638
Change-Id: I7e4e5afa05c5cee6eedef62c053d81edac5fa6af
2014-08-07 18:39:06 +09:00
Tadashi G. Takaoka
6ba5d63628
Merge "Remove unused Key and Keyboard attributes" into lmp-dev
2014-08-04 23:56:40 +00:00
Tadashi G. Takaoka
ba49920e80
Add Key label off center attribute
...
This CL adds two Key attributes to control how much a label should be
off centered.
- keyLabelOffCenterRatio
- keyHintLabelOffCenterRatio
Bug: 14419121
Change-Id: I26650eefdd375f0eeca8a1ca6034a8339d2a3182
2014-08-07 14:39:57 +09:00
Jean Chalard
1b9f7c962c
Merge "[HW14] Cleanup" into lmp-dev
2014-08-04 23:56:40 +00:00
Jean Chalard
dd31a2dedf
[HW14] Cleanup
...
Do away with the didAutoCorrect local variables which are
unnatural to return out of all these functions.
Change-Id: I22024004d2c489de018beff812c2c589bfd8ca32
2014-08-05 12:59:55 +09:00
Jean Chalard
a88e95e07e
[HW13] Split up onCodeInput
...
Change-Id: I503c5403dcaea5db632eba85ae3fae9ba9a1f946
2014-08-05 12:59:36 +09:00
Jean Chalard
c710b34e34
Merge "[HW13] Split up onCodeInput" into lmp-dev
2014-08-05 00:03:09 +00:00
Jean Chalard
f1accd4f04
[HS1] Save some data in startInputView
...
Bug: 8152758
Change-Id: Ic57d3918b08e775769d4ba5d73ba5c31231e0d6a
2014-08-04 22:40:21 +09:00
Jean Chalard
85b7b967b7
Merge "[HW12] Use the consumed status of the Event." into lmp-dev
2014-08-01 16:06:20 +00:00
Jean Chalard
e0bad8e988
[HW12] Use the consumed status of the Event.
...
Change-Id: I1619f6132f8f71bc1291fd6a5604a5e1e3431ae2
2014-08-04 12:41:07 +09:00
Tadashi G. Takaoka
03a1c442ae
Clean up compatible utility classes
...
Change-Id: I95a682052037d292801477db0f05e04926b61412
2014-08-04 01:21:29 +00:00
Jean Chalard
da5ccd9f18
[HW11] Cleanup
...
Change-Id: Ia866d3f9a5981c687766f8c39979fb6091018e44
2014-07-31 18:33:30 +09:00
Jean Chalard
00ee5f7697
[HW10] Pull the processed event in its eventual place
...
Change-Id: I5f7932097627766e907764a99a5e9c170f725bc0
2014-07-31 09:10:24 +00:00
Jean Chalard
f290d4073a
[HW9] Pull the processed event further.
...
The 'processedEvent' variables will ultimately disappear entirely.
Change-Id: I612c5ce7dedc341b64921a86ac028fe91b75359b
2014-07-31 09:10:03 +00:00
Jean Chalard
69b68b5916
Fix some unit tests.
...
The default value for the script needs to be Latin, as we don't specify
it in the files.
Change-Id: I1275f13f1cd92f00dc5708748fefb4982f0a60b3
2014-07-31 12:29:35 +09:00
Jean Chalard
86893a3b3f
[HW8] Pull up the processed event.
...
Change-Id: I18021b7ec1588fc52533c48b7d8774bec7764822
2014-07-30 08:39:46 +00:00
Tadashi G. Takaoka
f4a3fd4893
Merge "Disptach hover events when sliding suggestion mode" into lmp-dev
2014-07-24 16:04:26 +00:00
Jean Chalard
ae4e203625
[SD13] Reorder an enum alphabetically
...
Change-Id: I907041b09e5bfce537ed4f592947b2cec8cef4ac
2014-07-30 15:58:43 +09:00
Jean Chalard
3a729d4ed8
[SD12] Add the last remaining scripts
...
Add scripts for Bengali, Devanagari, Kannada, Malayalam,
and Tamil.
Also include a very minor fix for Arabic.
This concludes work on:
Bug: 15840116
Change-Id: Iade313fc70030a67c68d424d8cb0cac245b883d1
2014-07-30 15:58:43 +09:00
Jean Chalard
7c5cd5ec89
[SD11] Add script checks for Myanmar, Sinhala, Thai and Telugu
...
Bug: 15840116
Change-Id: I1264fdeea0d4739ca0f360f4934d06e5a824d4e5
2014-07-30 15:58:43 +09:00
Tadashi G. Takaoka
da232a70a8
Disptach hover events when sliding suggestion mode
...
Bug: 15687702
Change-Id: I7ace1fbbba724c6e422230a3d88f8cc9ffa8efc2
2014-07-30 14:55:53 +09:00
Ken Wakasa
7f545a57c9
[HW7.5] Introduce the @Nonnull annotation (take 2)
...
Change-Id: I05512b5434810046c8b72d6bb41567b6cd8b9d6e
2014-07-30 04:13:58 +00:00
Jean Chalard
0304c77750
Merge "[SD10] Add script checks for Lao and Khmer" into lmp-dev
2014-07-24 16:04:26 +00:00
Jean Chalard
a9c12692ed
[SD10] Add script checks for Lao and Khmer
...
Bug: 15840116
Change-Id: Id72b739e73cb3e72f56e1872ad9d60469555e193
2014-07-30 12:02:37 +09:00
Jean Chalard
8e38b12e9c
[HW7] Introduce consumed events
...
Change-Id: I692c35b8e701d5a84500b949884472545b1f424d
2014-07-30 11:37:19 +09:00
Jean Chalard
7196566d4f
[HW6] Split processing and applying the event.
...
...take 2
Change-Id: I9d13b6d51e13ce2e76ae3febebfb8c310eba509d
2014-07-30 11:06:43 +09:00
Ken Wakasa
c4f6fc1e48
Merge "Revert "[HW6] Split processing and applying the event."" into lmp-dev
2014-07-24 16:04:26 +00:00
Ken Wakasa
4399849dea
Revert "[HW6] Split processing and applying the event."
...
This reverts commit 1db3d860ca
.
Reverting due to a few critical bugs and unit test failures.
Change-Id: I5e2d02300320438ef9c29577ec5b0860ea91d822
2014-07-30 00:55:49 +00:00
Jean Chalard
1db3d860ca
[HW6] Split processing and applying the event.
...
If anyone has better names for those...
Change-Id: Ia2dfc75381816bd688948647e2c50c10657b9e89
2014-07-29 17:40:48 +09:00
Tadashi G. Takaoka
76cffec788
Show "navigate up" icon on settings activity
...
Bug: 15813742
Change-Id: I8b1feb5c35377e62199e5a909640d9c50f970654
2014-07-29 12:05:48 +09:00
Ken Wakasa
9fbeeb609f
Merge "Revert "[HW7] Introduce consumed events"" into lmp-dev
2014-07-24 16:04:26 +00:00
Ken Wakasa
bfa6f9533c
Revert "[HW7] Introduce consumed events"
...
This reverts commit 99aff0af98
.
Reverting due to a few critical bugs and unit test failures.
Change-Id: Id41d802981d079f17134a03cc30ab36a3cdd4ac1
2014-07-30 00:53:24 +00:00
Jean Chalard
99aff0af98
[HW7] Introduce consumed events
...
Change-Id: Ic2d95d19b1ac66e3e97e4a16187ce5aecb4ac678
2014-07-29 17:49:14 +09:00
Keisuke Kuroyanagi
c6862ee699
Merge "Allow adding DICTIONARY_MAX_WORD_LENGTH-length words." into lmp-dev
2014-07-25 11:19:20 +00:00
Keisuke Kuroyanagi
d9a8f2a82f
Allow adding DICTIONARY_MAX_WORD_LENGTH-length words.
...
Bug: 12725817
Change-Id: Ib9b30473ba94242a7b97ccd3b850068f596a5d17
2014-07-28 21:48:02 +09:00
Tadashi G. Takaoka
ab661e3ef8
Make "Show correction suggestions" as a binary option
...
Formerly "Show correction suggestions" had three options, "always
show", "show in portrait mode", and "always hide". The reason behind
"show in portrait mode" was that there may not be enough screen estate
in landscape mode to show suggestions. Because recent phone devices
have relatively large screen, we decide to remove "show in portrait
mode" option.
Bug: 15780939
Change-Id: I896d737452c3893d43ce20bd88127f10c1eb3d83
2014-07-27 14:47:07 +09:00
Ken Wakasa
2ce8799fa8
Merge "Revert "[HW8] Pull up the processed event."" into lmp-dev
2014-07-24 16:04:26 +00:00
Ken Wakasa
76fc4914b3
Revert "[HW8] Pull up the processed event."
...
This reverts commit ebdd641d58
.
Reverting due to a few critical bugs and unit test failures.
Change-Id: Ie7958d749dc813c1752d03aec7f14f5586225ff7
2014-07-30 00:31:57 +00:00
Jean Chalard
ebdd641d58
[HW8] Pull up the processed event.
...
Change-Id: If4baba0af2e88627f22b5e7312948fc3d9c5a25f
2014-07-29 17:49:24 +09:00
Jean Chalard
60a2cd8ac4
[HW7.5] Introduce the @Nonnull annotation
...
Change-Id: I1f69ea704056943fa3371ff610e2d8181ead2376
2014-07-29 17:49:19 +09:00
Jean Chalard
036b83f4c4
Merge "Wait for an event before actually realizing it" into lmp-dev
2014-07-25 11:19:20 +00:00
Jean Chalard
3d951c1eff
Wait for an event before actually realizing it
...
This would wrongly emit a 'timeout' log entry when switching
between two instances of the same language.
Change-Id: I56e5de121b87f3e762b58f0b2a77e9abc784036e
2014-07-28 19:33:49 +09:00
Ken Wakasa
dc0c3e1e2a
Merge "Revert "[HW9] Pull the processed event further."" into lmp-dev
2014-07-24 16:04:26 +00:00
Ken Wakasa
e2397e54c6
Revert "[HW9] Pull the processed event further."
...
This reverts commit a8d80ec012
.
Reverting due to a few critical bugs and unit test failures.
Change-Id: I3f49b54f34d875e8986d6ddc2523ab0b706dc6f2
2014-07-30 00:31:12 +00:00
Jean Chalard
a8d80ec012
[HW9] Pull the processed event further.
...
The 'processedEvent' variables will ultimately disappear entirely.
Change-Id: If44c68c1116faa9ca23e4ffeabe320704431ab3c
2014-07-29 18:38:49 +09:00
Ken Wakasa
e8ca3f4091
Merge "Revert "[HW10] Pull the processed event in its eventual place"" into lmp-dev
2014-07-25 11:19:20 +00:00
Ken Wakasa
79fd911c8d
Revert "[HW10] Pull the processed event in its eventual place"
...
This reverts commit bcb61da581
.
Reverting due to a few critical bugs and unit test failures.
Change-Id: I5f7ee2c7883496ed36e56b3ef12fac91f85f9866
2014-07-30 00:29:41 +00:00
Jean Chalard
bcb61da581
[HW10] Pull the processed event in its eventual place
...
Change-Id: I9e13bb3efad557e9199021a344d8dff8215d97fa
2014-07-29 18:48:13 +09:00
Jean Chalard
312c9498be
Merge "[HW8] Pull up the processed event." into lmp-dev
2014-07-25 11:19:20 +00:00
Tadashi G. Takaoka
1e491d90f9
Merge "Use fragment for advanced preference screen" into lmp-dev
2014-07-24 16:04:26 +00:00
Tadashi G. Takaoka
9bdcb13160
Use fragment for advanced preference screen
...
Bug: 16522808
Change-Id: If4a2ad7a7dfecc7019bf78ad37d93fa8f37cf21e
2014-07-28 19:24:41 +09:00
Ken Wakasa
666f1b384f
Merge "Revert "[HW7.5] Introduce the @Nonnull annotation"" into lmp-dev
2014-07-24 16:04:26 +00:00
Ken Wakasa
8aa74da98d
Revert "[HW7.5] Introduce the @Nonnull annotation"
...
This reverts commit 60a2cd8ac4
.
Reverting due to build breakage under the unbundled branch.
Change-Id: Iab2988c53884166f62c95da920ac7a7079a0e5a0
2014-07-29 15:43:59 +00:00
Jean Chalard
3c7cb5234f
Merge "[HW7.5] Introduce the @Nonnull annotation" into lmp-dev
2014-07-24 16:04:26 +00:00
Jean Chalard
3042452170
Merge "[HW7] Introduce consumed events" into lmp-dev
2014-07-25 11:19:20 +00:00
Tadashi G. Takaoka
a715d7f6fd
Use fragment for keyboard theme settings
...
Bug: 11866784
Change-Id: Ic50b6eb1bd8f2b823e2c9dfad04d8615bc910936
2014-07-29 18:19:20 +09:00
Keisuke Kuroyanagi
fb15b768dd
Merge "Fix NPE when context.getFilesDir() returns null." into lmp-dev
2014-07-24 16:04:26 +00:00
Keisuke Kuroyanagi
79ff803cb0
Fix NPE when context.getFilesDir() returns null.
...
Bug: 16416948
Change-Id: I0fac5ab26d6efbadbd688d033a79f6705e0161a5
2014-07-28 19:25:07 +09:00
Tadashi G. Takaoka
9ba854133c
Merge "Refactor Debug settings to use SubScreenFragment" into lmp-dev
2014-07-24 16:04:26 +00:00
Tadashi G. Takaoka
99295c8c5f
Refactor Debug settings to use SubScreenFragment
...
Bug: 16522808
Change-Id: I741e2fbc5f0a62c7d4ae00e603eef52cc2a6d086
2014-07-28 19:16:42 +09:00
Tadashi G. Takaoka
00b49cad9c
Use fragment for text correction preference screen
...
Bug: 16522808
Change-Id: Ia8ce83b0e69cc8157f7b8cefcfeb863eb85ee4b4
2014-07-28 17:48:49 +09:00
Tadashi G. Takaoka
3c8a075a58
Use fragment for gesture typing preference screen
...
Bug: 16522808
Change-Id: Ib8c2997466bb006c6b5d4e980344507b822d0023
2014-07-28 17:45:41 +09:00
Tadashi G. Takaoka
6b71530017
Use fragment for multi lingual preference screen
...
Bug: 16522808
Change-Id: I0bfac43513e1fb85b5d4c07f56dd4c5b82f75ed1
2014-07-28 17:20:16 +09:00
Tadashi G. Takaoka
bfcd98edc7
Use fragment for input preference screen
...
This CL introduces a common abstract class, SunScreenFragment, for
PreferenceFragment that implements a PreferenceScreen of the main
settings preference screen.
Bug: 16522808
Change-Id: I11fba71b5e9f96208b261e0c0314de8a41720d0f
2014-07-27 16:06:52 +09:00
Tadashi G. Takaoka
633f1a5e6e
Merge "Use fragment for text correction preference screen" into lmp-dev
2014-07-24 16:04:26 +00:00
Tadashi G. Takaoka
a484dc84d9
Merge "Use fragment for gesture typing preference screen" into lmp-dev
2014-07-24 16:04:26 +00:00
Tadashi G. Takaoka
1da4385493
Merge "Use fragment for multi lingual preference screen" into lmp-dev
2014-07-24 16:04:26 +00:00
Jean Chalard
6d7a08107c
Merge "Fix a verifier error on ICS." into lmp-dev
2014-07-24 16:04:26 +00:00
Jean Chalard
da70b90aa7
Fix a verifier error on ICS.
...
Bug: 16530557
Change-Id: I271c5884995a1d5f8a1cb7aee6f52d17fabb9e72
2014-07-28 17:33:52 +09:00
Tadashi G. Takaoka
a270ac4a61
Remove unnecessary DebugSettingsActivity, use fragment directly
...
This CL must be checked in together with I1db2e848ab.
Bug: 16522808
Change-Id: I08a1b0c300c504def609cbb53462d215d1ead15c
2014-07-23 17:09:46 -07:00
Yohei Yukawa
3f513f107e
Enable InputMethodService#onUpdateCursor behind the flag
...
With this CL, InputMethodService#onUpdateCursor and
InputMethodService#onUpdateCursorAnchorInfo can be enabled
on L when ENABLE_CURSOR_ANCHOR_INFO_CALLBACK and
ENABLE_CURSOR_RECT_CALLBACK are specified, respectively.
BUG: 16382260
Change-Id: I29924128f6bd2f08cbd91cc4e82c9c4a6ecce3ff
2014-07-20 20:56:52 +09:00
Yohei Yukawa
86f36003fd
Use CharSequence for spell checker to keep spans preserved
...
This is a ground work to take per word locale information into
consideration in the spell checker. This CL is supposed to change
no user visible behavior.
With this CL, the spell checker session is able to read span
information if necessary.
BUG: 16029304
Change-Id: Icb1e1ecdf40fe0445e14565b685b1b878b746210
2014-07-20 02:16:11 +00:00
Yohei Yukawa
22ba22f32d
Merge "Add two convenient utility methods for L new API" into lmp-dev
2014-07-18 18:24:25 +00:00
Tadashi G. Takaoka
639c93f43b
Remove unused Key.keyLabelFlags' values
...
Change-Id: Iae3cd6674448f258ee0a4bf2966bf3c347876b4f
2014-07-19 12:31:50 -07:00
Yohei Yukawa
5696ac95ac
Add two convenient utility methods for L new API
...
This CL adds two convenient utility methods for
InputConnection#requestCursorAnchorInfo to encapsulate
a bit complicated parameter construction.
BUG: 16382260
Change-Id: Ib11e3bd15a4edcb602c08ff830b2fb7b34ec00da
2014-07-19 23:42:37 +09:00
Ken Wakasa
e645715b25
Clean up under the util package.
...
- Move util classes that are unused in AOSP
- Remove unused methods
Change-Id: Ic97fd313f1e2bafd50609d42aa3a2d090b63eafc
2014-07-18 17:47:14 +09:00
Yohei Yukawa
413aded600
Add a compatibility library for newly added methods in L
...
This CL adds an compatibility library for
InputConnection#requestCursorAnchorInfo method that is supposed to
be available in L and later.
BUG: 16382260
Change-Id: I68be0c56b9fd929546e8706ccece938ae4f33339
2014-07-18 08:30:12 +09:00
Yohei Yukawa
eac8670830
Enable StringUtils to split CharSequence like String#split
...
This is a groundwork for enabling LocaleSpan.
To enable LocaleSpan everywhere, we need to switch to
CharSequence from String so that Span infromation can be
preserved end-to-end. To achieve this, we need to have
CharSequence version of String#split.
BUG: 16029304
Change-Id: I0dd103185dcf62fb1e25054a374340790e6a4678
2014-07-19 22:47:56 +09:00
Tadashi G. Takaoka
5a5ee95fae
Rename ProductionFlag to ProductionFlags
...
Change-Id: I5da2dbf8828fa0e176e7c2496392a5f561ebfe20
2014-07-16 19:26:32 -07:00
Tadashi G. Takaoka
6f80ed3901
Merge "Rename LatinImeLogger to DebugFlags" into lmp-dev
2014-07-16 23:37:00 +00:00
Tadashi G. Takaoka
2dae79b196
Rename LatinImeLogger to DebugFlags
...
Bug: 15318007
Change-Id: Ic0268fd12865c9a692a5e7110a9beb76cb8b6d7f
2014-07-16 18:49:00 -07:00
Tadashi G. Takaoka
53c0088d57
Use SwitchPreference for spell checker setting
...
This is a follow up of I1f7214c689.
Bug: 15781377
Change-Id: I7289b8b724e086da80ab3849cc567560c1a8502d
2014-07-16 12:13:51 -07:00
Keisuke Kuroyanagi
05c70484a2
Track crashing during migration to avoid crash loop. DO NOT MERGE.
...
Bug: 16213554
Bug: 16235703
Change-Id: Ib29b1a84b4c6ebae06d3dc6448f3c274ec6a7aab
(cherry picked from commit 1d6024d2f8
)
2014-07-14 15:48:01 +00:00
Tadashi G. Takaoka
a2087e66e5
Use SwitchPreference on API versions newer than KitKat
...
Bug: 15781377
Change-Id: I1f7214c689006b1088249783eb614b6f0fbf2ee7
2014-07-13 13:11:09 +09:00
Keisuke Kuroyanagi
b7ecb258dc
Merge "Remove SuggestionsGatherer."
2014-07-09 17:48:03 +00:00
Keisuke Kuroyanagi
1467fa0c26
Remove SuggestionsGatherer.
...
Bug: 13689011
Bug: 13630847
Change-Id: I9930d5ce9cbe16489dc69f68b9590d72afe463b5
2014-07-10 16:23:27 +09:00
Keisuke Kuroyanagi
86dee2295d
Quit sorting suggestions in AndroidSpellCheckerService.
...
Suggestions have been sorted in SuggestionResults.
Bug: 13689011
Change-Id: Iec21e97119ceb7c71673d5b15bb1f06040b59fef
2014-07-10 16:21:31 +09:00
Keisuke Kuroyanagi
9e76304d60
Make spell checker use dictionary facilitator.
...
Bug: 13630847
Change-Id: I07d17ccf5ce0755f63a0b8d236d77600baaf62b6
2014-07-10 12:51:37 +09:00
Keisuke Kuroyanagi
12e63799d3
Merge "Quit sorting suggestions in AndroidSpellCheckerService."
2014-07-09 17:22:29 +00:00
Keisuke Kuroyanagi
eff9e26bc1
Merge "Make spell checker use dictionary facilitator."
2014-07-09 17:48:03 +00:00
Tadashi G. Takaoka
f9f409530c
Add Material Light theme
...
Bug: 15782668
Change-Id: Id2ae47cfb2065d73f13701b9c6a041129dfd08ae
2014-07-10 07:43:04 +09:00
Yohei Yukawa
fc137f35c8
Simplify the wrapper for TextInfo#getCharSequence
...
This CL simplifies the wrapper method for
TextInfo#getCharSequence() because in the almost all cases we want
to use the result of TextInfo#getText() as the default value.
BUG: 16029304
Change-Id: I62f987aed8ca42b093255e6c0703d6120fa01299
2014-07-09 23:52:44 +09:00
Tadashi G. Takaoka
36713e5782
Fix alphabet label of Kannada and Telugu
...
Bug: 10029252
Bug: 10028759
Change-Id: Iea9cc1b7cafa97280503b0236b005cea57ba2c3d
2014-07-09 15:52:03 +09:00
Keisuke Kuroyanagi
3b8f2ece40
Merge "Move phrase gesture from additional features to public."
2014-07-02 20:35:42 +00:00
Keisuke Kuroyanagi
b8a9479b57
Move phrase gesture from additional features to public.
...
Bug: 15758242
Change-Id: I703dc2703afdf9402c5d2ac27411b74ece993dba
2014-07-08 16:36:06 +09:00
Tadashi G. Takaoka
d5f32b38f5
Add Telugu keyboard
...
Bug: 10028759
Change-Id: Id1bf030a9928124ead695aa7bf76db48ca58de4b
2014-07-09 02:36:15 +09:00
Tadashi G. Takaoka
03aa084ccd
Add Kannada keyboard
...
Bug: 10029252
Change-Id: Ia03ff886f9e62a2fe228fe59b504b033eead7631
2014-07-09 01:44:04 +09:00
Tadashi G. Takaoka
1c9e9ecdfb
Fix Armenian comma on phone device
...
Bug: 7963631
Change-Id: Ia28b4020652174daa2731b3eed7636db9639c6b6
2014-07-08 15:40:06 +09:00
Tadashi G. Takaoka
cc8f4491e3
Merge "Add Malayalam keyboard"
2014-07-02 20:35:42 +00:00
Tadashi G. Takaoka
59e795ca3f
Add Malayalam keyboard
...
Bug: 10417006
Change-Id: Ieb03fe1f08c85417b5d9ad4d62c8a5bc6d0632bc
2014-07-08 23:42:01 +09:00
Yohei Yukawa
da19daf570
Merge "Ensure each character is coverted by at most one LocaleSpan"
2014-07-02 21:09:42 +00:00
Yohei Yukawa
ece4548eb5
Ensure each character is coverted by at most one LocaleSpan
...
This is a groundwork to attach LocaleSpan for committed text
in LatinIME.
This CL adds a utility method to ensure that a given range
of the text is coverted by at most one LocaleSpan. Of course
it could be possible to allow a substring to be coverted by
multiple LocaleSpans at the same time, but ensuring uniqueness
for LocaleSpan is supposed to be a good starting point.
BUG: 16029304
Change-Id: Ic33a7178d0df1f05d3626aeb5773ec902254703f
2014-07-07 20:13:55 +09:00
Yohei Yukawa
733ec699cd
Add a compatibility utility class for TextInfo
...
This is a groundwork for enabling LocaleSpan support in spell
checker service. TextInfo#getCharSequence is supposed to be
available in API Level 21 and later. We need some abstraction
layer as usual.
BUG: 16029304
Change-Id: Iafbf2877db393dbd040295c21d429334e3a13a5f
2014-07-08 14:10:12 +00:00
Tadashi G. Takaoka
074e9812ee
Merge "Add Tamil keyboard"
2014-07-02 19:52:36 +00:00
Tadashi G. Takaoka
b5696b4f67
Add Tamil keyboard
...
Bug: 9978106
Change-Id: I226e640fe453076063121176121ed5923d1ccfa1
2014-07-08 18:05:07 +09:00
Tadashi G. Takaoka
68caceded4
Use bn-rIN resource directory for Bengali (India)
...
Bug: 10028755
Change-Id: I552ad3b30d359b79c48cde4912d796c532b42b51
2014-07-08 18:47:22 +09:00
Tadashi G. Takaoka
9cb19b1bca
Merge "Remove unused keyPreviewIcon attributes"
2014-07-02 21:09:42 +00:00
Tadashi G. Takaoka
6efe9ae1c0
Remove unused keyPreviewIcon attributes
...
This CL also removes unused tabKeyPreview icon.
Change-Id: Ia69ba9c3d7c67ccb8983275bed262292eb422db2
2014-07-08 17:36:11 +09:00
Tadashi G. Takaoka
649de3f544
Fix Sinhala keyboard for tablet device
...
This CL introduces fontDefault flag to keyLabelFlags of Key attribute
to reset font specification to keyTypeface attribute.
This is a followup of I065824f3fa.
Bug: 6911143
Change-Id: I33bd4a23aaea73e2b17175ddd39053ec915d5451
2014-07-07 16:57:11 +09:00
Keisuke Kuroyanagi
bb843eb223
Move getPrevWordsInfoFromNthPreviousWord to PrevWordsInfoUtils.
...
Bug: 14425059
Change-Id: Id37022ac6c1545d6845abfbcdb7ed47f0e250eec
2014-07-07 13:07:57 +09:00
Yohei Yukawa
513784e808
Merge "Restore additional subtypes when the package is updated"
2014-07-02 19:52:36 +00:00
Yohei Yukawa
052ec62abd
Restore additional subtypes when the package is updated
...
With this CL, Intent#ACTION_MY_PACKAGE_REPLACED will
not only update the visibility of the setup activity but
also reconstruct additional subtypes.
This is important because the system always removes all
the additional subtypes whenever the package is updated.
BUG: 15890448
Change-Id: Ic36ea68f50b1ac89b4cbd268ee53f9a5e5d60afd
2014-07-04 20:50:00 +09:00
Yohei Yukawa
3895d7f8dc
Additional subtype ID should be independent of OS-version
...
This CL consolidates the initialization logic for additional
subtypes so that each additional subtypes can have predictable
subtype ID regardless of OS version.
Previously subtype IDs for additional subtypes are calculated
differently depending on the running OS version with hoping it
minimizes the risk of compatibility issues. However, it is
getting harder and harder to maintain slightly different
logic between OSes. Thus we decided to unify the logic into
that in KitKat even though it may causes some breaking changes.
Note that the actual extra values that are used to instantiate
InputMethodSubtype object are still determined on the fly
depending on the running OS version. However these actual
extra values are no longer used for the subtype ID calculation.
BUG: 16000850
Change-Id: Id3c262386a7bc7ed75966b1395a50171abe550d3
2014-07-04 15:08:58 +09:00
Tadashi G. Takaoka
013ea9d57a
Merge "Add Bengali keyboard layout"
2014-07-02 21:09:42 +00:00
Tadashi G. Takaoka
0205fb220d
Add Bengali keyboard layout
...
This is a preliminary keyboard layout.
Bug: 10028755
Change-Id: I365fb8e942a60d4b690a4af95fcd35bf73fffbe4
2014-07-04 20:59:37 +09:00
Yohei Yukawa
c4571a2e29
Merge "Add compatibility utility class for LocaleSpan"
2014-07-02 19:52:36 +00:00
Yohei Yukawa
a92fead202
Add compatibility utility class for LocaleSpan
...
This is a groundwork for enabling LocaleSpan support.
LocaleSpan is available in API Level 17 and later. We need some
abstraction layer as usual.
BUG: 16029304
Change-Id: Iead1afdc540216edb1b17f91a40d9edb2e790168
2014-07-04 20:31:34 +09:00
Yohei Yukawa
73065b778c
Remove dead code to fix test failure due to NoSuchMethodError
...
This CL removes following methods from StringUtils, which are
no longer used since Id3c262386a7bc7ed75966b1395a50171abe550d3.
- #joinCommaSplittableText
- #appendToCommaSplittableTextIfNotExists
BUG: 16000850
Change-Id: Ibdc9b7e463a19cdfac788b24c0a6322d0c5850c5
2014-07-04 19:12:14 +09:00
Ken Wakasa
0100a49bdd
Merge "[HW5] Make the word composer package private."
2014-06-26 23:14:30 +00:00
Jean Chalard
28ebbd481a
[HW5] Make the word composer package private.
...
Change-Id: I66ed277751272eb3ae2fd5e55e9f3e413970082f
2014-07-01 18:21:17 +09:00
Jean Chalard
08c01ea8a8
[HW4] Move a reference to WordComposer out of LatinIME
...
Change-Id: I5436432c0da86ed1e33b3c9d40204f4ea013ff55
2014-07-01 18:21:17 +09:00
Jean Chalard
350f23f67e
[HW3] Some refactoring
...
Change-Id: I303ce084a56c6ec709d3eab239a4d9d2274d0dea
2014-07-01 18:21:17 +09:00
Jean Chalard
0dab3171d4
[SD9] Add armenian and georgian scripts
...
Bug: 15840116
Change-Id: I91719e4fc2e3fe29320e4cb8b1a2f8f93c44cc4d
2014-07-01 15:01:41 +09:00
Jean Chalard
292deb632c
[SD7] Actually check for script.
...
...also implement the check for Hebrew and Arabic.
Bug: 15840116
Change-Id: Ia6433d7d98038ade64c171be4fe4b3f094111fac
2014-07-01 15:01:22 +09:00
Jean Chalard
943e91ffbd
Merge "[SD6] Inline a constant and remove logic become useless"
2014-06-26 23:19:11 +00:00
Jean Chalard
b6695867a5
[SD6] Inline a constant and remove logic become useless
...
Bug: 15840116
Change-Id: I545cc9083aa4e2fd7cbbd1fbc02e1e382482db7c
2014-07-01 14:34:53 +09:00
Jean Chalard
20c89b1cf5
[SD5(2)] Remove useless args
...
Bug: 15840116
Change-Id: I1123426fbd9d420c1be64ccc917a5f870e70e6fa
2014-07-01 13:34:25 +09:00
Jean Chalard
b10ca308af
Merge "[HW4] Move a reference to WordComposer out of LatinIME"
2014-06-26 23:14:58 +00:00
Jean Chalard
3afbac8cb7
Merge "[HW2] Have a script for hardware keyboard"
2014-06-26 23:14:58 +00:00
Jean Chalard
5f6c303f0b
[HW2] Have a script for hardware keyboard
...
Change-Id: I3ee85867c529156374ecc17db3243a50912e760b
2014-07-01 13:37:36 +09:00
Ken Wakasa
7eef5d3ff4
Revert "[SD5] Remove useless args"
...
This reverts commit 1d30023961
that broke the build.
Bug: 15840116
Change-Id: I0a5fa7dea2b418d19df24b2b31ed96bf192d45c0
2014-07-01 03:23:14 +00:00
Jean Chalard
1d30023961
[SD5] Remove useless args
...
Bug: 15840116
Change-Id: Ib3380cfc9d343c6f8953bba03af3801142bc3bdb
2014-06-30 21:58:55 +09:00
Jean Chalard
6345562e2b
[SD4] Restart suggestions on language change
...
...otherwise we can't recompute the composition when we
change scripts.
This also fixes when we register that we need to take note
that the current subtype was used. Luckily this is a good
occasion for some cleanup that I've wanted to do for some
time: use InputTransaction for onTextInput (with the goal
to ultimately remove it entirely)
Bug: 15840116
Change-Id: Ie4f4f9157b66b79237eeb3db75535803124d3e19
2014-06-30 21:58:52 +09:00
Jean Chalard
4db7da92f2
Merge "[SD3] Forward the script ID to where it will be used"
2014-06-26 23:19:11 +00:00
Jean Chalard
e5a8615de7
[CS6] Cut out methods to clarify what we are doing
...
Bug: 13238601
Change-Id: I99cc62e91b1e89130358fded572987023d919507
2014-06-30 13:41:04 +09:00
Jean Chalard
35c37dbef8
[SD3] Forward the script ID to where it will be used
...
Bug: 15840116
Change-Id: If2073e76fed74ae6e1cdd7670013e0e985b0e630
2014-06-27 21:18:42 +09:00
Jean Chalard
aca2ef85e1
[SD2] Add support for a new tag Feature in KeyboardLayoutSet
...
Bug: 15840116
Change-Id: I3abbe4ce1ae573e9c5f1a8a96dc0056e8889d507
2014-06-27 20:51:48 +09:00
Tadashi G. Takaoka
d966c0727f
Merge "Support performAccessibilityAction for CLICK and LONG_CLICK"
2014-06-26 23:19:11 +00:00
Tadashi G. Takaoka
1e31672295
Support performAccessibilityAction for CLICK and LONG_CLICK
...
Bug: 15727335
Change-Id: I83274c1a9d3cf2e8237d1674fe915b7b2d222a53
2014-06-27 19:01:56 +09:00
Tadashi G. Takaoka
c9c3ea0b68
Merge "Remove redundant override methods and extended classes"
2014-06-26 23:19:11 +00:00
Ken Wakasa
92223c04de
Merge "Revert "Move getPrevWordsInfoFromNthPreviousWord to StringUtlis.""
2014-06-26 23:14:58 +00:00
Ken Wakasa
4569a734ad
Revert "Move getPrevWordsInfoFromNthPreviousWord to StringUtlis."
...
This reverts commit ba463c9a66
that broke the dicttool build.
Bug: 14425059
Change-Id: Ie1685587104d26e4416624747c97f6087c13388a
2014-06-27 15:07:07 +00:00
Keisuke Kuroyanagi
ba463c9a66
Move getPrevWordsInfoFromNthPreviousWord to StringUtlis.
...
Bug: 14425059
Change-Id: I3eb24e840c165e43f68c2a60fccf9974affb57a6
2014-06-27 18:08:17 +09:00
Keisuke Kuroyanagi
1c2f1ada83
Find multiple previous word information to support n-gram.
...
Bug: 14425059
Change-Id: Ieace636334a9b2a094527341d4fcfc05958296c5
2014-06-27 17:59:21 +09:00
Jean Chalard
e063e1b218
Merge "Fix a unit test"
2014-06-26 23:14:30 +00:00
Jean Chalard
fa4c59f9b6
Fix a unit test
...
When switching languages, we need to wait until the dictionary is
loaded to compute suggestions.
Change-Id: I7c32a900b297cd6302bfdc020842581315f3007f
2014-07-01 18:19:11 +09:00
Keisuke Kuroyanagi
1a2f3c4433
Merge "Move getPrevWordsInfoFromNthPreviousWord to StringUtlis."
2014-06-26 23:14:30 +00:00
Tadashi G. Takaoka
5a9ccbbef1
Merge "Add Sinhala keyboard layout"
2014-06-26 23:14:30 +00:00
Tadashi G. Takaoka
00da6ee5e8
Add Sinhala keyboard layout
...
Bug: 6911143
Change-Id: I9ff87ece3e68381c0e9855106e7320c227f09965
2014-06-27 16:16:30 +09:00
Jean Chalard
ee5c032557
[CS5] Use a local var to keep the first suggestion
...
Bug: 13238601
Change-Id: Ida8973945e8b141d01ea9d1825b89d84f0911575
2014-06-27 12:59:44 +09:00
Jean Chalard
bd5192ae26
Merge "Add a relevant suggestion to period-checkable requests"
2014-06-26 23:14:58 +00:00
Jean Chalard
e530fffc2c
Add a relevant suggestion to period-checkable requests
...
Bug: 15412461
Change-Id: Ibf37df4d31141a7e43b54d6342e7861eedb1c03b
2014-06-27 12:52:23 +09:00
Tadashi G. Takaoka
79beb223fc
Merge "Refactor keyboard accessibility delegate classes"
2014-06-26 23:14:58 +00:00
Jean Chalard
ffb086c18d
Merge "Don't override application-specified completions"
2014-06-26 23:14:30 +00:00
Jean Chalard
e2744c6384
Don't override application-specified completions
...
...for any given input.
This is not necessarily the best fix, but it's simple and
it works well enough.
Bug: 15869703
Change-Id: I54b262be8bdbec37031dea655c60a5573b3d8ec3
2014-06-27 17:31:08 +09:00
Keisuke Kuroyanagi
17c5a388d6
Merge "Find multiple previous word information to support n-gram."
2014-06-26 23:14:58 +00:00
Keisuke Kuroyanagi
05b1e0d42f
Extend jni method to use multiple previous words.
...
Bug: 14425059
Change-Id: I8150e8812ee32f8c713315a234b52e5b3a79d7a0
2014-06-26 18:47:25 +09:00
Tadashi G. Takaoka
adba09b54e
Remove redundant override methods and extended classes
...
Bug: 15727335
Change-Id: Icea09f0643e7aeb8e722e473ad322f7439c3497a
2014-06-24 22:31:43 -07:00
Tadashi G. Takaoka
3d8848e5cb
Refactor keyboard accessibility delegate classes
...
Bug: 15727335
Change-Id: I1aa79a6f7f8cf14bacec391c016a5d1c553eea24
2014-06-24 22:14:07 -07:00
Keisuke Kuroyanagi
67f863f4cb
Merge "Extend jni method to use multiple previous words."
2014-06-24 01:52:26 +00:00
Jean Chalard
c0748a1990
Fix the build
...
That was a merge not well resolved by git >.>
Change-Id: I3cd042d6a5206daf1e9942358405d647c67423dd
2014-06-26 18:44:54 +09:00
Keisuke Kuroyanagi
d58a07666e
Merge "Rename jni method for n-gram supporting."
2014-06-24 01:52:26 +00:00
Keisuke Kuroyanagi
6c7cebdefb
Fix build.
...
Change-Id: I5c6c0a9098c5a228ed82b208aa6f237a41f2f6cc
2014-06-26 14:42:40 +09:00
Keisuke Kuroyanagi
83b6ee2538
Rename jni method for n-gram supporting.
...
Bug: 14425059
Change-Id: I242d1de5d9db37344f02d8fba9035829794a56c8
2014-06-25 14:14:40 +09:00
Keisuke Kuroyanagi
e708b1bc2e
Make PrevWordsInfo have multiple words' information.
...
Bug: 14425059
Change-Id: I2bd6a872904a44b80f638a13d91a97559217cc1a
2014-06-25 14:14:37 +09:00
Jean Chalard
310bb2c76f
Merge "[HW1] Fix some bugs with event handling"
2014-06-24 01:52:26 +00:00
Jean Chalard
09291050a0
[HW1] Fix some bugs with event handling
...
With hardware events, we do have some events that
have both a keycode and a code point, so we need
a better way of distinguishing between auto-insert
keystrokes and others.
Change-Id: Ia23042989b4dca9d3a7d4a4c06bcebdabe324a7a
2014-06-26 18:27:53 +09:00
Jean Chalard
90759f2ab7
Merge "[CS4] Remove useless tests and processing"
2014-06-24 01:59:00 +00:00
Jean Chalard
b740886aeb
[CS4] Remove useless tests and processing
...
Since we have a de-duped and transformed collection, we
can just read from it instead of computing it separately.
Bug: 13238601
Change-Id: I0aa4b0d91d3b350f9449e13658bfb587fc538764
2014-06-26 18:26:08 +09:00
Keisuke Kuroyanagi
92827b0712
Merge "Make PrevWordsInfo have multiple words' information."
2014-06-24 01:52:26 +00:00
Keisuke Kuroyanagi
0aef59746c
Make Beginning-of-Sentence prediction require two exposures.
...
Bug: 15868192
Change-Id: I4b577ad11c992d872d6f902fd50527d9ca5cc1ba
2014-06-25 20:20:44 +09:00
Jean Chalard
53f23234e3
Merge "[CS3.5] Small correction"
2014-06-24 01:46:27 +00:00
Jean Chalard
c82257ba6e
[CS3.5] Small correction
...
Bug: 13238601
Change-Id: I7bd82a4678d8bf88f16bf271f20be8d37f9b97d7
2014-06-24 18:26:51 +09:00
Jean Chalard
d700e59700
Merge "Some cleanup to accommodate a fix"
2014-06-24 01:59:00 +00:00
Jean Chalard
132bdd079c
Merge "[CS3] Move transformation of words to earlier"
2014-06-24 01:52:26 +00:00
Jean Chalard
8d3d0f3b84
Merge "[SD1] Move script-related methods to a new utils class."
2014-06-24 01:46:27 +00:00
Jean Chalard
289299bf66
[SD1] Move script-related methods to a new utils class.
...
Bug: 15840116
Change-Id: I3a2a9c41e40590c0116c7885a49c6fa308ed8f44
2014-06-26 18:24:11 +09:00
Jean Chalard
a3f7a5840a
Don't commit a space before it's actually needed
...
Bug: 15740318
Change-Id: Idad06cb2c18335a981d5e9dea7eccf5e7ea8f701
2014-06-25 10:37:06 +09:00
Keisuke Kuroyanagi
dc6ee3a63f
Merge "Enable beginning-of-sentence prediction."
2014-06-24 01:46:27 +00:00
Keisuke Kuroyanagi
2725cc17d7
Enable beginning-of-sentence prediction.
...
Bug: 14119293
Change-Id: I23c407f0afed0ae4af290a1195b0e3bbcd5af8d7
2014-06-24 12:37:09 +09:00
Keisuke Kuroyanagi
88fa47a27d
Support migration/dump of Beginning-of-Sentence entries.
...
Bug: 14119293
Change-Id: Ie975138f819794d5c34a7a547be5a6117050e084
2014-06-24 12:37:07 +09:00
Keisuke Kuroyanagi
702e153fbc
Merge "Support migration/dump of Beginning-of-Sentence entries."
2014-06-24 01:59:00 +00:00
Jean Chalard
a1d518ca88
Merge "[CS2] Refactor a bit removeDups"
2014-06-24 01:46:27 +00:00
Tadashi G. Takaoka
d92204b56a
Merge "Reorganize Keyboard settings screen"
2014-06-23 21:50:10 +00:00
Tadashi G. Takaoka
058c6c6491
Reorganize Keyboard settings screen
...
This CL must be checked in together with Ie45df15b18.
Bug: 11866784
Change-Id: I44d6ceb45108be135e3eaa361f4ee2c83f04fb57
2014-06-23 18:46:09 -07:00
Tadashi G. Takaoka
84405d2a68
Fix some comments and rename method and parameter names
...
This is a follow up change of I12139a925d and I0ac92c56bd
Change-Id: Id6e9f4434fddd5d4274e06da5063606c2ffad932
2014-06-23 13:56:50 -07:00
Jean Chalard
1ec3f158d2
[CS3] Move transformation of words to earlier
...
Bug: 13238601
Change-Id: I37fe66c6152cdf8c60878d5619bb5dc41f3223df
2014-06-23 22:58:52 +09:00
Jean Chalard
fdebf4005f
[CS2] Refactor a bit removeDups
...
This way is more understandable, and also supporting an
external string is helping for future refactorings
Bug: 13238601
Change-Id: I4ebeed46eb0b35011164946af71ac257c6449ddb
2014-06-23 22:58:46 +09:00
Jean Chalard
debe0dacbd
Some cleanup to accommodate a fix
...
Also, this double tests for CODE_SPACE in the path going through
maybeDoubleSpacePeriod, but that's temporary.
Bug: 15740318
Change-Id: I0a6ace09cc791f0009157d3017675b9b3eb92145
2014-06-23 22:51:45 +09:00
Jean Chalard
e83e79cb05
[CS1] Some initial clean up
...
Bug: 13238601
Change-Id: I54ee9a85ecfee3c50c8db3eb4cd6f391a775a630
2014-06-23 22:19:09 +09:00
Jean Chalard
7d6bc4d063
Merge "[CS1] Some initial clean up"
2014-06-19 22:58:18 +00:00
Ken Wakasa
ffc843550c
Merge "Revert "Reorganize Keyboard settings screen""
2014-06-19 22:58:18 +00:00
Ken Wakasa
e6a57bc82e
Revert "Reorganize Keyboard settings screen"
...
This reverts commit 339929ba16
.
Bug: 11866784
Bug: 13888366
Bug: 15781377
This doesn't build with LOCAL_SDK_VERSION := 19 for UnbundledLatinImeGoogle.
Change-Id: Idf8bd335b076152265f245f578dadf651e291878
2014-06-23 11:20:25 +00:00
Tadashi G. Takaoka
339929ba16
Reorganize Keyboard settings screen
...
This CL must be checked in together with I6ebfbeb4e8.
Bug: 11866784
Bug: 15781377
Bug: 13888366
Change-Id: I57d47ab174d03121a604fd0dbf553795de0ab9b8
2014-06-22 22:37:26 -07:00
Tadashi G. Takaoka
593fe9b0cf
Merge "Add click and long click actions to key node info"
2014-06-20 21:00:34 +00:00
Tadashi G. Takaoka
d4b6af14d8
Add click and long click actions to key node info
...
This CL adds ACTION_CLICK or ACTION_LONG_CLICK actions to a key node
info. But report a node info without these actions for the same key
while hovering to avoid announcement "double tap to select and double
tap and hold to long press".
Bug: 15727335
Change-Id: I1e9333c94c819d049bda81ad410299f5a509d29c
2014-06-20 18:25:25 -07:00
Tadashi G. Takaoka
d801b6ee66
Populate accessibility root node info of keyboard
...
Partially reverting Ie033d21ef8 to populate root node info.
This CL also fixes the bounds in screen of virtual node info.
Bug: 15746768
Bug: 15582251
Change-Id: I3a82f904270adf138036ef462fd70b349a3cd33e
2014-06-20 14:32:16 -07:00
Keisuke Kuroyanagi
d2e566f999
Fix unit tests by adding @UsedForTesting.
...
Change-Id: I62ec07210817295f59a174383ee4b33cc4fc2ca6
2014-06-20 16:27:46 +09:00
Tadashi G. Takaoka
e9d12c9f74
Merge "Refactor drawing preview classes"
2014-06-20 02:09:17 +00:00
Keisuke Kuroyanagi
9bbc3aa02a
Merge "Move variables for I/O of a jni method to traverse session."
2014-06-19 22:55:19 +00:00
Tadashi G. Takaoka
294afba81f
Merge "Reorganize Keyboard settings screen"
2014-06-21 03:15:09 +00:00
Tadashi G. Takaoka
496fd77850
Merge "Custom view for key preview popup"
2014-06-20 21:00:34 +00:00
Tadashi G. Takaoka
615f431465
Custom view for key preview popup
...
Bug: 15143928
Change-Id: I12411b9b5b9611ec089e4967def9b5c19a2367c7
2014-06-23 01:07:59 -07:00
Tadashi G. Takaoka
a74719c934
Fix dismissing more keys panel when hiding keyboard
...
This issue was introduced by Id7002ecb7f.
Bug: 15809493
Change-Id: Iaa51b7f40a54ccbafb45c6444d8bbd21c671f7af
2014-06-22 22:21:39 -07:00
Keisuke Kuroyanagi
f73769c638
Merge "Remove word from personalized dicts when it's canceled."
2014-06-19 22:55:19 +00:00
Keisuke Kuroyanagi
0fbca1ac23
Remove word from personalized dicts when it's canceled.
...
Bug: 15555552
Bug: 15552347
Change-Id: Ia4d8c79d079e3ce233d46d4bbad4fff1be5c5c39
2014-06-20 14:46:13 +09:00
Tadashi G. Takaoka
0f6f5b1fdc
Merge "Disable empty suggestion word on the suggestions strip"
2014-06-20 02:04:45 +00:00
Tadashi G. Takaoka
ae42cd7e43
Disable empty suggestion word on the suggestions strip
...
It should be disabled when it is empty. But should be enabled even
when it is empty with accessibility exploration on to avoid announcing
"disabled".
Note that this CL may not be able to handle "suspending talk back"
state correctly. It should be handled by registering
TouchExplorationStateChangeListener that is available from API 19.
Bug: 15738513
Bug: 14849593
Change-Id: Id9ad89f770840f74a106f53833060407b20c1e24
2014-06-19 19:22:02 -07:00
Tadashi G. Takaoka
b80fb09ff8
Dismiss more keys panel when hiding window
...
Bug: 15727301
Change-Id: Id7002ecb7f4eea7be3505f6f0235074264418221
2014-06-19 11:42:32 -07:00
Tadashi G. Takaoka
f49e975740
Clear suggestions strip if a suggestion engine isn't attached
...
Bug: 15709298
Change-Id: I1b3fff3152960d85060149727d7a3422fea8a0bd
2014-06-18 18:47:34 -07:00
Tadashi G. Takaoka
7fb630b2a8
Refactor drawing preview classes
...
Change-Id: I0779caa720e3013f055ab48900bed223747b3952
2014-06-18 18:16:21 -07:00
Tadashi G. Takaoka
03288ef47f
Refactor MoreKeysKeyboard.Builder a bit
...
Change-Id: I12139a925d59bb467df629cebc61423d61db1d2d
2014-06-18 18:06:17 -07:00
Tadashi G. Takaoka
d89a34b0a1
Merge "Hide voice input key from URI, Email, Number, and Phone layout"
2014-06-19 00:17:11 +00:00
Tadashi G. Takaoka
0351b81632
Hide voice input key from URI, Email, Number, and Phone layout
...
Bug: 15709298
Change-Id: I05d9433d4e1c2cc475a2136cc97bc32bde6fc745
2014-06-18 18:44:27 -07:00
Tadashi G. Takaoka
3ff72dd0da
Consolidate 3 public methods of key preview into one
...
Change-Id: I0ac92c56bdb636998f7f5e20fba6830b4ac435fa
2014-06-18 10:05:59 -07:00
Keisuke Kuroyanagi
162f529e93
Move variables for I/O of a jni method to traverse session.
...
Bug: 15008504
Change-Id: I3e59bc856c1df0e1afe3b42d024620ca1745837b
2014-06-17 17:50:32 +09:00
Keisuke Kuroyanagi
4c45fff240
Merge "Fix: NPE when initializing AOSP keyboard."
2014-06-16 23:18:50 +00:00
Keisuke Kuroyanagi
34ed5b0742
Fix: NPE when initializing AOSP keyboard.
...
Bug: 15677822
Change-Id: Ibebb215a08795482c0f1eef965db06af57558906
2014-06-17 09:33:37 +09:00
Keisuke Kuroyanagi
37c49f63df
Update suggestion strip when the contextual dict is updated.
...
Bug: 14161647
Change-Id: Ic7d53464bd051bffc8c7f8d097325321fe0aaee7
2014-06-16 18:30:59 +09:00
Keisuke Kuroyanagi
cb368a6dac
Fix: Probability used for one word contextual phrase.
...
Bug: 14161647
Change-Id: Ia5f985ea467145fb381e3ad2c1f67f3b013f19e8
2014-06-16 18:20:33 +09:00
Jean Chalard
ccfc824a88
Merge "[CM2] Update beginning-of-sentence suggestions"
2014-06-10 22:31:57 +00:00
Jean Chalard
c715d95f17
[CM2] Update beginning-of-sentence suggestions
...
We need to update them after separator-space, and also when
the user presses shift and they are displayed.
Bug: 15554503
Change-Id: I5596163d5cd94d3cc5f6af10a1ab2cc74b6d4279
2014-06-16 18:44:43 +09:00
Jean Chalard
deccc23564
[CM1] Let predictions be aware of capitalize mode.
...
Bug: 15554503
Change-Id: If5e8c0d94ed26d929400ccbb0d45ac23dd98d180
2014-06-16 18:44:39 +09:00
Tadashi G. Takaoka
ad4f964a70
am 4f28b227: Update SDK version check due to I4716e71d72
...
* commit '4f28b22766e06b8c62636527393945114ea78002':
Update SDK version check due to I4716e71d72
2014-06-13 19:20:40 +00:00