aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-30[HD02] Make the date header attribute mandatory.Jean Chalard1-2/+2
Bug: 11281748 Change-Id: I48a6f3d95ca89ced0c51335527201ecabfb7998e
2014-01-30[HD01] Small initial refactoringJean Chalard4-34/+46
Bug: 11281748 Change-Id: I3c64c75ecd17729bdacf03048311d76ca9f37ae2
2014-01-29Reading dictionary containing timestamps in Java Side.Keisuke Kuroyanagi9-68/+132
Just skipping historical information fields. Bug: 11281877 Change-Id: I43d2adaa576b7da11ed3ca54990265dbb6f53b08
2014-01-29[IL106] Inline a now useless method.Jean Chalard2-15/+4
Bug: 8636060 Change-Id: Ic8e0225206358680aa0de421f17ab443c888036d
2014-01-29[IL105] Remove more useless argumentsJean Chalard2-9/+8
Bug: 8636060 Change-Id: I9e817bb9622c84544a5ca8708e5c1fccad1ed447
2014-01-29[IL104] Remove useless argumentsJean Chalard2-32/+9
Bug: 8636060 Change-Id: I97a371fe0c6227eb0f03d3e391a33726e6280322
2014-01-29[IL103] Save the typed word separately in SuggestedWords.Jean Chalard3-7/+26
This helps managing the cases where the typed word is not in the suggestions. This happens during recorrection. Bug: 8636060 Change-Id: I6784feb793cae96272a7f1d123a0e3bbb8f03143
2014-01-29Add method to clear user history dictionary for testingTadashi G. Takaoka1-0/+8
This change should be checked in together with I19cd689157. Bug: 12179576 Change-Id: I5cc9f52a37ad6623809a14575f3f4b1cd18725c3
2014-01-28Remove suggestion_word and suggestion_info layout filesTadashi G. Takaoka8-78/+49
Change-Id: I37fea41cfc6e717ce7e5aa36ad331675fc9e8ce5
2014-01-28Fix inconsistent behavior with the back-to-the-main-keyboard keyYohei Yukawa5-13/+20
With this patch, the back-to-the-main-keyboard in the Emoji palette will be registered as a key-release action instead of a key-press action, like switch-to-the-emoji-palette in the main layout. This provides mroe consistent UX when the layout is switched from the main layout to the Emoji palette then switched back to the main layout. BUG: 12464067 Change-Id: Ia0d0185db43234dfcfb7cee2677f3d199fe6ed96
2014-01-28[IL102] Rename a methodJean Chalard2-8/+6
Bug: 8636060 Change-Id: Ia54afdfab9124aa5c35699e357e63eae66a7557f
2014-01-28[IL101] Remove a methodJean Chalard2-11/+14
Bug: 8636060 Change-Id: Ic9c12fc6970987b0e1912e8ae85bed55260d66b5
2014-01-28[IL100] Pull up a checkJean Chalard2-2/+3
Bug: 8636060 Change-Id: I344ed59f5f55b412880fc6dc70205eecb1e79961
2014-01-28[IL99] Migrate some code to InputLogic.Jean Chalard2-18/+24
Bug: 8636060 Change-Id: Ibf1f9c7bdc3fdd872d6c15447fa555434485cc52
2014-01-28[IL98] Refactoring of setSuggestedWordsJean Chalard1-6/+6
Bug: 8636060 Change-Id: Iab53df96f2c23bddc6c70c3560b380fbaef1053c
2014-01-28[IL97] Readability improvementJean Chalard1-11/+10
Bug: 8636060 Change-Id: I6b15c7fb91cd4cf23a993541c19842b51e328f8f
2014-01-28Improve the double letter word promotion logic.Keisuke Kuroyanagi3-22/+6
The old logic only checks the top 3 suggestions before the final adjustment. It leads to instability in scores. Bug: 10700674 Change-Id: I986aed2aefd66c1fba6196a8f100fcb5bc838a38
2014-01-28Check probability before adding to the user history dict.Keisuke Kuroyanagi1-1/+24
Bug: 12764888 Change-Id: I5da3ef21d9d82b7034e7dc9b7d0fdca0d48a49f4
2014-01-28Suggestion strip honors RTL layoutTadashi G. Takaoka6-45/+22
Bug: 9126496 Change-Id: Ia4a1c52bd2a80ea7fe6b9529f2767fee5f9e8aeb
2014-01-28[IL96] Inline a methodJean Chalard1-5/+1
Bug: 8636060 Change-Id: I517591c484dce74788398cf4a4db9a074d91a6c0
2014-01-28[IL95] Inline a method that's always called in sequenceJean Chalard1-8/+7
Bug: 8636060 Change-Id: I514cf14596b3fa46eccadcf536342e4bb805708d
2014-01-28Fix inconsistent behavior with the spacebar on the Emoji pallete.Yohei Yukawa1-24/+58
On the Emoji palette, unlike other layouts, a user could not cancel events by moving the finger away from the spacebar. With this patch, the actual handler of the spacebar will be registered as onClick event, which will not occur when the user cancel the event. Bug: 12464067 Change-Id: I7e7e11ae5f17073e5d92116adca0702579d3ae9c
2014-01-28Fix test fails caused by I8bede13c87Tadashi G. Takaoka1-0/+12
Change-Id: I1e816bf7ea5fd46b39c2482bbcbfcdc16d5acc21
2014-01-27Import translations. DO NOT MERGEBaligh Uddin1-1/+1
Change-Id: I9632cf713ad9e1bba1df5819c4038739229f7ec2 Auto-generated-cl: translation import
2014-01-27[IL94] Remove a function and some reorderingJean Chalard1-5/+2
Bug: 8636060 Change-Id: I4baa237c9c7b58a8eb4158c34b9d3f3dfb95c69c
2014-01-27[IL93] Refactor a method inside anotherJean Chalard1-3/+1
The calls to setAutoCorrectionIndicator with a constant are always the exact same as mWillAutoCorrect. Bug: 8636060 Change-Id: I8106919819b978b0a9655af2ef444664fad4c1ad
2014-01-27[IL92] Straighten out showSuggestionStripWithTypedWordJean Chalard1-7/+2
Bug: 8636060 Change-Id: I066ff29c76349f0ab61441ea5f7bc9085d24bdbc
2014-01-27[IL91] Call reorderJean Chalard1-9/+8
Bug: 8636060 Change-Id: I3d0ce6dcb3b51cabc424d00a397d243c32360e92
2014-01-27Add SubtypeLocaleUtils.isRtlLanguage methodTadashi G. Takaoka2-1/+44
Change-Id: I2e399ae9ca111638b583c5681de08b0e6db86e3a
2014-01-27[IL90] Small refactoringJean Chalard1-3/+5
Bug: 8636060 Change-Id: I37844ab1c5c61ea940897e7d72bb79c7b329f743
2014-01-27[IL89] Inline a functionJean Chalard1-7/+3
We will then refactor the contents of showSuggestionStripWithTypedWord Bug: 8636060 Change-Id: I8a2a0d50b79fcc7ad21b01a0060b9fa7e4c1bdd6
2014-01-27[IL88] Simple refactoringJean Chalard2-2/+2
With this, the value passed to suggestedWords is never null. Bug: 8636060 Change-Id: I433dd7e7290125e217e05cc20bee7a4b58fe083f
2014-01-27[IL87] Remove a call to clearSuggestionStripJean Chalard1-6/+2
The goal is to remove the function completely. Bug: 8636060 Change-Id: I50b8f0368c8f6506209398ff931881e2235c3d2d
2014-01-27[IL86] Simplification and correctness fix.Jean Chalard1-5/+1
This should be what was intended. Bug: 8636060 Change-Id: I20a1cc4f0b1fb9444fb6f9a20ef727e3d1a3a880
2014-01-27[IL85] Maybe show punctuations when app completions are nullJean Chalard1-1/+1
When the app goes to the trouble of supplying completions, but supplies null, then we should show punctuations if settings allow. Bug: 8636060 Change-Id: I33c32566039c80df61fcca3fab346fd336d96a12
2014-01-27[IL84] Remove a useless call and rename a methodJean Chalard2-5/+6
Bug: 8636060 Change-Id: I5cac787953a3c71b6402520c2f5c70619d4a40a8
2014-01-27[IL83] Inline a callJean Chalard1-1/+2
The coming string of changes is very complicated, so I'm going to do things really slowly. Bug: 8636060 Change-Id: Id8a07a154ac514e9b3307ead22d47c3ae6fa732b
2014-01-27[IL82] Fix a wrong commentJean Chalard1-1/+1
Change-Id: I6e16b4e05010a08f4d1da34145f819c32b3bc79e
2014-01-27[IL81] Remove a useless test.Jean Chalard1-12/+3
It seems the comments were right all along. This seems to really be useless. Bug: 8636060 Change-Id: Ie030e9cb73007334380d023abeaa4ce52a863a34
2014-01-27[IL80] Reverse a test for clarity.Jean Chalard1-50/+49
Bug: 8636060 Change-Id: I5092942ab4fd6aaf37023083040cadbc18583fd1
2014-01-27[IL79] Some refactoringJean Chalard2-20/+18
Bug: 8636060 Change-Id: I931c553f68a1f15d22711a661dbffd4e5d421979
2014-01-27[IL78] Move most of onUpdateSelection to InputLogic.Jean Chalard2-59/+83
Bug: 8636060 Change-Id: I7290250637e37bf6964bab71d2141e19f20a5459
2014-01-27Refactor SuggestionsStripLayoutHelper classTadashi G. Takaoka3-65/+77
Bug: 9126496 Change-Id: I8bede13c8745fbcad68099d882681ca4f2326d14
2014-01-27Fix SubtypeLocaleUtilsTestsTadashi G. Takaoka1-18/+27
Change-Id: Ifbdfd320b1416d210592ec14099e4dd9d9d0047d
2014-01-27[IL77] Remove refs to Settings from InputLogicJean Chalard2-11/+6
Bug: 8636060 Change-Id: I4ce5c9b62181ce8593a453ce222ae7d1fdc08f07
2014-01-27[IL75] Move the SubtypeSwitcher out of InputLogic.Jean Chalard2-7/+9
Bug: 8636060 Change-Id: I2a5da27e73cf378e55bd80ab2054c1ba8b13f6ec
2014-01-27Try to figure out whether d.quotes open or close.Jean Chalard4-6/+103
Bug: 8911672 Change-Id: I5d5635949530a67f95e5208986907251b7bce903
2014-01-27Revert "Use ViewCompat support library"Tadashi G. Takaoka4-9/+80
This reverts commit e7ee4fa862e9d7986c292c2e3a0d6b392100540a. Change-Id: I56fab60ac859289d3ed51f691cd7e2a15da01856
2014-01-27[IL74] Remove unused/unwanted arguments to a method.Jean Chalard2-7/+3
Bug: 8636060 Change-Id: I3c5213cc57b5b5febd25f14d40c197d2da43dfb8
2014-01-27Fix inconsistent behavior with backspace in the Emoji pallete.Yohei Yukawa1-55/+93
In some ways, the delete key on the Emoji palette was inconsistent with that in other keyboard layouts. - It deletes a character in down events, not up events. - A user cannot cancel the event by moving the finger away from the key. This patch fixes these inconsistencies by revisin EmojiPalettesView.DeleteKeyOnTouchListener. Notable changes are: - An explicit state machine is introduced because there are different event sequences to be considered. - Background thread is replaced with CountDownTimer so tha key-repeat events can be naturally generated in the UI thread. - MotionEvent.ACTION_MOVE is now handled to cancel the subsequent delete key events when the finger is moved away from the key area. Bug: 12464067 Change-Id: Ibc360a1394afef368a8d9af7b4c0e99e8ce1d83c