Keisuke Kuroyanagi
4afcb18f51
am 733a023b: Remove redundant code.
...
* commit '733a023b64a9ec7f2cbdb336b4c2e493ddc0e116':
Remove redundant code.
2014-08-27 12:36:38 +00:00
Keisuke Kuroyanagi
d18753b151
am 6ae4d79d: Use IntArrayView for dictionary structure policy.
...
* commit '6ae4d79d81aa7aea5529d95bb3eb960a273ef411':
Use IntArrayView for dictionary structure policy.
2014-08-27 12:31:05 +00:00
Keisuke Kuroyanagi
733a023b64
Remove redundant code.
...
Change-Id: I173eac15dc128e84893881ec4ee0ad1ad2fce44b
2014-08-27 20:28:48 +09:00
Keisuke Kuroyanagi
6ae4d79d81
Use IntArrayView for dictionary structure policy.
...
Change-Id: I0dc94908259d70d5085ff22abf422d90affb1452
2014-08-27 20:28:43 +09:00
Keisuke Kuroyanagi
6302f53797
am b85bf4eb: Merge "Use word id to construct DicNode instead of isTerminal flag."
...
* commit 'b85bf4ebb80ad471b1f61ea92d971bbeffb77872':
Use word id to construct DicNode instead of isTerminal flag.
2014-08-27 11:27:03 +00:00
Keisuke Kuroyanagi
17510158c4
am fe395232: Remove bigram dict content.
...
* commit 'fe395232d69df0887863c1cbabe63def2586d29e':
Remove bigram dict content.
2014-08-27 11:22:39 +00:00
Keisuke Kuroyanagi
276ce6c0fd
am 758d0936: Get entry count after truncation using LanguageModelDictContent.
...
* commit '758d09364457b9d3d0c514a7fcfc8a6e317c9222':
Get entry count after truncation using LanguageModelDictContent.
2014-08-27 11:22:37 +00:00
Keisuke Kuroyanagi
b85bf4ebb8
Merge "Use word id to construct DicNode instead of isTerminal flag."
2014-08-27 11:21:41 +00:00
Keisuke Kuroyanagi
fe395232d6
Remove bigram dict content.
...
Bug: 14425059
Change-Id: I75918c6761a50832da511088eb83becd56b23662
2014-08-27 20:05:59 +09:00
Keisuke Kuroyanagi
758d093644
Get entry count after truncation using LanguageModelDictContent.
...
Bug: 14425059
Change-Id: I41b237c1c22c21740946d52e3be9d6f963c9cd54
2014-08-27 20:04:39 +09:00
Keisuke Kuroyanagi
445f5536b6
am c7f1de82: Merge "Use LanguageModelDictContent in getWordProperty()."
...
* commit 'c7f1de826c3982b8e44557316b85fe7b3e62eb10':
Use LanguageModelDictContent in getWordProperty().
2014-08-27 11:03:45 +00:00
Keisuke Kuroyanagi
c7f1de826c
Merge "Use LanguageModelDictContent in getWordProperty()."
2014-08-27 10:58:28 +00:00
Tadashi G. Takaoka
e509cc6960
am 8b5788d7: am 68a2a69a: am 37beaf15: Simplify onComputeInsets of LatinIME
...
* commit '8b5788d72b9025203582546255288dfb8a02dcf5':
Simplify onComputeInsets of LatinIME
2014-08-27 10:48:54 +00:00
Keisuke Kuroyanagi
76613ac52b
am 7c08ede1: Merge "Use LanguageModelDictContent in iterateNgramEntries()."
...
* commit '7c08ede12b1c19c9695e8864d4c4d1b6dec1ee46':
Use LanguageModelDictContent in iterateNgramEntries().
2014-08-27 10:48:53 +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
Keisuke Kuroyanagi
c996cd4965
am 82f7d3a9: Merge "Add a method to iterate entries in LanguageModelDictContent."
...
* commit '82f7d3a9de4a4029286a6cbc9f890c236c6789cc':
Add a method to iterate entries in LanguageModelDictContent.
2014-08-27 10:44:21 +00:00
Keisuke Kuroyanagi
7c08ede12b
Merge "Use LanguageModelDictContent in iterateNgramEntries()."
2014-08-27 10:44:21 +00:00
Tadashi G. Takaoka
68a2a69ae3
am 37beaf15: Simplify onComputeInsets of LatinIME
...
* commit '37beaf1529a61228d6240736937789e5622b29ed':
Simplify onComputeInsets of LatinIME
2014-08-27 10:36:05 +00:00
Keisuke Kuroyanagi
82f7d3a9de
Merge "Add a method to iterate entries in LanguageModelDictContent."
2014-08-27 10:35:38 +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
f33d28c9f7
am 00042cb4: am c925ca43: am 97681ebd: Set highlight color along with the commit indicator
...
* commit '00042cb453ae72d2f76661c6a712210e2ecd79b4':
Set highlight color along with the commit indicator
2014-08-27 10:07:54 +00:00
Ken Wakasa
4db998d65a
am d8380fdb: Merge "resolved conflicts for merge of 8159336b
to master"
...
* commit 'd8380fdba04d82566c623f1efbcb86aa33d9e401':
Set the text bgcolor only when CursorAnchorInfo is available
2014-08-27 10:07:53 +00: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
d8380fdba0
Merge "resolved conflicts for merge of 8159336b
to master"
2014-08-27 09:59:12 +00:00
Ken Wakasa
6da1c674fd
resolved conflicts for merge of 8159336b
to master
...
Change-Id: I9dd726593c6768b1db35305935ee69b0937358ef
2014-08-27 18:55:39 +09:00
Yohei Yukawa
2b06811843
am 8a413a2a: am 00d140ca: am a475c854: Introduce a mechanism to hide the indicator speculatively
...
* commit '8a413a2a62788cef59e2cb0a4362392e036cd7be':
Introduce a mechanism to hide the indicator speculatively
2014-08-27 09:53:00 +00:00
Ken Wakasa
1c356ebee6
am c1596086: resolved conflicts for merge of 0268f736
to master
...
* commit 'c1596086d3de32b66a382acf2c9b5fa00779008f':
Introduce commit/add-to-dictionary indicators
2014-08-27 09:52:59 +00:00
Yohei Yukawa
8a413a2a62
am 00d140ca: am a475c854: Introduce a mechanism to hide the indicator speculatively
...
* commit '00d140caeb02e2e68f5b2cf7b71d349e1ad4cb5c':
Introduce a mechanism to hide the indicator speculatively
2014-08-27 09:48:34 +00:00
Ken Wakasa
c1596086d3
resolved conflicts for merge of 0268f736
to master
...
Change-Id: Ib89ef55a8752f9b5e357eed3a05c79dd28d0ec0e
2014-08-27 18:41:31 +09:00
Yohei Yukawa
c925ca43a6
am 97681ebd: Set highlight color along with the commit indicator
...
* commit '97681ebdf16dd94b7ed0607342cc2750fb96a641':
Set highlight color along with the commit indicator
2014-08-27 09:18:50 +00:00
Yohei Yukawa
8159336ba1
am 29200b0a: Set the text bgcolor only when CursorAnchorInfo is available
...
* commit '29200b0abe1d65aa2f9ddefd247ab91563d666f8':
Set the text bgcolor only when CursorAnchorInfo is available
2014-08-27 09:18:49 +00: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
00d140caeb
am a475c854: Introduce a mechanism to hide the indicator speculatively
...
* commit 'a475c85480b2bc2a8d036b4b1ea29f6a8e749ac5':
Introduce a mechanism to hide the indicator speculatively
2014-08-27 07:31:42 +00: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
Keisuke Kuroyanagi
7d8dad7ab0
am b7bedccb: Merge "Add TimeKeeperTest."
...
* commit 'b7bedccb295b43f486ec60d029d7e6219d9c5a8b':
Add TimeKeeperTest.
2014-08-27 06:20:09 +00:00
Keisuke Kuroyanagi
b7bedccb29
Merge "Add TimeKeeperTest."
2014-08-27 06:13:47 +00:00
Keisuke Kuroyanagi
78aea9f133
Add TimeKeeperTest.
...
Change-Id: Id35823414f8552fd6820a5a559d6c9d54c7d6cb6
2014-08-27 14:39:27 +09:00
Yohei Yukawa
0268f7368f
am bea17c49: Introduce commit/add-to-dictionary indicators
...
* commit 'bea17c49ec23bf0f646cb548445c7756aa50d233':
Introduce commit/add-to-dictionary indicators
2014-08-27 05:01:40 +00: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
090b72a11a
am 4660ecaa: Merge "Fix a bug where mic/emoji key wouldn\'t work."
...
* commit '4660ecaa44d4ca141ba53552d9533ea60d3e8323':
Fix a bug where mic/emoji key wouldn't work.
2014-08-26 13:35:45 +00: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
ebf4a3e792
am 96522da9: am 2a2d324e: am 8380f921: Fix a bug where the top prediction would disappear.
...
* commit '96522da9eb584c173083af677f47cdbc35d81436':
Fix a bug where the top prediction would disappear.
2014-08-26 12:47:04 +00: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
2a2d324eb6
am 8380f921: Fix a bug where the top prediction would disappear.
...
* commit '8380f921f7edaeea2033a1e967a14941400fe246':
Fix a bug where the top prediction would disappear.
2014-08-26 12:25:59 +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
e4fb843a7f
am 9cf69a45: Adds documentation for a few methods.
...
* commit '9cf69a45b24646bdd4bf365afe4e8e9fb30f9a22':
Adds documentation for a few methods.
2014-08-26 11:15:07 +00:00
David Faden
9cf69a45b2
Adds documentation for a few methods.
...
Change-Id: I6bdae25a8b81cdac931f2591f33570b01e34fb2c
2014-08-26 08:08:24 +00:00
Keisuke Kuroyanagi
7d47500357
Use word id to construct DicNode instead of isTerminal flag.
...
Bug: 14425059
Change-Id: I8484d34756bd76668ece34211e7366a4758d7bf5
2014-08-26 14:33:19 +09:00