Commit graph

32400 commits

Author SHA1 Message Date
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
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
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
Ken Wakasa
5218382141 Merge "Revert "Tune number letter size of Material keyboard"" into lmp-dev 2014-08-04 23:56:40 +00:00
Ken Wakasa
5ad718f2ca Revert "Tune number letter size of Material keyboard"
This reverts commit 44454c2b2b.

Due to unit test breakage.

Bug: 14419121
Change-Id: Id0bbc2276fc035aa090f7bb4fa8112a1aecd483f
2014-08-07 11:36:20 +00:00
Tadashi G. Takaoka
44454c2b2b Tune number letter size of Material keyboard
Bug: 14419121
Change-Id: I6a477b9bf9022e369d4a6a77415490dc2b9eefc6
2014-08-07 17:55:38 +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
Ken Wakasa
1c7e6f8d6e Merge "Revert "Align hint label to bottom"" into lmp-dev 2014-08-04 23:56:40 +00:00
Ken Wakasa
02c4a80afe Revert "Align hint label to bottom"
This reverts commit f1784266ec.

Due to unit test breakage.

Bug: 14419121
Change-Id: Ibc201649e71135292530b26337d9305a6681f446
2014-08-07 11:35:26 +00:00
Tadashi G. Takaoka
f1784266ec Align hint label to bottom
Bug: 14419121
Change-Id: I9147d3c4a3687ed745ffdddfff221d88652919b2
2014-08-07 18:42:47 +09:00
Tadashi G. Takaoka
6ba5d63628 Merge "Remove unused Key and Keyboard attributes" into lmp-dev 2014-08-04 23:56:40 +00:00
Tadashi G. Takaoka
e988e412d9 Merge "Add Key label off center attribute" into lmp-dev 2014-08-05 00:03:09 +00:00
Tadashi G. Takaoka
ba49920e80 Add Key label off center attribute
This CL adds two Key attributes to control how much a label should be
off centered.
- keyLabelOffCenterRatio
- keyHintLabelOffCenterRatio

Bug: 14419121
Change-Id: I26650eefdd375f0eeca8a1ca6034a8339d2a3182
2014-08-07 14:39:57 +09:00
Keisuke Kuroyanagi
b6665d958a Merge "Use DistracterFilterCheckingIsInDictionary for User History" into lmp-dev 2014-08-04 23:56:40 +00:00
Keisuke Kuroyanagi
87ab5b0518 Use DistracterFilterCheckingIsInDictionary for User History
Bug: 13142176
Bug: 15531638
Change-Id: I7e4e5afa05c5cee6eedef62c053d81edac5fa6af
2014-08-07 18:39:06 +09:00
Jean Chalard
f1accd4f04 [HS1] Save some data in startInputView
Bug: 8152758
Change-Id: Ic57d3918b08e775769d4ba5d73ba5c31231e0d6a
2014-08-04 22:40:21 +09:00
Jean Chalard
d9e41aac3f am 85b7b967: Merge "[HW12] Use the consumed status of the Event." into lmp-dev
* commit '85b7b967b70393815da78aa4bae1938dbf9bbe1a':
  [HW12] Use the consumed status of the Event.
2014-08-04 04:09:54 +00:00
Tadashi G. Takaoka
9681027aad am 03a1c442: Clean up compatible utility classes
* commit '03a1c442aeddbd511be92e11465b6206d2ca976c':
  Clean up compatible utility classes
2014-08-04 02:04:23 +00:00
Tadashi G. Takaoka
03a1c442ae Clean up compatible utility classes
Change-Id: I95a682052037d292801477db0f05e04926b61412
2014-08-04 01:21:29 +00:00
Jean Chalard
85b7b967b7 Merge "[HW12] Use the consumed status of the Event." into lmp-dev 2014-08-01 16:06:20 +00:00
Jean Chalard
e0bad8e988 [HW12] Use the consumed status of the Event.
Change-Id: I1619f6132f8f71bc1291fd6a5604a5e1e3431ae2
2014-08-04 12:41:07 +09:00
Keisuke Kuroyanagi
351e4ab4b6 am c4696b2e: Save language model in the body buffer.
* commit 'c4696b2eb6b25eea4d5c869683104ab99aec0421':
  Save language model in the body buffer.
2014-08-01 13:52:30 +00:00
Keisuke Kuroyanagi
155fa8c6f7 am c0c674cd: Make MmappedBuffer use byte array view.
* commit 'c0c674cdc0721a374e140ad5ee1409c0498b3262':
  Make MmappedBuffer use byte array view.
2014-08-01 13:52:20 +00:00
Keisuke Kuroyanagi
abbdb33b7b am 0257e403: Use ReadWriteByteArrayView in BufferWithExtendableBuffer.
* commit '0257e40345fca2217b53975ed04bbb4d76eab315':
  Use ReadWriteByteArrayView in BufferWithExtendableBuffer.
2014-08-01 13:52:19 +00:00
Keisuke Kuroyanagi
97634d04d0 am df11f9b8: Merge "Add LanguageModelDictContent." into lmp-dev
* commit 'df11f9b8e61fa4b51e782a1524331fe1ea5f5e94':
  Add LanguageModelDictContent.
2014-08-01 13:52:18 +00:00
Keisuke Kuroyanagi
8c4d3c0875 am e7c94156: Merge "Remove DictContent." into lmp-dev
* commit 'e7c9415688eb389eebf49a5a57930f0062b66467':
  Remove DictContent.
