aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
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-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-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
2013-01-02Import translations. DO NOT MERGEBaligh Uddin54-11/+112
Change-Id: Iadfb1d9dcb28cfd8f0d6d9891bbde89f8647fe48 Auto-generated-cl: translation import
2012-12-28Set default audio and haptic feedback settingsTadashi G. Takaoka11-48/+92
- 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
2012-12-28Refactor to add SeekBarDialogTadashi G. Takaoka7-162/+239
Change-Id: Id8e08a1d5ec5efb2baf96a2634111619fcb9fd4e
2012-12-28A small simplification.Jean Chalard1-4/+0
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
2012-12-27Tidy up GeometryUtils a bitKen Wakasa1-5/+6
Change-Id: I33f4042265c0dcc2530cee43c610f73ec99c6792
2012-12-27Start committing hardware events (B4)Jean Chalard5-5/+37
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
2012-12-27Initial implementation for decoding HW key events (B3)Jean Chalard3-2/+77
Bug: 5037589 Change-Id: I829f70a258de58ef8d2b836a9b435198a226e37f
2012-12-27Rename some confusing variablesJean Chalard1-12/+12
Change-Id: Ib0de800599ae7f12c86270a627616d5b52366414
2012-12-27Fix an old bug in getting a word from the connected view.Jean Chalard1-8/+3
In this test, it's impossible that start < 0 so the test is useless. I'm not sure what the cursor test was for, but it's very old code, and it seems the assumption was either misled or doesn't hold any more: testing for the absolute cursor position against the length of the word against the cursor makes no sense. The net result of this was that when the cursor index got large enough, resuming suggestion would not work any more. Bug: 7586467 Change-Id: I3462082374fe9579bec7698f4d424de6ff5f2ded
2012-12-27Get rid of current subtype and system locale cache from SubtypeSwitcherTadashi G. Takaoka3-80/+17
Bug: 7675452 Change-Id: I2121f56964b6d25e8d40f5b8ec67eeae527b2117
2012-12-27Fix gesture trail width calculationTadashi G. Takaoka1-9/+27
Change-Id: I41e0a95437aa9b8ec9a8eefb3bc5eb0452284b60
2012-12-26Add support for multiple keyboard event decoders (B2)Jean Chalard3-9/+66
Bug: 5037589 Change-Id: I0a4926f94ef8d1caa17669801608608648b697b9
2012-12-23Clean up unnecessary uses of toString()Kurt Partridge1-12/+10
Leftover from changing variables from CharSequence to String Change-Id: I4db43fcb075aa37bf9c5b2a23bad0e4c2d718379
2012-12-23[Rlog24] ResearchLogger detect word boundaries in callers above commitTextKurt Partridge4-37/+82
multi project commit with I5847d4aba97a7224ae170a7153811c5a11816449 Change-Id: Ie6fbf6f19f0193451fe6f3ddf9d4ef1637a35db1
2012-12-23[Rlog24z] Initialize statistics variablesKurt Partridge2-7/+11
Change-Id: I73a6009294a4f559a93b6ea9ceb4ea2683d97486
2012-12-22Log LatinIME.commitCurrentAutoCorrection()Kurt Partridge2-1/+26
Change-Id: Ic46c91374ae0177cafad4579d28d6980af0d8d3a
2012-12-22[Rlog19] ResearchLog remove unnecessary logSegment{start,end}Kurt Partridge2-0/+5
Change-Id: I73b7765c764e5f1035f1c37df45345f26aa5acb1
2012-12-22[Rlog22] ResearchLogger fixed debug printingKurt Partridge1-0/+35
Change-Id: I2c59983236c936b8698004db8213b68c2f964cd5
2012-12-22[Rlog36z] Pass LatinIME instance to logger as LatinIME classKurt Partridge1-17/+16
Upcoming changes require LatinIME class, not just InputMethodService Change-Id: Ia5b3a716ac02a99749fb2ba0164ba46c8a0c559a
2012-12-22Differentiate LOG_EVERYTHING and LOG_FULL_TEXTVIEW_CONTENTSKurt Partridge1-2/+8
Previously, LOG_EVERYTHING logged both all bigrams and also the entire TextView at the end of a session. Now, use a separate flag, LOG_FULL_TEXTVIEW_CONTENTS to determine whether the TextView contents are recorded. Change-Id: I0c7a90a8ff88aa65d057f3b2d3dd5adc3893504a
2012-12-22[Rlog20] Remove duplicate logStatisticsKurt Partridge1-1/+1
Change-Id: I31c5520598269a83ab218e3a024bff0a625c2770
2012-12-22[Rlog41] ResearchLogger debugging support in UploaderServiceKurt Partridge1-4/+12
Change-Id: I70d5bd0cb12be7a5cc216799f92622912646466f
2012-12-21[Rlog12] Add comments to logging callpointsKurt Partridge1-8/+209
Change-Id: Idd786e2804dc82c1fa27ecf0fc0537491438d017
2012-12-21[Rlog7] ResearchLog improve gesture trackingKurt Partridge3-4/+29
- count how many times a gesture is deleted - count num chars entered by gesture - change name of fns to reflect capturing gesture information when setting composing text Change-Id: I1b8ebf9cfcf304e0efd827c8b8e28a4010199728
2012-12-21[Rlog6.2] ResearchLogging RefactorKurt Partridge3-101/+191
Move specifics of Log output format from ResearchLog to LogUnit Change-Id: I9d0253c50bb8175ab141bd87dd9a09f39f316b10
2012-12-21Call onCancelBatchInput only when onStartBatchInput has been calledTadashi G. Takaoka1-3/+4
This NPE issue (Bug: 7903331) has been introduced by Ie68c7698. Bug: 7903331 Change-Id: I44884f5608fe47d9db7a2c93a752d17b9ae39a22
2012-12-21Add -ldl for new stlportAndrew Hsieh1-0/+1
The new stlport in NDK r8d+ supports exception support via gabi++. The new gabi++ depends on dlopen, etc, meaning that we need to add -ldl for project links stlport with "-nostdlib -Wl,--no-undefined" (ie. all *.so in Android) Change-Id: I7321a075d2852a6a72f82f40bb24d64ec211cf39
2012-12-21Tiny cleanupsKen Wakasa3-14/+14
Change-Id: Ie648a9da326cb194d96cb5f5a6966af0608367b4
2012-12-20Reorganize file and class names for typing and gestureKen Wakasa9-116/+105
multi-project commit with Iecacb05c Change-Id: I0d21063335fb8c11184ad4eea00b123362de6853
2012-12-20fix build breakageSatoshi Kataoka1-1/+1
Change-Id: I3ab0a143eff063e2e5be672a207c9b3cb45a69d7
2012-12-20Cleanup decoder wrapperSatoshi Kataoka2-10/+10
Change-Id: Iade1c3954f151edce313856395dc5083e820aa93
2012-12-19[Rlog13] Add flag to inhibit uploadingKurt Partridge1-1/+6
Change-Id: I9d22dfb3fbc8332000507c8b97d9072bdd8dda91
2012-12-19[Rlog8] Show red border if logging everythingKurt Partridge1-1/+5
Change-Id: I5a3f21cef7d93128661b11b60eac7d84b8110e47