Jean Chalard
7fcf304c97
Fixing follow-up to I548d899b
...
I548d899b introduced a new method to fix a sync miss between
the cursor position and the cached cursor position, but did not
take into account that it should also update the cached text
before and after the cursor in this case and that there was
already a method for doing this.
Change-Id: I31bd741893207c822827304e77791b1159774e1a
2013-06-26 15:28:42 +09:00
Keisuke Kuroynagi
36108c2f85
am 5bf1be71: Add jni methods for dynamically handling a dictionary.
...
* commit '5bf1be71629607e7206e6203489cf742d2f8ed79':
Add jni methods for dynamically handling a dictionary.
2013-06-25 22:32:43 -07:00
Keisuke Kuroynagi
5bf1be7162
Add jni methods for dynamically handling a dictionary.
...
Bug: 6669677
Change-Id: I8a26623adbb41a78e3c023c652be635c635e3b47
2013-06-26 12:51:33 +09:00
Baligh Uddin
4da287d0d1
Merge "Import translations. DO NOT MERGE"
2013-06-25 20:15:49 +00:00
Baligh Uddin
08215024c0
Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle
2013-06-25 20:15:30 +00:00
Jean Chalard
2f69348d51
Resume suggestion at start input
...
Bug: 9568410
Change-Id: I65468268f8613c863fa7f3a497b64656da0a221c
2013-06-25 19:38:31 +09:00
Ken Wakasa
ed42ccf102
am fd0945b0: Merge "Make UserLogRingCharBuffer an external class"
...
* commit 'fd0945b0da3e53109afc346432a7a8b40d715a0f':
Make UserLogRingCharBuffer an external class
2013-06-25 02:42:13 -07:00
Ken Wakasa
fd0945b0da
Merge "Make UserLogRingCharBuffer an external class"
2013-06-25 09:40:31 +00:00
Ken Wakasa
9419e02fd9
Make UserLogRingCharBuffer an external class
...
Change-Id: I9d506995337d64ec11c72939a8d739423ee46efa
2013-06-25 18:38:13 +09:00
Jean Chalard
12d0e4f337
am 333362ad: Merge "Fix the one-suggestion case."
...
* commit '333362adfc2a6a3df980a23ea58eceea5f695b46':
Fix the one-suggestion case.
2013-06-25 02:12:01 -07:00
Jean Chalard
333362adfc
Merge "Fix the one-suggestion case."
2013-06-25 09:10:09 +00:00
Jean Chalard
d7d5ff1f99
Fix the one-suggestion case.
...
When there is only one suggestion, this code does
not work. The reason for that is, it's not homogeneous
at all and takes indices of one thing into another.
Not completely related to b/8839763, but realized
working on this and needed to have it addressed.
Bug: 8839763
Change-Id: I422730cc7eebb69ff421a171025af0390ebcdf92
2013-06-25 18:00:30 +09:00
Keisuke Kuroynagi
9a5e0d9cfd
am 38b54262: Merge "Add a parameter isUpdatable to the constructor of BinaryDictionary."
...
* commit '38b542629adb4e79cb08f6324f82307784e3da0f':
Add a parameter isUpdatable to the constructor of BinaryDictionary.
2013-06-25 01:45:58 -07:00
Keisuke Kuroynagi
38b542629a
Merge "Add a parameter isUpdatable to the constructor of BinaryDictionary."
2013-06-25 08:44:48 +00:00
Keisuke Kuroynagi
981717da4c
Add a parameter isUpdatable to the constructor of BinaryDictionary.
...
Bug: 6669677
Change-Id: I6bc25131afd97112e3bbde036a81ab559a9a6460
2013-06-25 17:39:06 +09:00
Ken Wakasa
a158159411
am 12ef7d37: Merge "Cleanup under the utils package"
...
* commit '12ef7d37021e2f99de5cc15826cc6dcd3250c41a':
Cleanup under the utils package
2013-06-25 01:30:21 -07:00
Ken Wakasa
12ef7d3702
Merge "Cleanup under the utils package"
2013-06-25 08:20:57 +00:00
Ken Wakasa
03118a2760
Cleanup under the utils package
...
Change-Id: If2f7bd1346cc5085bf57645830f0faac44d017e4
2013-06-25 17:09:12 +09:00
Keisuke Kuroynagi
162f1f8928
am 8bc0b513: Merge "Allow mmapping dictionary file in writable mode in openNative."
...
* commit '8bc0b51369822b50c701cfe5a6ec612e5c94f75a':
Allow mmapping dictionary file in writable mode in openNative.
2013-06-25 00:11:18 -07:00
Keisuke Kuroynagi
8bc0b51369
Merge "Allow mmapping dictionary file in writable mode in openNative."
2013-06-25 07:09:37 +00:00
Keisuke Kuroynagi
f3b62900c7
Allow mmapping dictionary file in writable mode in openNative.
...
Bug: 6669677
Change-Id: I447668932de118b158fa029ddc977b3f3cc06cb8
2013-06-25 16:03:33 +09:00
Baligh Uddin
d2f0d82220
Import translations. DO NOT MERGE
...
Change-Id: I17e9ad751b1e628c8a60bc2234180a37716d10e9
Auto-generated-cl: translation import
2013-06-24 22:02:24 -07:00
Jean Chalard
cdb9fbfef7
am 10585620: Merge "Fix a bug in the cached cursor pos, and simplify selection handling"
...
* commit '10585620bdfad418f6c093ab4bfd8efaa2d84abf':
Fix a bug in the cached cursor pos, and simplify selection handling
2013-06-24 22:01:55 -07:00
Jean Chalard
10585620bd
Merge "Fix a bug in the cached cursor pos, and simplify selection handling"
2013-06-25 05:00:11 +00:00
Baligh Uddin
894e7962eb
Import translations. DO NOT MERGE
...
Change-Id: Id9bb0441fc30d6e75a23afc4b47a17d674d2c4c8
Auto-generated-cl: translation import
2013-06-24 21:57:51 -07:00
Kurt Partridge
d57a26b2a1
am 1fc6b800: Merge "Move splash screen to separate file"
...
* commit '1fc6b800095e2f630b006a61cea5f23feefb9a63':
Move splash screen to separate file
2013-06-24 06:41:46 -07:00
Kurt Partridge
1fc6b80009
Merge "Move splash screen to separate file"
2013-06-24 13:40:01 +00:00
Jean Chalard
260284110d
am cdf77412: Merge "Fix a small bug"
...
* commit 'cdf774122d29754d91aac162f7e7416b65583ea9':
Fix a small bug
2013-06-24 03:01:53 -07:00
Jean Chalard
cdf774122d
Merge "Fix a small bug"
2013-06-24 10:00:05 +00:00
Ken Wakasa
292c5cc1d2
am bfaf349c: Load the native lib eagerly
...
* commit 'bfaf349c3554e11af8227a5f0807a74107a93069':
Load the native lib eagerly
2013-06-24 02:16:04 -07:00
Ken Wakasa
bfaf349c35
Load the native lib eagerly
...
in the hope of avoiding UnsatisfiedLinkError. This is definitely not a
confident fix as we still don't know the root cause of the issue.
bug: 9325110
Change-Id: I1abf8031b98509f63fce6a2d069d497895ea712c
2013-06-24 18:12:04 +09:00
Ken Wakasa
d5f635a72f
am bc181318: Merge "Move util classes to the latin/utils directory"
...
* commit 'bc1813186df823e4e1a5aabceb3198674387061e':
Move util classes to the latin/utils directory
2013-06-24 01:51:02 -07:00
Ken Wakasa
bc1813186d
Merge "Move util classes to the latin/utils directory"
2013-06-24 08:49:06 +00:00
Tadashi G. Takaoka
e189103e00
am fadff6ad: Merge "Fix possible divided by zeror error"
...
* commit 'fadff6ada189ab789daae76fb9d603d26244ee1c':
Fix possible divided by zeror error
2013-06-24 01:45:45 -07:00
Tadashi G. Takaoka
fadff6ada1
Merge "Fix possible divided by zeror error"
2013-06-24 08:44:17 +00:00
Tadashi G. Takaoka
bafe4b8a4e
Fix possible divided by zeror error
...
Bug: 9534022
Change-Id: I5ab575c724fd7a9e80c76a93d83949e81b2970bb
2013-06-24 17:39:36 +09:00
Jean Chalard
ca52e1ca5a
Fix a small bug
...
SpannableStrings are not the only type of Spanned, they are
only the mutable kind. SpannedString is the immutable one.
Spanned is the correct class to use there.
Bug: 8839763
Bug: 8862327
Change-Id: Ic5e6199a51f22368914f2748ac2d0d1ca6a33f78
2013-06-24 17:39:17 +09:00
Ken Wakasa
e28eba5074
Move util classes to the latin/utils directory
...
Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
2013-06-24 17:04:40 +09:00
Jean Chalard
4023340775
am c074c335: Merge "Refactor text range to be able to get spans larger than the word"
...
* commit 'c074c3357c3bb0dfe92fff90bccbcab2b6ec422e':
Refactor text range to be able to get spans larger than the word
2013-06-23 23:11:36 -07:00
Jean Chalard
e8c4b99e56
Refactor text range to be able to get spans larger than the word
...
This changes how the Range class stores its data, but not its
functionality. It also improves encapsulation a bit.
Bug: 8839763
Bug: 8862327
Change-Id: I5bd583b3fc96a99b93a2632882d8fd587c03ab76
2013-06-24 12:31:14 +09:00
Tadashi G. Takaoka
82e21ee260
am 564ad492: Merge "Enable long-press digit input for tablets"
...
* commit '564ad4927c784e541e7f00bb17bea416cb06115e':
Enable long-press digit input for tablets
2013-06-23 18:18:42 -07:00
Tadashi G. Takaoka
564ad4927c
Merge "Enable long-press digit input for tablets"
2013-06-24 01:16:57 +00:00
Kurt Partridge
1a0750dc95
Move splash screen to separate file
...
Change-Id: I5cad5d5814303d7ca4abadd3fca1c37bd1bc357e
2013-06-22 10:24:13 -07:00
Jean Chalard
3f391865c1
am b7a2fd16: Merge "Defer disk-intensive tasks until after the keyboard is shown"
...
* commit 'b7a2fd16a139046587daaf44fdf73fed95cf6248':
Defer disk-intensive tasks until after the keyboard is shown
2013-06-21 03:59:38 -07:00
Jean Chalard
b7a2fd16a1
Merge "Defer disk-intensive tasks until after the keyboard is shown"
2013-06-21 10:57:33 +00:00
Jean Chalard
673c727b7a
Defer disk-intensive tasks until after the keyboard is shown
...
Bug: 8689779
Change-Id: Ia78d3540f44ec0028c3246a8e0163e9ecf061ecf
2013-06-21 19:41:45 +09:00
Tadashi G. Takaoka
2cf3056354
am d02daf20: Merge "Fix punctuations strip"
...
* commit 'd02daf201631e5da042a43faf86e439c6904564c':
Fix punctuations strip
2013-06-21 02:25:27 -07:00
Jean Chalard
e5dee0af4a
Fix a bug in the cached cursor pos, and simplify selection handling
...
The documentation for setComposingRegion states explicitly
that it does not move the cursor. This is just a bug.
This does not have any ill effects right now, but it will have
in later changes if not fixed.
As for the selection handling, the specific test that this code
removes used to serve a purpose, but it does not any more because
the code using the value has been much sanitized. Now the variable
can just take the obvious value, and become so self-explanatory
that the comments are unnecessary.
Change-Id: I548d899b38776bd3ab5f5361aab0d89d98f12e73
2013-06-21 18:15:07 +09:00
Tadashi G. Takaoka
9b570b5e62
Fix punctuations strip
...
Bug: 9508186
Change-Id: I8f0fbf4e0578cf9116d4c57e7e5747d38c89387e
2013-06-21 13:22:37 +09:00
Tadashi G. Takaoka
ecd3b51444
Enable long-press digit input for tablets
...
Bug: 6632204
Change-Id: I8a62e78367c87c2fbb8f14575aef98035fa8440e
2013-06-21 13:00:23 +09:00
Baligh Uddin
0c178ffc8e
Merge "Import translations. DO NOT MERGE"
2013-06-20 16:41:32 +00:00
Baligh Uddin
a4d57a1790
Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle
2013-06-20 16:41:14 +00:00
Jean Chalard
31036b9b18
am 93f74baf: Merge "Add tests to dicttool test."
...
* commit '93f74bafbb7e3fde207575a87c197c59f32411bd':
Add tests to dicttool test.
2013-06-20 01:35:47 -07:00
Jean Chalard
93f74bafbb
Merge "Add tests to dicttool test."
2013-06-20 08:34:38 +00:00
Jean Chalard
23d4eb55ba
Add tests to dicttool test.
...
Bug: 8526576
Change-Id: Idd6f9cd076d5915361c68f5c29afbba67dd54eba
2013-06-20 17:29:37 +09:00
Tadashi G. Takaoka
7eb3b05cde
am 7937f092: Lengthen CHAR LIMIT of settings_system_default
...
* commit '7937f09264623f38b411be2b5cca77f42fd192f9':
Lengthen CHAR LIMIT of settings_system_default
2013-06-19 21:13:33 -07:00
Tadashi G. Takaoka
7937f09264
Lengthen CHAR LIMIT of settings_system_default
...
Bug: 9495443
Change-Id: Ib52d0ab357e79ae6004411f4b4201570a228bc71
2013-06-20 12:08:37 +09:00
Baligh Uddin
d5e245bcaa
Import translations. DO NOT MERGE
...
Change-Id: Ic7508cb2b5098403786af2f2e220d908dab51e8d
Auto-generated-cl: translation import
2013-06-19 15:50:15 -07:00
Baligh Uddin
cff0696c27
Import translations. DO NOT MERGE
...
Change-Id: Ife8eafcb6b5951ade90967368fa461406c77be83
Auto-generated-cl: translation import
2013-06-19 15:45:17 -07:00
Tadashi G. Takaoka
3542fb9f27
am 9380b56d: Support digits more keys in Hebrew phone keyboard
...
* commit '9380b56db64b1ad5d165972e3bcc0ff75bba6768':
Support digits more keys in Hebrew phone keyboard
2013-06-18 19:46:04 -07:00
Tadashi G. Takaoka
9380b56db6
Support digits more keys in Hebrew phone keyboard
...
Bug: 9431432
Change-Id: Ie1d438e0483022eac97cec52a64e49fbd3c7d503
2013-06-19 10:14:06 +09:00
Tadashi G. Takaoka
6e86ebe822
am c90181d6: Use system default key press volume
...
* commit 'c90181d6aa42c4c0b56ccc21528dcef84d186c53':
Use system default key press volume
2013-06-18 09:05:47 -07:00
Tadashi G. Takaoka
7c1c4f3544
am af69a14c: Use system default vibration pattern
...
* commit 'af69a14c9684ef6f7a14e60cb635f96db530f6e7':
Use system default vibration pattern
2013-06-18 08:56:09 -07:00
Tadashi G. Takaoka
c90181d6aa
Use system default key press volume
...
Bug: 9475973
Change-Id: I6ae825b161dde69e19b52d73fb9aa782e2aa7423
2013-06-18 21:34:30 +09:00
Tadashi G. Takaoka
af69a14c96
Use system default vibration pattern
...
Bug: 9468462
Change-Id: Ifa46a56873c10888da8eaa2782fe07ef138a141b
2013-06-18 21:33:51 +09:00
Jean Chalard
0cae172563
am 3b5a503e: Merge "Optimize ProximityInfo#computeNearestNeighbors()"
...
* commit '3b5a503ebf08011fe852ac5b2e380f5a6a9cb93a':
Optimize ProximityInfo#computeNearestNeighbors()
2013-06-18 04:48:35 -07:00
Jean Chalard
3b5a503ebf
Merge "Optimize ProximityInfo#computeNearestNeighbors()"
2013-06-18 11:45:06 +00:00
Jean Chalard
d55baf06d9
Optimize ProximityInfo#computeNearestNeighbors()
...
This cuts the time spent in computeNearestNeigbors by
a factor of 6 to 20, with an average at about 8.
This method representing about 25% of the total time
spent when switching keyboards, this change is a
20% improvement in layout switching time.
Bug: 8689779
Change-Id: Icb465f6010b317c7156057891c3341e51a198688
2013-06-18 20:33:52 +09:00
Tadashi G. Takaoka
6451fd3543
am 500b1f41: Merge "Get value text from ValueProxy"
...
* commit '500b1f410d65e461e667f72564d4c1579c26d1ac':
Get value text from ValueProxy
2013-06-18 02:31:29 -07:00
Tadashi G. Takaoka
3be8263035
Get value text from ValueProxy
...
As a preparation to show "system default" in the settings. LatinIME
can't know the actual system default value.
Bug: 9468462
Change-Id: I0b7898d1ca29ded7a619dd636d2ad16eb0db292e
2013-06-18 18:27:17 +09:00
Jean Chalard
188856aed0
am 286877b3: Merge "Fix a bug with recapitalization"
...
* commit '286877b3afc6309b70c5216f05b94729aeb844f3':
Fix a bug with recapitalization
2013-06-17 04:50:28 -07:00
Jean Chalard
2a81943d16
Fix a bug with recapitalization
...
This is a shameful bug :/
Bug: 9410367
Change-Id: I54ddbcd0323fa2c11fbd2aa8a1b3d2e07f6e83c8
2013-06-17 20:39:06 +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
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
2933f9e8b3
Merge "Import translations. DO NOT MERGE"
2013-06-11 16:26:45 +00: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
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
Baligh Uddin
1f140aff16
Import translations. DO NOT MERGE
...
Change-Id: I211045009e5013d31e4f97ce41c96159d5c5a601
Auto-generated-cl: translation import
2013-06-10 13:26:13 -07:00