Commit graph

35168 commits

Author SHA1 Message Date
Jean Chalard
e6df5f015c [ML5] Rewrite resetDictionariesWithDictNamePrefix
This change rewrites resetDictionariesWithDictNamePrefix so
that it would work if there were several locales, which is going to
happen shortly. This change on its own is quite large and difficult
already, so I didn't want to merge it into the change that actually
makes several locales happen; another such change is following.

Change-Id: Ibb80b05b73c0f0f0bea64b7e308cc4d38ca448f9
2014-09-11 19:05:19 +09:00
Yohei Yukawa
ead70974ae am 27ccbeb4: am cd119050: Support CursorAnchorInfo in the full-screen mode
* commit '27ccbeb4e69e32641c20afa32d8e57c46fcc412e':
  Support CursorAnchorInfo in the full-screen mode
2014-09-11 10:05:10 +00:00
Yohei Yukawa
27ccbeb4e6 am cd119050: Support CursorAnchorInfo in the full-screen mode
* commit 'cd11905022306c9b95f8781f0f8b23a3570f30e9':
  Support CursorAnchorInfo in the full-screen mode
2014-09-11 09:54:42 +00:00
Yohei Yukawa
cd11905022 Support CursorAnchorInfo in the full-screen mode
This CL allows to emulate the behavior of CursorAnchorInfo
in the full-screen mode to work around the limitation of
the framework.

Basically this CL copies relevant code from the framework
to LatinIME. This is actually a code duplicate which isn't
great, but probably the only way that is available right now.

Change-Id: I30bc8c3387c91c8e47252ba699cbd967d8927dad
2014-09-11 18:36:53 +09:00
Keisuke Kuroyanagi
00fd1d6a30 am eff9be9c: Merge "Implement IntArrayView.copyToBuffer()."
* commit 'eff9be9cd63ed209c2bee833e6caf10d8f127aed':
  Implement IntArrayView.copyToBuffer().
2014-09-11 07:17:00 +00:00
Keisuke Kuroyanagi
eff9be9cd6 Merge "Implement IntArrayView.copyToBuffer()." 2014-09-11 07:08:30 +00:00
Keisuke Kuroyanagi
a3b0eb1685 Implement IntArrayView.copyToBuffer().
Bug: 14425059
Change-Id: Ic1b7de72701eae0c0b1bb28d12514099446a66a9
2014-09-11 15:21:52 +09:00
Jatin Matani
7be2cc03d3 am 22bf1711: Merge "add productionFlag for checking split keyboard status"
* commit '22bf1711130b4a396b5e5d0d5d9a27cd5d92dadd':
  add productionFlag for checking split keyboard status
2014-09-11 05:45:03 +00:00
Jatin Matani
22bf171113 Merge "add productionFlag for checking split keyboard status" 2014-09-11 05:40:15 +00:00
Jatin Matani
f16c6326c1 add productionFlag for checking split keyboard status
Change-Id: Ic999c9b0b2c116858801b8c38363c956de6d5faf
2014-09-11 14:25:51 +09:00
Jatin Matani
8b7a49e30b am fd969281: Merge "Adds StatsUtil methods for LatinIME.on{Start,Create,Finish}inputView"
* commit 'fd969281753c4a2de02a6b502ac704da9c0abf05':
  Adds StatsUtil methods for LatinIME.on{Start,Create,Finish}inputView
2014-09-11 03:23:44 +00:00
Jatin Matani
fd96928175 Merge "Adds StatsUtil methods for LatinIME.on{Start,Create,Finish}inputView" 2014-09-11 03:14:57 +00:00
Keisuke Kuroyanagi
fcf6439891 am 4634b75d: Merge "Remove unigram probability from dicNode."
* commit '4634b75d3474aed6f1c69c283b36a18c261c53b5':
  Remove unigram probability from dicNode.
2014-09-10 13:17:11 +00:00
Keisuke Kuroyanagi
4634b75d34 Merge "Remove unigram probability from dicNode." 2014-09-10 13:11:04 +00:00
Keisuke Kuroyanagi
e4237c49a6 am 7db0ee86: Merge "Quit using dicNode.getUnigramProbability()."
* commit '7db0ee8660201439639cafd7429263e78c01fa88':
  Quit using dicNode.getUnigramProbability().
