Commit graph

14756 commits

Author SHA1 Message Date
Keisuke Kuroynagi
6bfeeb8694 Support multi words input for gesture.
Bug: 8591918

Change-Id: I344f936907a385cc6c3c8a2215a6603938483401
2013-06-17 19:04:29 +09:00
Kurt Partridge
fc9c896c40 am 14718ab8: Merge "Log score, kind, and sourceDict for manual suggestion and gesture"
* commit '14718ab898e2f23b078b9f25aa234c1e673517c7':
  Log score, kind, and sourceDict for manual suggestion and gesture
2013-06-14 10:04:51 -07:00
Kurt Partridge
14718ab898 Merge "Log score, kind, and sourceDict for manual suggestion and gesture" 2013-06-14 17:03:03 +00:00
Keisuke Kuroynagi
0631f46c0d am 0052dbda: Support keys that have uncommon width.
* commit '0052dbda762b1871c3214a6abeb5e89f11e091cd':
  Support keys that have uncommon width.
2013-06-14 05:25:56 -07:00
Keisuke Kuroynagi
0052dbda76 Support keys that have uncommon width.
Bug: 8591918

Change-Id: I1e01e1560200333f9e35993af0aa7e5a17e6944f
2013-06-14 20:41:39 +09:00
Keisuke Kuroynagi
4e1742bdfe am 1ff81e88: Use bloom filter in multi bigram map.
* commit '1ff81e889045d35ff8420b266398e73239bd15c9':
  Use bloom filter in multi bigram map.
2013-06-14 04:40:23 -07:00
Keisuke Kuroynagi
1ff81e8890 Use bloom filter in multi bigram map.
Evaluated with previous word "this".
without bloom filter (use only hash_map):
Total 147792.34 (sum of others 147771.57)
with bloom filter:
Total 145900.64 (sum of others 145874.30)
always read binary dictionary:
Total 148603.14 (sum of others 148579.90)

Bug: 8592527
Change-Id: I821dc39454543826adb73b9eeeef6408fad8ae28
2013-06-14 20:35:41 +09:00
Keisuke Kuroynagi
98c1139b32 am 4f191935: Merge "Introduce BinaryDictionaryBigramsIterator to access bigrams attributes in binary dictionaries."
* commit '4f19193560c2eb4ecc9111b6c6daaae83352e649':
  Introduce BinaryDictionaryBigramsIterator to access bigrams attributes in binary dictionaries.
2013-06-14 04:28:52 -07:00
Keisuke Kuroynagi
4f19193560 Merge "Introduce BinaryDictionaryBigramsIterator to access bigrams attributes in binary dictionaries." 2013-06-14 11:24:18 +00:00
Keisuke Kuroynagi
a71ed8caa2 Introduce BinaryDictionaryBigramsIterator to access bigrams attributes in binary dictionaries.
Bug: 6669677

Change-Id: Ifb1adebc5305a930c80396f6b4ec31d84400a9dc
2013-06-14 18:12:56 +09:00
Jean Chalard
57eecc0476 am 78b881bf: Merge "Fix a bug with long user dict entries"
* commit '78b881bf5a0f67b4cbb681f64dc3ccba4f19b393':
  Fix a bug with long user dict entries
2013-06-14 02:00:54 -07:00
Jean Chalard
78b881bf5a Merge "Fix a bug with long user dict entries" 2013-06-14 08:59:51 +00:00
Tadashi G. Takaoka
9a848fc867 am 97eaa543: Don\'t count Spacer into histograms
* commit '97eaa543d5fd4ac57516a586477641c129828b5d':
  Don't count Spacer into histograms
2013-06-14 01:31:32 -07:00
Tadashi G. Takaoka
97eaa543d5 Don't count Spacer into histograms
Change-Id: I202a25da4e1a722aa35c57665d73bc5990404c4e
2013-06-14 16:21:37 +09:00
Jean Chalard
6233ee3633 Fix a bug with long user dict entries
Bug: 9410958
Change-Id: I966e452c6dbdcb444abbb6ffb316849a7c85a73b
2013-06-14 12:40:35 +09:00
Kurt Partridge
fc98325c61 Log score, kind, and sourceDict for manual suggestion and gesture
b/9422713

