Commit Graph

4264 Commits (f53235104777583eabccb25a51cdc042185cba46)

Author SHA1 Message Date
Tadashi G. Takaoka c880eca7fc Fix 3rd row of bulgarian BDS keyboard
Bug: 6501927
Change-Id: Ia96ee076a5522c0ec1ce40d35ccc54d880fc86ab
2012-05-16 11:56:13 +09:00
Eric Fischer de6da6a6e3 Import translations. DO NOT MERGE
Change-Id: I337505cf96c90c1b695dd19785964655b225ee3f
2012-05-15 19:07:11 -07:00
Eric Fischer e8d5537c5e Import translations. DO NOT MERGE
Change-Id: I5a64ecb9f9bbc09ce466c050a09f5757302dfec8
2012-05-15 19:04:23 -07:00
Tadashi G. Takaoka 140689ddc8 Update voice icon
Bug: 6499541
Change-Id: I18a4173265d4135c50753037adf51aa7b76a40a6
2012-05-16 09:41:47 +09:00
alanv f2eba97cc0 Make LatinIME keys accessibility focusable, clickable.
Also fix speech for labeled keys.

Bug: 6498563
Change-Id: I094d4db0e57fa373759a63eb3354b1ab3ab0f525
2012-05-15 15:14:14 -07:00
Tadashi G. Takaoka fcb81e3171 am b4b3e80f: Merge "Fix empty custom input style entry appears after orientation change" into jb-dev
* commit 'b4b3e80f1124eaefc4218fbd03a2af2dc4fece17':
  Fix empty custom input style entry appears after orientation change
2012-05-15 11:37:56 -07:00
Jean Chalard edcc32802f am 2bbdac53: Merge "Use a formula packing more information into 4 bits field" into jb-dev
* commit '2bbdac539a7dc5478fd2f28d748b0dcf29eb1dd7':
  Use a formula packing more information into 4 bits field
2012-05-15 11:37:55 -07:00
Jean Chalard 848081ad8b am 8dced70b: Merge "Read and use user dictionary shortcuts." into jb-dev
* commit '8dced70b062744a2c27e0cf6dcd0787cf598a97c':
  Read and use user dictionary shortcuts.
2012-05-15 11:37:54 -07:00
Tadashi G. Takaoka a72b809892 am 30236efe: Remove "fillBoth" enum value from keyWidth attribute of Key
* commit '30236efee1bdac32d2c5b5c2875191a05e690865':
  Remove "fillBoth" enum value from keyWidth attribute of Key
2012-05-15 11:37:53 -07:00
Tadashi G. Takaoka 46b0c9555b am ea468ee6: Merge "Slightly wider space key for 10-inch tablet layouts" into jb-dev
* commit 'ea468ee6875fb0d491490327dfa08ef9b5599882':
  Slightly wider space key for 10-inch tablet layouts
2012-05-15 11:37:53 -07:00
satok d9c4aa83e1 am 76218b96: Merge "Do not set "SuggestionSpan"s for suggestions from the next word predicition" into jb-dev
* commit '76218b966a6a712f3baa72d95c6d125d414cdbd4':
  Do not set "SuggestionSpan"s for suggestions from the next word predicition
2012-05-15 11:37:52 -07:00
Jean Chalard d09d3598d0 am a9aeb6f3: Merge "Small optimization" into jb-dev
* commit 'a9aeb6f3ccd2964d79c287860bd660d9f19c8917':
  Small optimization
2012-05-15 11:37:51 -07:00
Jean Chalard bc740afba3 am b1120fe7: Merge "Small optimizations" into jb-dev
* commit 'b1120fe79ac40717b2b91ba60608b2c9f735c368':
  Small optimizations
2012-05-15 11:37:51 -07:00
Jean Chalard 47fedb8993 am f5ac6c72: Merge "More optimizations" into jb-dev
* commit 'f5ac6c725a0e12c1ed796de9f255103b957e1724':
  More optimizations
2012-05-15 11:37:50 -07:00
Jean Chalard 16c34b1bc5 am f184e73d: Merge "Some more obvious optimizations" into jb-dev
* commit 'f184e73dd77464c53cbfe2815916e826cd32f318':
  Some more obvious optimizations
2012-05-15 11:37:49 -07:00
Jean Chalard ee2fc381ba am 78df7181: Merge "Some obvious optimizations to makedict" into jb-dev
* commit '78df7181ff150596aa62591bfda6255c6517aa59':
  Some obvious optimizations to makedict
2012-05-15 11:37:49 -07:00
Kurt Partridge 0320c526c2 Merge "include text context in researchLogger" 2012-05-15 10:17:59 -07:00
Tadashi G. Takaoka b4b3e80f11 Merge "Fix empty custom input style entry appears after orientation change" into jb-dev 2012-05-15 04:23:50 -07:00
Tadashi G. Takaoka c6846f28ba Fix empty custom input style entry appears after orientation change
Bug: 6495828
Change-Id: I77c44e24340cff4e0702ac6dee02e4dd84076f3e
2012-05-15 20:19:31 +09:00
Jean Chalard 2bbdac539a Merge "Use a formula packing more information into 4 bits field" into jb-dev 2012-05-15 03:02:01 -07:00
Jean Chalard 418b343797 Use a formula packing more information into 4 bits field
Bug: 6313806
Change-Id: Id0779bd69afae0bb4a4a285340c1eb306544663a
2012-05-15 18:59:21 +09:00
Jean Chalard a86c0f1ea4 Stop meaningless bigram computations
Bug: 6313806
Change-Id: Idf765b40812a43de13aa166ed0b44c7b5f7cc218
2012-05-15 16:34:17 +09:00
Jean Chalard 8dced70b06 Merge "Read and use user dictionary shortcuts." into jb-dev 2012-05-14 20:38:23 -07:00
Tadashi G. Takaoka 30236efee1 Remove "fillBoth" enum value from keyWidth attribute of Key
Change-Id: Icc5ffb8286aeda298b46aeba05e44608e342bc57
2012-05-15 12:27:34 +09:00
Jean Chalard 19ad9bf145 Read and use user dictionary shortcuts.
Bug: 4646172

Change-Id: I51002c73d5bad1a698110c5cda02253348be8eed
2012-05-15 12:23:43 +09:00
Tadashi G. Takaoka ea468ee687 Merge "Slightly wider space key for 10-inch tablet layouts" into jb-dev 2012-05-14 20:23:02 -07:00
satok 76218b966a Merge "Do not set "SuggestionSpan"s for suggestions from the next word predicition" into jb-dev 2012-05-14 20:14:53 -07:00
satok 0142b997bf Do not set "SuggestionSpan"s for suggestions from the next word predicition
Bug: 6294817
Change-Id: I5010eafa5ba7e947743706adf7e722f4f0cfb415
2012-05-15 12:08:31 +09:00
Tadashi G. Takaoka bfbcbe5a14 Slightly wider space key for 10-inch tablet layouts
This change also removes the usage of "fillBoth" keyWidth from 10-inch
tablet layouts.

Change-Id: Ie6844fc096712daa24e09b3d67dde48d1c03eb46
2012-05-15 12:03:00 +09:00
Tom Ouyang 0c5b2a01d4 am 5282f00f: Merge "Contacts dictionary rebuilds only when contact names have changed." into jb-dev
* commit '5282f00ff871bc0ae8303a2b6dacb283f73e31ea':
  Contacts dictionary rebuilds only when contact names have changed.
2012-05-14 19:41:34 -07:00
Tadashi G. Takaoka 529f437417 am 6bec442f: Merge "Slightly wider keys for 7-inch tablet layouts" into jb-dev
* commit '6bec442f01ef5a8083528e3dd4432451afc66ba2':
  Slightly wider keys for 7-inch tablet layouts
