Commit Graph

7621 Commits (b62a5ed1e17d6f73938ef14efdf0a3bf20296372)

Author SHA1 Message Date
Satoshi Kataoka a2bfd46adf Use internal personal dictionary settings on JBMR2 or before
Bug: 9117704
Change-Id: I7e20b03daa23b59211235183cf48d933e32845e4
2013-06-27 19:20:05 +09:00
Satoshi Kataoka bd84a00fc1 Open an API in ExternalDictionaryGetterForDebug
and extend it

Change-Id: Id2ba8dd8928a6327d3b31eb35f7cc314e2d31050
2013-06-27 18:41:07 +09:00
Jean Chalard 5fee4909f1 am 2bbd78ab: Merge "Ignore spans that are not the right size."
* commit '2bbd78ab0a0e6eb15c22365d03f58ccbcaff51e6':
  Ignore spans that are not the right size.
2013-06-26 20:08:09 -07:00
Jean Chalard 2bbd78ab0a Merge "Ignore spans that are not the right size." 2013-06-27 03:06:47 +00:00
Jean Chalard 2f7f6257b6 Ignore spans that are not the right size.
Bug: 8839763
Bug: 8862327
Change-Id: I5d49c86edcbc0fc1b2b147856437cfbadd678377
2013-06-26 23:02:50 +09:00
Ken Wakasa 17e37743dd am 16c418be: Merge "Follow-up to I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a"
* commit '16c418bebcb0ff5347235b2a5963b983eae2fb64':
  Follow-up to I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a
2013-06-26 04:33:30 -07:00
Ken Wakasa 16c418bebc Merge "Follow-up to I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a" 2013-06-26 11:32:25 +00:00
Jean Chalard c98d08b6b0 am 6c0e4121: Merge "Resume suggestion at start input"
* commit '6c0e4121376e9ce0b96d656f3aea3bfd80f2215e':
  Resume suggestion at start input
2013-06-26 03:19:30 -07:00
Jean Chalard 6c0e412137 Merge "Resume suggestion at start input" 2013-06-26 10:18:32 +00:00
Ken Wakasa 0053bc5832 Follow-up to I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a
Change-Id: I741a12508a3a05e2e517e187a7f197e6a661eddb
2013-06-26 18:09:34 +09:00
Ken Wakasa fe7b76aca6 am b1b21d4e: Make sure to always keep native methods
* commit 'b1b21d4eeaae27057ece50307723ec3d5de8f2e3':
  Make sure to always keep native methods
2013-06-26 02:05:19 -07:00
Ken Wakasa b1b21d4eea Make sure to always keep native methods
Saw a problem with proguard

Change-Id: I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a
2013-06-26 17:58:39 +09:00
Jean Chalard f608f0a6d3 am a690f3bc: Merge "Readability improvement"
* commit 'a690f3bc40268ccee20c44c7e359890b34eb2a8a':
  Readability improvement
2013-06-26 00:38:43 -07:00
Jean Chalard 9252ea38a9 am 173f74bb: Merge "Fixing follow-up to I548d899b"
* commit '173f74bb18016ccab3e5fad4c86c5201add41c30':
  Fixing follow-up to I548d899b
2013-06-26 00:38:42 -07:00
Jean Chalard a690f3bc40 Merge "Readability improvement" 2013-06-26 07:37:15 +00:00
Jean Chalard 173f74bb18 Merge "Fixing follow-up to I548d899b" 2013-06-26 07:36:44 +00:00
Jean Chalard fb72890ac6 Readability improvement
Change-Id: I2f350145f333ba1fa4eb20027b0f41107c2df02c
2013-06-26 16:03:40 +09:00
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
Baligh Uddin 8ea77542f9 Merge "Import translations. DO NOT MERGE" 2013-06-07 17:10:49 +00:00
Satoshi Kataoka 28c7e63426 am fe95e7b1: Merge "Fix possible NPE"
* commit 'fe95e7b1bf06c26f71d3e2899fcdf63647d9f670':
  Fix possible NPE
2013-06-07 04:11:29 -07:00
Satoshi Kataoka fe95e7b1bf Merge "Fix possible NPE" 2013-06-07 11:09:52 +00:00
Tadashi G. Takaoka c68632af62 am 77f63c8a: Don\'t use RichInputMethodManager in setup wizard
* commit '77f63c8ac64c46de36002fd62c71f1eeebcaf2ac':
  Don't use RichInputMethodManager in setup wizard
2013-06-07 03:14:13 -07:00
Tadashi G. Takaoka 77f63c8ac6 Don't use RichInputMethodManager in setup wizard
In setup wizard, InputMethodManager may not be able to be aware that
this IME is installed, especially just after the IME is installed via
GooglePlay app and hit the open button on the app to launch the setup
wizard.

Bug: 9299618
Change-Id: I00c8544178b41074253d49ae9481996ec56593d2
2013-06-07 19:09:44 +09:00
Satoshi Kataoka 6c8136d157 Fix possible NPE
Bug: 9314901
Change-Id: Id80f59df38ae72766b097fd1c23326fedd302439
2013-06-07 19:08:58 +09:00
Tadashi G. Takaoka 60261af55f am b0e0c5a8: Merge "Defer getting no language subtype"
* commit 'b0e0c5a8445afc814ed8865c4f4b9f61ada909a9':
  Defer getting no language subtype
2013-06-07 03:01:41 -07:00
Tadashi G. Takaoka b0e0c5a844 Merge "Defer getting no language subtype" 2013-06-07 10:00:19 +00:00
Jean Chalard f637bb3343 am d3c283d5: Merge "Fix an illegal argument exception"
* commit 'd3c283d5db9259df17674bbe8c8eede9093d1da9':
  Fix an illegal argument exception
