| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Confusingly, specifying a null Locale object to the constructor
of SuggestionSpan does not necessarily mean that
SuggestionSpan#getLocale() returns null. The constructor in
question also receives Context object, and Context's locale can
be used as a fallback locale to initialize locale of
SuggestionSpan.
With this CL, LatinIME always specify non-null Locale object
when instantiating SuggestionSpan object. It basically
corresponds to the active main dictionary, but can be
Locale#ROOT when one locale is not determined for some reasons.
BUG: 20435013
Change-Id: I2c152466410327300e7dba4d7ed9a22f57c17c4f
|
|
|
|
| |
Change-Id: Ic662a536e468390a3f7266daf9c56e4fc5a70ac6
|
|
|
|
| |
Change-Id: I82d574c67b25239510f3ecc8882efe46e40677eb
|
|
|
|
|
|
|
| |
Also why did we have two copies of LocaleUtils >.>
Bug: 18108776
Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
|
|
|
|
|
|
|
| |
This is a ground work for subsequent CLs.
BUG: 16995261
Change-Id: Icbb708a35412a635a0d625b520069840c0bb0904
|
|
|
|
|
|
|
|
| |
This adds unittest for SuggestionSpanUtils for subsequent CLs.
No behavior change is intended in this CL.
BUG: 16995261
Change-Id: I90d1591cab893a1421ca633963b7c8f00a5fe4b4
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I95a682052037d292801477db0f05e04926b61412
|
|
|
|
|
| |
Bug: 15318007
Change-Id: Ic0268fd12865c9a692a5e7110a9beb76cb8b6d7f
|
|
|
|
|
| |
Bug: 13142176
Change-Id: Id5b7286d28897931f7bfe571be45d46ffeef4adf
|
|
|
|
| |
Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
|
|
|
|
|
|
|
| |
This change must be checked in together with I366c477516.
Bug: 12640318
Change-Id: I8d3864b9d9649c9e3306e82b01a6327b11281b1f
|
|
|
|
|
|
|
|
|
|
| |
This is bad for recorrection (it will ignore recorrection suggestions).
But if you think about it well, if you didn't have a main dict, then you
probably will compute the same stuff anyway. It's not useful
to make this check at all.
Bug: 12297051
Change-Id: I6d6cf4d9353b7c668c5413c67701563b243e585c
|
|
|
|
|
|
|
|
|
|
|
|
| |
Dynamically test for the presence of main dict suggestions. This
is much more potent and more accurate than the vaguely defined
boolean.
Also, resolve a TODO and avoid creating an object uselessly.
Not directly related, but helpful with:
Bug: 8636060
Change-Id: Ib1745f77ee6d9ec7cd8bbfa5a548652ec84ec902
|
|
|
|
| |
Change-Id: I7290cd1fb675a1b85b9b6ac2d464c932b5bca1dd
|
|
|
|
| |
Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
|
|
|
|
|
|
| |
Multi-project commit with I249d5fbe
Change-Id: Ia28c4e970992aa1299a30e604eaa5d096655c3a5
|
|
|
|
| |
Change-Id: Iadc235524341b48e7618e9ce05907c786409e004
|
|
|
|
| |
Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
|
|
|
|
| |
Change-Id: I0fcb104a6a81aee4b99f5ee848eba7495630dc7d
|
|
|
|
| |
Change-Id: Ic4f69b4c8da33c9fca50d6829724179310c2f875
|
|
|
|
| |
Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
|
|
|
|
| |
Change-Id: Ife877620561d29a8f25602916420741186104617
|
|
|
|
|
| |
Bug: 6294817
Change-Id: I5010eafa5ba7e947743706adf7e722f4f0cfb415
|
|
|
|
|
|
|
| |
Bug: 6310268
Original CL: I2f7a54ae0d63235a0b94e039109ab8
Change-Id: I28f64a4d0bb262db819f5f8c0ffc58a259c8e62d
|
|
|
|
| |
Change-Id: I534878d330b57bbfaa8b7711082456969771f4dc
|
|
|
|
|
|
| |
prediction
Change-Id: I544680c8b4b1baff71bd08168630a34e803c40b9
|
|
|
|
|
| |
Bug: 6129704
Change-Id: I52925ae7bd80683f63efc48649448865a5654f41
|
|
|
|
| |
Change-Id: I10a634f7492b45d5a72345f14d36cf341946387d
|
|
|
|
|
|
|
|
|
|
| |
spell checker.
Bug: 6222722
Currently, the flags of the suggestion span from the Latin IME is different from the flags from Android spell checker.
Change-Id: I2f7a54ae0d63235a0b94e039109ab8b2f1311055
|
|
|
|
|
|
|
| |
Also, the first word in a sugestions list can never be
obsolete.
Change-Id: Ib21439aac8db4e6ce5b15b7a2aabe4222bc354db
|
|
|
|
| |
Change-Id: I112dbf851e10dae9e4291cf440f01b28d51180f4
|
|
|
|
|
|
|
|
| |
Bug: 5574747
This bug was introduced by I5e40edf6f790c078c4a05d
Change-Id: I5b0f51e1f5e8a12d786657167082bc604089505e
|
|
|
|
|
| |
Bug: 5440299
Change-Id: I5e40edf6f790c078c4a05d0d347a89d63f7c042a
|
|
|
|
|
| |
Bug: 5460262
Change-Id: Ibeb875bb885fb663ed23f0299d671e995a66b642
|
|
|
|
|
|
| |
Bug: 5245468
Change-Id: Ia5609e1b3c69f5553e3632fbce60a55665a5b185
|
|
|
|
|
|
| |
Bug: 5219037
Change-Id: I0300fbc7e1cc97f0f8ba4d21e0e699d9fe66ed76
|
|
|
|
| |
Change-Id: Id266062831e8c28a346e129168b883ee3d5622bf
|
|
|
|
| |
Change-Id: If70d32cad980b46ba77f399606d7ab3957c5d096
|
|
|
|
|
|
| |
Bug: 4443922
Change-Id: I8a9dc5077ae06c6d0c39fd7fdd823fc4f4d05f45
|
|
|
|
|
|
|
|
| |
supported
Bug: 4346045
Change-Id: Ib4594a9073b961038564bbcd601f9c290d153d5d
|
|
Bug: 4346045
Change-Id: Iaabdb8a148b2601bb9cbc2b08509adac164105a4
|