2012-05-14 19:41:34 -07:00
Tadashi G. Takaoka 85bbe57465 am f3d9221d: Fix popular domain key ".com" width
* commit 'f3d9221d99217455d9cd66163a851d6ea83550a2':
  Fix popular domain key ".com" width
2012-05-14 19:41:33 -07:00
Jean Chalard a9aeb6f3cc Merge "Small optimization" into jb-dev 2012-05-14 19:11:19 -07:00
Jean Chalard b1120fe79a Merge "Small optimizations" into jb-dev 2012-05-14 19:11:11 -07:00
Jean Chalard f5ac6c725a Merge "More optimizations" into jb-dev 2012-05-14 19:11:06 -07:00
Jean Chalard f184e73dd7 Merge "Some more obvious optimizations" into jb-dev 2012-05-14 19:11:02 -07:00
Jean Chalard 78df7181ff Merge "Some obvious optimizations to makedict" into jb-dev 2012-05-14 19:10:48 -07:00
Eric Fischer 3821f0a26e Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-14 15:27:07 -07:00
Eric Fischer 0dba6dd9f3 Import translations. DO NOT MERGE
Change-Id: I061881ce9f2b0563e01d198fac0dbcdeaeb48410
2012-05-14 15:21:11 -07:00
Eric Fischer 4bc4eb27bc Import translations. DO NOT MERGE
Change-Id: I782170eaa860b92b2a293f629a2118cf22877ff2
2012-05-14 15:17:54 -07:00
Tom Ouyang 5282f00ff8 Merge "Contacts dictionary rebuilds only when contact names have changed." into jb-dev 2012-05-14 14:34:22 -07:00
Kurt Partridge aec44d50a7 include text context in researchLogger
when logging LatinIME.onUpdateSelection(), now include the current word and
preceding word.  no escaping of the word is performed; this is temporary
until the output format is cleaned up.

also fix EditingUtils.getWordRangeAtCursor to support supplementary
UTF-16 characters.

Bug: 6188932
Change-Id: If4612a2627537d5d8bb2f9585a3ad1b4e56c2e26
2012-05-14 09:55:26 -07:00
Tadashi G. Takaoka 6bec442f01 Merge "Slightly wider keys for 7-inch tablet layouts" into jb-dev 2012-05-14 07:36:46 -07:00
Tadashi G. Takaoka 0d1a193d5a Slightly wider keys for 7-inch tablet layouts
This change also removes the usage of "fillBoth" keyWidth from 7-inch
tablet layouts.

Bug: 6480505
Change-Id: I9ed58e0b49138fa9e1610c2b008798eedb19dd26
2012-05-14 18:34:52 +09:00
Jean Chalard 76319c6931 Small optimization
Performance gain is < 2%

Bug: 6394357
Change-Id: I2b7da946788cf11d1a491efd20fb2bd2333c23d1
2012-05-14 15:52:01 +09:00
Jean Chalard 4df5b43df8 Small optimizations
Bug: 6394357
Change-Id: I00ba1b5ab3d527b3768e28090c758ddd1629f281
2012-05-14 15:51:58 +09:00
Tadashi G. Takaoka f3d9221d99 Fix popular domain key ".com" width
Bug: 6483245
Change-Id: Ie44fd71f848a254ec79c2e061ed050f139ff5aac
2012-05-14 14:02:09 +09:00
Jean Chalard 3b1b72ac4d More optimizations
We don't merge tails anyway, and we can't do it any more
because that would break the bigram lookup algorithm.
The speedup is about 20%, and possibly double this if
there are no bigrams.

Bug: 6394357

Change-Id: I9eec11dda9000451706d280f120404a2acbea304
2012-05-14 12:41:18 +09:00
Jean Chalard 12efad3d15 Some more obvious optimizations
The speedup is about 15%

Bug: 6394357
Change-Id: Ibd57363d9d793206dd916d8927366db4192083b6
2012-05-14 12:35:31 +09:00
Jean Chalard 47db0be7cb Some obvious optimizations to makedict
Bug: 6394357
Change-Id: Ibfd98aac2304ef50cf90b1de984736ddcfe7a4bc
2012-05-14 12:34:05 +09:00
Charles Chen a75b2d3816 am 38b5e423: Merge "Implement "lift-to-type" interaction. Fix event text." into jb-dev
* commit '38b5e4239d5f31f04eaf38951442476eb378c80f':
  Implement "lift-to-type" interaction. Fix event text.
2012-05-12 16:46:49 -07:00
Tom Ouyang 4d289d39ae Contacts dictionary rebuilds only when contact names have changed.
Bug: 6396600
Change-Id: Iad693ec4bab6351793d624e5c5b0a9f5c12a60e3
2012-05-11 18:43:53 -07:00
Eric Fischer 7857f9cdbc Import translations. DO NOT MERGE
Change-Id: I978772894aef377eb117d5189b5dbe9f6f27f14f
2012-05-11 15:52:01 -07:00
Eric Fischer d7889d0fed Import translations. DO NOT MERGE
Change-Id: I6b1e690b678488f38ae84bf862796c32d346371e
2012-05-11 15:49:04 -07:00
Charles Chen 38b5e4239d Merge "Implement "lift-to-type" interaction. Fix event text." into jb-dev 2012-05-11 10:16:05 -07:00
Eric Fischer 724f946b45 Merge "Import translations. DO NOT MERGE" 2012-05-11 09:34:01 -07:00
Jean Chalard 19278ea91f am 59e6ad38: Merge "Write the bigram frequency following the new formula" into jb-dev
* commit '59e6ad38748b0d3c2ed63738d6ab5e6f123466d0':
  Write the bigram frequency following the new formula
2012-05-11 04:46:21 -07:00
Jean Chalard 59e6ad3874 Merge "Write the bigram frequency following the new formula" into jb-dev 2012-05-11 04:42:36 -07:00
Jean Chalard f7346de94a Write the bigram frequency following the new formula
This also tests for bigram frequency against unigram frequency

Bug: 6313806
Bug: 6028348
Change-Id: If7faa3559fee9f2496890f0bc0e081279e100854
2012-05-11 20:27:22 +09:00
Jean Chalard e1c75a42c2 am ad0233fa: Merge "Refactor a method" into jb-dev
* commit 'ad0233fa02985e597054bc50726a412fd8fff371':
  Refactor a method
2012-05-11 04:13:53 -07:00
Jean Chalard ad0233fa02 Merge "Refactor a method" into jb-dev 2012-05-11 04:09:17 -07:00
Tadashi G. Takaoka 0dee42e4d4 am a6204bbe: Fix Spanish keyboard to have easy access to inverted ? and !
* commit 'a6204bbe2a8a3e34ae1adb4d2103c7323825a40c':
  Fix Spanish keyboard to have easy access to inverted ? and !
2012-05-11 03:38:27 -07:00
Jean Chalard 4455fe2c89 Refactor a method
Rename it, rename parameters, and add a parameter that will
be necessary soon.
Also, rescale the bigram frequency as necessary.

Bug: 6313806
Change-Id: I192543cfb6ab6bccda4a1a53c8e67fbf50a257b0
2012-05-11 19:34:35 +09:00
Tadashi G. Takaoka bdae5f56e3 am 2de0b52a: Merge "Reorganize punctuations and diacritics of Arabic and Persian" into jb-dev
* commit '2de0b52a035ac27ffcddb0e914135f2ac104e05f':
  Reorganize punctuations and diacritics of Arabic and Persian