2014-08-01 13:52:17 +00:00
Keisuke Kuroyanagi
6871990955 am 4a1ed92e: Merge "Remove getBigramsIteratorOfPtNode from structure policy." into lmp-dev
* commit '4a1ed92ea87dc1bbe3a84c896c780342fc95db1e':
  Remove getBigramsIteratorOfPtNode from structure policy.
2014-08-01 13:52:16 +00:00
Keisuke Kuroyanagi
c3aa85cbe2 am 211370a3: Merge "Add memory view class for int and uint8_t." into lmp-dev
* commit '211370a3dabf138eb7e1f3e019f52c008b6771db':
  Add memory view class for int and uint8_t.
2014-08-01 13:52:15 +00:00
Keisuke Kuroyanagi
4a4ab6f69c am 35c62b2c: Use NgramListener in MultiBigramMap.
* commit '35c62b2cc99761e97f57060ad5e3cdfad926aea7':
  Use NgramListener in MultiBigramMap.
2014-08-01 13:51:17 +00:00
Jean Chalard
9557e52ef4 am da5ccd9f: [HW11] Cleanup
* commit 'da5ccd9f18a697e6f4ff218c8374fd491e934cd9':
  [HW11] Cleanup
2014-08-01 13:51:05 +00:00
Keisuke Kuroyanagi
c4696b2eb6 Save language model in the body buffer.
Bug: 14425059
Change-Id: Iaec277f7bed03d6c6780c6ce90fbe5fe799e175e
2014-08-01 20:19:16 +09:00
Keisuke Kuroyanagi
c0c674cdc0 Make MmappedBuffer use byte array view.
Bug: 16691311
Change-Id: I2122c01ee27c33e11dec52643925c069927bea2b
2014-08-01 19:26:01 +09:00
Keisuke Kuroyanagi
0257e40345 Use ReadWriteByteArrayView in BufferWithExtendableBuffer.
Bug: 16691311
Change-Id: Ibd68354a53cebf284a886d76bd8ce9848a51346f
2014-08-01 08:44:32 +00:00
Keisuke Kuroyanagi
35c62b2cc9 Use NgramListener in MultiBigramMap.
Bug: 14425059
Change-Id: I425536290111f2a8172f31370706f858a1e07f6e
2014-08-01 02:51:07 +00:00
Jean Chalard
0b9d614049 am 00ee5f76: [HW10] Pull the processed event in its eventual place
* commit '00ee5f76975644a9691126f24b4b6c4b4e671cff':
  [HW10] Pull the processed event in its eventual place
2014-07-31 13:27:49 +00:00
Jean Chalard
1711c2aaf4 am f290d407: [HW9] Pull the processed event further.
* commit 'f290d4073a7c9b60cd275b7a786a516ce80952bf':
  [HW9] Pull the processed event further.
2014-07-31 13:27:47 +00:00
Keisuke Kuroyanagi
f9c68364d3 am de5c3a25: Construct TrieMap from existing buffer.
* commit 'de5c3a2562bbddc0f3d95619a1b3b1318b9598fd':
  Construct TrieMap from existing buffer.
2014-07-31 13:27:46 +00:00
Keisuke Kuroyanagi
8032d2953a am 3437032a: Merge "Add TrieMap.save()." into lmp-dev
* commit '3437032a9184c18fb513da35aa2e4b0851bb3c99':
  Add TrieMap.save().
2014-07-31 13:27:45 +00:00
Keisuke Kuroyanagi
959070d3bb am 57574b98: Merge "Remove doesAutoCorrectValidWord()." into lmp-dev
* commit '57574b98c2576602e5597f3bd576fe62f723c813':
  Remove doesAutoCorrectValidWord().
2014-07-31 13:27:43 +00:00
Keisuke Kuroyanagi
dd38758cc2 am d624091a: Merge "Fix native debug build." into lmp-dev
* commit 'd624091afbbbdf1870dd6fdff69db45447e016bd':
  Fix native debug build.
2014-07-31 13:27:42 +00:00
Jean Chalard
795711f5f9 am 69b68b59: Fix some unit tests.
* commit '69b68b5916aeca3617fac24fe48fddf63045a4ee':
  Fix some unit tests.
2014-07-31 13:27:41 +00:00
Jean Chalard
da5ccd9f18 [HW11] Cleanup
Change-Id: Ia866d3f9a5981c687766f8c39979fb6091018e44
2014-07-31 18:33:30 +09:00
Jean Chalard
00ee5f7697 [HW10] Pull the processed event in its eventual place
Change-Id: I5f7932097627766e907764a99a5e9c170f725bc0
2014-07-31 09:10:24 +00:00
Jean Chalard
f290d4073a [HW9] Pull the processed event further.
The 'processedEvent' variables will ultimately disappear entirely.

Change-Id: I612c5ce7dedc341b64921a86ac028fe91b75359b
2014-07-31 09:10:03 +00:00
Keisuke Kuroyanagi
de5c3a2562 Construct TrieMap from existing buffer.
Bug: 14425059
Change-Id: Ia1c58d88540f55fb38fe0bdfcd7c0a34ebc7415e
2014-07-31 09:06:22 +00:00
Jean Chalard
69b68b5916 Fix some unit tests.
The default value for the script needs to be Latin, as we don't specify
it in the files.

Change-Id: I1275f13f1cd92f00dc5708748fefb4982f0a60b3
2014-07-31 12:29:35 +09:00
Keisuke Kuroyanagi
dde1b40a7f am 5a7b634a: Merge "Add entry iteration method to TrieMap." into lmp-dev
* commit '5a7b634aaf21895637a305e0795df666e24c890a':
  Add entry iteration method to TrieMap.
2014-07-30 16:58:14 +00:00