Commit graph

32342 commits

Author SHA1 Message Date
Jean Chalard
93b00a314e [HS2] Move more stuff to onStartInput
Bug: 8152758
Change-Id: Ida05df7d151ceb582886e2ad06c5bdf0b59978ee
2014-08-06 11:14:47 +09: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
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
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
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
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
Keisuke Kuroyanagi
6d1811793e Merge "Add methods for unigrams to LanguageModelDictContent." into lmp-dev 2014-08-04 23:56:40 +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
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
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
a88e95e07e [HW13] Split up onCodeInput
Change-Id: I503c5403dcaea5db632eba85ae3fae9ba9a1f946
2014-08-05 12:59:36 +09:00
Jean Chalard
c710b34e34 Merge "[HW13] Split up onCodeInput" into lmp-dev 2014-08-05 00:03:09 +00: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
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
Tadashi G. Takaoka
03a1c442ae Clean up compatible utility classes
Change-Id: I95a682052037d292801477db0f05e04926b61412
2014-08-04 01:21:29 +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
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
Keisuke Kuroyanagi
85d12427e7 am a704ad25: Merge "Remove PrevWordsInfo.getBigramsIteratorForPrediction()." into lmp-dev
* commit 'a704ad254eaf54822e27b9adc1fb97405fd56e4f':
  Remove PrevWordsInfo.getBigramsIteratorForPrediction().
2014-07-30 16:58:12 +00:00
Jean Chalard
f466c27601 am 86893a3b: [HW8] Pull up the processed event.
* commit '86893a3b3f9ac939d00fcc665d25a8ddbced49ec':
  [HW8] Pull up the processed event.
2014-07-30 16:58:11 +00:00
Keisuke Kuroyanagi
f3f81d0e0e am f40adc97: Merge "Add a method to iterate ngram entries." into lmp-dev
* commit 'f40adc97cbe309bafc94492b615daa529752fabc':
  Add a method to iterate ngram entries.
2014-07-30 16:58:10 +00:00
Tadashi G. Takaoka
2505462da5 am f4a3fd48: Merge "Disptach hover events when sliding suggestion mode" into lmp-dev
* commit 'f4a3fd489339d6ab156bd317ab3fdf88f9fbb846':
  Disptach hover events when sliding suggestion mode
2014-07-30 16:58:09 +00:00
Jean Chalard
cea540145d am ae4e2036: [SD13] Reorder an enum alphabetically
* commit 'ae4e2036252555fbed0fc63cee0b5879408788e7':
  [SD13] Reorder an enum alphabetically
2014-07-30 16:58:08 +00:00
Jean Chalard
67bb9d83ae am 3a729d4e: [SD12] Add the last remaining scripts
* commit '3a729d4ed8f3018663af74abc2ae4ac3f4bb33d7':
  [SD12] Add the last remaining scripts
2014-07-30 16:58:07 +00:00
Jean Chalard
26b072013f am 7c5cd5ec: [SD11] Add script checks for Myanmar, Sinhala, Thai and Telugu
* commit '7c5cd5ec89c0d90c3dbac032c61ee04468ecdc87':
  [SD11] Add script checks for Myanmar, Sinhala, Thai and Telugu
2014-07-30 16:58:04 +00:00
Jean Chalard
1d1ba8ec2c am 0304c777: Merge "[SD10] Add script checks for Lao and Khmer" into lmp-dev
* commit '0304c77750e1ff6504a70ef3d5e16f3d334bd510':
  [SD10] Add script checks for Lao and Khmer
2014-07-30 16:58:02 +00:00
Ken Wakasa
ec8472b5f5 am 7f545a57: [HW7.5] Introduce the @Nonnull annotation (take 2)
* commit '7f545a57c987862d55966ac08ef64cfe0b9f51e4':
  [HW7.5] Introduce the @Nonnull annotation (take 2)
2014-07-30 16:58:00 +00:00
Jean Chalard
14d985bdbd am 0f6807bf: Merge "[HW7] Introduce consumed events" into lmp-dev
* commit '0f6807bfb44ca82e224921af1f16f18cdaa8b4e1':
  [HW7] Introduce consumed events
2014-07-30 16:57:59 +00:00
Jean Chalard
99e13e485a am bf2a3210: Merge "[HW6] Split processing and applying the event." into lmp-dev
* commit 'bf2a32100568a01d25edb56d3d9d46b5f5d2c0eb':
  [HW6] Split processing and applying the event.
2014-07-30 16:57:58 +00:00
Ken Wakasa
e6a9f79747 am 0b1fa0c1: Cleanup: C++11 doesn\'t require a space between angle brackets
* commit '0b1fa0c1c7572893365c019780357a817158e5ea':
  Cleanup: C++11 doesn't require a space between angle brackets
2014-07-30 16:57:57 +00:00
Ken Wakasa
93114fa05f am c4f6fc1e: Merge "Revert "[HW6] Split processing and applying the event."" into lmp-dev
* commit 'c4f6fc1e4868feb7bcbf2b0dc724eb9ed995780e':
  Revert "[HW6] Split processing and applying the event."
2014-07-30 16:57:56 +00:00
Ken Wakasa
55387ba417 am 9fbeeb60: Merge "Revert "[HW7] Introduce consumed events"" into lmp-dev
* commit '9fbeeb609f85d962e28f51c4b582601ef4a5cae9':
  Revert "[HW7] Introduce consumed events"
2014-07-30 16:57:55 +00:00