Commit graph

31981 commits

Author SHA1 Message Date
Jean Chalard
922411a708 am ef74e737: Introduce onEvent() to improve testability
* commit 'ef74e737f580f7ac0b3bd70d6255dde3c87d9078':
  Introduce onEvent() to improve testability
2014-08-06 12:57:29 +00:00
Akifumi Yoshimoto
adf2a2b9f7 am 2d8f1b65: Merge "Make dict log cleanup." into lmp-dev
* commit '2d8f1b65dac731306b37a6f55c08975a2de0f719':
  Make dict log cleanup.
2014-08-06 12:57:28 +00:00
Jean Chalard
f66b0e5f71 am c08c5064: Merge "Fix an NPE when running with Keep." into lmp-dev
* commit 'c08c50648763c173bf382990b2a868dc19eba350':
  Fix an NPE when running with Keep.
2014-08-06 12:57:27 +00:00
Tadashi G. Takaoka
e8668c2ee2 am aa3ff194: Merge "Use add icon for add custom input style menu" into lmp-dev
* commit 'aa3ff194cd1bae2e7dd7aa436877a444ea140511':
  Use add icon for add custom input style menu
2014-08-06 12:57:26 +00:00
Keisuke Kuroyanagi
aa9ec4a41b am 4efa2c0c: Merge "Use IntArrayView to add/remove n-gram entry." into lmp-dev
* commit '4efa2c0cdbc56ba0a43dc34b42c512941678ae70':
  Use IntArrayView to add/remove n-gram entry.
2014-08-06 12:57:25 +00:00
Jean Chalard
ef74e737f5 Introduce onEvent() to improve testability
...and prepare for the future

Change-Id: Ieed96ab552993fd148e80b9c3355f1b569bd716f
2014-08-06 07:29:35 +00:00
Jean Chalard
98e2748363 am 9273f383: [HS3] Fix a bug on ICS
* commit '9273f3832b51f5d23d86df624600381ed6d6585f':
  [HS3] Fix a bug on ICS
2014-08-06 03:36:53 +00:00
Jean Chalard
9273f3832b [HS3] Fix a bug on ICS
There is a bug in ICS where the input connection won't take
any writing commands after rotation until the cursor moves.
This fixes it by wiggling the cursor position once before trying
to do anything.

Bug: 16810766
Change-Id: Ib14c70bd0550420cecfa86dea501d13a1a91e296
2014-08-06 11:38:11 +09:00
Jean Chalard
0978aa71ea am 50c12c83: Merge "[HS2] Move more stuff to onStartInput" into lmp-dev
* commit '50c12c83b322f78c90e3f72d1fa4422d13bfa7c6':
  [HS2] Move more stuff to onStartInput
2014-08-06 02:24:02 +00:00
Keisuke Kuroyanagi
04bbc0ad31 am da8cda05: Clean up IntArrayViewTest
* commit 'da8cda0578a0ec8738d054d25e2e922d1f0e6ca8':
  Clean up IntArrayViewTest
2014-08-06 01:30:02 +00:00
Keisuke Kuroyanagi
a7be110d12 am 4fd1ffdb: Merge "Add/Get n-gram probability entry in languageModelDictContent" into lmp-dev
* commit '4fd1ffdb8ee4e3b172c34f52c476f130e85edb49':
  Add/Get n-gram probability entry in languageModelDictContent
2014-08-06 01:23:36 +00:00
Keisuke Kuroyanagi
da8cda0578 Clean up IntArrayViewTest
Change-Id: I30138f0722571100fe13efc96f8332efde846c2e
2014-08-06 10:09:02 +09:00
Tadashi G. Takaoka
9cca3c8359 am a262144d: Add ViewCompatUtils.setElevation
* commit 'a262144dcb6a8e7d5bb42f1feb1f80902877baec':
  Add ViewCompatUtils.setElevation
2014-08-05 13:19:39 +00:00
Tadashi G. Takaoka
eceefd0725 am 689064d0: Remove unnecessarily overridden defaultEnterKeyStyle
* commit '689064d0a26a7d551c49b53bf43d0eeab0f28379':
  Remove unnecessarily overridden defaultEnterKeyStyle