2012-05-11 03:33:44 -07:00
satok 9978953e29 am 6792a909: Merge "Output caps debug code" into jb-dev
* commit '6792a909cd0da3db6a957cb2576b4d08f46a53b7':
  Output caps debug code
2012-05-11 03:33:42 -07:00
satok 59f091875c am 5434f464: Remove unexpectedly split words with single quotes
* commit '5434f46481c6331c3f107e6940cb49ba9dd5ea4d':
  Remove unexpectedly split words with single quotes
2012-05-11 03:33:41 -07:00
Tadashi G. Takaoka a6204bbe2a Fix Spanish keyboard to have easy access to inverted ? and !
Bug: 6480385
Change-Id: Iae7879b5264711962a662f4b3d47a834bda715be
2012-05-11 19:17:53 +09:00
Tadashi G. Takaoka 2de0b52a03 Merge "Reorganize punctuations and diacritics of Arabic and Persian" into jb-dev 2012-05-11 03:06:33 -07:00
satok 6792a909cd Merge "Output caps debug code" into jb-dev 2012-05-11 03:06:29 -07:00
satok 5434f46481 Remove unexpectedly split words with single quotes
Bug: 6451163
Change-Id: I4c5595f727934f2b401e9bb11a6ba613668f4a42
2012-05-11 18:49:29 +09:00
satok b6fb5eb391 Output caps debug code
Change-Id: I4a3399d9066bd28dab893ecebb720924110b871d
2012-05-11 17:37:14 +09:00
Ken Wakasa 369ab4cd01 am 88794b24: Remove the dependency to SpellCheckerProximityInfo from ProximityInfo.
* commit '88794b24c0928e3bbea59999fce47c78c028863d':
  Remove the dependency to SpellCheckerProximityInfo from ProximityInfo.
2012-05-11 01:10:45 -07:00
Ken Wakasa 88794b24c0 Remove the dependency to SpellCheckerProximityInfo from ProximityInfo.
In conjunction with I596b2deb

Change-Id: I42f059158ae78e1c1c807ed4d3688edbcf18c006
2012-05-11 17:03:06 +09:00
Tadashi G. Takaoka ef6dadbe6c Reorganize punctuations and diacritics of Arabic and Persian
Bug: 6029665
Change-Id: Id72d5af2c9c8fff09a366819901c950b87756dea
2012-05-11 15:48:56 +09:00
Tadashi G. Takaoka 2b49579961 am d995452d: Merge "Add Bulgarian BDS keyboard" into jb-dev
* commit 'd995452d2e47012d2a8dd3464f48d66a11e3dca0':
  Add Bulgarian BDS keyboard
2012-05-10 23:17:58 -07:00
Tadashi G. Takaoka 3abb6324a5 am 3904af7e: Add Bulgarian Phonetic keyboard
* commit '3904af7ef15a3f552b31bd710c6bfb3c7342441f':
  Add Bulgarian Phonetic keyboard
2012-05-10 23:17:58 -07:00
Tadashi G. Takaoka d995452d2e Merge "Add Bulgarian BDS keyboard" into jb-dev 2012-05-10 22:22:22 -07:00
Tadashi G. Takaoka 3904af7ef1 Add Bulgarian Phonetic keyboard
Bug: 5738545
Change-Id: I4779136e717efd2934acaa68abc469016d08cd37
2012-05-11 14:14:29 +09:00
Tadashi G. Takaoka 286c594dc3 Add Bulgarian BDS keyboard
Bug: 5738545
Change-Id: I20f31c4ff57a06e6df93ce3cfe4d032afd5bacc7
2012-05-11 12:32:25 +09:00
Eric Fischer 176354466e Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-10 15:42:20 -07:00
Eric Fischer 9b9cd3505a Import translations. DO NOT MERGE
Change-Id: I8ac08e201aaaa3bd8e22da27f66c60036f52a605
2012-05-10 15:09:27 -07:00
Eric Fischer 79525efec5 Import translations. DO NOT MERGE
Change-Id: I6955e7f746cbe31e27e32aa8d2d33dccf465f571
2012-05-10 15:06:38 -07:00
Charles Chen b427eabfdf am 7c23ad92: Merge "Use key index as virtual view ID." into jb-dev
* commit '7c23ad92fcbeb64623c7deda7c603ec6c35e11a3':
  Use key index as virtual view ID.
2012-05-10 11:58:18 -07:00
Tadashi G. Takaoka dd589f0ffb am 0462f4dc: Fix 10-inch tablet layout
* commit '0462f4dced99f1ec31e7ac40df8871024fe2a5f2':
  Fix 10-inch tablet layout
2012-05-10 11:56:32 -07:00
Tadashi G. Takaoka eccfbfdfe0 am 60ece5cb: Merge "Tidy up Hindi 7-inch layouts" into jb-dev
* commit '60ece5cba5e3963c5bdd1d2edeabe3e3aaedb6b0':
  Tidy up Hindi 7-inch layouts
2012-05-10 11:56:31 -07:00
Tadashi G. Takaoka 16a9e84201 am e6241e25: Merge "Tidy up Arabic and Farsi 7-inch layouts" into jb-dev
* commit 'e6241e2543b815efaa5b2a8cbc5b031f1307f500':
  Tidy up Arabic and Farsi 7-inch layouts
2012-05-10 11:56:30 -07:00
Tadashi G. Takaoka 4319a2a52b am c44a3e07: Merge "Tidy up 11-11-{7,8,9} 7-inch tablet layouts" into jb-dev
* commit 'c44a3e07a39baec42da0478843ebb80ddc93d610':
  Tidy up 11-11-{7,8,9} 7-inch tablet layouts
2012-05-10 11:56:29 -07:00
Tadashi G. Takaoka 00639648d4 am 3b7d40f4: Merge "Tidy up 10-10-7 7-inch tablet layouts" into jb-dev
* commit '3b7d40f4643b9a6a6cb979e9493f56197bd89fc0':
  Tidy up 10-10-7 7-inch tablet layouts
2012-05-10 11:56:26 -07:00
Tadashi G. Takaoka a6e4f212ae am edde070a: Tidy up Thai 7-inch layouts
* commit 'edde070a900d61bd3923d6d05de6de60ab59d005':
  Tidy up Thai 7-inch layouts
2012-05-10 11:56:25 -07:00
Tadashi G. Takaoka bb984e1717 am a97bfdc2: Merge "Tidy up 10-9-7 7-inch tablet layouts" into jb-dev
* commit 'a97bfdc225e5b9f7f73c0907c7a0f27ab5f08595':
  Tidy up 10-9-7 7-inch tablet layouts
2012-05-10 11:56:24 -07:00
Tadashi G. Takaoka 7dc925bc9a am 684c519d: Merge "Cleanup indentation" into jb-dev
* commit '684c519d9d72443b9668fa1474ce2970ceb86a4f':
  Cleanup indentation
2012-05-10 11:56:23 -07:00
Svetoslav Ganov df9aa401e4 am 52ab6864: Merge "Remove unused code from AccessibilityEntityProvider." into jb-dev
* commit '52ab6864d0d3402a6d0164b474055af2c64cc827':
  Remove unused code from AccessibilityEntityProvider.
2012-05-10 11:56:21 -07:00
alanv 6662e2a40d Implement "lift-to-type" interaction. Fix event text.
Bug: 6456970
Change-Id: Idd6b84fc7a730a1e78d9c1157e3b5f22e5d49fc4
2012-05-10 11:37:13 -07:00
Charles Chen 7c23ad92fc Merge "Use key index as virtual view ID." into jb-dev 2012-05-10 11:34:20 -07:00
Tadashi G. Takaoka 0462f4dced Fix 10-inch tablet layout
* Fix missing delete key for greek
* Remove shift keys from farsi
* Move delete and enter key down for farsi
* Tweak 3rd-row key position of nordic

