aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-07Simplify singleton class initializationTadashi G. Takaoka6-22/+29
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-02Import translations. DO NOT MERGEBaligh Uddin54-11/+112
Change-Id: Iadfb1d9dcb28cfd8f0d6d9891bbde89f8647fe48 Auto-generated-cl: translation import
2013-01-02Import translations. DO NOT MERGEBaligh Uddin53-5/+109
Change-Id: Ibb06e9e95e2a3bec815f89d6d1154c8f9e1107f4 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
2012-12-19[Rlog10] ResearchLogger change visible indicator to just lines on the sideKurt Partridge1-1/+2
(Note: Rlog9 was abandoned). Change-Id: I69de4116e33d3c79216e25efe2ad2bcb2780b0ff
2012-12-19[Rlog11] ResearchLogger printable code for research keyKurt Partridge1-0/+1
Change-Id: Ifac7a801ea8534191a9258871d3d7f91e942788b
2012-12-19Add skeleton classes for hardware event flow (B1)Jean Chalard8-0/+279
Bug: 5037589 Change-Id: Id8eea0e2bd00dd339a1efb4b0542e4c091a84195
2012-12-19Remove trailing spacesKen Wakasa2-6/+5
Change-Id: I260b85ef9e91d17f97d6e405d2d92a65b443df44
2012-12-18[Rlog6.1] Fix LOG_EVERYTHING bug.Kurt Partridge1-1/+1
(It wasn't logging everything). Change-Id: I8c9fd1e7c04e1a3813e26e67691e0366ff48c9ee
2012-12-18Add ProductionFlag.IS_EXPERIMENTAL_DEBUGKurt Partridge5-8/+17
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
2012-12-19Remove entry for obsolete resourceKen Wakasa1-1/+0
Follow-up to Icf9b8848 Change-Id: I656c1fc436440fbee56c8a2a56a7ce3e10f08240
2012-12-18Update dictionariesJean Chalard2-0/+0
>>> 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
2012-12-18add debugSatoshi Kataoka2-40/+29
Change-Id: I101810d2cdd7c2702c489d76fe8f90da0a87a103
2012-12-17[Rlog5] ResearchLogging change from onFinishInput to onFinishInputViewKurt Partridge2-5/+4
Change-Id: I7d3bcfe647249e0b8a14ac3d67460c2684f16d8c
2012-12-17[Rlog6] ResearchLogger fix dictionary loadingKurt Partridge1-5/+13
Change-Id: I5af460bd7c7fd67f858626ae3daf71fd615a25bf
2012-12-17[Rlog4] ResearchLogger add LOG_EVERYTHING flagKurt Partridge2-5/+10
- 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
2012-12-18Update dictionariesJean Chalard30-0/+0
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