Change-Id: I4880fad6a5b10d09ca11b63311f14862bee724e5
2013-06-13 11:03:49 -07:00
Jean Chalard
a57bf38e19 am 27d9c6f7: Merge "Cache subtype lists reasonably."
* commit '27d9c6f795a0856c401b3d4189f60be71bac0e98':
  Cache subtype lists reasonably.
2013-06-12 18:51:05 -07:00
Jean Chalard
27d9c6f795 Merge "Cache subtype lists reasonably." 2013-06-13 01:49:41 +00:00
Kurt Partridge
681f123968 am e72d1a07: Merge "Allow downloadable dictionaries in development builds"
* commit 'e72d1a07b6c52e3bcc7f099c81a14dab2fadf459':
  Allow downloadable dictionaries in development builds
2013-06-12 14:25:22 -07:00
Kurt Partridge
e72d1a07b6 Merge "Allow downloadable dictionaries in development builds" 2013-06-12 21:22:34 +00:00
Kurt Partridge
37621957a3 am 3d9ebf21: Merge "Make intents unique to AOSP"
* commit '3d9ebf213cf795958bca1c036002eb657d1a8366':
  Make intents unique to AOSP
2013-06-12 11:13:37 -07:00
Kurt Partridge
3d9ebf213c Merge "Make intents unique to AOSP" 2013-06-12 18:11:17 +00:00
Kurt Partridge
5062442fd5 am 14dd52b8: Merge "Adjust settings for development-only versions"
* commit '14dd52b8c058b27adb17777536ff11c4b69616fc':
  Adjust settings for development-only versions
2013-06-12 09:52:54 -07:00
Kurt Partridge
14dd52b8c0 Merge "Adjust settings for development-only versions" 2013-06-12 16:50:55 +00:00
Kurt Partridge
3cdea37c6d am eac0eb89: Merge "Fix ResearchLogger feedback bug"
* commit 'eac0eb89f23a9962ece6eb884ce41610e0b85ea0':
  Fix ResearchLogger feedback bug
2013-06-12 08:41:11 -07:00
Kurt Partridge
eac0eb89f2 Merge "Fix ResearchLogger feedback bug" 2013-06-12 15:38:45 +00:00
Jean Chalard
ff6445ed0e Cache subtype lists reasonably.
This will spare a lot of IPC for Latin IME at the cost of very little
retained memory.
This improves the loading by potentially a lot - between 15 and 30%
when the layout is cached (which should now be the case almost every
time), and half that if it's not. More importantly, it makes the
load time less sensitive to high device load, which is one of the
sore points.

Bug: 8689779
Change-Id: I2e07736f1a92c38eed0e203bc690761a181da8b9
2013-06-12 18:04:52 +09:00
Kurt Partridge
2a1a463e2e Adjust settings for development-only versions
Change-Id: I4f08632d97f182d312edc82bda3c3897a71099ad
2013-06-12 02:01:45 -07:00
Tadashi G. Takaoka
e18732ef52 am dfd96be0: Retun an empty Path instead of null
* commit 'dfd96be03aba78f4bdb3b64d1b5d3f55429a0c03':
  Retun an empty Path instead of null
2013-06-12 01:39:36 -07:00
Tadashi G. Takaoka
dfd96be03a Retun an empty Path instead of null
Bug: 9374496
Change-Id: If74306104e9d25288e1b216a328304da376c1bdb
2013-06-12 17:35:02 +09:00
Kurt Partridge
19ba5e67af Fix ResearchLogger feedback bug
If the logger feedback screen is up and the user hits the home button or the
keyboard otherwise closes, the system won't let the user enter feedback again,
because it is waiting for the user to finish the first one.

With this change, the state associated with the feedback screen is
cleared when the user closes the keyboard.

b/9398772

Change-Id: I832a82793ad42e31b6b3fdb04fabcea75facde7d
2013-06-12 00:37:46 -07:00
Kurt Partridge
2c1796c226 Make intents unique to AOSP
This is to avoid confusion if multiple IMEs are installed with
dictionary pack components

Change-Id: Ibc91951e4fdd5db13f681e4cb06197da98527bbc
2013-06-11 15:04:00 -07:00
Baligh Uddin
1b2e6fbff4 am 2933f9e8: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '2933f9e8b3300e4fd22e177a09a95bac9cd4a897':
  Import translations. DO NOT MERGE