Bug: 6422448
Change-Id: I2066c1927f60660513c89615488520f716a15fa5
2012-05-10 19:20:19 +09:00
Tadashi G. Takaoka 60ece5cba5 Merge "Tidy up Hindi 7-inch layouts" into jb-dev 2012-05-10 02:56:16 -07:00
Tadashi G. Takaoka e6241e2543 Merge "Tidy up Arabic and Farsi 7-inch layouts" into jb-dev 2012-05-10 02:54:20 -07:00
Tadashi G. Takaoka c44a3e07a3 Merge "Tidy up 11-11-{7,8,9} 7-inch tablet layouts" into jb-dev 2012-05-10 02:54:14 -07:00
Tadashi G. Takaoka 3b7d40f464 Merge "Tidy up 10-10-7 7-inch tablet layouts" into jb-dev 2012-05-10 02:54:08 -07:00
Tadashi G. Takaoka 7aa6c030cf Tidy up Hindi 7-inch layouts
* Remove right shift key from hindi (same as east_slavic)

Bug: 6422448
Change-Id: Icea9a027c825f74471425abea261d5499f02c2c6
2012-05-10 18:50:49 +09:00
Tadashi G. Takaoka edde070a90 Tidy up Thai 7-inch layouts
* Remove right shift key from thai
* Add comma and period keys

Bug: 6422448
Change-Id: I40ff445ee763d964860fe6eb46e7168534a98c35
2012-05-10 18:36:44 +09:00
Tadashi G. Takaoka 09d942e0da Tidy up Arabic and Farsi 7-inch layouts
* Tweak key width and positon for arabic.
* Move delete and enter key down for farsi.

Bug: 6422448
Change-Id: I4fce1f4761eb1b53e432900c19e455a023721fc6
2012-05-10 18:28:38 +09:00
Tadashi G. Takaoka 2363d0c931 Tidy up 11-11-{7,8,9} 7-inch tablet layouts
* Add gutters between shift keys and letters for nordic
* Slightly narrower 3rd-row letter keys for bulgarian
* Remove "ъ" key from 1st-row of east_slavic
* Remove right shift for 11-11-9 east_slavic and south_slavic

Bug: 6422448
Change-Id: I2311bd475aabda51080f0be3714fabffa65b2009
2012-05-10 18:27:58 +09:00
Tadashi G. Takaoka 4739b21b41 Tidy up 10-10-7 7-inch tablet layouts
Bug: 6422448
Change-Id: I0c1721462572da7be7850d670c4f86d0c18cb610
2012-05-10 18:26:38 +09:00
Tadashi G. Takaoka a97bfdc225 Merge "Tidy up 10-9-7 7-inch tablet layouts" into jb-dev 2012-05-10 02:20:19 -07:00
Tadashi G. Takaoka 684c519d9d Merge "Cleanup indentation" into jb-dev 2012-05-10 01:53:38 -07:00
Tadashi G. Takaoka cee24a1f6c Cleanup indentation
Change-Id: Iaaade378acb81a2d68e2e721778a82fd8d5e20a5
2012-05-10 17:48:10 +09:00
Tadashi G. Takaoka 5fc2c22d43 Tidy up 10-9-7 7-inch tablet layouts
* Slightly smaller key width and larger shift key and space key.
* Both left and right shift key has the same width.
* Move the 2nd-row slight right.

Bug: 6422448
Change-Id: If27028eaac20c503c352ba35dd156befc53918c7
2012-05-10 15:26:55 +09:00
alanv b4c41fa813 Use key index as virtual view ID.
Bug: 6464677
Change-Id: I443e4add8052dbce1d413c2ce38a7b98408613bf
2012-05-09 22:23:14 -07:00
Svetoslav Ganov 52ab6864d0 Merge "Remove unused code from AccessibilityEntityProvider." into jb-dev 2012-05-09 22:18:50 -07:00
Tadashi G. Takaoka d079a0cde5 am bced8270: Merge "Fix calculation of more keys keyboard position based on key preview" into jb-dev
* commit 'bced82709ad262d59ec523439ea7b22b18c5335b':
  Fix calculation of more keys keyboard position based on key preview
2012-05-09 10:12:50 -07:00
Tadashi G. Takaoka c3f3cbfc76 am 5a40dcaf: Release previously pressed key even when the up event points new key
* commit '5a40dcaf8b6250eeea241471e54e8fe856cdf19b':
  Release previously pressed key even when the up event points new key
2012-05-09 10:12:49 -07:00
Tadashi G. Takaoka bced82709a Merge "Fix calculation of more keys keyboard position based on key preview" into jb-dev 2012-05-09 06:04:47 -07:00
Tadashi G. Takaoka 7ecc1081ab Fix calculation of more keys keyboard position based on key preview
Bug: 6135881
Change-Id: Id1c4e2c13d13b474466cb9b42b425aa9f6f9448b
2012-05-09 21:23:09 +09:00
Tadashi G. Takaoka 5a40dcaf8b Release previously pressed key even when the up event points new key
Bug: 6457266
Change-Id: I52c9fe88791d2c3a4385dfa457f07da160c60699
2012-05-09 20:24:14 +09:00
Tadashi G. Takaoka 46b26ed892 am c8bde75c: Merge "Optimize InputConnection.getCursorCapsMode calling" into jb-dev
* commit 'c8bde75cf455c02efc57c2e35bbe446b83c23739':
  Optimize InputConnection.getCursorCapsMode calling
2012-05-09 01:55:45 -07:00
Jean Chalard 9648b1674e am d5cd7e64: Small optimization
* commit 'd5cd7e64aa30096241f63e47a9169699bdd98231':
  Small optimization
2012-05-09 01:55:44 -07:00
Jean Chalard 4e02b1273b am 442ac5d0: Merge "Don\'t ask for surrounding characters for each keypress" into jb-dev
* commit '442ac5d0bb96ec257d26b28df2fabefdefe59b96':
  Don't ask for surrounding characters for each keypress
2012-05-09 01:55:43 -07:00
alanv 5046197085 am 34b2b5e6: Remove accessibility gesture handlers from LatinIME.
* commit '34b2b5e694758390126ffa3b1c7d752cdde7a05c':
  Remove accessibility gesture handlers from LatinIME.
2012-05-09 01:55:43 -07:00
Tadashi G. Takaoka 4f9d113ff6 am 67b2c584: Merge "Fix key preview background of GB theme" into jb-dev
* commit '67b2c5840474d3d331333cd11875fa97532f55c5':
  Fix key preview background of GB theme
2012-05-09 01:55:42 -07:00
Tadashi G. Takaoka 3b0f0b57ff am f52aef84: Merge "Tab key preforms next action when EditorInfo.IME_ACTION_NEXT is specified" into jb-dev
* commit 'f52aef84a582197d6f8e580044b2d24d2a710cef':
  Tab key preforms next action when EditorInfo.IME_ACTION_NEXT is specified
2012-05-09 01:55:41 -07:00
Tadashi G. Takaoka 729c9912fa am 47021b7a: Merge "Preserve enter key\'s label case" into jb-dev
* commit '47021b7a947a0bda6643ebad797f7487dcf6a9ce':
  Preserve enter key's label case
2012-05-09 01:55:41 -07:00
Tadashi G. Takaoka 682b1199f1 am 7b6afb12: Enable long-press spacebar on 7 inch tablet
* commit '7b6afb1287fb6d5edfebed7403eb31ed23a8348d':
  Enable long-press spacebar on 7 inch tablet