2014-08-05 13:19:38 +00:00
Jean Chalard
d5c89d6490 am 6474ef99: Merge "[HW16] Implement processing event chains." into lmp-dev
* commit '6474ef9925e538d19aed24d53753ec1b0d5ae30c':
  [HW16] Implement processing event chains.
2014-08-05 13:19:32 +00:00
Tadashi G. Takaoka
c34a384212 am 8cbb4eb9: Merge "Make popup hint letter theme-aware" into lmp-dev
* commit '8cbb4eb984f327bb6f1990b0efb5ca3e080ca0a9':
  Make popup hint letter theme-aware
2014-08-05 13:19:30 +00:00
Jean Chalard
5a91e4fa90 am f69bb4c7: [HW15] Pass events instead of reading them from the transaction
* commit 'f69bb4c7a31095012608f6608aa714588eb73b3d':
  [HW15] Pass events instead of reading them from the transaction
2014-08-05 13:19:28 +00:00
Keisuke Kuroyanagi
583bbb16dc am 203ba408: Merge "Remove ProbabilityDictContent and use LanguageModelDictContent" into lmp-dev
* commit '203ba408d7124598da49c0b146aba35b72f5f336':
  Remove ProbabilityDictContent and use LanguageModelDictContent
2014-08-05 13:19:27 +00:00
Keisuke Kuroyanagi
baf915e4c4 am 6d181179: Merge "Add methods for unigrams to LanguageModelDictContent." into lmp-dev
* commit '6d1811793e0ec786aec77ac1fc6ddc04ae13cfed':
  Add methods for unigrams to LanguageModelDictContent.
2014-08-05 13:19:26 +00:00
Jean Chalard
b8c1075a8f am 1b9f7c96: Merge "[HW14] Cleanup" into lmp-dev
* commit '1b9f7c962c164e656d8a6ba94f50ffe7960c2636':
  [HW14] Cleanup
2014-08-05 13:19:25 +00:00
Jean Chalard
b5c862f8f9 am c710b34e: Merge "[HW13] Split up onCodeInput" into lmp-dev
* commit 'c710b34e34ab4035846efea6b5109811befd956a':
  [HW13] Split up onCodeInput
2014-08-05 13:19:24 +00:00
Tadashi G. Takaoka
a262144dcb Add ViewCompatUtils.setElevation
Bug: 16210054
Change-Id: I632158951a60ab527246410caefd9fbe471dd859
2014-08-05 18:56:24 +09:00
Tadashi G. Takaoka
689064d0a2 Remove unnecessarily overridden defaultEnterKeyStyle
The overriding defaultEnterKeyStyle was needed because there were two
Key's attributes to control key's visual, keyLabel and
keyIcon. Because these were merged into one keySpec attribute, there
is no need to override defaultEnterKeyStyle.

Bug: 16787857
Change-Id: I78ca2c7c9349e4532c67e8d6468a5b98309adc05
2014-08-05 09:54:02 +00:00
Jean Chalard
f69bb4c7a3 [HW15] Pass events instead of reading them from the transaction
It's probably cleaner to just pass the events rather than read
them from a transaction, especially when a transaction may be
associated with several events in a chain.

Change-Id: I27830f0f3f3f32fe77ea8b9cad505b7ebee648af
2014-08-05 15:37:01 +09:00
Jean Chalard
82db6b4543 am f1accd4f: [HS1] Save some data in startInputView
* commit 'f1accd4f04b13f764e1ffa7c7964e4b7c41ddf4b':
  [HS1] Save some data in startInputView
