| Commit message (Collapse) | Author | Files | Lines |
|
It makes more sense to catch words with the safety net in
updateSuggestions() than in showSuggestions(). Also, it's useless
to do it in updateBigramPredictions, because the result will
always be provably false.
This will also help with writing unit tests.
Change-Id: Ifab81e6c5a74b1aa75cf85ef7742fee69a98f5ce
|
|
This is a followup change to Ie10b3e0b.
Change-Id: I1f91d96e32357b83bd0546537d561d638b6ff0c6
|
|
Change-Id: I11f87448f689cf828bff960ad7a3e4739a3457dc
|
|
Change-Id: I2002662ee07af2fcc626a52ea4e9ad8977b29ca2
|
|
Bug: 6080806
Change-Id: Ifc3145fd79f10b39442b95432a8d19a624c2fdfd
|
|
This is provably always false
Change-Id: I88d783fa59fec0b7a729558ba974a6a58c158645
|
|
With the current logic, this test provably always resolves
to false.
Change-Id: Iba84ef5f3a14cd8ac48c6a813519ab283bf605f8
|
|
This is follow up of Ie10b3e0.
Change-Id: Idefbe1575915bb87f1c86cb3ddb5efe578c5b760
|
|
Change-Id: Ic837018c702c8c575de3e5e81fe8e31fee16fe22
|
|
This issue has been introduced by I2bd4daf2
Change-Id: Ie10b3e0bb360986597a0f5a8e5b8253400f924c4
|
|
Bug: 5679585
Change-Id: I540d5ea42a830be8b85440e794cfcee92a23838e
|
|
Bug: 6080806
Change-Id: Iacd78c6aab6abf948717d34da7489a79c41316d2
|
|
Change-Id: I445277cb3af469a0145a8da0ffb801b7e19048cd
|
|
Change-Id: I038e6a82b6463a2a8ec494171a596d76fbc75fe1
|
|
This change also fixes missing Cyrillic DJE key of Seribian keyboard
on 10-inch tablet.
Bug: 5934396
Change-Id: I18ae5f0e54f788b65f649a52bdbbef1813334d96
|
|
I wish "are we autocorrecting?" was not computed in a dozen
places all depending on a hundred code paths
More than likely, this fixes very subtle discrepancies
between auto-correction indicator with the underline and with
the LED on the spacebar - which is not displayed any more in
the current version anyway. Especially, the LED probably
would have been off when the word was caught by the safety net.
Change-Id: Idda3021771081d6155b06915e728ecd64d9e042e
|
|
Avoid doing some useless processing.
Change-Id: I4ce0a188e10db30322bd25751dc5c09492cea301
|
|
Change-Id: Ic54e7926028ea8374564da5e5004d710f42c53e1
|
|
Change-Id: I2918d0a8b00da743689b919f80128bbf36973f24
|
|
Change-Id: I6b9a697480127e4745698ab19f8a360b86ff39ca
|
|
Change-Id: Ia14fc320422b7f198c33ba522bb93dd70fbcb2c1
|
|
This reverts commit 6a43e39bf077bcb706be5e5a84056a3f62580ad7
|
|
Change-Id: I9a718eaf07e1b6c659e649350d3605f365db2839
|
|
Change-Id: Ia0838bbce47a2b60067f464685ad6d55ee4ec934
|
|
Change-Id: Ic00520b18f74838fe1002a679952f62bc7226c15
|
|
Change-Id: I4110791832d2ab1d681b01c9e8a237567442c827
|
|
Change-Id: Ibfbe6b39580ae13e4c32fb2ceab7a6c6f3a24ccb
|
|
Bug: 6030364
Change-Id: I2bd4daf264757d8f3fa7c946d10a39c36ccf5905
|
|
Bug: 6096247
Change-Id: Ie17c60dde9bd081790b79312ce8d96d292c5128c
|
|
Bug: 5975557
Change-Id: I39e782f89813b9d585e369e590d6288e696168a2
|
|
Bug: 6080806
Bug: 6081427
Change-Id: I455a0210e65ea2a7774e0e0071cea5f4a99577bd
|
|
The message id 0 is used intrinsically by the framework
for all messages without a specific ID. Using 0 here
we can't reliably use the post(Runnable) method on our
handler, because these would in *some* respects be taken
for update_suggestion messages, but not all.
For example, they'd be removed on removeMessage() but
they would not trigger the actual process. This would
lead to utter confusion.
Change-Id: I5d9b01d38e2ff090cd0d80c27421dc8a41c317b8
|
|
Change-Id: Ibd95eff0725724ea35ad58e1d1ec7ec3d02a6e90
|
|
Version 2 provides for a variable-length header region.
The first step is to allow the implementation to simply step
over the header, which will allow us to put any ignored metadata
we want. This change implements the makedict part of this.
Bug: 5686638
Change-Id: I97f1a8a4f84d15e1bedbad74e54303852aef6e0b
|
|
Bug: 6035465
Change-Id: Ibe2d542349ec598824f78b91d374a977082fc2d1
|
|
Bug: 6072517
Change-Id: I00337b3ed5c85df4627e8f5a02465d406c4d9178
|
|
Change-Id: I4d6bb0f2f12e7b263ff951f3173cac8e41d0f23e
|
|
Bug: 2498607
Change-Id: Ied2217c49665394a01c7d3451a93c0bc647d392f
|
|
This is really brutal, but after trying many many things I didn't
find a better way. It works with the current implementation of
MessageQueue.
Since this only introduces a utility method it doesn't really do
anything, but the functionality it provides will be essential to
Bug: 5975557
Change-Id: I81c4113a08f9a8d8a88294d7dd3b6c8c483c8b1d
|
|
Bug: 5829051
Change-Id: Ied1b6267eec616bd3b9337f6e761b0c740aa0eb2
|
|
Change-Id: I6e4e75a7713a683dcb4d9159179103b412ab41be
|
|
This has served its purpose, we don't need this any more.
The logging function itself can be kept since it's not called
any more. It may come in handy later.
Bug: 6053661
Change-Id: Icb40dad131793a704dbe6514cf7433e43ea04450
|
|
This is intended to help tracking #6048808.
Another bug has been filed to remove this once we're done with
the debugging: #6053661
Change-Id: I4547fb71926af6dc2e9c23ee4b44e4e345be6657
|
|
Change-Id: Ibcf6712652c6faf320cefb3fe408b172adf130e0
|
|
- Type "tgis", manually pick "thus", press backspace.
Backspace should revert the manual pick.
Check "tgis" is the result.
- Type "tgis" followed by a period.
Period should trigger auto-correct to "this".
Check "this" is the result.
- Type "tgis" followed by a period, then backspace.
Period should trigger auto-correct to "this", and backspace should
revert the auto-correction.
Check "tgis." is the result.
Change-Id: I7e23c8a26fbdbe23336149a05ff01bc51707422e
|
|
This wording is easier to understand, and it matches the other
revert* functions.
Change-Id: Ibc2ec79fb5a0f9bf508e5cdeb75e54abd9241d0c
|
|
This is never called any more, since we now use the cancelCommit
path to react to a backspace after a manual pick.
This concludes the run of changes to implement feature
request #5968922
Change-Id: I23df653bb2a3de2ba0152394d5d616a42ac7519b
|
|
Also remove a test in debug mode that would check for absence of
a situation which is now expected.
Change-Id: Ia5be350bc98a604b3bf8f6057652c5534f6a19af
|
|
This finally makes active the behavior described in
Bug: 5968922
Change-Id: I363ed23270c3dea75411ea806011225097b5d07c
|
|
This is new code, but simple code. The new code path is never
used for now, but it will be in an upcoming change. This serves
to implement feature request #5968922
Change-Id: I3e67731ec6e9fc0b86c5cbd972e9c081781c11a9
|