2012-05-09 01:55:40 -07:00
Tadashi G. Takaoka c8bde75cf4 Merge "Optimize InputConnection.getCursorCapsMode calling" into jb-dev 2012-05-09 00:24:00 -07:00
Tadashi G. Takaoka 03ca17c841 Optimize InputConnection.getCursorCapsMode calling
Bug: 6464226
Change-Id: I30c1b01be5e1719ded5f7f8a7e24a38e9bbc3637
2012-05-09 16:19:08 +09:00
Jean Chalard d5cd7e64aa Small optimization
Change-Id: I067249976e557b60b606d2153deaeb3c8f1f38ac
2012-05-09 16:14:25 +09:00
Jean Chalard 442ac5d0bb Merge "Don't ask for surrounding characters for each keypress" into jb-dev 2012-05-08 23:38:53 -07:00
Jean Chalard 736b109e16 Don't ask for surrounding characters for each keypress
Bug: 6464226
Change-Id: I03745bbcc21e5ec6ca57fa1257bf21c0cd26391a
2012-05-09 15:19:35 +09:00
alanv 8e5f79f57d Remove unused code from AccessibilityEntityProvider.
Change-Id: I73882668b516344d36e69355e9cb39534becb629
2012-05-08 19:51:49 -07:00
alanv 34b2b5e694 Remove accessibility gesture handlers from LatinIME.
Bug: 6457558
Change-Id: If33ca6f026d4846ba79a701ef42c0112f5b0b488
2012-05-08 17:23:58 -07:00
Tadashi G. Takaoka 67b2c58404 Merge "Fix key preview background of GB theme" into jb-dev 2012-05-08 06:43:48 -07:00
Tadashi G. Takaoka f52aef84a5 Merge "Tab key preforms next action when EditorInfo.IME_ACTION_NEXT is specified" into jb-dev 2012-05-08 06:43:05 -07:00
Tadashi G. Takaoka 465003441f Fix key preview background of GB theme
To match with the requirements of Id1c4e2c1

Bug: 6135881
Change-Id: If877fffb3863101edec2fa96f1fa4ae016c017f1
2012-05-08 17:07:58 +09:00
Tadashi G. Takaoka 0b831ba2aa Tab key preforms next action when EditorInfo.IME_ACTION_NEXT is specified
Bug: 6435484
Change-Id: Iccca7d1b770c547efae0b5e5931cebd910083d40
2012-05-08 13:20:39 +09:00
Tadashi G. Takaoka 47021b7a94 Merge "Preserve enter key's label case" into jb-dev 2012-05-07 21:12:02 -07:00
Tadashi G. Takaoka a10003281d Preserve enter key's label case
Bug: 6449347
Change-Id: I897df3a3c5464eaccf04c8b1cba70ccf313dd0bb
2012-05-08 12:57:34 +09:00
Tadashi G. Takaoka 7b6afb1287 Enable long-press spacebar on 7 inch tablet
This change also eliminate useless attribute longPressSpaceKeyTimeout
of LatinKeyboardView.

Bug: 6449356
Change-Id: Ib4dace4b9510c0eb96bdddacf8e0dbaa14fcfbbf
2012-05-08 12:50:07 +09:00
Eric Fischer 5e8d20e487 Import translations. DO NOT MERGE
Change-Id: I0a068efa8f0027f7da9c5f418e2dc27f00d85ac7
2012-05-07 14:42:40 -07:00
Eric Fischer 22d196cb17 Import translations. DO NOT MERGE
Change-Id: Ic65c9b1373f39ff3fde9631e516d56b05eae2d1f
2012-05-07 14:39:45 -07:00
satok 725fff0511 am e58f3af8: Treat apostrophe as single quote in spell checker
* commit 'e58f3af8a7bf852c3b100de1bd85d95d13e0e15e':
  Treat apostrophe as single quote in spell checker
2012-05-07 06:28:55 -07:00
satok e58f3af8a7 Treat apostrophe as single quote in spell checker
Bug: 6435348
Change-Id: Iaaac9042e7e6cb21a3f2243bc6e8e055cc24f74d
2012-05-07 22:21:55 +09:00
Tadashi G. Takaoka 9fcae31e7e am 165725ab: Fix build
* commit '165725aba8a179440af9c93869b35f206b2e133f':
  Fix build
2012-05-06 16:53:43 -07:00
Tadashi G. Takaoka 165725aba8 Fix build
Related-change: I173a3dc0
Change-Id: I4b5adedb70f7501e84fd3604aa240161c97dc713
2012-05-07 08:19:17 +09:00
Tadashi G. Takaoka 33e95e9186 am 8e50c5d1: Fix subtype name for a custom input style with en_US and en_GB
* commit '8e50c5d198f65beb6679a9a1e0102e5fc52d7707':
  Fix subtype name for a custom input style with en_US and en_GB
2012-05-06 11:33:49 -07:00
Tadashi G. Takaoka 8e50c5d198 Fix subtype name for a custom input style with en_US and en_GB
This change utilizes "UntranslatableReplacementStringInSubtypeName"
subtype extra value to display keyboard layout name dynamically.

Bug: 6449315
Change-Id: I9ef4c3d66ff9a223aa8c89c346d04cb72e4f6263
2012-05-07 03:25:08 +09:00
Tadashi G. Takaoka e14d4f386c am 4e6c6046: Merge "Fix newly created custom input style display name" into jb-dev
* commit '4e6c60464580213cda67c46499259d2ff0bbc493':
  Fix newly created custom input style display name
2012-05-06 10:49:45 -07:00
Tadashi G. Takaoka 4e6c604645 Merge "Fix newly created custom input style display name" into jb-dev 2012-05-06 10:46:07 -07:00
Tadashi G. Takaoka ca93442026 Fix newly created custom input style display name
This will revert I4263632e

Bug: 6443665
Bug: 6410653
Change-Id: Id9ad1a204ed9802488abfc2c536a95d62d55afe0
2012-05-07 02:42:08 +09:00
Ken Wakasa a0fe57a290 am 3665e2a8: Merge "Tidy up the MakedictLog class." into jb-dev
* commit '3665e2a8fc29c9bbe98d1c73e00af26abd6a5421':
  Tidy up the MakedictLog class.
2012-05-06 10:36:29 -07:00
Ken Wakasa 3665e2a8fc Merge "Tidy up the MakedictLog class." into jb-dev 2012-05-06 10:31:46 -07:00
Tadashi G. Takaoka ee3177d64d am 4c9bdcc9: Merge "Fix missing synchronized modifier" into jb-dev
* commit '4c9bdcc9579288ca379c49d36c0ba0ec81515ef7':
  Fix missing synchronized modifier
2012-05-06 09:56:31 -07:00
Tadashi G. Takaoka 4c9bdcc957 Merge "Fix missing synchronized modifier" into jb-dev 2012-05-06 09:52:52 -07:00
Tadashi G. Takaoka 66c09113f6 am 90b73b85: Merge "Get subtype name string resource from its own locale" into jb-dev
* commit '90b73b85e4d1846b84f97fb3b1a5f7897f89b985':
  Get subtype name string resource from its own locale
2012-05-06 09:49:23 -07:00
Tadashi G. Takaoka 90b73b85e4 Merge "Get subtype name string resource from its own locale" into jb-dev 2012-05-06 09:44:57 -07:00
Tadashi G. Takaoka 5b2eb0f505 Fix missing synchronized modifier
Change-Id: Ied70a86bedb08adcf8353b189367172459f55292
2012-05-07 00:55:01 +09:00
Tadashi G. Takaoka 757c12556b Get subtype name string resource from its own locale
Bug: 6443655
Change-Id: Ib9ee55178f0d0f885aa0640b9cba4a179cf0c566
2012-05-07 00:44:54 +09:00
Tadashi G. Takaoka de91f9d417 am ee8ac602: Preserve label case of to-symbol-key
* commit 'ee8ac602e82affd7df1fcf4d5205138de85f431a':
  Preserve label case of to-symbol-key
