aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-09-19Fix an off-by-one error.Jean Chalard1-7/+5
These variables were meant to represent the (x,y) coordinate of the last pixel of the grid, to avoid going one pixel too far. But the last pixel of the grid, of course, has coord (width - 1, height - 1). This bug only ever happens in a rare case because to reproduce, it needs the right (resp. bottom) coordinate of the rightmost (resp. bottommost) plus the threshold plus half the grid width (resp. height) to be exactly the number of pixels of the grid, which is pretty unlikely... unless there are more tiles in the grid than pixels on the screen, in which case the grid width is 1 and this becomes likely. This fixes the fencepost error and renames the variables to clarify their meaning. Bug: 10537485 Change-Id: Iecfe2c0f29ee17776ee2cceaa4b1db722276b1f3
2013-09-19Show emoji key on PC layoutSatoshi Kataoka2-6/+6
Bug: 10812167 Change-Id: Ie1e22a1651f8ec40e4078c01d161d6c113de582e
2013-09-19Quit skipping user history dictionary for gesture.Keisuke Kuroyanagi2-14/+18
Bug: 6669677 Change-Id: Id4344f2a30e9827f210055d6c65ee7776d3a63e3
2013-09-19Disable Nepali layouts temporarily per product callKen Wakasa1-2/+4
bug: 6910787 bug: 9833890 Change-Id: Id58cdf117d145c03c96f8737a12bb1b11bd4e636
2013-09-19Add a new option for version 4 to dicttool.Yuichiro Hanada1-7/+12
Change-Id: I18fd48c1f6921758d30330fbc77f4a917c33f1c8
2013-09-19Fix test in SubtypeLocaleUtilsTestsSatoshi Kataoka1-21/+21
Change-Id: I4f7bf70ec7a0a67ad5d2129afed314b1b1a93a6c
2013-09-18Fix an NPE.Jean Chalard1-1/+2
Apparently, it is possible that File#getPath() returns null. In this case, we'll have a null AssetFileAddress and an NPE later down the road. Bug: 9944824 Change-Id: Id6ceac1cb55439660f9811cf0fe3b574200d5a20
2013-09-18Allow double-space-to-period after a plus charJean Chalard2-4/+3
Bug: 10704936 Change-Id: I30fdaea648605ef7e7fea6c093581ed5c6de03f3
2013-09-18Change name of header_reading_utlis.*Keisuke Kuroyanagi4-7/+6
Bug: 6669677 Change-Id: I91389050148237580ef640d3a58b935ea752954e
2013-09-18Add dictionary header writing methods.Keisuke Kuroyanagi12-67/+181
Bug: 6669677 Change-Id: I392ac4776b55779903cbaa17e683005d80017a41
2013-09-18Fix Emoji recentsSatoshi Kataoka6-23/+134
Bug: 10538430 Change-Id: Ia2e423eb1843195b3c3218afc79a5820b8cd729b
2013-09-18Set EmojiCapableSatoshi Kataoka4-71/+81
Bug: 10240645 Change-Id: I891309c2a82f8d10f8fdb0872403a7a235e27b5f
2013-09-18Fix getChildrenPosition.Yuichiro Hanada1-2/+9
Change-Id: Ic39592dbf0d4e6d2e4879cdb1a95b65d46a57e92
2013-09-18Fix contacts/user dictionary writing.Keisuke Kuroyanagi1-1/+1
Bug: 10743878 Change-Id: I5d61b7955ef69a635f994f01cc575fb23fdf942b
2013-09-18Implement dictionary flush.Keisuke Kuroyanagi4-2/+99
Bug: 6669677 Change-Id: I1d70ac6319fb6d8700074de382568c2108887960
2013-09-18Don't resume suggestion on digits.Jean Chalard1-0/+8
Bug: 10780016 Change-Id: I94fad06e4c71eddc96bdda1765925f98bed160f3
2013-09-18Add BinaryDictionary.getBigramProbabilityNative().Keisuke Kuroyanagi7-32/+99
Bug: 10197478 Change-Id: Id16e3ee22a17679c46cc7a0199a9e28065177aa3
2013-09-17Improve trailing quotes processingJean Chalard3-2/+47
Bug: 10445496 Change-Id: Ib7bd05aea59ae6c9b8ce31299ef2235521b0e350
2013-09-17Output input index of second word's first char.Keisuke Kuroyanagi6-31/+63
This is for partial commit. Bug: 9059617 Change-Id: I77a0245b63c29b7234fd9b06d362e05aebf30051
2013-09-17[AC9] Resize an arrayJean Chalard1-1/+1
It's not easy for native code to only output the first result, so let's supply enough room for it to output all. Bug: 9059617 Change-Id: Ie93b7e54284c8c5d01fdc15846cf52d3442287b6
2013-09-17[AC8] Restrict the suggestion strip to the correct partJean Chalard2-0/+21
...for phrase gesture. Bug: 9059617 Change-Id: Ic5c0616f28af4ba45ca72a5721d1926029adc1c5
2013-09-17Prepare dictionary saving in native code.Keisuke Kuroyanagi11-10/+147
Bug: 6669677 Change-Id: I0787f66409e2b183c6328fa05805945520e1e93a
2013-09-17Implement removeBigramWords() for DynamicPatriciaTrie.Keisuke Kuroyanagi4-16/+77
Bug: 6669677 Change-Id: I99cb517511b4c968b8bf937baab5d7f42b0f534e
2013-09-17[AC7] Actually auto-commit.Keisuke Kuroyanagi6-7/+76
Bug: 9059617 Change-Id: I7e5d89a9037b9181a0a6456c12043b4bfda8fe4b
2013-09-17Temporary disable saving keys of emoticons to recentsSatoshi Kataoka1-1/+4
Bug: 10538430 Change-Id: I4c3d0d692eecdd3bb5e780bdaca46f3310065471
2013-09-17Fix Emoji key pressed backgroundSatoshi Kataoka6-0/+6
Bug: 10538430 Change-Id: I933f075c5e84b637c4d171a7dcc685f0dc8a88df
2013-09-17Add a large test for BinaryDictionary.addBigramWords().Keisuke Kuroyanagi1-0/+53
Bug; 10197478 Change-Id: I52590dd1ff9469557672a4bef4f898ad94b47b6f
2013-09-17Fix handling multi-bytes characters and add a test.Keisuke Kuroyanagi5-51/+119
Bug: 6669677 Change-Id: Id2154db47adea2929559a4187a726f9dfa83363e
2013-09-17Fix build.Keisuke Kuroyanagi1-1/+1
Change-Id: I1c3c2996ca11bfe8864df774e9280893cf17c0d4
2013-09-17Implement addBigramWords() for DynamicPatriciaTrie.Keisuke Kuroyanagi7-36/+130
Bug: 6669677 Change-Id: Ia6aa76c212165690191c65fee9dacdc44be5acd5
2013-09-17Support multiple screen size of Emoji keyboardSatoshi Kataoka4-0/+28
Bug: 10538430 Change-Id: Ic27b687fb2f8d3c3f2af6a886e55cc1d4e3fafb3
2013-09-17Disable smooth scroll of Emoji pagerSatoshi Kataoka1-1/+1
Bug: 10538430 Change-Id: Ib9dfa28bf6b642cc8895022ead9e6b2d64001097
2013-09-16Save & restore emoji keyboard stateSatoshi Kataoka4-93/+173
Bug: 10538430 Change-Id: I7982f53f5dfa44071e74da63826acffcdc2547e6
2013-09-16Merge NOT_A_VALID_WORD_POS into NOT_A_DICT_POS.Keisuke Kuroyanagi17-52/+50
Change-Id: I2ac3aa2a19d14e8c4159a59334e7816bd1409688
2013-09-16Move methods using ByteArrayUtils from .h to .cpp.Keisuke Kuroyanagi8-89/+120
Bug: 10402083 Change-Id: Ic5f1aa11eb403f5bdc83de8e38a6457200519cae
2013-09-16Add boundary check for PtNode reading position.Keisuke Kuroyanagi2-0/+24
Bug: 10743878 Change-Id: I6727b12b0ef98bb9cfb3ca95aeab2c79749f47a2
2013-09-16Split Emoji categories fitting the pagerSatoshi Kataoka6-45/+135
Bug: 10538430 Change-Id: Ic023ac0b9db8a1fe16c73ab5fd12dfcd7cbbe6a3
2013-09-16Additional fix for Lao; No spaces used between wordsKen Wakasa3-2/+25
bug: 6911140 Change-Id: I1b1141c203175b9f9a818564272c0aa49df33888
2013-09-16Fix issues with Nepali layoutsKen Wakasa7-4/+132
- Added the missing ZWNJ/ZWJ key - Fix a wrong letter in the shift layout of Nepali Romaized layout - Put the currency symbol for Nepalese Rupee - Fix the missing 2nd symbols layout - Use the Devanagari numbers just like Hindi layout - Fix the Main/Symbols switch key label just like Hindi layout bug: 6910787 bug: 9833890 Change-Id: Ie6aa5a06008f1e9347d4fc08ededd48287df5d73
2013-09-14Import translations. DO NOT MERGEBaligh Uddin13-24/+294
Change-Id: I812a2cf2a6821c5dc165eb5c884c39c3f6eeb838 Auto-generated-cl: translation import
2013-09-14Import translations. DO NOT MERGEBaligh Uddin2-2/+2
Change-Id: Ic9bf848940c7594c6012901e803c203e35df72b8 Auto-generated-cl: translation import
2013-09-14Import translations. DO NOT MERGEBaligh Uddin2-2/+2
Change-Id: Ib754ed7d332198f7e19f70a265cab80d12caea69 Auto-generated-cl: translation import
2013-09-14Small tweak for label_to_more_symbol_for_tablet_keyKen Wakasa2-2/+2
To make it a bit more consistent with the one for phones Change-Id: Ia5775b07a0d70cabc5c51ff2b954c64ce4dc8c7c
2013-09-13Use DynamicGridKeyboard for EmojiPagerSatoshi Kataoka2-49/+127
Bug: 10538430 Change-Id: Iff84e306faaa8e87d107e418d5c61c5613b57430
2013-09-13Add Lao keyboardKen Wakasa12-1/+770
bug: 6911140 Change-Id: Id689be1fb9dbc89b5a9b7f142626751a62d931ed
2013-09-13[AC5] Introduce the setting for phrase gesture.Jean Chalard3-0/+34
Bug: 9059617 Change-Id: I6fa0f675f4edac10bd19228cd2f0c8fca97cebd6
2013-09-13[AC4] Add native methods necessary for auto-commitJean Chalard10-19/+73
Bug: 9059617 Change-Id: I7a47b0675446fc4f39628c60d16de9aea90d1b4d
2013-09-13Employ "bigram link" for handling moved bigram target.Keisuke Kuroyanagi8-72/+128
Bug: 6669677 Change-Id: I9a6c0cdb28265e3215ced88f38344df12c25a76d
2013-09-13Add shutdown and isTerminated to PrioritizedSerialExecutor.Yuichiro Hanada3-9/+55
Change-Id: Id185224d135c8571a39efe8a41a66ce769142903
2013-09-13Add Ver4DictEncoder.Yuichiro Hanada6-44/+343
Bug: 9618601 Change-Id: I161d2845906f07c1251deb8005fdffe49c5b7940