Keisuke Kuroyanagi
98705b6bf5
Fix unit tests.
...
Change-Id: I2a85763358e1eef0f76ef827413afffeb4cb8058
2014-03-14 12:27:23 +09:00
Keisuke Kuroyanagi
73a2426d45
Change default decaying parameters.
...
Bug: 13458617
Change-Id: I4942af4a48881fb6ca866c74140b262e6d323f4a
2014-03-14 12:23:24 +09:00
Tadashi G. Takaoka
1f69164f06
Merge "Fix ZWJ/ZWNJ on Nepali tablet keyboards"
2014-03-14 01:54:49 +00:00
Tadashi G. Takaoka
f00567f9ac
Merge "Add qwerty keyboard layout tests"
2014-03-14 01:49:28 +00:00
Tadashi G. Takaoka
1912609a9e
Add qwerty keyboard layout tests
...
This CL adds Afrikaans, Azerbaijani (AZ), Dutch, English (UK), French
(CA), German (QWERTY), Icelandic, Indonesian, Italian, Latvian,
Lithuanian, Malay (NY), Polish, Portuguese (BR/PT), Romanian, Slovak,
Slovenian, Swahili, Turkish, Vietnamese, Zulu, and No Language
keyboards tests.
Bug: 13017434
Change-Id: I2343dc8e74172ac551ef86f82453ae796b6f19dc
2014-03-14 10:42:27 +09:00
Tadashi G. Takaoka
e49bc0f521
Fix ZWJ/ZWNJ on Nepali tablet keyboards
...
Bug: 13460706
Change-Id: Ic175c5d7920ed56a007374160be6ed76b44c4f94
2014-03-14 10:20:27 +09:00
Jean Chalard
309773c322
Merge "[CB03] Pass whole events to the various input logic handlers."
2014-03-13 12:12:31 +00:00
Tadashi G. Takaoka
a8e3ae6e96
Merge "Refactor keyboard layout test more customizable"
2014-03-13 12:09:47 +00:00
Tadashi G. Takaoka
15a6b66dda
Refactor keyboard layout test more customizable
...
Bug: 13017434
Change-Id: I804b4cb9f56684d425e83a20cb3f71d947a87f98
2014-03-13 20:55:22 +09:00
Jean Chalard
750cd48981
[CB03] Pass whole events to the various input logic handlers.
...
Bug: 13406701
Change-Id: I0a0e4e0b3357f116e1b915c548dee4575e300c92
2014-03-13 19:35:54 +09:00
Jean Chalard
a79a3265db
[CB02] Pass an Event to onCodeInput.
...
Bug: 13406701
Change-Id: Id82e9aab6544ca308e6ac6dee2cfa018b9ce2d8f
2014-03-13 18:41:02 +09:00
Jean Chalard
66dce6003f
Merge "[CB01] Reset some old assumptions about dead keys"
2014-03-13 08:53:29 +00:00
Jean Chalard
92db209c60
[CB01] Reset some old assumptions about dead keys
...
The combining framework will be more generic than previously
thought. We don't need to handle dead keys as a special type
of event, as all events can be combined arbitrarily.
Bug: 13406701
Change-Id: I8137fdb186c4d70eaa71808c5a1430b1559db1ae
2014-03-13 17:47:13 +09:00
Jean Chalard
13b446b8fb
Merge "Don't reset the value needed before it's used"
2014-03-12 08:04:42 +00:00
Keisuke Kuroyanagi
4d73199c06
Merge "Unit test update for I7ed95a54344d8b."
2014-03-12 06:51:43 +00:00
Keisuke Kuroyanagi
61467744e7
Unit test update for I7ed95a54344d8b.
...
Change-Id: Ic8af56b8741ee7c231d73ce6a660fd32c9f5a3b3
2014-03-12 15:41:20 +09:00
Keisuke Kuroyanagi
4bc35daaa2
Check "." and ".." to delete all files in a dir.
...
Bug: 13421999
Change-Id: I9d0f65cfc9a0f18c7affc152a5b54f9970048e9c
2014-03-12 15:31:49 +09:00
Keisuke Kuroyanagi
5dc17c22ca
Fix: wrong suggestion comparator.
...
Change-Id: I8829c7cb3060955e345fbdc003cf77f8469d37c0
2014-03-11 11:57:56 +00:00
Tadashi G. Takaoka
2600c092b0
Merge "Cleanup private method names"
2014-03-11 10:20:57 +00:00
Tadashi G. Takaoka
8542c48c30
Cleanup private method names
...
This is a follow up of Ib0ded6f98a.
Change-Id: I91ad3504d301113680194ad5b10913fc86006150
2014-03-11 19:04:57 +09:00
Tadashi G. Takaoka
470a4502ab
Merge "Fix Greek tablet layout aligned with phone layout"
2014-03-11 09:55:13 +00:00
Tadashi G. Takaoka
e6b992d9be
Merge "Add keyboard layout name constant"
2014-03-11 09:42:51 +00:00
Tadashi G. Takaoka
8c1965ba04
Add keyboard layout name constant
...
Change-Id: I6cdc3efdb58e7a1efb3e352d80d0aa41e333a150
2014-03-11 18:41:55 +09:00
Keisuke Kuroyanagi
34ab038414
Merge "Stop new BigramDictionary."
2014-03-11 09:38:14 +00:00
Keisuke Kuroyanagi
e7ddf49d50
Merge "Use emplace_back in getWordProperty()."
2014-03-11 09:38:00 +00:00
Keisuke Kuroyanagi
ed72a768d6
Merge "Make getWordProperty return reconstructed bigram probability."
2014-03-11 09:37:49 +00:00
Tadashi G. Takaoka
bab437fb3b
Another small cleanup for test code
...
Change-Id: Ib0ded6f98a6ce9197c8af79778af59d894ee54a6
2014-03-11 17:55:11 +09:00
Tadashi G. Takaoka
0722e6b3df
Small cleanup for test code
...
Change-Id: I5106c8c52bdd11bfd23aa2e09f7ea53504083679
2014-03-11 17:28:19 +09:00
Tadashi G. Takaoka
709acaa9e9
Fix Greek tablet layout aligned with phone layout
...
Bug: 13406008
Change-Id: Iba5bd757c5874e426d5d4fcb8c404c21d259b833
2014-03-11 17:23:01 +09:00
Tadashi G. Takaoka
f247b171ce
Refactor currency and quotes keys tests
...
Bug: 13017434
Change-Id: I38dff3c8b9b28eff4397c7cdbad623fb43cbc312
2014-03-11 16:11:31 +09:00
Keisuke Kuroyanagi
ca42ec0f44
Use emplace_back in getWordProperty().
...
Change-Id: If164d2b897bd6ad9c89baf0e9a90356100c5087b
2014-03-11 15:21:55 +09:00
Keisuke Kuroyanagi
a34bdc395b
Make getWordProperty return reconstructed bigram probability.
...
Bug: 13403530
Change-Id: I7ed95a54344d8b77b88922093cf3ef0e530fcae6
2014-03-11 15:20:12 +09:00
Keisuke Kuroyanagi
89dbd056d1
Merge "Use isFirstCharUppercase instead of get first code point."
2014-03-10 11:42:23 +00:00
Keisuke Kuroyanagi
5c2f55fe6e
Merge "Add getter methods for public member variables."
2014-03-10 11:40:24 +00:00
Keisuke Kuroyanagi
da5b4fb6da
Merge "Move initialization logic for from DicNode to DicNodeState."
2014-03-10 11:40:08 +00:00
Keisuke Kuroyanagi
7036762072
Merge "Remove unused member of DicNodeStatePrevWord."
2014-03-10 09:45:54 +00:00
Keisuke Kuroyanagi
b43ea5c335
Use isFirstCharUppercase instead of get first code point.
...
Change-Id: I0a28305397bfc1e7218e16df00839781a74f5599
2014-03-10 18:39:45 +09:00
Keisuke Kuroyanagi
0a5efa31de
Add getter methods for public member variables.
...
Change-Id: Ic6656bb3db6db992b37923db53816e0a73a7621f
2014-03-10 18:39:45 +09:00
Keisuke Kuroyanagi
6066069f35
Move initialization logic for from DicNode to DicNodeState.
...
Change-Id: Ic7075349e2e9c7f4ca707efa12ad1d24b49a2c87
2014-03-10 18:39:43 +09:00
Keisuke Kuroyanagi
258260bef2
Remove unused member of DicNodeStatePrevWord.
...
Change-Id: I265855da58e3a2e070e525e116ac0d18d1a10d18
2014-03-10 18:39:15 +09:00
Keisuke Kuroyanagi
bd44c9815d
Merge "Improve DicNode handling."
2014-03-10 09:21:10 +00:00
Keisuke Kuroyanagi
632c9aca5b
Improve DicNode handling.
...
- Stop creating useless DicNode and DicNodeVector.
- Remove useless virtual.
- Implement copy constructor and assignment operator of DicNodeState.
- Remove useless memset.
Before:
(0) 2266.21 (0.79%)
(1) 285422.05 (98.97%)
(2) 642.62 (0.22%)
(66) 0.19 (0.00%)
Total 288384.35 (sum of others 288331.07)
After:
(0) 2232.70 (0.86%)
(1) 255258.50 (98.89%)
(2) 585.73 (0.23%)
(66) 0.26 (0.00%)
Total 258126.46 (sum of others 258077.18)
Change-Id: I0bb1e9de8b38a6743a11aaeb2b17bd0da5b7ad34
2014-03-10 17:57:53 +09:00
Tadashi G. Takaoka
9e222d46d0
Merge "Fix unused text resources of keyboard layouts"
2014-03-10 08:45:03 +00:00
Tadashi G. Takaoka
567fbe90f7
Fix unused text resources of keyboard layouts
...
Icelandic keyboard has no nordic layout.
Latvian, Lithuanian, and Slovak keyboards have duplicated N WITH ACUTE.
No Language keyboard has duplicated letter a variants.
Change-Id: Iaeacebc1f7efdb70294e6342e42232b73aed9398
2014-03-10 17:31:25 +09:00
Jean Chalard
e93a7232d1
Don't reset the value needed before it's used
...
Nice recipe for failure
Bug: 13387534
Change-Id: Ida1978449c1997587b2ec0955c5c94fcef336121
2014-03-10 15:55:15 +09:00
Keisuke Kuroyanagi
1db3b10f14
Merge "Use emplace_back to push DicNode to vector."
2014-03-10 06:47:37 +00:00
Keisuke Kuroyanagi
87db47d175
Use emplace_back to push DicNode to vector.
...
Before:
(0) 2234.43 (0.71%)
(1) 310083.71 (99.07%)
(2) 626.88 (0.20%)
(66) 0.26 (0.00%)
Total 312995.33 (sum of others 312945.28)
After
(0) 2266.21 (0.79%)
(1) 285422.05 (98.97%)
(2) 642.62 (0.22%)
(66) 0.19 (0.00%)
Total 288384.35 (sum of others 288331.07)
Change-Id: I5ab98076c54d147ff7ec2a29280859f4558e24d0
2014-03-10 15:41:33 +09:00
Keisuke Kuroyanagi
66cc9dec55
Stop new BigramDictionary.
...
BigramDictionary is allocated inside of Dictionary.
Change-Id: If224b4c408403f43eb3d2e292c0e0ecb86429290
2014-03-10 05:42:36 +00:00
Tadashi G. Takaoka
e07a777ed6
Fix unneeded u with diaeresis more key on Swedish keyboard
...
Change-Id: Ib4a17fa464899907616e76426e5df0d370a40f80
2014-03-10 11:15:18 +09:00
Tadashi G. Takaoka
315010636a
Fix excessive more keys on Estonian keyboard
...
Change-Id: I6c2d5d123d519278a6ff0f12fece69ccbad1aad5
2014-03-10 10:56:26 +09:00