2014-09-10 13:06:40 +00:00
Keisuke Kuroyanagi
7b1c2d24b9 am 664d5c87: Merge "Use CodePointArrayView to create children DicNodes."
* commit '664d5c87a9319b5745290ccf4a1c04ccfa0e48d5':
  Use CodePointArrayView to create children DicNodes.
2014-09-10 13:06:39 +00:00
Keisuke Kuroyanagi
7db0ee8660 Merge "Quit using dicNode.getUnigramProbability()." 2014-09-10 13:04:11 +00:00
Keisuke Kuroyanagi
664d5c87a9 Merge "Use CodePointArrayView to create children DicNodes." 2014-09-10 12:59:29 +00:00
Keisuke Kuroyanagi
e6c03e9191 am ae41d359: Merge "Use WordAttributes for checking flags."
* commit 'ae41d359711d40470c478e90275acc698f3308fc':
  Use WordAttributes for checking flags.
2014-09-10 12:22:34 +00:00
Keisuke Kuroyanagi
d53aea5af9 Remove unigram probability from dicNode.
Bug: 14425059
Change-Id: Ie848e8568bb4dbb1d8358e823a881d9157a1aad3
2014-09-10 21:21:25 +09:00
Keisuke Kuroyanagi
c32356c229 Quit using dicNode.getUnigramProbability().
Bug: 14425059
Change-Id: I192070cc11e5d46c8413ebc19982d6a8c93577fc
2014-09-10 21:21:25 +09:00
Keisuke Kuroyanagi
521e2382da Use CodePointArrayView to create children DicNodes.
Change-Id: Ie940b6595f3f3f804fbb8dd03c710ea062b75af3
2014-09-10 21:21:23 +09:00
Keisuke Kuroyanagi
ae41d35971 Merge "Use WordAttributes for checking flags." 2014-09-10 12:13:30 +00:00
Keisuke Kuroyanagi
6881325ecf am 6443d799: Merge "Introduce WordAttributes to get word probability and flags."
* commit '6443d799ee99d8105ae3ba8654163e4007e4d2a0':
  Introduce WordAttributes to get word probability and flags.
2014-09-10 12:12:06 +00:00
Keisuke Kuroyanagi
6443d799ee Merge "Introduce WordAttributes to get word probability and flags." 2014-09-10 12:03:44 +00:00
Keisuke Kuroyanagi
0c202793dc am 6cc1cb63: Merge "Use getProbabilityOfWordInContext for prediction."
* commit '6cc1cb63720ff0f15272057a80c3126567884371':
  Use getProbabilityOfWordInContext for prediction.
2014-09-10 11:46:06 +00:00
Keisuke Kuroyanagi
1fa3c6e0eb am 38085ee7: Merge "Implement LanguageModelDictContent.getWordProbability()."
* commit '38085ee7ae7ce62913ba1188cf8f2a699516a963':
  Implement LanguageModelDictContent.getWordProbability().
2014-09-10 11:46:04 +00:00
Keisuke Kuroyanagi
6cc1cb6372 Merge "Use getProbabilityOfWordInContext for prediction." 2014-09-10 11:41:27 +00:00
Keisuke Kuroyanagi
38085ee7ae Merge "Implement LanguageModelDictContent.getWordProbability()." 2014-09-10 11:40:39 +00:00
Keisuke Kuroyanagi
87a5c76906 Use WordAttributes for checking flags.
Bug: 14425059
Change-Id: Idee84478a482a0e7b5cc53e5dbd4e2484584ba79
2014-09-10 19:51:57 +09:00
Keisuke Kuroyanagi
2111e3abc9 Introduce WordAttributes to get word probability and flags.
Bug: 14425059

Change-Id: Iee11d038e0893d7ddd6c52447907f8c55fecb6a5
2014-09-10 19:51:48 +09:00
Keisuke Kuroyanagi
11a48f92a5 Use getProbabilityOfWordInContext for prediction.
Bug: 14425059
Change-Id: I9d5c905a0adda3503c593bfbf0bb9af8d1686f5d
2014-09-10 19:51:14 +09:00
Keisuke Kuroyanagi
395fe8e98d Implement LanguageModelDictContent.getWordProbability().
Bug: 14425059
Change-Id: I290a05cee6f341caa25fb222892505529cef1eb7
2014-09-10 19:51:12 +09:00
Keisuke Kuroyanagi
0d7e3fcc2b am 41ee1f08: Merge "Enable personalization for multilingual users."
* commit '41ee1f089face03ef951a66fafca5a4462297a0c':
  Enable personalization for multilingual users.
