aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-11Remove BinaryDictionary.MAX_PREDICTION and MAX_SPACES, and rename MAX_WORDS ↵Ken Wakasa4-33/+20
to MAX_RESULTS Change-Id: Iab2a422b367e7521f346481c7fe5e2575f2e9de3
2013-01-11Fix spell checker subtype list.Jean Chalard4-26/+283
Remove the subtypes that don't get a dictionary any more in AOSP. Also prepare for all downloadable-dictionary supported subtypes. Bug: 7673670 Change-Id: I5b754a791233c270237b8f7e5e2208f7282ad294
2013-01-10[Rlog58b] Log user pausesKurt Partridge2-24/+54
Change-Id: I7802f07192a4cba4f3cfb5c08ce6d5d2d85a46c1
2013-01-10[Rlog59a] Split logUnits correctly around separatorsKurt Partridge2-1/+16
Change-Id: I65ecdead7e7bdeb8a5f1748e27068ddbd5d3ce00
2013-01-10[Rlog58a] Fix privacy leak of word in logUnitStartKurt Partridge1-3/+6
Change-Id: Idcea4cd0256581e9868ac987fd1fa281ff074483
2013-01-10[Rlog] Fix some potential NPEsKurt Partridge1-2/+12
Change-Id: I07b18b5db81784dca32683e5f208088181c5eed9
2013-01-10[Rlog57b] fix logging of revertsKurt Partridge2-8/+16
Change-Id: I07c817061a0cc060197e0fea45195ca07a9bf276
2013-01-10Fix too thick gesture trail widthKen Wakasa1-1/+2
Change-Id: If1b78183b24fa0029bc28e5f56a988372182903e
2013-01-10fix possible NPE in DebugSettingssatok1-0/+3
Change-Id: I44ec5bd3b2a00087603316f14d732164dbcf399f
2013-01-10Show final suggested word when batch input is finishedTadashi G. Takaoka4-31/+22
This change moves dismiss timer of gesture floating preview text from PreviewPlacerView to KeyboardView. Bug: 7967461 Change-Id: I0ca5beddc93cb4bc4a405f914d217d37b997402b
2013-01-10Initial implementation for dead keys (B3)Jean Chalard4-0/+105
Bug: 5037589 Change-Id: I9e1ff92df7d0c58eb7a0f33603adebc9efb86585
2013-01-09[Rlog57a] include logUnit boundaries in outputKurt Partridge1-16/+58
Change-Id: I4d1647b971b0e7a4cf1a96f341236f6ab1d2ab16
2013-01-10Fix international testsJean Chalard3-30/+9
Tests have been broken again by recent changes to subtype choice within Latin IME. This fixes the problem and all tests pass again. This change also includes a small fix to one test that was checking for something irrelevant. Change-Id: I6a03dea24f99b0d2ad84c4161a8413f3060bb811
2013-01-10Cancel update batch input timer only when point is addedTadashi G. Takaoka2-8/+15
Bug: 7972004 Change-Id: Ie5db5910efba851976da2284cafc69be2910d354
2013-01-10Add words to PortugueseJean Chalard3-0/+0
>>> dictionaries/pt_BR_wordlist.combined.gz Header : date : 1355802839 <=> 1357790917 version : 29 <=> 30 Body : Added: à 30 Added: é 30 Added: ò 30 Added: ô 30 >>> dictionaries/pt_PT_wordlist.combined.gz Header : date : 1355802856 <=> 1357790930 version : 29 <=> 30 Body : Added: à 30 Added: é 30 Added: ò 30 Added: ô 30 >>> java/res/raw/main_pt_br.dict Header : date : 1355802839 <=> 1357790917 version : 29 <=> 30 Body : Added: à 30 Added: é 30 Added: ò 30 Added: ô 30 Bug: 7966948 Change-Id: I71c0986cf616d67926d0a6a0e53099b04b0427d5
2013-01-09[Rlog56] Buffer words before pushing out LogUnitKurt Partridge3-55/+96
Previously, a logbuffer only held an n-gram. Data went in and out of it, FIFO, until privacy conditions were met (i.e. data not collected too frequently), and then an n-gram was saved. E.g., if n=2, and only 10% of data is collected, then 18 words went through the logbuffer before it captured the next 2 words. However, if a user then went back and edited the n-gram, these edits were not captured. This change changes the logbuffer size to temporarily hold data about words that are not recorded, so that if the user backs up over them, the edits to an n-gram that we do eventually capture are stored. If the example above, instead of a logbuffer holding 2 words, it holds 20. The system waits until all the words not needed for the n-gram have been gathered (i.e. the buffer is full), so the user has adequate time to edit, before shifting out the n-gram. The buffer is still flushed when the user closes the IME. See the comment for MainLogBuffer for an explanation. multi-project commit with I45317bc95eeb859adc1b35b24d0478f2df1a67f3 Change-Id: I4ffd95d08c6437dcf650d866ef9e24b6af512334
2013-01-09[Rlog52z] Cleanup and small bug fixesKurt Partridge2-9/+10
Change-Id: Ia3fca4881370ffcdd5f2b14d2d1094c51f4330ae
2013-01-10Remove unused variablesTadashi G. Takaoka2-20/+10
Change-Id: I508679c2ad21b2624760d37a9503e21733964d4c
2013-01-10Rename variables related to key preview popupTadashi G. Takaoka1-13/+12
Change-Id: I0161e5844dd325af9afba80ac54a569b16c80660
2013-01-10Remove unused variableTadashi G. Takaoka1-3/+0
Change-Id: I7001d8b6200a5cefcf84630d663da8316422026f
2013-01-09[Rlog50] capture bigrams properly even with deletionsKurt Partridge7-62/+191
multi-project commit with Ia4ec213e8356897807cb6a278fccdbaa945732f0 Change-Id: Ib3fe886dc889954a31586ab81d00a21d8d55efd2
2013-01-09Import translations. DO NOT MERGEBaligh Uddin5-7/+5
Change-Id: I7513684783ad97339184b8db61ddd062cbd7a1c5 Auto-generated-cl: translation import
2013-01-09Import translations. DO NOT MERGEBaligh Uddin5-7/+5
Change-Id: I35be6cca9818f1ea08f3a23c76d19bfb945028b7 Auto-generated-cl: translation import
2013-01-09Add a next Event (B2)Jean Chalard3-22/+24
Change-Id: If2fe6f0f4f88a6ae1f22664ded61cec6942c18b9
2013-01-09Move a method to a utility class (C1)Jean Chalard2-12/+16
This is a preparatory change to fix bug 7969231 Change-Id: I44604ae75192a17b4e75a01f3e3d679d4901299e
2013-01-09Abandon the idea of an Event pool and make Event immutable (B1)Jean Chalard3-26/+17
Change-Id: I750a07c0c564a95ceac734afa873ca3da9626a7f
2013-01-09add a defineSatoshi Kataoka1-0/+3
Change-Id: I8139d0639d07afd200ba4507768bf76d0054687b
2013-01-09Fix a race condition with backspacesJean Chalard2-0/+26
And add a test to make sure it stays not-broken. Bug: 7946604 Change-Id: I996da3d5507d591ec25a13fb57434f39843f1df5
2013-01-09Cancel update batch input timer whenever MotionEvent is receivedTadashi G. Takaoka3-0/+24
Bug: 7911739 Change-Id: Id2cd98385371fd98435943ed66ec5381dfaa48e0
2013-01-09Don't cancel gesture typing while more keys keyboard is shownTadashi G. Takaoka1-0/+5
Bug: 7964225 Change-Id: I4c572527b6f399282bdd963e38c147c7e69815ac
2013-01-09Replace assert() with ASSERT() & use -funwind-tables for debug buildsKen Wakasa7-22/+21
Change-Id: I9ec14eb24ebc45657119a45aba09517e71a22974
2013-01-09assert when the touch event goes back to the futureSatoshi Kataoka2-0/+12
bug: 7911739 Change-Id: I29db6a5cb6749999666b1c53857ea61bcc19b8f1
2013-01-09Clean up public helper methods of SettingsValuesTadashi G. Takaoka9-211/+205
Change-Id: I6c6087580b67f497eaaf16900f8df7a4a895b8e3
2013-01-08[Rlog48] Better logging of MotionEventsKurt Partridge3-6/+59
- Now includes all historical data stored in a motionEvent - Simpler API, refactored to move extraction code to JsonUtils Change-Id: I52d9756ddbeaa14d1704787da59bf1aad18f0335
2013-01-08Clean up debug related preference keysTadashi G. Takaoka2-10/+10
Change-Id: Ib7129692c673b3bce253120ee709e0253aeafa52
2013-01-08Yet another small cleanupsKen Wakasa7-31/+23
Change-Id: Ie940c4d4d9d85c95e2f04ba23f00a54ba3dc53bf
2013-01-08Make Settings class singleton to manage SettingsValuesTadashi G. Takaoka3-97/+146
Change-Id: Id30828a141de86d9bcf8bce586d2adb468cc59e1
2013-01-08Misc small cleanupsKen Wakasa13-61/+44
Change-Id: Iea61e6c76a9a0437a1b2e8143f6ab5b09a8e211e
2013-01-08Rename Settings to SettingsFragmentTadashi G. Takaoka3-359/+378
Change-Id: If5bc53efc67be507663091de0f569f604c03e719
2013-01-08Consolidate VibratorUtils with AudioAndHapticFeedbackManagerTadashi G. Takaoka6-83/+58
Change-Id: Ica4e3193f369330da62a259c718b779ddf9fbde5
2013-01-08Adjust the used frequency of the user dictionary words.Jean Chalard1-5/+20
Bug: 7656666 Change-Id: I4b271af636f6103cb5287336229581365841d778
2013-01-08Update dictionariesJean Chalard3-0/+0
>>> dictionaries/fr_wordlist.combined.gz Header : date : 1355802835 <=> 1357617878 Body : Deleted: jai 50 >>> dictionaries/pl_wordlist.combined.gz Header : date : 1355802847 <=> 1357618222 Body : Added: żebyście 69 Added: żebyśmy 69 >>> java/res/raw/main_fr.dict Header : date : 1355802835 <=> 1357617878 Body : Deleted: jai 50 Change-Id: I8651a4689bea06d5fe2caead471ef52969c77089
2013-01-07[Rlog32] ResearchLogger segment motion data around gestures correctlyKurt Partridge3-19/+82
multi-project commit with I684ba5fed8c653777942e6b0366113ca40dfa37c Change-Id: Id3804e6cfa97b4cdde212b8eebc413f76fa4772c
2013-01-07Import translations. DO NOT MERGEBaligh Uddin46-92/+46
Change-Id: I8b9113b6328fa461d8184ff3d2bc03379d1c7e3a Auto-generated-cl: translation import
2013-01-07Import translations. DO NOT MERGEBaligh Uddin46-92/+46
Change-Id: I28702033361341341f341afdd6db881004234b20 Auto-generated-cl: translation import
2013-01-07[mdfp] Refactoring Gesture Floating Preview Text CodeXiaojun Bi5-97/+248
This change moves gesture preview text code from PreviewPlacerView.java to separate classes. Change-Id: Id8d17eff38e714c3b06aafd0b24985a9bd2d2f52
2013-01-07Simplify singleton class initializationTadashi G. Takaoka8-28/+31
Change-Id: I16a27f2ed6ea66184bfdc9903180372cd7ea2fd1
2013-01-07Small code cleanupsKen Wakasa25-239/+234
Multi-project commit with I249d5fbe Change-Id: Ia28c4e970992aa1299a30e604eaa5d096655c3a5
2013-01-07Fix double input of chars typed on a h/w keyboardJean Chalard1-1/+0
Bug: 7939324 Change-Id: I11b7af54893cb645f8a06266a0b0ba95dd0b02f9
2013-01-03[Rlog27] Refactor LogBufferKurt Partridge5-88/+162
Cleanup and prepare for replaying Change-Id: Ie09e912c6e9c0d7375168c575ccf1cfd9375dd31