Commit graph

31929 commits

Author SHA1 Message Date
Jean Chalard
1ef9d5938e [CB26] Remove useless variables.
This is nice for code simplicity, but it has a small adverse impact on
performance.

Bug: 13406701
Change-Id: I9316b3fe8d79b940fbd83cf1187c8c0d10b26c71
2014-04-10 18:13:35 +09:00
Tadashi G. Takaoka
bd77ec3bb1 am cc729b6d: Merge "Refactor SubtypeLocaleUtils a bit"
* commit 'cc729b6df522e267d71445f60ad5b85d62688336':
  Refactor SubtypeLocaleUtils a bit
2014-04-10 08:53:23 +00:00
Tadashi G. Takaoka
cc729b6df5 Merge "Refactor SubtypeLocaleUtils a bit" 2014-04-10 08:51:03 +00:00
Jean Chalard
a2f18348f7 am 2e967f66: Merge "Fix some flaky tests."
* commit '2e967f66074fdc13ba2bc9b1932f036897e3b00a':
  Fix some flaky tests.
2014-04-10 08:48:58 +00:00
Jean Chalard
2e967f6607 Merge "Fix some flaky tests." 2014-04-10 08:47:20 +00:00
Jean Chalard
4370ff0998 Fix some flaky tests.
In tests, we create many instances of LatinIME, but we never
destroy them. That means we never close the dictionaries nor
the handlers.
This change calls onDestroy, which closes all dictionaries, and
adds some code to finish the handlers.

Change-Id: I942517a2a940c54256b08763f6b38f5b55809f55
2014-04-10 17:32:05 +09:00
Tadashi G. Takaoka
58e830ec19 Refactor SubtypeLocaleUtils a bit
Change-Id: If8b7fd5ef0b4ff3791deeacc12abb256a10176bf
2014-04-10 17:24:58 +09:00
Tadashi G. Takaoka
18ae3b263e am 9eec53a2: Merge "Reorder German umlaut letters"
* commit '9eec53a2c227c791f62659aebcbe18fcf517e65b':
  Reorder German umlaut letters
2014-04-10 06:27:57 +00:00
Tadashi G. Takaoka
5fa28e2501 am 0ce38865: Merge "Reorder Greek accented vowels"
* commit '0ce38865d75f07a2b32e5a690438a3ee97de098a':
  Reorder Greek accented vowels
2014-04-10 06:27:56 +00:00
Tadashi G. Takaoka
9eec53a2c2 Merge "Reorder German umlaut letters" 2014-04-10 06:26:21 +00:00
Tadashi G. Takaoka
0ce38865d7 Merge "Reorder Greek accented vowels" 2014-04-10 06:25:25 +00:00
Tadashi G. Takaoka
784a4429ea Reorder German umlaut letters
Bug: 13940739
Change-Id: I2e377b56e4a74d36c7e0cea4ad4e8d9341eb7feb
2014-04-10 15:24:45 +09:00
Tadashi G. Takaoka
d1cc4e0beb Reorder Greek accented vowels
Bug: 13941339
Change-Id: I501e69d8f28526e3791ee8a338345926ff1b9a4c
2014-04-10 15:20:17 +09:00
Tadashi G. Takaoka
0be5057b6e am 043d9bc2: Separate ItalianCustomizer as a top level class
* commit '043d9bc2c93e266813343b178dffc08b2192c753':
  Separate ItalianCustomizer as a top level class
2014-04-10 06:11:02 +00:00
Tadashi G. Takaoka
043d9bc2c9 Separate ItalianCustomizer as a top level class
This is a follow up of I57df8ca12b

Change-Id: I6a73de1ddecaf39ba42e03956e022cf7a398c864
2014-04-10 15:06:23 +09:00
Tadashi G. Takaoka
627c9736c0 am ac5e6ddd: Add Italian (Switzerland) it_CH layout
* commit 'ac5e6ddd975ecba942fabaf752f2fad8773c51db':
  Add Italian (Switzerland) it_CH layout
