aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/research/ResearchLogger.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge "[Rlog58b] Log user pauses"Kurt Partridge2013-01-111-4/+18
|\
| * [Rlog58b] Log user pausesKurt Partridge2013-01-101-4/+18
| | | | | | | | Change-Id: I7802f07192a4cba4f3cfb5c08ce6d5d2d85a46c1
* | Merge "[Rlog59a] Split logUnits correctly around separators"Kurt Partridge2013-01-111-1/+13
|\ \
| * | [Rlog59a] Split logUnits correctly around separatorsKurt Partridge2013-01-101-1/+13
| |/ | | | | | | Change-Id: I65ecdead7e7bdeb8a5f1748e27068ddbd5d3ce00
* / [Rlog] Fix some potential NPEsKurt Partridge2013-01-101-2/+12
|/ | | | Change-Id: I07b18b5db81784dca32683e5f208088181c5eed9
* [Rlog57b] fix logging of revertsKurt Partridge2013-01-101-8/+14
| | | | Change-Id: I07c817061a0cc060197e0fea45195ca07a9bf276
* [Rlog56] Buffer words before pushing out LogUnitKurt Partridge2013-01-091-9/+29
| | | | | | | | | | | | | | | | | | | | 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
* [Rlog52z] Cleanup and small bug fixesKurt Partridge2013-01-091-9/+7
| | | | Change-Id: Ia3fca4881370ffcdd5f2b14d2d1094c51f4330ae
* [Rlog50] capture bigrams properly even with deletionsKurt Partridge2013-01-091-47/+119
| | | | | | multi-project commit with Ia4ec213e8356897807cb6a278fccdbaa945732f0 Change-Id: Ib3fe886dc889954a31586ab81d00a21d8d55efd2
* [Rlog48] Better logging of MotionEventsKurt Partridge2013-01-081-6/+2
| | | | | | | - Now includes all historical data stored in a motionEvent - Simpler API, refactored to move extraction code to JsonUtils Change-Id: I52d9756ddbeaa14d1704787da59bf1aad18f0335
* Merge "[Rlog32] ResearchLogger segment motion data around gestures correctly"Kurt Partridge2013-01-081-9/+74
|\
| * [Rlog32] ResearchLogger segment motion data around gestures correctlyKurt Partridge2013-01-071-9/+74
| | | | | | | | | | | | multi-project commit with I684ba5fed8c653777942e6b0366113ca40dfa37c Change-Id: Id3804e6cfa97b4cdde212b8eebc413f76fa4772c
* | Merge "[Rlog27] Refactor LogBuffer"Kurt Partridge2013-01-081-1/+1
|\ \
| * | [Rlog27] Refactor LogBufferKurt Partridge2013-01-031-1/+1
| | | | | | | | | | | | | | | | | | Cleanup and prepare for replaying Change-Id: Ie09e912c6e9c0d7375168c575ccf1cfd9375dd31
* | | Simplify singleton class initializationTadashi G. Takaoka2013-01-071-1/+3
| |/ |/| | | | | Change-Id: I16a27f2ed6ea66184bfdc9903180372cd7ea2fd1
* | [Rlog24] ResearchLogger detect word boundaries in callers above commitTextKurt Partridge2012-12-231-24/+39
|/ | | | | | multi project commit with I5847d4aba97a7224ae170a7153811c5a11816449 Change-Id: Ie6fbf6f19f0193451fe6f3ddf9d4ef1637a35db1
* Merge "Log LatinIME.commitCurrentAutoCorrection()"Kurt Partridge2012-12-231-1/+21
|\
| * Log LatinIME.commitCurrentAutoCorrection()Kurt Partridge2012-12-221-1/+21
| | | | | | | | Change-Id: Ic46c91374ae0177cafad4579d28d6980af0d8d3a
* | Merge "Differentiate LOG_EVERYTHING and LOG_FULL_TEXTVIEW_CONTENTS"Kurt Partridge2012-12-231-2/+8
|\ \
| * | Differentiate LOG_EVERYTHING and LOG_FULL_TEXTVIEW_CONTENTSKurt Partridge2012-12-221-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
* | | Merge "[Rlog36z] Pass LatinIME instance to logger as LatinIME class"Kurt Partridge2012-12-231-17/+16
|\ \ \
| * | | [Rlog36z] Pass LatinIME instance to logger as LatinIME classKurt Partridge2012-12-221-17/+16
| | | | | | | | | | | | | | | | | | | | | | | | Upcoming changes require LatinIME class, not just InputMethodService Change-Id: Ia5b3a716ac02a99749fb2ba0164ba46c8a0c559a
* | | | Merge "[Rlog24z] Initialize statistics variables"Kurt Partridge2012-12-231-2/+2
|\ \ \ \
| * | | | [Rlog24z] Initialize statistics variablesKurt Partridge2012-12-231-2/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: I73a6009294a4f559a93b6ea9ceb4ea2683d97486
* | | | | Merge "[Rlog20] Remove duplicate logStatistics"Kurt Partridge2012-12-231-1/+1
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | [Rlog20] Remove duplicate logStatisticsKurt Partridge2012-12-221-1/+1
| | |/ / | |/| | | | | | | | | | Change-Id: I31c5520598269a83ab218e3a024bff0a625c2770
* | | | Merge "[Rlog19] ResearchLog remove unnecessary logSegment{start,end}"Kurt Partridge2012-12-231-0/+1
|\ \ \ \ | |_|/ / |/| | |
| * | | [Rlog19] ResearchLog remove unnecessary logSegment{start,end}Kurt Partridge2012-12-221-0/+1
| | | | | | | | | | | | | | | | Change-Id: I73b7765c764e5f1035f1c37df45345f26aa5acb1
* | | | Merge "[Rlog12] Add comments to logging callpoints"Kurt Partridge2012-12-221-8/+209
|\ \ \ \ | | |_|/ | |/| |
| * | | [Rlog12] Add comments to logging callpointsKurt Partridge2012-12-211-8/+209
| | | | | | | | | | | | | | | | Change-Id: Idd786e2804dc82c1fa27ecf0fc0537491438d017
* | | | Merge "[Rlog7] ResearchLog improve gesture tracking"Kurt Partridge2012-12-221-3/+14
|\| | | | |_|/ |/| |
| * | [Rlog7] ResearchLog improve gesture trackingKurt Partridge2012-12-211-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | Merge "[Rlog10] ResearchLogger change visible indicator to just lines on the ↵Kurt Partridge2012-12-201-1/+2
|\ \ \ | | | | | | | | | | | | side"
| * | | [Rlog10] ResearchLogger change visible indicator to just lines on the sideKurt Partridge2012-12-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | (Note: Rlog9 was abandoned). Change-Id: I69de4116e33d3c79216e25efe2ad2bcb2780b0ff
* | | | Merge "[Rlog8] Show red border if logging everything"Kurt Partridge2012-12-201-1/+5
|\ \ \ \ | |_|_|/ |/| | |
| * | | [Rlog8] Show red border if logging everythingKurt Partridge2012-12-191-1/+5
| |/ / | | | | | | | | | Change-Id: I5a3f21cef7d93128661b11b60eac7d84b8110e47
* | | Merge "[Rlog6.1] Fix LOG_EVERYTHING bug."Kurt Partridge2012-12-191-1/+1
|\ \ \ | | |/ | |/|
| * | [Rlog6.1] Fix LOG_EVERYTHING bug.Kurt Partridge2012-12-181-1/+1
| | | | | | | | | | | | | | | | | | (It wasn't logging everything). Change-Id: I8c9fd1e7c04e1a3813e26e67691e0366ff48c9ee
* | | Merge "Add ProductionFlag.IS_EXPERIMENTAL_DEBUG"Kurt Partridge2012-12-191-3/+5
|\| | | |/ |/|
| * Add ProductionFlag.IS_EXPERIMENTAL_DEBUGKurt Partridge2012-12-181-3/+5
| | | | | | | | | | | | | | | | | | 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
* | [Rlog6] ResearchLogger fix dictionary loadingKurt Partridge2012-12-171-5/+13
|/ | | | Change-Id: I5af460bd7c7fd67f858626ae3daf71fd615a25bf
* [Rlog5] ResearchLogging change from onFinishInput to onFinishInputViewKurt Partridge2012-12-171-1/+1
| | | | Change-Id: I7d3bcfe647249e0b8a14ac3d67460c2684f16d8c
* [Rlog4] ResearchLogger add LOG_EVERYTHING flagKurt Partridge2012-12-171-5/+6
| | | | | | | - 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
* [Rlog3] improve stat recordingKurt Partridge2012-12-171-25/+31
| | | | Change-Id: Ie3b70e6eadc2a9af5ef45ddfad6a3398cea7bfe8
* [Rlog2] ResearchLogging fix multi-space loggingKurt Partridge2012-12-171-361/+265
| | | | | | | | | multi-space logging should look like single-space logging, missing a few minor log statements (SuggestionUpdates, SetComposingText) multi-project commit with I2af842348c2f2b8f7271ac5b63def245e83df24d Change-Id: Icd3187c0d0377255f82787afffea657c14345803
* [Rlog1] Track time of log statementsKurt Partridge2012-12-131-14/+18
| | | | | | | | | Log statements are now recorded with a timestamp. This is important for filtering out statements not part of words that are sampled when spaces are inserted automatically. multi-project commit with Change-Id: I68221a2528045d25632aef4bb716f92a4f4a56a4 Change-Id: I46ac9b3b1dcbb08425160d0109028cb64445139c
* Remove a couple Eclipse and Android Lint warningsJean Chalard2012-12-061-22/+0
| | | | Change-Id: I0c29c5d2abcbf80759b996d34b534deb083cd7d3
* Fix crashes related to setSpan(-1 ... -1) errorsKurt Partridge2012-12-031-10/+12
| | | | | | | | | | | | | Fixes b/7652661 In some circumstnaces, when hiding the window, the logger tries to capture the TextView contents and restore the cursor position based on the values stored in LatinIME. However, the IME may not know the cursor position. This fix does two things 1) doesn't try to reposition the cursor if the TextView contents are not to be captured, and 2) if the cursor position is unknown (i.e., == -1), doesn't try to move it back. Change-Id: I3976aaccf58c18f892c3a8530218ae52bcac9989
* Merge "Revert "ResearchLog. Track time of log statements""Kurt Partridge2012-11-301-17/+13
|\
| * Revert "ResearchLog. Track time of log statements"Kurt Partridge2012-11-301-17/+13
| | | | | | | | | | | | | | | | This reverts commit bdbe279cecea7a16ef2a5c3b62622eb19e4b18bf Other half of this change couldn't be committed because of a inter-project directory migration. Reverting until things settle down. Change-Id: I3862fc8485dfca6d507f620e905cfa583aa0e39a