2014-09-10 10:01:28 +00:00
Keisuke Kuroyanagi
18e153d463 am 53da06b8: Merge "Use MultiBigramMap in structure policy."
* commit '53da06b8056a5c5cfe7b9a1d75ffa4e9399b47d5':
  Use MultiBigramMap in structure policy.
2014-09-10 10:01:27 +00:00
Keisuke Kuroyanagi
41ee1f089f Merge "Enable personalization for multilingual users." 2014-09-10 10:00:11 +00:00
Keisuke Kuroyanagi
53da06b805 Merge "Use MultiBigramMap in structure policy." 2014-09-10 09:52:39 +00:00
Keisuke Kuroyanagi
a8af53329e am 89e34169: Get locale using detected language for personalization.
* commit '89e34169f825554fcf9325f855af302c5f63e785':
  Get locale using detected language for personalization.
2014-09-10 09:36:09 +00:00
Keisuke Kuroyanagi
af1a06d7e1 Enable personalization for multilingual users.
Bug: 16547557
Change-Id: I03eda34edc902fc4732d16d234216344d8d84d88
2014-09-10 18:23:09 +09:00
Keisuke Kuroyanagi
89e34169f8 Get locale using detected language for personalization.
Bug: 16547557
Change-Id: If3d88a548e5a2255ff81c819b056f77bfbe237ae
2014-09-10 18:23:07 +09:00
Mohammadinamul Sheik
e3a991ffac am 97243cea: Merge "Add backspace event methods to StatsUtils"
* commit '97243cea28d83121718ec1ed2ca93fb1ceb334f5':
  Add backspace event methods to StatsUtils
2014-09-10 06:56:33 +00:00
Keisuke Kuroyanagi
a5fa5b509d am 934e1d80: Merge "Move case and OOV detection logic into distracter filter."
* commit '934e1d8087e8988a109b03f00d7d2a9ceedb3f20':
  Move case and OOV detection logic into distracter filter.
2014-09-10 06:56:31 +00:00
Jatin Matani
1c45f9142b Adds StatsUtil methods for LatinIME.on{Start,Create,Finish}inputView
Change-Id: I4e7dc008b98e398c38aafea5cb31156dde7f42ea
2014-09-10 15:55:15 +09:00
Mohammadinamul Sheik
97243cea28 Merge "Add backspace event methods to StatsUtils" 2014-09-10 04:56:23 +00:00
Keisuke Kuroyanagi
934e1d8087 Merge "Move case and OOV detection logic into distracter filter." 2014-09-10 03:49:10 +00:00
Keisuke Kuroyanagi
d843081193 Move case and OOV detection logic into distracter filter.
Bug: 16547557

Change-Id: I8502585976deb5e93fff3b1e0266654b8a927bda
2014-09-10 11:25:34 +09:00
Mohammadinamul Sheik
acdd2e4572 Add backspace event methods to StatsUtils
Change-Id: Id45d217073e49ca5f2ba639b608d168d136bba58
2014-09-10 10:54:49 +09:00
Tadashi G. Takaoka
0198674ded am 63ee10d6: am c29276b7: am 12814352: am 486c4894: Keep aspect ratio of Material action key background
* commit '63ee10d63a67fd8e2de3047c4a8de1dbac0c9fc1':
  Keep aspect ratio of Material action key background
2014-09-09 15:16:49 +00:00
Tadashi G. Takaoka
63ee10d63a am c29276b7: am 12814352: am 486c4894: Keep aspect ratio of Material action key background
* commit 'c29276b782cfc45be5ab79177e991f2cba8fb04b':
  Keep aspect ratio of Material action key background
2014-09-09 15:03:15 +00:00
Baligh Uddin
b575170e64 Import translations. DO NOT MERGE
Change-Id: Id31c38a0c1c737071e3659fc374eaca40f441102
Auto-generated-cl: translation import
2014-09-09 04:23:48 -07:00