2014-08-05 03:55:03 +00:00
Jean Chalard
c08c506487 Merge "Fix an NPE when running with Keep." into lmp-dev 2014-08-05 00:07:36 +00:00
Jean Chalard
411fa5909b Fix an NPE when running with Keep.
Change-Id: Ie703e14bff42d34608f11d0c2d7758950b84c88c
2014-08-06 13:00:05 +09:00
Tadashi G. Takaoka
aa3ff194cd Merge "Use add icon for add custom input style menu" into lmp-dev 2014-08-05 00:07:36 +00:00
Tadashi G. Takaoka
f7d1dc2b5e Use add icon for add custom input style menu
Bug: 16805043
Change-Id: I9730a6aa5d761924457edaabcee25db930e20f02
2014-08-06 11:38:45 +09:00
Jean Chalard
50c12c83b3 Merge "[HS2] Move more stuff to onStartInput" into lmp-dev 2014-08-05 00:07:36 +00:00
Jean Chalard
93b00a314e [HS2] Move more stuff to onStartInput
Bug: 8152758
Change-Id: Ida05df7d151ceb582886e2ad06c5bdf0b59978ee
2014-08-06 11:14:47 +09:00
Jean Chalard
6474ef9925 Merge "[HW16] Implement processing event chains." into lmp-dev 2014-08-05 00:07:36 +00:00
Jean Chalard
0a2872cb44 [HW16] Implement processing event chains.
Change-Id: I4e1e4f101050ebda77c629a61c548d3c8efb330f
2014-08-05 15:37:01 +09:00
Keisuke Kuroyanagi
203ba408d7 Merge "Remove ProbabilityDictContent and use LanguageModelDictContent" into lmp-dev 2014-08-05 00:07:36 +00:00
Keisuke Kuroyanagi
851e0458fe Remove ProbabilityDictContent and use LanguageModelDictContent
Bug: 14425059
Change-Id: I1bb9e78ecb24139b87c99be6722e37eec0a2285d
2014-08-05 14:13:07 +09:00
Keisuke Kuroyanagi
0889484266 Add methods for unigrams to LanguageModelDictContent.
Bug: 14425059
Change-Id: I0a6b480a3d4735787ffac68c47b4ffefc3f1b8a5
2014-08-05 12:38:55 +09:00
Jean Chalard
c710b34e34 Merge "[HW13] Split up onCodeInput" into lmp-dev 2014-08-05 00:03:09 +00:00
Jean Chalard
a88e95e07e [HW13] Split up onCodeInput
Change-Id: I503c5403dcaea5db632eba85ae3fae9ba9a1f946
2014-08-05 12:59:36 +09:00
Akifumi Yoshimoto
2d8f1b65da Merge "Make dict log cleanup." into lmp-dev 2014-08-04 23:56:40 +00:00
Akifumi Yoshimoto
c21619fe73 Make dict log cleanup.
Delete unneeded output when creating a dictionary

Change-Id: If7dc5dc74a53d0054967cb801e5ccfdd53ebe179
2014-08-06 15:32:18 +09:00
Keisuke Kuroyanagi
4efa2c0cdb Merge "Use IntArrayView to add/remove n-gram entry." into lmp-dev 2014-08-04 23:56:40 +00:00
Keisuke Kuroyanagi
9069d30043 Use IntArrayView to add/remove n-gram entry.
Bug: 14425059
Change-Id: I734f12dfde5161abdfb019a6391677dba8984ff4
2014-08-06 12:52:01 +09:00
Keisuke Kuroyanagi
4fd1ffdb8e Merge "Add/Get n-gram probability entry in languageModelDictContent" into lmp-dev 2014-08-04 23:56:40 +00:00
Keisuke Kuroyanagi
03dc44f543 Add/Get n-gram probability entry in languageModelDictContent
Bug: 14425059
Change-Id: I7926c3812f89b9a71fe1873a5bc32f793f91b640
2014-08-06 00:42:56 +00:00
Tadashi G. Takaoka
8cbb4eb984 Merge "Make popup hint letter theme-aware" into lmp-dev 2014-08-04 23:56:40 +00:00
Tadashi G. Takaoka
3410e16907 Make popup hint letter theme-aware
Bug: 16351091
Change-Id: I6af18ea210c00916157138b9cfbeb073aee6ca1b
2014-08-05 17:32:53 +09:00
Keisuke Kuroyanagi
6d1811793e Merge "Add methods for unigrams to LanguageModelDictContent." into lmp-dev 2014-08-04 23:56:40 +00:00
Jean Chalard
1b9f7c962c Merge "[HW14] Cleanup" into lmp-dev 2014-08-04 23:56:40 +00:00
Jean Chalard
dd31a2dedf [HW14] Cleanup
Do away with the didAutoCorrect local variables which are
unnatural to return out of all these functions.

Change-Id: I22024004d2c489de018beff812c2c589bfd8ca32
2014-08-05 12:59:55 +09:00
Jean Chalard
f1accd4f04 [HS1] Save some data in startInputView
Bug: 8152758
Change-Id: Ic57d3918b08e775769d4ba5d73ba5c31231e0d6a
2014-08-04 22:40:21 +09:00