2013-06-07 02:39:52 -07:00
Jean Chalard 0ad1489625 Fix an illegal argument exception
This is a bit of a shot in the dark, as I really don't see how this
can happen, but this should fix it in the correct way no matter
how it's actually happening.

Bug: 9301836
Change-Id: I472865b7a78883942c9fd46773238c23788674f8
2013-06-07 18:23:00 +09:00
Tadashi G. Takaoka 254b484e75 Defer getting no language subtype
Bug: 9318351
Change-Id: I55338c001070655a3f90df3dbe1351bd4180d520
2013-06-07 18:20:31 +09:00
Tadashi G. Takaoka 48f20fb892 am 091a4532: Merge "Add HTC One special edition"
* commit '091a4532925ba9d35e83b60b834dcc88b1a4d2ea':
  Add HTC One special edition
2013-06-06 01:41:21 -07:00
Tadashi G. Takaoka 091a453292 Merge "Add HTC One special edition" 2013-06-06 08:39:10 +00:00
Tadashi G. Takaoka eab37ec2e5 Add HTC One special edition
Bug: 9109493
Change-Id: I6eb060a93d7afbcc5aaa2aaece242044db255829
2013-06-06 17:33:23 +09:00
Jean Chalard 323dd492f0 am 69100329: Merge "Use an iterator to remove stuff from an ArrayList."
* commit '6910032972524541314249fb2a6c2202ac813845':
  Use an iterator to remove stuff from an ArrayList.
2013-06-06 01:24:35 -07:00
Jean Chalard 6910032972 Merge "Use an iterator to remove stuff from an ArrayList." 2013-06-06 08:19:41 +00:00
Jean Chalard 0dc422e0c7 Use an iterator to remove stuff from an ArrayList.
Silly me >.>

Bug: 9306154
Change-Id: Ic00e9d6a31cd1d7aacefe68b7be9c2199e297b0d
2013-06-06 17:03:16 +09:00
Kurt Partridge efd26bb319 Allow downloadable dictionaries in development builds
Bug: 9305379

Change-Id: Iab32753070a056d3861a45aa898911b7ab67dfb6
2013-06-05 22:14:54 -07:00
Satoshi Kataoka 2fa14bc54d am f6a1a765: Merge "Fix a possible NPE"
* commit 'f6a1a7652473778ff2e52754f29f7822a9b482db':
  Fix a possible NPE
2013-06-05 22:03:39 -07:00
Satoshi Kataoka f6a1a76524 Merge "Fix a possible NPE" 2013-06-06 05:02:46 +00:00
Satoshi Kataoka 6f9c6f2c64 Fix a possible NPE
Bug: 9301208
Change-Id: Id120c99ab9ef698d16cf7b8beea30c98c95d23a1
2013-06-06 12:01:22 +09:00
Baligh Uddin f93850f06f Import translations. DO NOT MERGE
Change-Id: I79a9506c568d47a7304ff55b75676fe02bfb22a1
Auto-generated-cl: translation import
2013-06-05 15:07:26 -07:00
Tadashi G. Takaoka 596652cc5e am cbd219a7: Move Base64Reader to utils package
* commit 'cbd219a761079007b297c7d0cc1ca5d93420b0c9':
  Move Base64Reader to utils package
2013-06-05 03:51:54 -07:00
Tadashi G. Takaoka cbd219a761 Move Base64Reader to utils package
Change-Id: Id46898c5cae268f05850d79938929b7707f27320
2013-06-05 19:39:36 +09:00
Tadashi G. Takaoka d8177b3aba am 9c440d13: Merge "Remove unnecessary Drawable.setState"
* commit '9c440d137300ddf72cca201cf08c9bb2e32d6836':
  Remove unnecessary Drawable.setState
2013-06-05 01:36:24 -07:00
Tadashi G. Takaoka 9c440d1373 Merge "Remove unnecessary Drawable.setState" 2013-06-05 08:34:59 +00:00
Tadashi G. Takaoka 8235d940c4 am 9d4e2518: Merge "Add CsvUtils that conform to RFC 4180"
* commit '9d4e25182699f383e38f37fbff69bc2a7c9304bf':
  Add CsvUtils that conform to RFC 4180
2013-06-04 23:30:24 -07:00
Tadashi G. Takaoka 9d4e251826 Merge "Add CsvUtils that conform to RFC 4180" 2013-06-05 06:28:06 +00:00
Tadashi G. Takaoka 3201e98647 Remove unnecessary Drawable.setState
Change-Id: I362933ea4d5bcb1ccfebb5b22f6ccecf12337f4b
2013-06-05 14:30:16 +09:00
Tadashi G. Takaoka 3ceeb6bcc6 Add CsvUtils that conform to RFC 4180
Bug: 9070153
Change-Id: I66e55dd2f30fddfeb849edb97bc1cbda6b126d92
2013-06-05 12:26:22 +09:00
Tadashi G. Takaoka e10f4b6b77 am 0bfc2bc4: Merge "Add CODE_CAPSLOCK for long press shift key"
* commit '0bfc2bc419e7e758c6ce17b5fb959687f583551a':
  Add CODE_CAPSLOCK for long press shift key
2013-06-04 19:23:31 -07:00
Tadashi G. Takaoka 0bfc2bc419 Merge "Add CODE_CAPSLOCK for long press shift key" 2013-06-05 02:19:02 +00:00
Tadashi G. Takaoka 9552badf3c Add CODE_CAPSLOCK for long press shift key
This change utilizes the no panel auto more key feature to implement
long press shift key for shift lock.

Change-Id: I3995d25dc35aea3c67b5aa29299815462eff9cad
2013-06-04 18:20:06 +09:00