aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-15Update personalization dict via dictionary facilitator.Keisuke Kuroyanagi4-108/+27
Change-Id: I512c41e12d8d31f03b5df6ad03bf7711611c80f5
2014-01-15Import translations. DO NOT MERGEGeoff Mendal55-110/+178
Change-Id: I9d276ae4391f209e2db3a080b3221e5a8aa59938 Auto-generated-cl: translation import
2014-01-16[IL57] Don't require a main dict suggestion.Jean Chalard1-12/+0
This is bad for recorrection (it will ignore recorrection suggestions). But if you think about it well, if you didn't have a main dict, then you probably will compute the same stuff anyway. It's not useful to make this check at all. Bug: 12297051 Change-Id: I6d6cf4d9353b7c668c5413c67701563b243e585c
2014-01-16[IL56] Don't erase suggestions when reverting a commit.Jean Chalard4-21/+50
Bug: 12297051 Change-Id: Iffa1c98b8fe2b816c3ac6bc171037288107f637d
2014-01-15Fix native method signatureTadashi G. Takaoka2-2/+4
Change-Id: Ia2d566f162f746c6b2b2b874f7278d86abd9e839
2014-01-15Refactor LanguageModelParam class a bitTadashi G. Takaoka1-0/+113
This change must be checked in together with I9ecfd1adc1. Change-Id: I26f8c17d6347b75dba6abb3d73239f4052327dae
2014-01-15Make final Locale field publicTadashi G. Takaoka1-1/+1
This change must be checked in together with Id9382498a8. Change-Id: I804d78969bccf8bdc224477bd64c8ac12c1ab0d6
2014-01-15Consolidate LanguageModelParam constructorsTadashi G. Takaoka1-11/+2
Change-Id: I142651d1f268456a5901da524cbe55d315f76d28
2014-01-15Move LanguageModelParams class to utility packageTadashi G. Takaoka6-49/+70
This change must be checked in together with Ic82d951237. Change-Id: I2ab451330f85a0147563b805682f26edecb71a29
2014-01-15Revert "Disable Nepali layouts temporarily per product call"Tadashi G. Takaoka4-4/+290
This reverts Id58cdf117d. This also partially reverts I99be3d54d3. This change must be checked in together with Ied923ed80b. Bug: 6910787 Change-Id: Icdeee1b93a6b626b43fefc06d3bb3fe40d2e056b
2014-01-15Revert "Remove Azerbaijani subtype"Tadashi G. Takaoka4-3/+290
This reverts I0d2a98dffe. This also partially reverts I99be3d54d3. This change must be checked in together with Ibf49c89832. Bug: 7963448 Change-Id: Idbb3e1ac9f4e067a0051f618946a345632102fb3
2014-01-14Fix native crash in BigramDictionary::addWordBigram()Keisuke Kuroyanagi1-4/+10
Bug: 12479653 Change-Id: I7d263f744f711202000524a47769dc2d3d0e0de6
2014-01-14Fix flaky unit test.Keisuke Kuroyanagi2-1/+4
Change-Id: I8df0f9a0398b29f679844f256ad84f09ebcea8ee
2014-01-14Revert "Revert "Remove Azerbaijani subtype""Narayan Kamath4-297/+3
This reverts commit 50e15413daa8bf02d589bf298ba4b0267de0743b. Change-Id: I10c83ac4bf987d20a536e9b03d4c584f54a55789
2014-01-14Revert "Revert "Disable Nepali layouts temporarily per product call""Narayan Kamath4-297/+4
This reverts commit 93fdfc110bc5759bd34b40545335490dcbc00ee9. Change-Id: Ibe7bfa07aa2437701794209c16f017a88cd166b4
2014-01-14Revert "Disable Nepali layouts temporarily per product call"Tadashi G. Takaoka4-4/+297
This reverts Id58cdf117d. This also partially reverts I456268b68f. This change must be checked in together with I4d5c8ffa45. Bug: 6910787 Change-Id: I59ba69f1b14164edea8eddf3784554a29a97e9b3
2014-01-14Revert "Remove Azerbaijani subtype"Tadashi G. Takaoka4-3/+297
This reverts I0d2a98dffe. This also partially reverts I99be3d54d3. This change must be checked in together with If2d081729b. Bug: 7963448 Change-Id: Ibb6efecf59ad4ca00774eca64f2f073bf95010aa
2014-01-14Move phrase gesture related string resources to AOSPTadashi G. Takaoka57-0/+116
This change must be checked in together with Ica8fc5135. Change-Id: I288d7083391954f1266a9b77ee4ffc0bc9d4229d
2014-01-14Pass time stamp to addToUserHistory method as an argumentTadashi G. Takaoka2-13/+14
Bug: 12179576 Change-Id: I93037ee2aa7c0432400fe2f93fb60d2e60f70f5f
2014-01-14Update dictionariesJean Chalard5-0/+0
This change has no effect on TRT results. >>> dictionaries/en_US_wordlist.combined.gz Header : date : 1381226409 <=> 1389654051 version : 42 <=> 43 Body : Added: dialogue 120 Added: dialogues 94 >>> dictionaries/fr_wordlist.combined.gz Header : date : 1381226409 <=> 1389654052 version : 42 <=> 43 Body : Deleted: d'Orange 114 Added: d'orange 114 >>> dictionaries/it_wordlist.combined.gz Header : date : 1380519383 <=> 1389654052 version : 40 <=> 43 Body : Freq changed: ciao 85 -> 180 >>> java/res/raw/main_fr.dict Header : date : 1381226409 <=> 1389654052 version : 42 <=> 43 Body : Deleted: d'Orange 114 Added: d'orange 114 >>> java/res/raw/main_it.dict Header : date : 1380519383 <=> 1389654052 version : 40 <=> 43 Body : Freq changed: ciao 85 -> 180 Bug: 12487270 Bug: 12344108 Change-Id: I94768e223d05ad2551a5508e9e01222a028665c4
2014-01-13Import translations. DO NOT MERGEGeoff Mendal25-49/+25
Change-Id: I3233aa7d5f64fbf8818e0065cd1da47d84070fb6 Auto-generated-cl: translation import
2014-01-10Fix possible NPE in DictionaryFacilitatorForSuggest.Keisuke Kuroyanagi1-0/+1
Change-Id: I57792b7417b5f1acbb99e6ea60250eb44b193785
2014-01-10Fix a test.Jean Chalard2-1/+4
Bug: 12483313 Change-Id: Ia811d614b9260367871bc5717f587538adf46789
2014-01-10[IL55] Remove a useless argument.Jean Chalard2-16/+3
Change-Id: I0b3a6cdf49038c32194413c21da824784a53f581
2014-01-10Check corpus handles during startup for personalization.Keisuke Kuroyanagi2-1/+14
Bug: 12479792 Change-Id: I62fd75d4bebd28afebd9631e865f5d59385511e7
2014-01-10Boundary check for ProximityInfoState::getProximityTypeG().Keisuke Kuroyanagi1-0/+8
Bug: 12481052 Change-Id: Ic0b64d2fa17eb8f65f3ad1a7b468cdf6dddf7e70
2014-01-10[IL54.5] Use the cursor pos estimate, not the last valueJean Chalard2-91/+41
For edit tasks, the estimate is actually the right thing to use. This is really dangerous, but it will get rid of pretty much all race conditions. Change-Id: I2d5ca3ce45e32f1bd9c8b778421fd54b9c1f6f63
2014-01-10Periodic wipe of the personalization dict.Keisuke Kuroyanagi3-1/+17
Bug: 12216453 Change-Id: Ie59dd19c044e9b1eb9b8bd805366200737ea506a
2014-01-10[IL54] Add a mirror method to fix the cursor pos estimateJean Chalard2-5/+57
This just mirrors what InputLogic#tryFixLyingCursorPosition is doing. That method will go away in the next change. Change-Id: Ifa2827dbc1f1d20e2c642d6f2d23514a01ed9203
2014-01-10[IL53] Fix a wrong test.Jean Chalard1-5/+7
This test was intended only for cases without a selection, and as a safety net for cases where the app would pretend the cursor is at N but we can get P chars from the editor where P > N. When there is a selection, this is wrong. In the practice it works because these values are not used in this case, but it's still wrong. The case where P > N is arguable, but actually I see little reason to trust the getTextBeforeCursor() method more than the onUpdate selection method. Plus in the practice, I don't think we are aware of any app with this bug, and it's probably not a great idea to be too robust about this as it may encourage wrong values sent to onUpdateSelection. Change-Id: I42f2065d7aee668074e6b8e40b259da7e88e16e1
2014-01-10Fix an NPE.Jean Chalard2-3/+31
Bug: 12397228 Change-Id: I7632931f0685fc8f0558946be66025b2bb2b5a3d
2014-01-10Fix build.Jean Chalard5-70/+75
Change-Id: I6d0b572190080e58e95f72856ad39e72a49537b7
2014-01-09Passing SpacingAndPunctuations to StringUtils.looksValidForDictionaryInsertionTadashi G. Takaoka4-84/+21
This change must be checked in together with Iec437d6df0. Change-Id: Idf745b8870965f3bdf690de7ff3b22f83f6204bf
2014-01-09Passing SpacingAndPunctuations to RichInputConnection.getNthPreviousWordsTadashi G. Takaoka4-33/+59
Change-Id: I174c50f509ed6998b755e1a712e7f6c0f82f4425
2014-01-09Passing SpacingAndPunctuations to CapsModeUtils.getCapsModeTadashi G. Takaoka3-52/+59
Change-Id: I0b06e8cc75a403f7061864c5b7f3f6a2cacd60eb
2014-01-09Add American typography boolean to SpacingAndPunctuationsTadashi G. Takaoka4-10/+19
Change-Id: Ic2663eaef38fbe7c5bd1fb3a81771e94c2d4de52
2014-01-09Fix a unit test in InputLogicTests.Keisuke Kuroyanagi1-1/+1
Change-Id: I63a20bb2e4b3c39495fade6cae3a14fdd11ca48c
2014-01-09A style fixYohei Yukawa1-1/+1
Just a style fix to follow up the previous commit. BUG: 11439600 Change-Id: Ib7a4654627a6fc22d86f2097f86f001bd76426e9
2014-01-09Remove some warningsJean Chalard12-81/+61
Change-Id: I5cfa0d2fccc139bd6c45c5590a68c3e0c90534b8
2014-01-09Fix a bug where changing auto-shift would cancel autorepeat.Jean Chalard2-3/+3
Bug: 12453966 Change-Id: Idd65f732e2de0a7309e08315893c28cca63732c5
2014-01-09Trigger haptic feedback at touch down on the EmojiPalettesViewYohei Yukawa2-29/+51
EmojiPalettesView triggers the haptic feedback at the timing of touch-up rather than touch-down. This patch set changes the timing to touch-up so that the UX on the EmojiPalettesView can be consistent with normal keyboard layouts. This patch set also fixes the missing haptic feedback from facemarks such as ":-)". Bug: 11439600 Change-Id: I22245946712bd1c36226786d6ff81e3b563f7ef7
2014-01-08Import translations. DO NOT MERGEBaligh Uddin31-62/+31
Change-Id: Ia2d0f4528529df463307e1706cd4d7265b3958c1 Auto-generated-cl: translation import
2014-01-08Check whether the word is OOV or not for amanatto update.Keisuke Kuroyanagi4-1/+5
Bug: 11736529 Change-Id: I27973212da7e922b2185dbb4febfb5bb4dfbdcbb
2014-01-08Make reloadMainDict() private.Keisuke Kuroyanagi3-37/+84
Bug: 8187060 Change-Id: I852a751d748f39512e62c9cd69748dfbe87b2151
2014-01-08Revert "Revert "Separate spacing and punctuation related settings values""Jean Chalard6-85/+153
This reverts commit 8bc427799a9b7a53103d1edba4a447033fbd8cfa. Change-Id: I34f509998afdb1a7c120fbfdb9f0a1b188224a4d
2014-01-08Fix a race condition, take 2.Jean Chalard2-5/+18
Don't use absolute cursor positions when making edits, this leads to race conditions. This is a bit ugly and will need to be fixed soon. Plans are underway to clean this up. Bug: 12390573 Change-Id: I69c09fc41b979880d0800c55a710e39373287cff
2014-01-08Revert "Separate spacing and punctuation related settings values"Jean Chalard6-153/+85
This is conflicting with later changes. Temporary revert for cherry-pick. This reverts commit 0b593ce858d4b406e949f0e809cb77f41da691f9. Change-Id: Id53eadb023a950cfcca496c0cfbfe583c7ec7b8c
2014-01-08Revert "Fix a race condition, take 2."Jean Chalard2-18/+5
Conflicts prevent this to be cherry-picked. This reverts commit dd3d697a6e6713d82020dd63cbf78e4f87664484. Change-Id: Ib97fae2234633b4bb27d611f48a79060db9ab16f
2014-01-08Fix a race condition, take 2.Jean Chalard2-5/+18
Don't use absolute cursor positions when making edits, this leads to race conditions. This is a bit ugly and will need to be fixed soon. Plans are underway to clean this up. Bug: 12390573 Change-Id: Ib42d4149343c642b1b5c1937b424e8afdbd4cc1f
2014-01-08Revert "Revert "Fix a race condition.""Jean Chalard1-2/+5
This reverts commit 38401272446dbaec785e656b921cfbd31162ba09. Change-Id: I7f0d975ec9e18d94fe3505250360c2b79ccbe96d