Jean Chalard
03eb9de961
Remove dicttool dependency to NativeSuggestOptions
...
Bug: 18108776
Change-Id: I0f57594617f8d5080aea9002b2356d18bfe97043
2014-11-06 21:38:11 +09:00
Jean Chalard
5b33d197ba
Add a header command to dicttool.
...
This will allow to greatly improve the performance of the
metadata-generating files, as they won't have to wait for
the info command to read the entire dictionary when the
header is all we need.
Also add tests, and while we're at it, use the seed as
intended to enable reproducible tests.
Change-Id: I0ba79ef62f0292b23e63aed57ff565bb102281a2
2014-11-06 18:50:59 +09:00
Jean Chalard
ce34cb9b83
am 5564317f: Genericize getting a raw dictionary
...
* commit '5564317f837164c67749423fa78f917ed2ae9e14':
Genericize getting a raw dictionary
2014-11-06 07:00:42 +00:00
Jean Chalard
f6b0e32df3
Add a *FAST* dictionary header reader.
...
It's still unused as of this change but the next change will use it
As a reference point, generating the metadata for Bayo takes
3'02" on my machine with the info command; it's down to 16" if
made to use this instead. The gains increases with the number
of dictionaries obviously.
Change-Id: I0eeea2d8f81bb74b0d1570af658e91b56f7c2b79
2014-11-06 13:17:08 +09:00
Jean Chalard
5564317f83
Genericize getting a raw dictionary
...
This will allow for not copying the whole dictionary when only
the header is needed.
Change-Id: Ie4a649b507ccd4a430201824ed87b8b8bbf55e9f
2014-11-06 13:12:39 +09:00
Sandeep Siddhartha
e9d814674b
Fix restore from keyboard
...
The keyboard starts up before the restore process and the default shared
preferences are cached and used even after the restore.
Bug: 17837918
Change-Id: I2669e377b6e95813657fd6a80fbff4472330e3aa
2014-11-05 19:41:16 -08:00
Tadashi G. Takaoka
b68f90ac1a
Clean up KeyboardLayoutSet a bit
...
This CL moves getScriptId() from KeyboardLayoutSet.Builder to
KeyboardLayoutSet.
Change-Id: I13588467e3d03abb92120acb367f021ee3490a50
2014-11-06 12:30:16 +09:00
Jean Chalard
293bb7d0c0
am ab68143a: Fix a bug where LatinIME would recorrect with no input view
...
* commit 'ab68143ad0fb784db38a3fd65612632fca90c789':
Fix a bug where LatinIME would recorrect with no input view
2014-11-05 09:57:15 +00:00
Jean Chalard
ab68143ad0
Fix a bug where LatinIME would recorrect with no input view
...
Bug: 18071127
Change-Id: I634d1f63f7d5c5b7453ed7559f9b65fa0433dcd8
2014-11-05 17:41:15 +09:00
Jean Chalard
d63bf9b865
am ae55db95: Large simplification in obtaining a raw dictionary
...
* commit 'ae55db95a74c72220961824c8054ec38b38492cb':
Large simplification in obtaining a raw dictionary
2014-11-05 04:46:57 +00:00
Jean Chalard
ae55db95a7
Large simplification in obtaining a raw dictionary
...
That is where the last refactorings were leading. This code is
simpler, but it's far more flexible. Importantly, it only makes
a single copy instead of making a full disk copy for every
intermediate step.
Next we're going to make the "copy" part modular for processes
that don't need to copy the whole file.
Change-Id: Ief32ac665d804b9b20c44f443a9c87452ceb367a
2014-11-05 12:27:35 +09:00
Tadashi G. Takaoka
e69524fe19
am b1439c28: Fix EmojiPageKeyboardView onPress bug
...
* commit 'b1439c28723c86cd05c31d3651a897329a55a5de':
Fix EmojiPageKeyboardView onPress bug
2014-11-04 11:38:51 +00:00
Tadashi G. Takaoka
0d3ee60158
am 3481cfc8: Fix Emoji key feedback
...
* commit '3481cfc81dc99be93f72ac9ab61ccd8a5de4a414':
Fix Emoji key feedback
2014-11-04 11:32:34 +00:00
Tadashi G. Takaoka
a19bf5c797
am ede88a3b: Merge "Revert "Fix Emoji key feedback""
...
* commit 'ede88a3bd66c172e15d3dc812191cc1771a0f338':
Revert "Fix Emoji key feedback"
2014-11-04 11:29:11 +00:00
Tadashi G. Takaoka
b1439c2872
Fix EmojiPageKeyboardView onPress bug
...
Change-Id: I110f36e0547be4957656217c42a8dafd9359b700
2014-11-04 20:27:39 +09:00
Tadashi G. Takaoka
3481cfc81d
Fix Emoji key feedback
...
Bug: 18166905
Change-Id: I629eab41b78810325710ce024068b86a157186b4
2014-11-04 20:26:43 +09:00
Tadashi G. Takaoka
ede88a3bd6
Merge "Revert "Fix Emoji key feedback""
2014-11-04 11:25:58 +00:00
Tadashi G. Takaoka
a5d24336bf
Revert "Fix Emoji key feedback"
...
This reverts commit 953858d615
.
The original CL should be split into two.
Change-Id: Ic1d032e2964a1b9bb44d98bdb8573c6cb47a865c
2014-11-04 11:24:26 +00:00
Tadashi G. Takaoka
aefe8880bd
am 11cdcf60: Fix missing ZWNJ key of BengaliAkhhor keyboard
...
* commit '11cdcf604cd97055f50f88f48b19b91b72346412':
Fix missing ZWNJ key of BengaliAkhhor keyboard
2014-11-04 10:07:14 +00:00
Tadashi G. Takaoka
8e3a1c4dcb
am c514d3ea: Merge "Fix Emoji key feedback"
...
* commit 'c514d3ead2bea8e067a3efb9cfc7bea3b0226294':
Fix Emoji key feedback
2014-11-04 09:57:59 +00:00
Tadashi G. Takaoka
11cdcf604c
Fix missing ZWNJ key of BengaliAkhhor keyboard
...
This CL also fixes the wrong script of Bengali Akkhor.
Change-Id: Id4af2ea160b4ef3cfd40ffc5984354bc60f0b7b7
2014-11-04 18:53:28 +09:00
Tadashi G. Takaoka
c514d3ead2
Merge "Fix Emoji key feedback"
2014-11-04 09:17:51 +00:00
Tadashi G. Takaoka
e75b9b6a9e
am ed264f80: Merge "Fix symbol letter size of phone/number layout"
...
* commit 'ed264f80dc4151ecd3d0ecbffd5be9008010e050':
Fix symbol letter size of phone/number layout
2014-11-04 08:51:40 +00:00
Tadashi G. Takaoka
ed264f80dc
Merge "Fix symbol letter size of phone/number layout"
2014-11-04 08:49:46 +00:00
Tadashi G. Takaoka
953858d615
Fix Emoji key feedback
...
Bug: 18166905
Change-Id: I3c3296cabeed31e1250ff0753ea94576b494b96a
2014-11-04 17:49:18 +09:00
Tadashi G. Takaoka
981d465d78
Fix symbol letter size of phone/number layout
...
This CL
- decreases the size of symbols letter on number and phone layout.
- increases the size of "Pause" and "Wait" label.
- fixes "Pause" and "Wait" label for no language keyboard
Bug: 18179572
Change-Id: I6e8b4a8e07d805c3da0558b4832291ce41ad3db0
2014-11-04 16:48:04 +09:00
Tadashi G. Takaoka
c133c35607
am b9ba5fc7: Merge "Fix MainKeyboardView visibility must be aligned with main keyboard frame"
...
* commit 'b9ba5fc778468c200727f77163ef81e378b5b70e':
Fix MainKeyboardView visibility must be aligned with main keyboard frame
2014-11-04 07:30:18 +00:00
Tadashi G. Takaoka
b9ba5fc778
Merge "Fix MainKeyboardView visibility must be aligned with main keyboard frame"
2014-11-04 07:28:23 +00:00
Tadashi G. Takaoka
7824b0fd2b
am d071545d: Fix number and phone keyboard visual glitches
...
* commit 'd071545df9fb255bf86c03998563dfc2154c5f8c':
Fix number and phone keyboard visual glitches
2014-11-04 05:39:01 +00:00
Tadashi G. Takaoka
d071545df9
Fix number and phone keyboard visual glitches
...
Bug: 18179572
Change-Id: I387b965ed4f7adc5a34b63e622520e3c88ffd5ca
2014-11-04 13:35:24 +09:00
Tadashi G. Takaoka
98dfa6e334
Fix MainKeyboardView visibility must be aligned with main keyboard frame
...
Bug: 18105755
Change-Id: Ifdcaded538d0eac3b100486ddf27ae4314293792
2014-11-04 13:17:07 +09:00
Tadashi G. Takaoka
8f69356e4a
am d60f4942: Merge "Make DrawingProxy and TimerProxy as a top-level interface"
...
* commit 'd60f49425bb43a14cea12dcba3f54d52050d0777':
Make DrawingProxy and TimerProxy as a top-level interface
2014-11-04 02:56:33 +00:00
Tadashi G. Takaoka
d60f49425b
Merge "Make DrawingProxy and TimerProxy as a top-level interface"
2014-11-04 02:52:15 +00:00
Ken Wakasa
28800ffa82
am 933920fe: Fix a wrong indent
...
* commit '933920feae1de5f8a851ec39ea5b9524ad794c75':
Fix a wrong indent
2014-11-04 02:31:22 +00:00
Ken Wakasa
933920feae
Fix a wrong indent
...
Change-Id: Iaee83be85bb52c350dd08e4497732927b92eabcd
2014-11-04 11:18:52 +09:00
Geoff Mendal
5fb4b0a4ad
am 85d08274: (-s ours) Merge "Import translations. DO NOT MERGE"
...
* commit '85d08274b28799e17b94efa7589736979e0601c8':
Import translations. DO NOT MERGE
2014-11-03 14:20:21 +00:00
Geoff Mendal
dee72ffa92
am 7cb5cd8f: (-s ours) Import translations. DO NOT MERGE
...
* commit '7cb5cd8ff42c2f16e9c2f3eee2047dd6d5f3a69b':
Import translations. DO NOT MERGE
2014-11-03 14:20:19 +00:00
Geoff Mendal
85d08274b2
Merge "Import translations. DO NOT MERGE"
2014-11-03 14:15:56 +00:00
Geoff Mendal
615710cfdc
Import translations. DO NOT MERGE
...
Change-Id: I3e67ed5ff3bbdbc372dfd1b3b408ac2c095fe6d6
Auto-generated-cl: translation import
2014-11-03 06:13:00 -08:00
Geoff Mendal
8e293e26ed
Import translations. DO NOT MERGE
...
Change-Id: If4a3d6e46c8fcf8ddf8eb4689e19fed4906e1064
Auto-generated-cl: translation import
2014-11-03 06:12:08 -08:00
Geoff Mendal
7cb5cd8ff4
Import translations. DO NOT MERGE
...
Change-Id: I4a4f46a2e3aa848ba9ac47300815f6ccf8af808b
Auto-generated-cl: translation import
2014-11-03 06:09:34 -08:00
Ken Wakasa
079d31cd2b
am f296e7cd: Small comment fixes
...
* commit 'f296e7cdfa3af2f666c182f04ea5c3f10945de40':
Small comment fixes
2014-11-02 15:06:46 +00:00
Ken Wakasa
f296e7cdfa
Small comment fixes
...
Change-Id: Iecb432c414eadf13ee6a57fb21fc02d1c27e777f
2014-11-02 23:54:20 +09:00
Tadashi G. Takaoka
87b33bda77
am 7ab112ef: Merge "Add null analysis annotations to latinime-common"
...
* commit '7ab112ef4acf5a225fbb18f75698868168234297':
Add null analysis annotations to latinime-common
2014-11-02 14:08:39 +00:00
Tadashi G. Takaoka
7e7da4863f
am c235a3be: Add debug logging
...
* commit 'c235a3be9dc6bdc9af869f98136462b860928839':
Add debug logging
2014-11-02 14:08:36 +00:00
Tadashi G. Takaoka
7ab112ef4a
Merge "Add null analysis annotations to latinime-common"
2014-11-02 14:03:51 +00:00
Tadashi G. Takaoka
c235a3be9d
Add debug logging
...
Change-Id: I38bf53a0b5ea5064462b8eb5d99b7247ff8bddc4
2014-11-02 22:34:43 +09:00
Tadashi G. Takaoka
519df53599
Add null analysis annotations to latinime-common
...
Change-Id: I06eedd9ab85e5a8890e6809bbf9e88e5b8c14e38
2014-11-02 22:31:42 +09:00
Keisuke Kuroyanagi
a94d9ff0d9
am 2cf55507: Fix: BoS prediction after inputting just once.
...
* commit '2cf5550749927a8f72766eb040adb7d8d15ba127':
Fix: BoS prediction after inputting just once.
2014-11-01 09:12:26 +00:00
Keisuke Kuroyanagi
2cf5550749
Fix: BoS prediction after inputting just once.
...
Change-Id: Ib69569ab6b6edfcc8c1d2c621b95de4127789ab6
2014-11-01 17:58:22 +09:00