Commit Graph

6334 Commits (55e5bdc560948d6b3358b0a73208b60f765b8c4f)

Author SHA1 Message Date
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
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 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
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 ad0233fa02 Merge "Refactor a method" into jb-dev 2012-05-11 04:09:17 -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 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 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 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 79525efec5 Import translations. DO NOT MERGE
Change-Id: I6955e7f746cbe31e27e32aa8d2d33dccf465f571
2012-05-10 15:06:38 -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
Jean Chalard 6cb23a49bf Merge "Perform the actual bigram frequency lookup." into jb-dev 2012-05-10 04:08:07 -07:00
Jean Chalard 49ba135fde Perform the actual bigram frequency lookup.
This still returns the unigram frequency, because the values stored
for bigrams in the dictionary are not ready to be returned in-place
instead of unigram values. Aside from this, the code is complete.

Bug: 6313806
Change-Id: If7bb7b644730782277f0f6663334c170b7fe13fb
2012-05-10 20:01:44 +09: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 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 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