| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
This is a followup of I065824f3fa.
Bug: 6911143
Change-Id: I47de962f9fbcfd8bbcd3af2f8005538322ffb932
|
|/
|
|
|
| |
Bug: 14425059
Change-Id: Id37022ac6c1545d6845abfbcdb7ed47f0e250eec
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This is a preliminary keyboard layout.
Bug: 10028755
Change-Id: I365fb8e942a60d4b690a4af95fcd35bf73fffbe4
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This CL removes following methods from StringUtils, which are
no longer used since Id3c262386a7bc7ed75966b1395a50171abe550d3.
- #joinCommaSplittableText
- #appendToCommaSplittableTextIfNotExists
BUG: 16000850
Change-Id: Ibdc9b7e463a19cdfac788b24c0a6322d0c5850c5
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
When switching languages, we need to wait until the dictionary is
loaded to compute suggestions.
Change-Id: I7c32a900b297cd6302bfdc020842581315f3007f
|
|/
|
|
|
|
|
| |
...also implement the check for Hebrew and Arabic.
Bug: 15840116
Change-Id: Ia6433d7d98038ade64c171be4fe4b3f094111fac
|
|
|
|
|
| |
Bug: 15840116
Change-Id: I1123426fbd9d420c1be64ccc917a5f870e70e6fa
|
|
|
|
| |
Change-Id: I12ba56d021b50c03dc62e3f3c8db3ecada2f6a4b
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This reverts commit ba463c9a66f75e8d00f4658e32b763eb54215231 that broke the dicttool build.
Bug: 14425059
Change-Id: Ie1685587104d26e4416624747c97f6087c13388a
|
|\| |
|
| |
| |
| |
| |
| | |
Bug: 14425059
Change-Id: I3eb24e840c165e43f68c2a60fccf9974affb57a6
|
|\| |
|
| |
| |
| |
| |
| |
| | |
Bug: 14425059
Change-Id: Ieace636334a9b2a094527341d4fcfc05958296c5
|
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 13966540
Bug: 13779052
Bug: 10028772
Bug: 7963632
Change-Id: Ieec809f2d391e90b1ec547a3a89e929db47a5ed1
|
|/
|
|
|
| |
Bug: 6911143
Change-Id: I9ff87ece3e68381c0e9855106e7320c227f09965
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 14425059
Change-Id: I2bd6a872904a44b80f638a13d91a97559217cc1a
|
| |
| |
| |
| |
| | |
Bug: 15868192
Change-Id: I4b577ad11c992d872d6f902fd50527d9ca5cc1ba
|
| |
| |
| |
| |
| | |
Bug: 14119293
Change-Id: I61cc05fb09342103f453ba83709c6be68d2f695e
|
|\ \ |
|
| |/
| |
| |
| |
| | |
Bug: 14119293
Change-Id: Ie975138f819794d5c34a7a547be5a6117050e084
|
|/
|
|
|
| |
Bug: 11463389
Change-Id: Ic1a612bd6b2693369a1688e6a2273cff26fbe6d1
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 14161647
Change-Id: I2111f841c94e31d62b670da4236fc738df03a708
|
|/
|
|
|
| |
Bug: 14119293
Change-Id: I594a1ca1096f0c12c678dd30eb75de905e55c5bb
|
|
|
|
|
|
|
|
| |
Special case <valid word>.<valid word> to send as a suggestion
the same string where the periods is replaced by a space.
Bug: 10780091
Change-Id: I43c94675977f9ab5d7ee5671486cb742b39f3974
|
|
|
|
| |
Change-Id: I21a4219f682f43f4a84b1ab12d00dd930b35caa1
|
|
|
|
|
|
|
|
| |
This member has outlived its usefulness. It's not clear now that it
makes things really faster, but it does bring a lot of complexity
that we can avoid by removing it.
Change-Id: Ifbc8094a45b56b958fe165b1930f4cc358a97721
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I2547c8af6fa73e646f697cb4450140859d87625e
|
| |
| |
| |
| |
| |
| | |
Bug: 13142176
Bug: 15428247
Change-Id: I7ce2c09ebbef6ca8c056807c2a35f2f987fd436e
|
|/
|
|
|
|
| |
Bug: 13142176
Bug: 15428247
Change-Id: If2d1c1fea7a69e41809a828da8dd032211ad144e
|
|
|
|
|
|
|
| |
Bug: 13142176
Bug: 15428247
Change-Id: I5c23fbea2851f891f76f19d9da2cb70ae964569b
|
|
|
|
|
|
| |
Bug: 13142176
Bug: 15428247
Change-Id: I5be6d683be95505412615ca7c88260de1ea05f54
|
|
|
|
| |
Change-Id: I51c5247ac925a158facb79057f704b763b903552
|
|
|
|
| |
Change-Id: I849cec7deb5607e8ce8fb25c1f903f15328fb611
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Rename `initialize' to `start' and `deactivate' to `stop' for ease
of understanding. It's completely bizarre that you can "deactivate"
a recapitalization and that will just restart a new one the next time
you press shift. Start and stop are easier to understand.
Change-Id: I455175aebfcfe11198c6c61bf2c6b19efc3f82df
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL reorders keys around the spacebar.
- On phone's symbols and symbols shift layout, the comma key is moved
to the left of the spacebar to aligned with main layout.
- On tablet's layout, the comma key is moved to the left of the
spacebar on all layout to aligned with the same layout of
phone's. Also the comma key has "settings" as more keys.
- In Arabic and Perisan, the comma key of tablet already has some more keys
This CL remove "/" and add "settings" instead.
Bug: 15281451
Change-Id: I6e0e75e4d4abfb1f356e7499be91424c7c57c58b
|
|
|
|
|
|
|
|
|
|
| |
This fixes PunctuationTests#
testAutoCorrectionWithSingleQuotesAround.
Bug: 14119293
Bug: 15334309
Change-Id: I604c21a21e89a5fc431fd56ab7b6ad03f4736b01
|
|
|
|
|
|
|
|
|
|
|
| |
DEBUG in LatinIME has been changed by Ie52007dc to mean both
DebugSettings.PREF_DEBUG_MODE and Settings.PREF_KEY_IS_INTERNAL
instead of just DEBUG_MODE as used to be the case. Tests depend
on the debug mode to test many things and they make sure they run
in debug mode or they fail. This has tests understand the change in
policy.
Change-Id: Ie9f29e6a1d85e19704c8940d3fcf97c13c3dbaa6
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 15320560
Change-Id: Icb88a96ebd685da1d2cba7b07889a2751c603a2e
|