2012-05-06 03:30:47 -07:00
Tadashi G. Takaoka ee8ac602e8 Preserve label case of to-symbol-key
Bug: 6443192
Change-Id: I66c3c13d43c04fef4731ad2b4edabd8cd32f9437
2012-05-06 15:58:17 +09:00
Ken Wakasa 84478103ec Tidy up the MakedictLog class.
Follow up to I436b2b7b

Change-Id: Id17b134dab2f876b874a505e92a379c8b5567fa4
2012-05-05 23:40:21 +09:00
Kurt Partridge 5a937aae99 Merge "record full text after finishing session" 2012-05-04 21:09:22 -07:00
Ken Wakasa e9001d28c4 am 03b423f3: Suppress debug log from makedict in LatinIME
* commit '03b423f313cccb85890346ec4e6e347335f89fbf':
  Suppress debug log from makedict in LatinIME
2012-05-04 18:14:36 -07:00
Ken Wakasa 03b423f313 Suppress debug log from makedict in LatinIME
bug: 6447900
Change-Id: I436b2b7b261b422a7edca9cb99a4689b63877fe0
2012-05-05 09:28:27 +09:00
Kurt Partridge d67a248de4 record full text after finishing session
uses onWindowHidden() callback as proxy for finishing session.

Bug: 6188932
Change-Id: Ic63b47c946ca91fc35f80d71b2f9e24e2d0339ac
2012-05-04 10:57:50 -07:00
Eric Fischer aaf0f482af Merge "Import translations. DO NOT MERGE" 2012-05-03 17:05:38 -07:00
Eric Fischer f71fb1844f Import translations. DO NOT MERGE
Change-Id: I3a3e8b59bd267c667113e24b7227317bd73f73ef
2012-05-03 16:37:26 -07:00
Eric Fischer a995714184 Import translations. DO NOT MERGE
Change-Id: I5527274e1462dab152b4b3bf907343d22ec0e102
2012-05-03 16:34:22 -07:00
Kurt Partridge 8917e42713 Merge "associate a per-device UUID with the researchLog" 2012-05-03 16:24:00 -07:00
Kurt Partridge 77814c4bb0 associate a per-device UUID with the researchLog
logged upon starting a session

Bug: 6188932
Change-Id: I197d231fbc1d87cf5a3649b485a9be4b17898ba3
2012-05-02 18:43:27 -07:00
Eric Fischer eaf4b86771 Import translations. DO NOT MERGE
Change-Id: I4444724ea041eaeec7a52d8be702230669621d33
2012-05-02 14:53:16 -07:00
Eric Fischer 558f073311 Import translations. DO NOT MERGE
Change-Id: I4f26fabb1968b81ba8646deb459a2ebd0fc07fe3
2012-05-02 14:50:24 -07:00
satok a814fd0ddd am 9ba92faa: Merge "Fix build breakage" into jb-dev
* commit '9ba92faa81f864c721ee1a9ba8b97c3ead49a38d':
  Fix build breakage
2012-05-02 02:18:56 -07:00
satok 9ec06c17d4 Fix build breakage
Change-Id: I22305137b336c9aab019d044a517ae8bc5fefe45
2012-05-02 18:14:40 +09:00
satok 34590d6cd1 am 57007ed5: Merge "Workaround return preserved backing view height when the backing view is not ready" into jb-dev
* commit '57007ed582fbe89b2f2ac24e06a15a4fb5a948df':
  Workaround return preserved backing view height when the backing view is not ready
2012-05-02 01:44:30 -07:00
satok 57007ed582 Merge "Workaround return preserved backing view height when the backing view is not ready" into jb-dev 2012-05-02 01:42:00 -07:00
satok f4cf5b9952 Workaround return preserved backing view height when the backing view is not ready
Change-Id: If4f24500ead516c46e6a93a95291e0897548c2f0
2012-05-02 17:40:10 +09:00
Kurt Partridge f000a5cd5a Merge "log packageName in researchLogger on startup" 2012-05-01 18:19:02 -07:00
Eric Fischer 89cae9c146 Import translations. DO NOT MERGE
Change-Id: I0dfd373b11ee84dc5c3231fd21030ed8395ae10c
2012-05-01 14:15:14 -07:00
Eric Fischer a1c89d9dbf Import translations. DO NOT MERGE
Change-Id: Ia71f1f0df919691792648da0d4b6eb41edcf5747
2012-05-01 14:12:13 -07:00
Tadashi G. Takaoka 76d6673b2a Merge "Fix checking if subtype belongs to this ime" into jb-dev 2012-05-01 04:23:40 -07:00
Tadashi G. Takaoka ae2388c7f7 Fix checking if subtype belongs to this ime
Bug: 6422318
Change-Id: I5779c0e277444315191fa964a976dcb4316cc24a
2012-05-01 20:21:10 +09:00
Tadashi G. Takaoka aec1770ed1 Tune letter text size of 7 inch tablet
Bug: 6422086
Bug: 6411272
Change-Id: Ia3c40206555353b6f0c633a529d546dc2379e9aa
2012-05-01 19:56:40 +09:00
Tadashi G. Takaoka dadcfcf011 Merge "Narrow horizontal gap of 7 inch tablet landscape" into jb-dev 2012-05-01 03:51:20 -07:00
Tadashi G. Takaoka 7995703ded Narrow horizontal gap of 7 inch tablet landscape
Change-Id: I20579d75f5669909efd18a70b47cd44f471fd452
2012-05-01 19:24:48 +09:00
Tadashi G. Takaoka d780963db7 Auto X scale domain key label
Bug: 6411275
Change-Id: I94906adb6936371f5275a1494f6f8b5546633a2b
2012-05-01 19:21:15 +09:00
Tadashi G. Takaoka dd5e6e6559 Remove duplicated functional keys
Bug: 6410931
Change-Id: I07e84729da00d335e3864b9324bb1261df8968f7
2012-05-01 19:10:24 +09:00
Tadashi G. Takaoka d16c838d6e Merge "Remove tab key from alphabet layout of tablet 7" into jb-dev 2012-05-01 03:08:24 -07:00
Tadashi G. Takaoka ad5c0dc8f0 Remove tab key from alphabet layout of tablet 7
Bug: 6410889
Change-Id: If7269aa2aeb1b6af9f0286f96c48b68309d646c5
2012-05-01 18:47:00 +09:00
Tadashi G. Takaoka d44c196ae4 Merge "Override defaultActionKeyStyle to use non-blue action background" into jb-dev 2012-05-01 01:33:24 -07:00
Tadashi G. Takaoka 1ecd46189d Merge "Add keyboard bottom padding for 7 inch tablet" into jb-dev 2012-05-01 01:19:29 -07:00
Tadashi G. Takaoka e02de4b9a9 Override defaultActionKeyStyle to use non-blue action background
Bug: 6412932
Change-Id: I1c7335c53a35fc88694224332511415ea63ac745
2012-05-01 17:19:10 +09:00
Jean Chalard a474dbc5c2 Merge "Don't autocorrect after suggestion resuming" into jb-dev 2012-05-01 01:15:23 -07:00
Jean Chalard 4b5b46bb66 Don't autocorrect after suggestion resuming
Bug: 6105732
Change-Id: I92e7a9c6d6eb648f747c3b396d7993479fd8478a
2012-05-01 17:06:29 +09:00
Tadashi G. Takaoka 6f953ba202 Add keyboard bottom padding for 7 inch tablet
Bug: 6411451
Change-Id: I183e9dca258aa2b632e486ce1d115d1d7f3d739d
2012-05-01 17:05:21 +09:00
Tadashi G. Takaoka 2f83e9e532 Can override key-style
Bug: 6412932
Change-Id: I9576ae5b42bcc54cfd8ede0bae5148f3b04c1978
2012-05-01 16:56:53 +09:00
Tadashi G. Takaoka 30ce0c4e64 Merge "Fix CHAR LIMIT of some string resources" into jb-dev 2012-04-30 22:54:23 -07:00
Tadashi G. Takaoka 088350d663 Fix CHAR LIMIT of some string resources
Bug: 6421155
Change-Id: I1e2f1fa419c16dcbf483ace7c1a362b51f0dc7bb
2012-05-01 14:15:41 +09:00
Tadashi G. Takaoka ec06215970 Remove tab key from number/phone layout of 7 inch tablet
Bug: 6411288
Bug: 6411588
Bug: 6411840
Change-Id: I44b358ae9c078779d6b1108281c1458387a32948
2012-05-01 12:58:59 +09:00
Tadashi G. Takaoka 3287067185 Remove tab key from phone layout of 7 inch tablet
Bug: 6411288
Change-Id: Ie3836becf787536b7346150008053a985280f61b
2012-05-01 12:15:06 +09:00
Eric Fischer 3bb419ec18 Import translations. DO NOT MERGE
Change-Id: Ie86b666066f353bd16f3c8564111f8c096c32283
2012-04-30 14:22:58 -07:00
Kurt Partridge 623118fe48 log packageName in researchLogger on startup
Bug: 6188932

