aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-09-30Classify touches into three types.Yusuke Nojima9-62/+181
Change-Id: I7c1d42835e0c15d596a1b66d421b0aa514ec0890
2011-09-30Make use of the FULL_EDIT_DISTANCE flag.Jean Chalard3-7/+48
In effect, this stops the spell checker from suggesting overly long words. More precisely, it takes advantage of the new facility that takes into account the whole length of the dictionary word when computing scores, so words much longer than the input word will see their score demoted accordingly. Bug: 5384578 Change-Id: I326cd7c87c3080e7fa8729f78517f8ba13672a9b
2011-09-30Skip successive InputMethodService callbacks after orientation changedTadashi G. Takaoka2-68/+105
IME is called back four methods for each input field as a IME life cycle. The four methods are onStartInput, onStartInputView, onFinishInputView and onFinishInput. After orientation changed, Those quartet methods will be called back twice. This behavior of the framework might be a bug. In order to restore the previous keyboard layout, we should skip onFinishInputView and onFinishInput of the first quartet and onStartInput and onStartInputView of the second quartet. Bug: 4311428 Change-Id: I450ddc0cce5d00abc971ffd42a507a8a86682548
2011-09-29Fix CHAR LIMITTadashi G. Takaoka1-1/+1
Bug: 5387401 Change-Id: I97161de79006a23e507a55041c7840267fbb2df8
2011-09-29Add a flag to demote completed suggestionssatok6-24/+55
Bug: 5390063 Change-Id: I0ef4fbcc705539624269fd2f8c4e782679fc44b3
2011-09-29Add missing spacers in the number password layoutKen Wakasa1-0/+2
bug: 5366732 Change-Id: Ie9f56fb5bd9978d5882197a2305a96fb40fccb11
2011-09-29Add a threshold for suggestion score.Jean Chalard2-29/+54
Bug: 5384578 Change-Id: Ic0b0203d873492a41c72defef835adf36f010f47
2011-09-29Pass the touch position correction data to native.Yusuke Nojima8-106/+107
Change-Id: I92958779377a530410d1682100f9d0a2ba267dea
2011-09-29Update suggestions when user presses the backspace even when there is not ↵satok1-3/+7
two or more suggestions Bug: 5384445 Change-Id: I419999da8f5745ac114d0173beeadcb365a8c3ac
2011-09-29Handle back key and outside touch correctly in more suggestions windowTadashi G. Takaoka2-39/+16
Bug: 5385284 Change-Id: Ic0517182d294c79e37c88f1ef30cb4d2917b2800
2011-09-29Add touch position correction data to resources.Yusuke Nojima12-5/+155
Change-Id: I156205672f3935f70c250a6c538793f35c5d86b2
2011-09-29Move some arguments to final members.Jean Chalard1-11/+15
This is preparation for Bug: 5384578 Change-Id: I7d493c441f375fa5f23c5e3cfa8134e2ce7775fe
2011-09-29Remove unnecessary permission from open source LatinIME as wellKen Wakasa1-1/+0
Change-Id: Ifd954aa9133c8da49206f1f77a2d5d4f779cd99d
2011-09-29add vibration duration settingssatok7-11/+142
Change-Id: I56a1a94df63160f367f866da759d7dd4fc428ed5
2011-09-28Import revised translations. DO NOT MERGE.Eric Fischer2-2/+2
Change-Id: I65bae1aaa5ed3371c3f9dc678080f1105015f5fa
2011-09-28Fix a bug where ampersands in XML would not workJean Chalard1-3/+11
Change-Id: Icc1bce28b78c4da2d529c308f251e298ea94539f
2011-09-28Change the logic of the LOOKS_LIKE_TYPO flagJean Chalard1-14/+16
It now follows the following logic: - If the word should be filtered out => false - Else => !IN_THE_DICTIONARY This defines the behavior for ICS MR0, and prepares for addition of a new HAS_LIKELY_SUGGESTIONS flag in MR1. Bug: 5383800 Change-Id: I530b1404ae8cf3337ff68ef5ab0f4d95f2dad0e8
2011-09-28Introduce hit box to Key and get rid of edge flagsTadashi G. Takaoka5-58/+45
Change-Id: I2b78d2ca756223b5497d01127c3a0190dcc81e57
2011-09-28Add themeId to KeyboardTadashi G. Takaoka11-2/+31
Change-Id: I6abdeaf41459406cf9021efdf5bb96232ba104c7
2011-09-28Extend JNI interface to pass the theme id of the keybaord to the native.Yusuke Nojima5-9/+15
Change-Id: I705ec2fa1d32a673a8d84bc9afc2a46208a414a1
2011-09-28Postpone onDisplayCompletions until onStartInputView has been executedTadashi G. Takaoka1-1/+20
Bug: 5108267 Change-Id: I42d297ce4e4913e5dab5f5d647b1d13dc860b884
2011-09-27Forward touch events above the keyboard to the suggestions stripTadashi G. Takaoka3-4/+118
The gutter area between the suggestions strip and the top-row keys looks like a part of the suggestions strip, and the touch events landing on the area should be forwarded to the suggestions strip. Bug: 5246673 Change-Id: I92af763be0feed21aa36ceffb5d575abe554f19e
2011-09-27Fix a bug ending in a NPE in some rare cases.Jean Chalard1-2/+2
Change-Id: If8109c6aa29d100eb745f17f0af756bcb6e3cabb
2011-09-27Fix onDeatchedFromWindow to protectedTadashi G. Takaoka2-2/+2
Change-Id: Ief666554ffd405a43363e66ea2bc2d87aa76a882
2011-09-27Add explicit NULL check to latinime_Keyboard_setProximityInfo() and ↵Yusuke Nojima3-26/+45
ProximityInfo::ProximityInfo(). Bug: 5375319 Change-Id: If3016ab56b6c62c8855b394f23e09e127a279be7
2011-09-26Fix a possible deadlock.Jean Chalard1-17/+32
Bug: 5359873 Change-Id: I80ae901c43b6ae59879e3c8b1a9dd8a937d558c1
2011-09-26Add horizontal edges paddings to phone/number layoutTadashi G. Takaoka19-316/+505
Bug: 4948171 Change-Id: I8a06a25ffcbd141c9418e77e982233166a347914
2011-09-26Fix mini keyboard style on tablet deviceTadashi G. Takaoka4-0/+4
Change-Id: Ib255697c606199e24e631ed886331d981c4dec38
2011-09-26Fix keyboard row height calculationTadashi G. Takaoka7-58/+80
The keyboard height will be distrubuted as: top_padding + (key_height + vertical_gap) * row_count - vertical_gap + bottom_padding Change-Id: I841f356b9dbf8cfaf3756178bc9e4e6b2aa61364
2011-09-24Partially revert I0fa5eefcKen Wakasa1-1/+1
bug: 5344295 Change-Id: Idb10e37862773a62ff60afe874844e8968a58b5d
2011-09-23Import revised translations. DO NOT MERGEEric Fischer9-14/+10
Change-Id: Ia96480c5178ad7f28e196502d31658326f9358e9
2011-09-23Mark IME as a core appBen Komalo1-0/+1
Bug: 5233488 Change-Id: I58e05ee1187d4f32450037cb088129d1deec58b4
2011-09-23Revert "Use "..." instead of "\u2026""Fabrice Di Meglio2-3/+3
This reverts commit 8673ceb066ed0dacaff79ac296adf8aae9814a16 The Roboto Font is having the real ellipsis back
2011-09-22Revert "New IME assets"Justin Ho75-0/+0
This reverts commit 358e33aa88db3a44a82b3790bb2553532b64882e
2011-09-22Extend JNI interface to pass the key coordinate informationYusuke Nojima5-9/+166
Change-Id: Iec0d1415d6abba43b775a014516b961b167597b7
2011-09-21Bug 5352720: IME_FLAG_NO_EXTRACT_UI is not enforcedGilles Debunne1-2/+11
CL https://android-git.corp.google.com/g/#/c/136474 refactored the fullscreen test, but ithe IME_FLAG_NO_EXTRACT_UI test was lost in the process. Note that there is still a problem (orthogonal to that change with key_preview_backing, which appears opaque and black sometimes. I'll re-open 5315001. Change-Id: If3a73179d21eaca10bdc948db7bac4b4f7a88d34
2011-09-21Remove "autoCorrectInvert" feature from SuggestionsViewTadashi G. Takaoka3-62/+5
Bug: 5162005 Change-Id: Iec679f5f05f28cd7e8013d7350ea03372f1cd7b2
2011-09-21Use "..." instead of "\u2026"Tadashi G. Takaoka2-3/+3
Because "TRHEE DOT LEADER" glyph of Roboto font is broken, we decide to use "..." instead. Bug: 5344295 Change-Id: I0fa5eefc00baf80747ff5215c018619a7e15a58e
2011-09-21Fix key preview backing view heightTadashi G. Takaoka2-1/+4
Bug: 5344344 Change-Id: Ied0cda2c4b822b391ece54a6880fae8e349cc0bc
2011-09-21Sliding suggestions strip starts showing more suggestionsTadashi G. Takaoka1-1/+25
Bug: 5301019 Change-Id: I87daa9e472f9e93a6da9de754376b7fa4740171a
2011-09-20Import revised translations. DO NOT MERGEEric Fischer36-72/+36
Change-Id: Ia9df50887d79187478c19dae66f8235587360a2c
2011-09-20Import revised translations.Eric Fischer46-506/+362
Change-Id: I74959a565a438f6f6a96b67275a84ac73015ed02
2011-09-20New IME assetsJustin Ho75-0/+0
Change-Id: I5782a9f2c244e0b8651d99a53091469a325e1462
2011-09-20Enable vibrate on keypress by defaultKen Wakasa4-2/+5
bug: 5337363 Change-Id: I14c95d27dd236d0a43e64a46ae6fbf9f2a97a3da
2011-09-20Tweak LatinIME's keypress volumeKen Wakasa2-17/+48
bug: 5337902 Change-Id: I7f864f158d110aa3e755961303799882f59b7e4c
2011-09-20The back button key event is delivered correctlyTadashi G. Takaoka2-16/+29
Bug: 5275063 Change-Id: I439ce18665e40dc8b2e40e923e5cabfcae7c81cf
2011-09-20(DO NOT MERGE) Update fullscreen mode also at onStartInputViewTadashi G. Takaoka2-28/+17
This is a cherry-pick cheof I190a71f7 from Master. Bug: 5315001 Change-Id: I76c756eeecf21eec4c88dd4558d5c50f10ff3d3c
2011-09-20Update fullscreen mode also at onStartInputViewTadashi G. Takaoka2-28/+17
This change also separates controlling visibility of "key preview backing view" from suggestions strip visibility. Bug: 5315001 Change-Id: I190a71f7956c804e5d89d2d5bacecc62d565ac2c
2011-09-20Fix a dangerous macro.Yusuke Nojima1-1/+1
Change-Id: Idb5530ceb03c415e4ec002f8d2fbbec837b35636
2011-09-20Tweak LatinIME's keypress vibration durationKen Wakasa3-7/+62
bug: 5337363 Change-Id: If6e6de587cbcddf26710d8f0b237c4bc393589b6