2013-06-11 09:28:10 -07:00
Baligh Uddin
2933f9e8b3 Merge "Import translations. DO NOT MERGE" 2013-06-11 16:26:45 +00:00
Ken Wakasa
2c895d4d3a am f473f4b1: Remove unused macros in defines.h
* commit 'f473f4b1ebfd30756b520f1d1233c3391e1d35b8':
  Remove unused macros in defines.h
2013-06-11 04:20:30 -07:00
Ken Wakasa
f473f4b1eb Remove unused macros in defines.h
bug: 8550444
Change-Id: I77ae6bd607032def05044e3045aa7cc3746b0a5b
2013-06-11 20:09:07 +09:00
Keisuke Kuroynagi
61e9de73e0 am 0b7cd6a0: Fix: Android.mk for autocorrection_threshold_utils.
* commit '0b7cd6a0b27a3ad9c22f5fdf7f36fb8628384e17':
  Fix: Android.mk for autocorrection_threshold_utils.
2013-06-11 02:08:53 -07:00
Keisuke Kuroynagi
0b7cd6a0b2 Fix: Android.mk for autocorrection_threshold_utils.
Change-Id: I3ea0811ca7c2c1a88351ee2ba5cc13d7096865ba
2013-06-11 18:05:04 +09:00
Keisuke Kuroynagi
675507766a am 527c1283: Remove unused methods.
* commit '527c128309da708d0fdaf7928da833320d1754e9':
  Remove unused methods.
2013-06-11 01:57:02 -07:00
Keisuke Kuroynagi
527c128309 Remove unused methods.
Bug: 8550444

Change-Id: Ie627084143846407ca36df82c2a7f904a0e6f49c
2013-06-11 17:04:40 +09:00
Jean Chalard
35b514bdb1 am cd4edc15: Merge "Cache three main keyboards to improve average switch time"
* commit 'cd4edc15a57bf475d0004a427872f9a87391aff8':
  Cache three main keyboards to improve average switch time
2013-06-10 20:23:24 -07:00
Keisuke Kuroynagi
1784d92e6f am e3338420: Merge "Introduce BinaryDictionaryHeader to access binary dictionary header."
* commit 'e3338420f6a0c0491d55af0536123f71959d9f80':
  Introduce BinaryDictionaryHeader to access binary dictionary header.
2013-06-10 20:20:13 -07:00
Jean Chalard
cd4edc15a5 Merge "Cache three main keyboards to improve average switch time" 2013-06-11 03:19:38 +00:00
Keisuke Kuroynagi
e3338420f6 Merge "Introduce BinaryDictionaryHeader to access binary dictionary header." 2013-06-11 03:18:04 +00:00
Jean Chalard
4d8f9f1cab Cache three main keyboards to improve average switch time
This typically improves the average loading time by about
35%, after the first time.

Bug: 8689779
Change-Id: I7b0ab6b942af1d3250b9dcbf875f27f9f64692f3
2013-06-11 12:01:56 +09:00
Keisuke Kuroynagi
bd0d1afdb2 Introduce BinaryDictionaryHeader to access binary dictionary header.
BinaryDictionaryHeader abstracts header structure and access header information via only its instance.

Bug: 6669677

Change-Id: Ib5ab0e8fef12265ddabc1d0165548b69953bba6a
2013-06-11 12:01:49 +09:00
Baligh Uddin
1f140aff16 Import translations. DO NOT MERGE
Change-Id: I211045009e5013d31e4f97ce41c96159d5c5a601
Auto-generated-cl: translation import
2013-06-10 13:26:13 -07:00
The Android Open Source Project
f0bdb131ab am 96c46273: (-s ours) am 2f387da0: (-s ours) Reconcile with jb-mr2-release jb-mr2-zeroday-release - do not merge
* commit '96c46273575a096de04c10efe91dbca3ac1214a3':
  Add HTC One special edition (DO NOT MERGE)
2013-06-10 11:15:23 -07:00
The Android Open Source Project
96c4627357 am 2f387da0: (-s ours) Reconcile with jb-mr2-release jb-mr2-zeroday-release - do not merge
* commit '2f387da0ac1495f80ca5bc4c928e2b9c1e3fb040':
  Add HTC One special edition (DO NOT MERGE)
2013-06-10 11:11:58 -07:00
The Android Open Source Project
2f387da0ac Reconcile with jb-mr2-release jb-mr2-zeroday-release - do not merge
Change-Id: I974082d633cb4b996ec0fb718be4f487f42bf0fc
2013-06-10 08:14:13 -07:00