Change-Id: I85f434bf284d6b481893f7d41c884a4f0c57ce49
2012-04-30 11:21:12 -07:00
Eric Fischer c9d67226e2 Merge "Import translations. DO NOT MERGE" 2012-04-27 20:55:56 -07:00
Eric Fischer f963a462c1 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-04-27 20:55:47 -07:00
Eric Fischer 33d9984b04 Import translations. DO NOT MERGE
Change-Id: I0ec3c2076d13de53be948654ef2cc0d30a851189
2012-04-27 14:19:12 -07:00
Eric Fischer c0e67ea640 Import translations. DO NOT MERGE
Change-Id: I34b791b8bd756e6e68e6e396e5e02bf8950398a3
2012-04-27 14:16:09 -07:00
Ken Wakasa 0ab1c664c1 Avoid Resources$NotFoundException
bug: 6410653
Change-Id: I4263632e76b44abf8ecd9114a9eb185ad39201fd
2012-04-28 03:24:05 +09:00
Eric Laurent 7570954a18 modifications for new system volume policy.
The new system and UX sound volume policy makes that STREAM_SYSTEM
volume is not fixed anymore. It is tracking STREAM_RING (phones) or
STREAM_MUSIC (tablets) in a constrained range between -24dB and -6dB.

Sound Fx where previously played over STREAM_SYSTEM with a fixed
attenuation of -20dB. The default value of 5% in the keypress sound
volume setting was corresponding to -26dB, meaning 6dB below default.

Modified the default volume value to 50% so that by default, keypress sound
volume varies from -30dB to -12dB which is also 6dB below the other system
sounds.

Change-Id: I146f72275b8e88fdce5ccf8b6dae2903c27f15eb
2012-04-26 18:37:10 -07:00
Eric Fischer 681b7bd8b5 Import translations. DO NOT MERGE
Change-Id: I1df0104d5ec4dac73c45667c621cbb671b44e6df
2012-04-26 16:44:11 -07:00
Tadashi G. Takaoka 18f0d1938a Merge "Show settings key when noMicrophone option is enabled on PC QWERTY" into jb-dev 2012-04-26 01:41:38 -07:00
Jean Chalard 20a6dea1ca Add a flag for bigram presence in the header
This is a cherry-pick of Icb602762 onto jb-dev.

Bug: 6355745
Change-Id: Icb602762bb0d81472f024fa491571062ec1fc4e9
2012-04-26 16:40:29 +09:00
Jean Chalard 329c8d7bcc Merge "Ignore bigrams that are not also listed as unigrams" into jb-dev 2012-04-26 00:26:04 -07:00
Tadashi G. Takaoka 93e122e28d Merge "Fix potential "divided by zero" exception" into jb-dev 2012-04-26 00:21:07 -07:00
Tadashi G. Takaoka bd2ca9c021 Fix potential "divided by zero" exception
This change also refactors the language name selection to use text
x-scale.

Bug: 6396854
Change-Id: I31249a85bd042a93d627f40413161aef13617c87
2012-04-26 16:01:55 +09:00
Tadashi G. Takaoka 9bfec98275 Merge "Increase CHAR LIMIT in some string resources" into jb-dev 2012-04-25 23:58:38 -07:00
Tadashi G. Takaoka 6b006b4947 Increase CHAR LIMIT in some string resources
Bug: 6374565
Bug: 6381144
Change-Id: I2fff2323e8f0f79df2b71ed030a1a0953b2854c8
2012-04-26 15:38:41 +09:00
Tadashi G. Takaoka 45c57dcc2d Merge "Fix SubtypeSwitcher incomplete initialization" into jb-dev 2012-04-25 23:22:06 -07:00
Jean Chalard 44c64f46a1 Ignore bigrams that are not also listed as unigrams
This is a cherry pick of I14b67e51 on jb-dev

Bug: 6340915
Change-Id: Iaa512abe1b19ca640ea201f9761fd7f1416270ed
2012-04-26 15:20:30 +09:00
Tadashi G. Takaoka 41398ba265 Show settings key when noMicrophone option is enabled on PC QWERTY
Change-Id: Ib419a597e218af347e5d5da19f5ca8b3db8548c7
2012-04-26 15:20:23 +09:00
Tadashi G. Takaoka 3d407cc086 Fix SubtypeSwitcher incomplete initialization
Bug: 6400718
Change-Id: Id5dce156ad397b911bfeaedeeddd4aeb21a10b3a
2012-04-26 13:41:15 +09:00
Tadashi G. Takaoka 27b42ced86 Fix "no language" subtype name (DO NOT MERGE)
* Move SubtypeLocale.get{Full,Middle,Short}DisplayName() to
  LatinLeyboardView and add unit tests (SpacebarTextTests).
* Add SubtypeLocale.getSubtypeDisplayName()

This is a cherry-pick of I57420c6a from Master.

