aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
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-02Import translations. DO NOT MERGE•••Change-Id: Iadfb1d9dcb28cfd8f0d6d9891bbde89f8647fe48 Auto-generated-cl: translation import Baligh Uddin54-11/+112
2013-01-02Import translations. DO NOT MERGE•••Change-Id: Ibb06e9e95e2a3bec815f89d6d1154c8f9e1107f4 Auto-generated-cl: translation import Baligh Uddin53-5/+109
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
2012-12-27Fix an old bug in getting a word from the connected view.•••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 Jean Chalard1-8/+3
2012-12-27Get rid of current subtype and system locale cache from SubtypeSwitcher•••Bug: 7675452 Change-Id: I2121f56964b6d25e8d40f5b8ec67eeae527b2117 Tadashi G. Takaoka3-80/+17
2012-12-27Fix gesture trail width calculation•••Change-Id: I41e0a95437aa9b8ec9a8eefb3bc5eb0452284b60 Tadashi G. Takaoka1-9/+27
2012-12-26Add support for multiple keyboard event decoders (B2)•••Bug: 5037589 Change-Id: I0a4926f94ef8d1caa17669801608608648b697b9 Jean Chalard3-9/+66
2012-12-23Clean up unnecessary uses of toString()•••Leftover from changing variables from CharSequence to String Change-Id: I4db43fcb075aa37bf9c5b2a23bad0e4c2d718379 Kurt Partridge1-12/+10
2012-12-23[Rlog24] ResearchLogger detect word boundaries in callers above commitText•••multi project commit with I5847d4aba97a7224ae170a7153811c5a11816449 Change-Id: Ie6fbf6f19f0193451fe6f3ddf9d4ef1637a35db1 Kurt Partridge4-37/+82
2012-12-23[Rlog24z] Initialize statistics variables•••Change-Id: I73a6009294a4f559a93b6ea9ceb4ea2683d97486 Kurt Partridge2-7/+11
2012-12-22Log LatinIME.commitCurrentAutoCorrection()•••Change-Id: Ic46c91374ae0177cafad4579d28d6980af0d8d3a Kurt Partridge2-1/+26
2012-12-22[Rlog19] ResearchLog remove unnecessary logSegment{start,end}•••Change-Id: I73b7765c764e5f1035f1c37df45345f26aa5acb1 Kurt Partridge2-0/+5
2012-12-22[Rlog22] ResearchLogger fixed debug printing•••Change-Id: I2c59983236c936b8698004db8213b68c2f964cd5 Kurt Partridge1-0/+35
2012-12-22[Rlog36z] Pass LatinIME instance to logger as LatinIME class•••Upcoming changes require LatinIME class, not just InputMethodService Change-Id: Ia5b3a716ac02a99749fb2ba0164ba46c8a0c559a Kurt Partridge1-17/+16
2012-12-22Differentiate LOG_EVERYTHING and LOG_FULL_TEXTVIEW_CONTENTS•••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 Kurt Partridge1-2/+8
2012-12-22[Rlog20] Remove duplicate logStatistics•••Change-Id: I31c5520598269a83ab218e3a024bff0a625c2770 Kurt Partridge1-1/+1
2012-12-22[Rlog41] ResearchLogger debugging support in UploaderService•••Change-Id: I70d5bd0cb12be7a5cc216799f92622912646466f Kurt Partridge1-4/+12
2012-12-21[Rlog12] Add comments to logging callpoints•••Change-Id: Idd786e2804dc82c1fa27ecf0fc0537491438d017 Kurt Partridge1-8/+209
2012-12-21[Rlog7] ResearchLog improve gesture tracking•••- 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 Kurt Partridge3-4/+29
2012-12-21[Rlog6.2] ResearchLogging Refactor•••Move specifics of Log output format from ResearchLog to LogUnit Change-Id: I9d0253c50bb8175ab141bd87dd9a09f39f316b10 Kurt Partridge3-101/+191
2012-12-21Call onCancelBatchInput only when onStartBatchInput has been called•••This NPE issue (Bug: 7903331) has been introduced by Ie68c7698. Bug: 7903331 Change-Id: I44884f5608fe47d9db7a2c93a752d17b9ae39a22 Tadashi G. Takaoka1-3/+4
2012-12-21Add -ldl for new stlport•••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 Andrew Hsieh1-0/+1
2012-12-21Tiny cleanups•••Change-Id: Ie648a9da326cb194d96cb5f5a6966af0608367b4 Ken Wakasa3-14/+14
2012-12-20Reorganize file and class names for typing and gesture•••multi-project commit with Iecacb05c Change-Id: I0d21063335fb8c11184ad4eea00b123362de6853 Ken Wakasa9-116/+105
2012-12-20fix build breakage•••Change-Id: I3ab0a143eff063e2e5be672a207c9b3cb45a69d7 Satoshi Kataoka1-1/+1
2012-12-20Cleanup decoder wrapper•••Change-Id: Iade1c3954f151edce313856395dc5083e820aa93 Satoshi Kataoka2-10/+10
2012-12-19[Rlog13] Add flag to inhibit uploading•••Change-Id: I9d22dfb3fbc8332000507c8b97d9072bdd8dda91 Kurt Partridge1-1/+6
2012-12-19[Rlog8] Show red border if logging everything•••Change-Id: I5a3f21cef7d93128661b11b60eac7d84b8110e47 Kurt Partridge1-1/+5
2012-12-19[Rlog10] ResearchLogger change visible indicator to just lines on the side•••(Note: Rlog9 was abandoned). Change-Id: I69de4116e33d3c79216e25efe2ad2bcb2780b0ff Kurt Partridge1-1/+2
2012-12-19[Rlog11] ResearchLogger printable code for research key•••Change-Id: Ifac7a801ea8534191a9258871d3d7f91e942788b Kurt Partridge1-0/+1
2012-12-19Add skeleton classes for hardware event flow (B1)•••Bug: 5037589 Change-Id: Id8eea0e2bd00dd339a1efb4b0542e4c091a84195 Jean Chalard8-0/+279
2012-12-19Remove trailing spaces•••Change-Id: I260b85ef9e91d17f97d6e405d2d92a65b443df44 Ken Wakasa2-6/+5
2012-12-18[Rlog6.1] Fix LOG_EVERYTHING bug.•••(It wasn't logging everything). Change-Id: I8c9fd1e7c04e1a3813e26e67691e0366ff48c9ee Kurt Partridge1-1/+1
2012-12-18Add ProductionFlag.IS_EXPERIMENTAL_DEBUG•••The IS_EXPERIMENTAL_DEBUG flag gives a single place to turn off all debugging flags that might be set and to also enforce privacy controls. Currently only used in the research package. multi-project commit with I9275a7c8e40bf56106447a02d3056655329074b3 Change-Id: If769fe3a633f33963ca49e8ddf01ab24a30b6fd2 Kurt Partridge5-8/+17
2012-12-19Remove entry for obsolete resource•••Follow-up to Icf9b8848 Change-Id: I656c1fc436440fbee56c8a2a56a7ce3e10f08240 Ken Wakasa1-1/+0
2012-12-18Update dictionaries•••>>> dictionaries/ru_wordlist.combined.gz Header : date : 1355802857 <=> 1355818916 Body : Freq changed: БД 18 -> 0 Freq changed: ГБ 14 -> 0 Freq changed: ЕС 44 -> 0 Freq changed: ЖД 3 -> 0 Freq changed: ЖЖ 8 -> 0 Freq changed: ЖК 3 -> 0 Freq changed: ИИ 21 -> 0 Freq changed: КБ 37 -> 0 Freq changed: МБ 19 -> 0 Freq changed: МО 26 -> 0 Freq changed: ОС 40 -> 0 Freq changed: РФ 65 -> 0 Freq changed: СБ 21 -> 0 Freq changed: СК 23 -> 0 Freq changed: ТВ 37 -> 0 Freq changed: УК 36 -> 0 Freq changed: ЦБ 11 -> 0 Freq changed: ЦК 59 -> 0 Deleted: бэ 0 Freq changed: дБ 92 -> 0 Deleted: йо 0 Freq changed: мм 149 -> 0 Freq changed: рН 104 -> 0 Deleted: ша 0 >>> java/res/raw/main_ru.dict Header : date : 1355802857 <=> 1355818916 Body : Freq changed: БД 18 -> 0 Freq changed: ГБ 14 -> 0 Freq changed: ЕС 44 -> 0 Freq changed: ЖД 3 -> 0 Freq changed: ЖЖ 8 -> 0 Freq changed: ЖК 3 -> 0 Freq changed: ИИ 21 -> 0 Freq changed: КБ 37 -> 0 Freq changed: МБ 19 -> 0 Freq changed: МО 26 -> 0 Freq changed: ОС 40 -> 0 Freq changed: РФ 65 -> 0 Freq changed: СБ 21 -> 0 Freq changed: СК 23 -> 0 Freq changed: ТВ 37 -> 0 Freq changed: УК 36 -> 0 Freq changed: ЦБ 11 -> 0 Freq changed: ЦК 59 -> 0 Deleted: бэ 0 Freq changed: дБ 92 -> 0 Deleted: йо 0 Freq changed: мм 149 -> 0 Freq changed: рН 104 -> 0 Deleted: ша 0 Change-Id: I03f0f4e8d03e0f77f5879e6dd5c424673466afca Jean Chalard2-0/+0
2012-12-18add debug•••Change-Id: I101810d2cdd7c2702c489d76fe8f90da0a87a103 Satoshi Kataoka2-40/+29
2012-12-17[Rlog5] ResearchLogging change from onFinishInput to onFinishInputView•••Change-Id: I7d3bcfe647249e0b8a14ac3d67460c2684f16d8c Kurt Partridge2-5/+4
2012-12-17[Rlog6] ResearchLogger fix dictionary loading•••Change-Id: I5af460bd7c7fd67f858626ae3daf71fd615a25bf Kurt Partridge1-5/+13
2012-12-17[Rlog4] ResearchLogger add LOG_EVERYTHING flag•••- broaden OUTPUT_WHOLE_BUFFER to log not just the buffer at the end, but everything along the way. This should only be set when the user is aware that logging is on, e.g. in a user test. Change-Id: I8f9874697524e533586da40d0a3e452f6a04d3e4 Kurt Partridge2-5/+10
2012-12-18Update dictionaries•••cs, da, de, el, es, fi, fr, hr, it, lt, lv, nb, nl, pl, pt_BR, pt_PT, sl, sr, sv, tr : rescale frequencies to match spec. This has no large effect in the practice except the dictionary will become stronger vs spatial model (especially in lower count corpora, like lt, lv, sr) en* : Small changes (rounding going the other way essentially) ru : the above rescaling, and remove the following words: Дре, ОСТа, Планше, легкими, легком, легкому, легкости, легкую, нелегкие, нелегкий, нелегким, нелегкое, нелегкой, нелегкую, полулегком and add нелёгкие, нелёгкое, нелёгкую; other accented forms were already in the dictionary. Change-Id: I40386c2ebd4d2be38874e822bde89db7cb512ae6 Jean Chalard30-0/+0
2012-12-17[Rlog3] improve stat recording•••Change-Id: Ie3b70e6eadc2a9af5ef45ddfad6a3398cea7bfe8 Kurt Partridge4-28/+58