2014-04-10 04:21:43 +00:00
Tadashi G. Takaoka
ac5e6ddd97 Add Italian (Switzerland) it_CH layout
Bug: 13920900
Change-Id: I57df8ca12b0d8cc4bbca2372c0470dcae5b5cbfb
2014-04-10 11:56:44 +09:00
Baligh Uddin
7c18135db8 Import translations. DO NOT MERGE
Change-Id: I2b2e88ffcfa3690c7b4c0b0a64eda13e2a9c9f75
Auto-generated-cl: translation import
2014-04-09 16:19:55 -07:00
Baligh Uddin
5535c8363a Import translations. DO NOT MERGE
Change-Id: I0b2e80c893b05db6e53a81b81d3b007ac7c99d57
Auto-generated-cl: translation import
2014-04-09 16:18:47 -07:00
Yohei Yukawa
8225873e14 am a4ac1855: Merge "Add a new production flag for Cursor/Anchor monitor"
* commit 'a4ac18551f6bf6ca7ee84139e8cea3656a4a8b86':
  Add a new production flag for Cursor/Anchor monitor
2014-04-09 12:39:37 +00:00
Yohei Yukawa
a4ac18551f Merge "Add a new production flag for Cursor/Anchor monitor" 2014-04-09 12:36:28 +00:00
Yohei Yukawa
485114905e Add a new production flag for Cursor/Anchor monitor
BUG: 13891796
Change-Id: I3565ca22aaf1d3cfce4f35999e2990b2df5157ef
2014-04-09 21:13:34 +09:00
Keisuke Kuroyanagi
f0eac04015 am 100eb532: Merge "Increase terminal cache size for gesture."
* commit '100eb532924460e4522f841664eebb3382c56576':
  Increase terminal cache size for gesture.
2014-04-09 10:38:53 +00:00
Keisuke Kuroyanagi
c5450b8f9f am 627fcc6c: Merge "Quit limiting gesture search space by distance."
* commit '627fcc6c92029838cafe766107dd2cb512c58082':
  Quit limiting gesture search space by distance.
2014-04-09 10:38:51 +00:00
Keisuke Kuroyanagi
100eb53292 Merge "Increase terminal cache size for gesture." 2014-04-09 10:36:30 +00:00
Keisuke Kuroyanagi
627fcc6c92 Merge "Quit limiting gesture search space by distance." 2014-04-09 10:35:58 +00:00
Tadashi G. Takaoka
3498e48e17 am fa1ac6a9: Merge "Add Spanish (Latin America) subtype (es_419)"
* commit 'fa1ac6a9db077f460018afc6aebbf33e0af3e1c5':
  Add Spanish (Latin America) subtype (es_419)
2014-04-09 10:23:33 +00:00
Tadashi G. Takaoka
fa1ac6a9db Merge "Add Spanish (Latin America) subtype (es_419)" 2014-04-09 10:22:06 +00:00
Tadashi G. Takaoka
9a924d7b00 Add Spanish (Latin America) subtype (es_419)
Bug: 7531804
Change-Id: I183443779f8d9d472ac5e528e1d905366bd83c90
2014-04-09 19:09:17 +09:00
Jean Chalard
08da006441 am 77dd17ad: Merge "[CB25] Refactor some array copying"
* commit '77dd17ad36082bb7023c37976a44028bad7e62c5':
  [CB25] Refactor some array copying
2014-04-09 10:00:48 +00:00
Jean Chalard
77dd17ad36 Merge "[CB25] Refactor some array copying" 2014-04-09 09:57:00 +00:00
Tadashi G. Takaoka
c2e99fd6cb am f9d8ba3a: Merge "Use Locale to process text resources"
* commit 'f9d8ba3ada1fbfdfe43b584e7cf280d151ad0c27':
  Use Locale to process text resources
2014-04-09 09:48:29 +00:00
Tadashi G. Takaoka
f9d8ba3ada Merge "Use Locale to process text resources" 2014-04-09 09:46:29 +00:00
Jean Chalard
5f430e0189 [CB25] Refactor some array copying
Bug: 13406701
Change-Id: I09edd822f5cc2446b324d41c76d835bcff1191e6
2014-04-09 18:38:29 +09:00
Yohei Yukawa
807c4b652d am d4dbbd50: Use C++11 random library
* commit 'd4dbbd5008438855c56e38eba9c0ee1368a53a5a':
  Use C++11 random library
2014-04-09 09:32:23 +00:00
Tadashi G. Takaoka
d317796207 Use Locale to process text resources
Change-Id: Ic1c4e1776071332e02c368055157124bb539d14e
2014-04-09 18:28:17 +09:00
Yohei Yukawa
d4dbbd5008 Use C++11 random library
srand() and its friends are supposed to be discouraged since C++14.
This CL replaces srand() with new C++11 random libraries.