Bug: 6393865
Change-Id: I68748189c17c73984ac4ae05a5a40fb54bf46453
2012-04-26 11:50:28 +09:00
Tadashi G. Takaoka 49caddbdab Support PC QWERTY layout
Bug: 4460018
Change-Id: I9a29f6a322af66f6a152fa1883b3686c5f7a3328
2012-04-25 16:34:59 +09:00
Tadashi G. Takaoka cbaf6d85f1 Cancel SubtypePreference dialog properly
Bug: 6384416
Bug: 6387408
Change-Id: Ia7b0653a09410b42a55915815c887bf0ad56c856
2012-04-25 15:42:14 +09:00
Tadashi G. Takaoka 9f0a137f82 Save & restore additional subtype dialog state when orientation is changed
Bug: 6384416
Change-Id: Id5fa4742ad900fafb82cc37a0bbb9f380b99254d
2012-04-25 15:29:05 +09:00
Tadashi G. Takaoka d454fcc2cf Merge "Ignore unknown keyboard layout safely" 2012-04-24 23:22:26 -07:00
Tadashi G. Takaoka 96e404310d Ignore unknown keyboard layout safely
Bug: 6393755
Change-Id: I3a74b23f934cd52925026ad04647cc76de92ee07
2012-04-25 13:34:04 +09:00
Tadashi G. Takaoka b7286439f6 Fix percent sign in more keys
Bug: 6029665
Change-Id: I4bf0f5703d0c11d76bab478da2729b0e20fc64ea
2012-04-25 11:51:19 +09:00
Eric Fischer da346cadb2 Merge "Import translations. DO NOT MERGE" 2012-04-24 14:21:42 -07:00
Eric Fischer b4f5c9c088 Import translations. DO NOT MERGE
Change-Id: I17745dd7dbabcc6409361e1b2fa0141ff3f13e09
2012-04-24 14:17:36 -07:00
Tom Ouyang ce54a14bed Merge "Change expandable binary dict write to a temp file first." 2012-04-24 10:54:56 -07:00
Tom Ouyang a9b2be8a81 Change expandable binary dict write to a temp file first.
Bug: 6380724
Change-Id: Ic1d0d902dc45ecb41a1792f33a60ab85e606fcef
2012-04-24 10:52:53 -07:00
Tadashi G. Takaoka bce2c214d1 Use HTML entity for non-ASCII unicode
Change-Id: If8b605778196a5c0a0205ebd49378759027ee265
2012-04-24 18:06:54 +09:00
Tadashi G. Takaoka 3443f52150 Merge "Move functional keys out from rowkeys_symbols{_shift}3." 2012-04-24 00:49:38 -07:00
Tadashi G. Takaoka 8e7740b28a Merge "Add header commnets of KeyboardTextsSet.tmpl" 2012-04-24 00:49:11 -07:00
Tadashi G. Takaoka 5723bedcd0 Merge "Revert keyHintLetterPadding only to apply horizontally" 2012-04-24 00:41:57 -07:00
Tadashi G. Takaoka ab771b01eb Revert keyHintLetterPadding only to apply horizontally
Partially reverts the Ia3680d84.

Bug: 6356125
Change-Id: I8faa810b833cb98ce6f0f760aa1722e63475cd45
2012-04-24 16:20:47 +09:00
Tadashi G. Takaoka aaac9a5217 Add header commnets of KeyboardTextsSet.tmpl
Bug: 6371604
Change-Id: I1054685b9985b6923e3176679b3d95424d8114e0
2012-04-24 16:19:17 +09:00
Jean Chalard 805fed49e1 Merge "Fix binary reading code performance." 2012-04-23 23:39:37 -07:00
Tadashi G. Takaoka fe4d13cbcb Merge "Make the "Touch again to save" hint text touchable." 2012-04-23 23:20:49 -07:00
Jean Chalard 1d80a7f395 Fix binary reading code performance.
This is not the Right fix ; the Right fix would be to read
the file in a buffered way. However this delivers tolerable
performance for a minimal amount of code changes.
We may want to skip submitting this patch, but keep it around
in case we need to use the functionality until we have a good
patch.

Change-Id: I1ba938f82acfd9436c3701d1078ff981afdbea60
2012-04-24 15:16:17 +09:00
Tadashi G. Takaoka 0b6f6729d2 Move functional keys out from rowkeys_symbols{_shift}3.
Change-Id: Iee5e7e93e5f319551a8ad28c58813c00fc713308
2012-04-24 14:25:27 +09:00
Jean Chalard cbebbaf065 Merge "Fix a bug where a node size would be seen as increasing." 2012-04-23 22:19:19 -07:00
Jean Chalard a64a1a46e4 Fix a bug where a node size would be seen as increasing.
The core reason for this is quite shrewd. When a word is a bigram
of itself, the corresponding chargroup will have a bigram referring
to itself. When computing bigram offsets, we use cached addresses of
chargroups, but we compute the size of the node as we go. Hence, a
discrepancy may happen between the base offset as seen by the bigram
(which uses the recomputed value) and the target offset (which uses
the cached value).
When this happens, the cached node address is too large. The relative
offset is negative, which is expected, since it points to this very
charnode whose start is a few bytes earlier. But since the cached
address is too large, the offset is computed as smaller than it should
be.
On the next pass, the cache has been refreshed with the newly computed
size and the seen offset is now correct (or at least, much closer to
correct). The correct value is larger than the previously computed
offset, which was too small. If it happens that it crosses the -255 or
-65335 boundary, the address will be seen as needing 1 more byte than
previously computed. If this is the only change in size of this node,
the node will be seen as having a larger size than previously, which
is unexpected. Debug code was catching this and crashing the program.

So this case is very rare, but in an even rarer occurence, it may
happen that in the same node, another chargroup happens to decrease
it size by the same amount. In this case, the node may be seen as
having not been modified. This is probably extremely rare. If on
top of this, it happens that no other node has been modified, then
the file may be seen as complete, and the discrepancy left as is
in the file, leading to a broken file. The probability that this
happens is abyssally low, but the bug exists, and the current debug
code would not have caught this.
To further catch similar bugs, this change also modifies the test
that  decides if the node has changed. On grounds that all components
of a node may only decrease in size with each successive pass, it's
theoritically safe to assume that the same size means the node
contents have not changed, but in case of a bug like the bug above
where a component wrongly grows while another shrinks and both cancel
each other out, the new code will catch this. Also, this change adds
a check against the number of passses, to avoid infinite loops in
case of a bug in the computation code.

This change fixes this bug by updating the cached address of each
chargroup as we go. This eliminates the discrepancy and fixes the
bug.

Bug: 6383103
Change-Id: Ia3f450e22c87c4c193cea8ddb157aebd5f224f01
2012-04-24 14:04:02 +09:00
Tadashi G. Takaoka 9f763d1445 Make the "Touch again to save" hint text touchable.
Bug: 6355346
Change-Id: I96933719cc94f25e6c7ecb1d6345c11b6acc4134
2012-04-24 13:44:14 +09:00
Tadashi G. Takaoka 3e3bb36f1f Fix NPE in AdditionalSubtypeSettings
Bug: 6384416
Change-Id: I878071b8b78acce51649f9637b59830ab681c696
2012-04-24 11:01:45 +09:00
Jean Chalard fa1affbaec Merge "Fix a bug where two spaces would be added instead of one" 2012-04-23 17:03:32 -07:00
Jean Chalard 5ee0ee0dbe Merge "Fix a bug where a batch edit would not be started." 2012-04-23 17:02:41 -07:00
Jean Chalard 87f7fa12db Merge "Pass words as int[] to the native code." 2012-04-23 17:02:26 -07:00
Eric Fischer 7f45ec7bb8 Import translations. DO NOT MERGE
Change-Id: I11d27b3c5c1005bd6679f59804f217640f8d5992
2012-04-23 14:03:26 -07:00
Tadashi G. Takaoka c04075b138 Cleanup <include/> and etc. in keyboard XML
* Remove keyXPos and keyWidth from key_*.xml and make it more generic.
* Add keyXPos and keyWidth to <include/> generalized key_*.xml.
* Remove zero width <Spacer/> and fold into successive <include/>.

Change-Id: I4b5c02a165ba0bc9ef8741be0b4938c1efaf5e27
2012-04-24 01:47:03 +09:00
Tadashi G. Takaoka 9a7cdb2051 Merge "Remove alt-code-while-typing from tablet" 2012-04-23 09:37:15 -07:00
Tom Ouyang bebcae8ff5 Merge "Binary bigram lookup checks both uppercase and lowercase when previous word is uppercase." 2012-04-23 09:06:05 -07:00