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
Keisuke Kuroyanagi
094a8a68e3
Merge "Update probabilities in language model dict content for GC."
2014-08-25 03:08:58 +00:00
Yohei Yukawa
7d146cdbe8
am cd6ef9a8: Indroduce SuggestedWords#getTypedWordInfoOrNull
...
* commit 'cd6ef9a8b117b82623251510fac72ee108ec1a2a':
Indroduce SuggestedWords#getTypedWordInfoOrNull
2014-08-24 23:52:49 +00: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
Baligh Uddin
19a7012db5
Merge "Import translations. DO NOT MERGE"
2014-08-22 18:29:52 +00:00
Baligh Uddin
bf32c26578
Merge "Import translations. DO NOT MERGE"
2014-08-22 18:29:52 +00:00
Baligh Uddin
dafd54f055
Merge "Import translations. DO NOT MERGE"
2014-08-22 18:29:48 +00:00
Baligh Uddin
f1d070eae2
Merge "Import translations. DO NOT MERGE"
2014-08-22 18:29:48 +00:00
Baligh Uddin
7bf6d900b9
Merge "Import translations. DO NOT MERGE"
2014-08-22 18:29:42 +00: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
cc4d21df7b
am 2637be27: Support Accept typed word UI
...
* commit '2637be27c51be03e39b0db1c66312c4cc55bc7de':
Support Accept typed word UI
2014-08-22 14:17:23 +00:00
Tadashi G. Takaoka
2637be27c5
Support Accept typed word UI
...
Change-Id: I58e95b2791a45afdc7dae8e26dcfc200b3b4b854
2014-08-22 21:25:35 +09:00
Keisuke Kuroyanagi
295e60234c
Get bigram probability using language model dict content.
...
Bug: 14425059
Change-Id: Ia0493ed94e9bd47e9396d8cda94511b47820db0d
2014-08-22 20:13:06 +09:00
Keisuke Kuroyanagi
063f86d40f
Truncate entries in language model dict content.
...
Bug: 14425059
Change-Id: I023c1d5109a2c43fcea3bb11a0fd7198c82891ba
2014-08-22 20:13:04 +09:00
Keisuke Kuroyanagi
9aa6699107
Update probabilities in language model dict content for GC.
...
Bug: 14425059
Change-Id: I354408afd8e5c1955ff0acea3d0243d628fe3843
2014-08-22 20:07:54 +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
Yohei Yukawa
96db9222c2
am cabb66e9: follow-up to API change in I4a577bfd02b37b
...
* commit 'cabb66e9bc2d5c13d83ccae6ce2d2e673b6ebf0e':
follow-up to API change in I4a577bfd02b37b
2014-08-22 09:17:34 +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
Yohei Yukawa
5a96395b78
am 8cbc37f2: am 8e2fcaa3: Merge "Use FrameLayout for the backing view" into lmp-dev
...
* commit '8cbc37f2c803fe5854237434742845a7b8ee32b9':
Use FrameLayout for the backing view
2014-08-21 18:38:12 +00:00
Yohei Yukawa
8cbc37f2c8
am 8e2fcaa3: Merge "Use FrameLayout for the backing view" into lmp-dev
...
* commit '8e2fcaa33411e7cf12bc66ff8171e5466b804950':
Use FrameLayout for the backing view
2014-08-21 18:29:41 +00:00
Yohei Yukawa
8e2fcaa334
Merge "Use FrameLayout for the backing view" into lmp-dev
2014-08-21 18:06:07 +00: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
91f52e88d0
Merge "Remove unused dictionary writing methods."
2014-08-21 08:30:47 +00:00
Keisuke Kuroyanagi
c7b6393535
Update FormatSpec.java
...
Change-Id: I27d14697f931c9511420a459c49312ea6e10c366
2014-08-21 17:23:11 +09:00
Keisuke Kuroyanagi
ed798fa308
Remove unused dictionary writing methods.
...
Change-Id: Ica6ac057c0d0f037b7dd5539ab5b591c83bfa4d7
2014-08-21 17:22:54 +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
2834ddf1a0
am b9768702: Merge "Use #onStartInputInternal to initialize cursor rect retrieval" into lmp-dev
...
* commit 'b9768702faf2bd36ddff4b4c59daa90db0a92d50':
Use #onStartInputInternal to initialize cursor rect retrieval
2014-08-20 15:42:26 +00:00
Ken Wakasa
4396f662f6
am c37205f5: Merge "DO NOT MERGE: Abolish source code overlay and introduce overridable src dir" into lmp-dev
...
* commit 'c37205f5ab68b151ef26975df6485dcfd2dfcd52':
DO NOT MERGE: Abolish source code overlay and introduce overridable src dir
2014-08-20 10:31:40 +00:00
Yohei Yukawa
17aeaa7578
am fa39ffcf: Support more methods in the wrapper of CursorAnchorInfo
...
* commit 'fa39ffcf8461ad6e53a86d8957ab892a3e367d16':
Support more methods in the wrapper of CursorAnchorInfo
2014-08-20 04:51:21 +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
Baligh Uddin
8fb9874470
Import translations. DO NOT MERGE
...
Change-Id: I3cae3b62faf27fea8cc7c24051ac18f415934399
Auto-generated-cl: translation import
2014-08-18 23:15:21 -07:00
Baligh Uddin
2b250a1174
Import translations. DO NOT MERGE
...
Change-Id: I9d51675746cc1b3987f2c7a2469a3deced820e69
Auto-generated-cl: translation import
2014-08-18 23:14:04 -07:00
Baligh Uddin
0c4679699f
Import translations. DO NOT MERGE
...
Change-Id: Iacc87d9f13f21de7584cd5028527ec59c7c12802
Auto-generated-cl: translation import
2014-08-18 23:09:41 -07:00
Baligh Uddin
71673204f0
Import translations. DO NOT MERGE
...
Change-Id: Ieef69130fa6f1f9c9f95a8f308175fbec470af86
Auto-generated-cl: translation import
2014-08-18 23:08:37 -07:00