aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/compat/InputMethodServiceCompatUtils.java (unfollow)
Commit message (Expand)AuthorFilesLines
2013-01-10[Rlog57b] fix logging of reverts•••Change-Id: I07c817061a0cc060197e0fea45195ca07a9bf276 Kurt Partridge2-8/+16
2013-01-10Fix too thick gesture trail width•••Change-Id: If1b78183b24fa0029bc28e5f56a988372182903e Ken Wakasa1-1/+2
2013-01-10fix possible NPE in DebugSettings•••Change-Id: I44ec5bd3b2a00087603316f14d732164dbcf399f satok1-0/+3
2013-01-10Show final suggested word when batch input is finished•••This change moves dismiss timer of gesture floating preview text from PreviewPlacerView to KeyboardView. Bug: 7967461 Change-Id: I0ca5beddc93cb4bc4a405f914d217d37b997402b Tadashi G. Takaoka4-31/+22
2013-01-10Initial implementation for dead keys (B3)•••Bug: 5037589 Change-Id: I9e1ff92df7d0c58eb7a0f33603adebc9efb86585 Jean Chalard4-0/+105
2013-01-09[Rlog57a] include logUnit boundaries in output•••Change-Id: I4d1647b971b0e7a4cf1a96f341236f6ab1d2ab16 Kurt Partridge1-16/+58
2013-01-10Fix international tests•••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 Jean Chalard3-30/+9
2013-01-10Cancel update batch input timer only when point is added•••Bug: 7972004 Change-Id: Ie5db5910efba851976da2284cafc69be2910d354 Tadashi G. Takaoka2-8/+15
2013-01-10Add words to Portuguese•••>>> 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 Jean Chalard3-0/+0
2013-01-09[Rlog56] Buffer words before pushing out LogUnit•••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 Kurt Partridge3-55/+96
2013-01-09[Rlog52z] Cleanup and small bug fixes•••Change-Id: Ia3fca4881370ffcdd5f2b14d2d1094c51f4330ae Kurt Partridge2-9/+10
2013-01-10Remove unused variables•••Change-Id: I508679c2ad21b2624760d37a9503e21733964d4c Tadashi G. Takaoka2-20/+10
2013-01-10Rename variables related to key preview popup•••Change-Id: I0161e5844dd325af9afba80ac54a569b16c80660 Tadashi G. Takaoka1-13/+12
2013-01-10Remove unused variable•••Change-Id: I7001d8b6200a5cefcf84630d663da8316422026f Tadashi G. Takaoka1-3/+0
2013-01-09[Rlog50] capture bigrams properly even with deletions•••multi-project commit with Ia4ec213e8356897807cb6a278fccdbaa945732f0 Change-Id: Ib3fe886dc889954a31586ab81d00a21d8d55efd2 Kurt Partridge7-62/+191
2013-01-09Import translations. DO NOT MERGE•••Change-Id: I7513684783ad97339184b8db61ddd062cbd7a1c5 Auto-generated-cl: translation import Baligh Uddin5-7/+5
2013-01-09Add a next Event (B2)•••Change-Id: If2fe6f0f4f88a6ae1f22664ded61cec6942c18b9 Jean Chalard3-22/+24
2013-01-09Move a method to a utility class (C1)•••This is a preparatory change to fix bug 7969231 Change-Id: I44604ae75192a17b4e75a01f3e3d679d4901299e Jean Chalard2-12/+16
2013-01-09Abandon the idea of an Event pool and make Event immutable (B1)•••Change-Id: I750a07c0c564a95ceac734afa873ca3da9626a7f Jean Chalard3-26/+17
2013-01-09add a define•••Change-Id: I8139d0639d07afd200ba4507768bf76d0054687b Satoshi Kataoka1-0/+3
2013-01-09Fix a race condition with backspaces•••And add a test to make sure it stays not-broken. Bug: 7946604 Change-Id: I996da3d5507d591ec25a13fb57434f39843f1df5 Jean Chalard2-0/+26
2013-01-09Cancel update batch input timer whenever MotionEvent is received•••Bug: 7911739 Change-Id: Id2cd98385371fd98435943ed66ec5381dfaa48e0 Tadashi G. Takaoka3-0/+24
2013-01-09Don't cancel gesture typing while more keys keyboard is shown•••Bug: 7964225 Change-Id: I4c572527b6f399282bdd963e38c147c7e69815ac Tadashi G. Takaoka1-0/+5
2013-01-09Replace assert() with ASSERT() & use -funwind-tables for debug builds•••Change-Id: I9ec14eb24ebc45657119a45aba09517e71a22974 Ken Wakasa7-22/+21
2013-01-09assert when the touch event goes back to the future•••bug: 7911739 Change-Id: I29db6a5cb6749999666b1c53857ea61bcc19b8f1 Satoshi Kataoka2-0/+12
2013-01-09Clean up public helper methods of SettingsValues•••Change-Id: I6c6087580b67f497eaaf16900f8df7a4a895b8e3 Tadashi G. Takaoka9-211/+205
2013-01-08[Rlog48] Better logging of MotionEvents•••- Now includes all historical data stored in a motionEvent - Simpler API, refactored to move extraction code to JsonUtils Change-Id: I52d9756ddbeaa14d1704787da59bf1aad18f0335 Kurt Partridge3-6/+59
2013-01-08Clean up debug related preference keys•••Change-Id: Ib7129692c673b3bce253120ee709e0253aeafa52 Tadashi G. Takaoka2-10/+10
2013-01-08Yet another small cleanups•••Change-Id: Ie940c4d4d9d85c95e2f04ba23f00a54ba3dc53bf Ken Wakasa7-31/+23
2013-01-08Make Settings class singleton to manage SettingsValues•••Change-Id: Id30828a141de86d9bcf8bce586d2adb468cc59e1 Tadashi G. Takaoka3-97/+146
2013-01-08Misc small cleanups•••Change-Id: Iea61e6c76a9a0437a1b2e8143f6ab5b09a8e211e Ken Wakasa13-61/+44
2013-01-08Rename Settings to SettingsFragment•••Change-Id: If5bc53efc67be507663091de0f569f604c03e719 Tadashi G. Takaoka3-359/+378
2013-01-08Consolidate VibratorUtils with AudioAndHapticFeedbackManager•••Change-Id: Ica4e3193f369330da62a259c718b779ddf9fbde5 Tadashi G. Takaoka6-83/+58
2013-01-08Adjust the used frequency of the user dictionary words.•••Bug: 7656666 Change-Id: I4b271af636f6103cb5287336229581365841d778 Jean Chalard1-5/+20
2013-01-08Update dictionaries•••>>> 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 Jean Chalard3-0/+0
2013-01-07[Rlog32] ResearchLogger segment motion data around gestures correctly•••multi-project commit with I684ba5fed8c653777942e6b0366113ca40dfa37c Change-Id: Id3804e6cfa97b4cdde212b8eebc413f76fa4772c Kurt Partridge3-19/+82
2013-01-07Import translations. DO NOT MERGE•••Change-Id: I8b9113b6328fa461d8184ff3d2bc03379d1c7e3a Auto-generated-cl: translation import Baligh Uddin46-92/+46
2013-01-07[mdfp] Refactoring Gesture Floating Preview Text Code•••This change moves gesture preview text code from PreviewPlacerView.java to separate classes. Change-Id: Id8d17eff38e714c3b06aafd0b24985a9bd2d2f52 Xiaojun Bi5-97/+248
2013-01-07Simplify singleton class initialization•••Change-Id: I16a27f2ed6ea66184bfdc9903180372cd7ea2fd1 Tadashi G. Takaoka8-28/+31
2013-01-07Small code cleanups•••Multi-project commit with I249d5fbe Change-Id: Ia28c4e970992aa1299a30e604eaa5d096655c3a5 Ken Wakasa25-239/+234
2013-01-07Fix double input of chars typed on a h/w keyboard•••Bug: 7939324 Change-Id: I11b7af54893cb645f8a06266a0b0ba95dd0b02f9 Jean Chalard1-1/+0
2013-01-03[Rlog27] Refactor LogBuffer•••Cleanup and prepare for replaying Change-Id: Ie09e912c6e9c0d7375168c575ccf1cfd9375dd31 Kurt Partridge5-88/+162
2013-01-02Import translations. DO NOT MERGE•••Change-Id: Iadfb1d9dcb28cfd8f0d6d9891bbde89f8647fe48 Auto-generated-cl: translation import Baligh Uddin54-11/+112
2012-12-28Set default audio and haptic feedback settings•••- Default keypress volume is set to 0.2f in resource. - Default keypress vibration duration is set to 10 msec in resource. Bug: 7055329 Change-Id: I83bd6288d171d9787d52e2b02e4e5305f1435681 Tadashi G. Takaoka11-48/+92
2012-12-28Refactor to add SeekBarDialog•••Change-Id: Id8e08a1d5ec5efb2baf96a2634111619fcb9fd4e Tadashi G. Takaoka7-162/+239
2012-12-28A small simplification.•••It's useless to setAutoCorrection(getTypedWord()). Every time the contents of the word composer are altered, the auto-correction is reset, and at use time if it's null then the typed word is used anyway. Change-Id: I0870657a1ab3f456f376995b27e70703f7a5d23a Jean Chalard1-4/+0
2012-12-27Tidy up GeometryUtils a bit•••Change-Id: I33f4042265c0dcc2530cee43c610f73ec99c6792 Ken Wakasa1-5/+6
2012-12-27Start committing hardware events (B4)•••Essentially this does activate auto-correction with a hardware keyboard, although a lot of things are still left to implement. No proximity is used yet which means only missing and excessive letters are considered. Dead keys are not handled. No combiner is supported. No suggestions are displayed. Resuming suggestions does not work correctly with a hardware key (because the view holds a temporary hardware event 'onKeyPreIme' and the event from the IME won't be handled until this is handled which won't happen until after the IME said that it did handle the event). Bug: 5037589 Change-Id: Idcb5c7b26d56717ed772d53c062362807f11cdae Jean Chalard5-5/+37
2012-12-27Initial implementation for decoding HW key events (B3)•••Bug: 5037589 Change-Id: I829f70a258de58ef8d2b836a9b435198a226e37f Jean Chalard3-2/+77
2012-12-27Rename some confusing variables•••Change-Id: Ib0de800599ae7f12c86270a627616d5b52366414 Jean Chalard1-12/+12