Commit Graph

14900 Commits (8ab3c1bf447ba471a4f8310e99cc88104fc069e2)

Author SHA1 Message Date
Tadashi G. Takaoka d02daf2016 Merge "Fix punctuations strip" 2013-06-21 09:23:40 +00: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
Keisuke Kuroynagi c65d19fb92 am 21dfdcdb: Merge "Add ByteArrayUtils::readSignedInt24andAdvancePosition to read dynamic dictionaries."
* commit '21dfdcdba841f8866041cb0261feac907d6e686b':
  Add ByteArrayUtils::readSignedInt24andAdvancePosition to read dynamic dictionaries.
2013-06-21 01:30:12 -07:00
Keisuke Kuroynagi 21dfdcdba8 Merge "Add ByteArrayUtils::readSignedInt24andAdvancePosition to read dynamic dictionaries." 2013-06-21 08:15:05 +00:00
Keisuke Kuroynagi 55687ef731 am e105fdfa: Merge "Change method name of getDepth and getTotalLength."
* commit 'e105fdfaeaf5a434661518b4c78f2c198f2169ae':
  Change method name of getDepth and getTotalLength.
2013-06-21 00:00:38 -07:00
Keisuke Kuroynagi e105fdfaea Merge "Change method name of getDepth and getTotalLength." 2013-06-21 06:58:38 +00: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
Keisuke Kuroynagi 8a914a66e8 Add ByteArrayUtils::readSignedInt24andAdvancePosition to read dynamic dictionaries.
Bug: 6669677
Change-Id: I75eeedbb50868432f6a7ff5fa63624d03e788356
2013-06-21 12:58:18 +09:00
Baligh Uddin 2b3a5f8329 am 0c178ffc: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '0c178ffc8e21467890fcc2433cf27108c090e6fc':
  Import translations. DO NOT MERGE
2013-06-20 09:42:29 -07: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
Keisuke Kuroynagi 09858cbde4 Change method name of getDepth and getTotalLength.
Change-Id: I4b3aa54e17d7de7c31f956dc9d59941d79856fd7
2013-06-20 20:55:23 +09: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
Keisuke Kuroynagi 2b386279e5 am 1db2df08: Merge "Initialize inputStatusG at the constructor."
* commit '1db2df08617c8304f59ba44a1a541c02b3d007af':
  Initialize inputStatusG at the constructor.
2013-06-19 22:18:35 -07:00
Keisuke Kuroynagi 1db2df0861 Merge "Initialize inputStatusG at the constructor." 2013-06-20 05:16:18 +00: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
Keisuke Kuroynagi ec7457eb7f Initialize inputStatusG at the constructor.
Bug: 9490519

Change-Id: I1806f765f7a0b5335df253b2618b40cfd17aab14
2013-06-19 22:20:25 +09:00
Jean Chalard 788540ad2e am a7c44270: Merge "Add an initial test command to dicttool."
* commit 'a7c44270e5ccddc0044bcdc3d27bd4d6661fcda4':
  Add an initial test command to dicttool.
2013-06-19 04:34:57 -07:00
Jean Chalard a7c44270e5 Merge "Add an initial test command to dicttool." 2013-06-19 11:33:13 +00:00
Jean Chalard d055cca7d2 Add an initial test command to dicttool.
Also fix some warnings
This is a preliminary change to help track b/8526576

Bug: 8526576
Change-Id: If2ed74bb92f9b5fb7bbaf9c4851d9d0b5514b405
2013-06-19 20:08:54 +09: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 500b1f410d Merge "Get value text from ValueProxy" 2013-06-18 09:29:24 +00: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
Keisuke Kuroynagi ca6ed60045 am 2d3f2daf: Check compound distance of node and prune useless node after creating new word.
* commit '2d3f2daf12643e57f15fc98c7fd61329513ca0cf':
  Check compound distance of node and prune useless node after creating new word.
2013-06-18 01:29:44 -07:00
Keisuke Kuroynagi 2d3f2daf12 Check compound distance of node and prune useless node after creating new word.
Before:
136309.89 ms
After:
73133.95 ms

Bug: 8591918

Change-Id: If029b768e2b459c0e566188bcf425f71b2df866d
2013-06-18 17:07:23 +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 286877b3af Merge "Fix a bug with recapitalization" 2013-06-17 11:47:23 +00: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
Keisuke Kuroynagi ee63f70fca am 6bfeeb86: Support multi words input for gesture.
* commit '6bfeeb86947eb2131408ae8bd55a7f90486feb1d':
  Support multi words input for gesture.
2013-06-17 03:13:38 -07:00
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