Change-Id: If2c25158c88c674cd3fd6d891559a9e32283e19e
2014-04-09 17:59:31 +09:00
Keisuke Kuroyanagi
9d6a3e3892 am 111c05ff: Add BloomFilterTest.
* commit '111c05ff35763d6fe08a05ff341086de61498dc2':
  Add BloomFilterTest.
2014-04-09 08:42:45 +00:00
Keisuke Kuroyanagi
111c05ff35 Add BloomFilterTest.
Change-Id: If97b9e9cc3bbaa4c7877991c11d7935626268ca3
2014-04-09 17:15:55 +09:00
Keisuke Kuroyanagi
f24d72017a am 26c80662: Use 2D normal distribution for gesture.
* commit '26c806620c26e048918624367ee624526613b0d2':
  Use 2D normal distribution for gesture.
2014-04-09 07:56:47 +00:00
Keisuke Kuroyanagi
63d33f42c8 Increase terminal cache size for gesture.
Before:
(0)  670.00 (10.52%)
(1)  5530.00 (86.81%)
(2)  120.00 (1.88%)
Total 6370.00 (sum of others 6320.00)

After:
(0)  730.00 (11.06%)
(1)  5750.00 (87.12%)
(2)  100.00 (1.52%)
Total 6600.00 (sum of others 6580.00)

Bug: 13773693
Bug: 10701902
Bug: 9505397
Change-Id: Ie53640994180a7acabe05da544ab2166403e2394
2014-04-09 16:50:31 +09:00
Keisuke Kuroyanagi
bc9500fb14 Quit limiting gesture search space by distance.
Before:
(0)  470.00 (8.25%)
(1)  5160.00 (90.53%)
(2)  50.00 (0.88%)
(66)  10.00 (0.18%)
Total 5700.00 (sum of others 5690.00)

After:
(0)  670.00 (10.52%)
(1)  5530.00 (86.81%)
(2)  120.00 (1.88%)
Total 6370.00 (sum of others 6320.00)

Bug: 13773693
Bug: 10701902
Bug: 9505397

Change-Id: Ie168ac4ae0ca0e954512b08e3cc0f6399a3c163d
2014-04-09 16:50:31 +09:00
Keisuke Kuroyanagi
26c806620c Use 2D normal distribution for gesture.
Bug: 13799846
Bug: 10701902
Bug: 9505397

Change-Id: I6c3f84f035f2310f2f7dfec4432ebdb6e50d5df0
2014-04-09 16:50:31 +09:00
Keisuke Kuroyanagi
7386ddb8c9 am e3d57ae7: Merge "Use bitset for BloomFilter."
* commit 'e3d57ae792779a6e5588cb97885970cb1adef312':
  Use bitset for BloomFilter.
2014-04-09 07:42:31 +00:00
Keisuke Kuroyanagi
e3d57ae792 Merge "Use bitset for BloomFilter." 2014-04-09 07:39:49 +00:00
Keisuke Kuroyanagi
2fd0bf9a37 Use bitset for BloomFilter.
Before:
(0)  660.00 (1.43%)
(1)  45320.00 (98.18%)
(2)  80.00 (0.17%)
Total 46160.00 (sum of others 46060.00)

After:
(0)  620.00 (1.34%)
(1)  45310.00 (98.05%)
(2)  130.00 (0.28%)
Total 46210.00 (sum of others 46060.00)

Change-Id: I936b639c50e15208aee999a929b33983c6caa59d
2014-04-09 16:18:23 +09:00
Yohei Yukawa
e6a69f53b0 am bbefa8c8: Merge "Make NELEMS type-safe"
* commit 'bbefa8c8265820f5f9aeb0e2a49a4526d7cdd682':
  Make NELEMS type-safe
2014-04-09 06:59:00 +00:00
Yohei Yukawa
bbefa8c826 Merge "Make NELEMS type-safe" 2014-04-09 06:56:31 +00:00
Yohei Yukawa
b417d7d69f Make NELEMS type-safe
Change-Id: I867271665b3c595dc40ac63e93e68c87dc213d08
2014-04-09 15:51:39 +09:00
Tadashi G. Takaoka
8d49064832 am daf75d27: Add en_IN subtype
* commit 'daf75d275e7041bd9669315eb162489ddbf558a8':
  Add en_IN subtype
2014-04-09 06:19:14 +00:00