- Jan 11, 2013
-
-
Kurt Partridge authored
Normally logUnits are committed to a log when the word that their data corresponds to is complete. However, if the user reverts a word, or goes back to edit it, then the system may "uncommit" the logUnit, and append additional editing steps to the end of it. When this happens, we want to make a note of it in the log, which is what this patch does. Change-Id: If2bbb948469824c76facf5f06ed8a6da8ff9777c
-
- Jan 10, 2013
-
-
Kurt Partridge authored
Change-Id: I07c817061a0cc060197e0fea45195ca07a9bf276
-
Kurt Partridge authored
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 Partridge authored
Change-Id: Ia3fca4881370ffcdd5f2b14d2d1094c51f4330ae
-
Kurt Partridge authored
multi-project commit with Ia4ec213e8356897807cb6a278fccdbaa945732f0 Change-Id: Ib3fe886dc889954a31586ab81d00a21d8d55efd2
-
- Jan 08, 2013
-
-
Kurt Partridge authored
- Now includes all historical data stored in a motionEvent - Simpler API, refactored to move extraction code to JsonUtils Change-Id: I52d9756ddbeaa14d1704787da59bf1aad18f0335
-
Kurt Partridge authored
multi-project commit with I684ba5fed8c653777942e6b0366113ca40dfa37c Change-Id: Id3804e6cfa97b4cdde212b8eebc413f76fa4772c
-
- Jan 07, 2013
-
-
Tadashi G. Takaoka authored
Change-Id: I16a27f2ed6ea66184bfdc9903180372cd7ea2fd1
-
- Jan 04, 2013
-
-
Kurt Partridge authored
Cleanup and prepare for replaying Change-Id: Ie09e912c6e9c0d7375168c575ccf1cfd9375dd31
-
- Dec 23, 2012
-
-
Kurt Partridge authored
multi project commit with I5847d4aba97a7224ae170a7153811c5a11816449 Change-Id: Ie6fbf6f19f0193451fe6f3ddf9d4ef1637a35db1
-
Kurt Partridge authored
Change-Id: I73a6009294a4f559a93b6ea9ceb4ea2683d97486
-
Kurt Partridge authored
Change-Id: Ic46c91374ae0177cafad4579d28d6980af0d8d3a
-
Kurt Partridge authored
Change-Id: I73b7765c764e5f1035f1c37df45345f26aa5acb1
-
- Dec 22, 2012
-
-
Kurt Partridge authored
Upcoming changes require LatinIME class, not just InputMethodService Change-Id: Ia5b3a716ac02a99749fb2ba0164ba46c8a0c559a
-
Kurt Partridge authored
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 Partridge authored
Change-Id: I31c5520598269a83ab218e3a024bff0a625c2770
-
- Dec 21, 2012
-
-
Kurt Partridge authored
Change-Id: Idd786e2804dc82c1fa27ecf0fc0537491438d017
-
Kurt Partridge authored
- 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
-
- Dec 20, 2012
-
-
Kurt Partridge authored
Change-Id: I5a3f21cef7d93128661b11b60eac7d84b8110e47
-
Kurt Partridge authored
(Note: Rlog9 was abandoned). Change-Id: I69de4116e33d3c79216e25efe2ad2bcb2780b0ff
-
- Dec 19, 2012
-
-
Kurt Partridge authored
(It wasn't logging everything). Change-Id: I8c9fd1e7c04e1a3813e26e67691e0366ff48c9ee
-
Kurt Partridge authored
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
-
- Dec 18, 2012
-
-
Kurt Partridge authored
Change-Id: I7d3bcfe647249e0b8a14ac3d67460c2684f16d8c
-
Kurt Partridge authored
Change-Id: I5af460bd7c7fd67f858626ae3daf71fd615a25bf
-
Kurt Partridge authored
- 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 Partridge authored
Change-Id: Ie3b70e6eadc2a9af5ef45ddfad6a3398cea7bfe8
-
- Dec 17, 2012
-
-
Kurt Partridge authored
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
-
- Dec 14, 2012
-
-
Kurt Partridge authored
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
-
- Dec 06, 2012
-
-
Jean Chalard authored
Change-Id: I0c29c5d2abcbf80759b996d34b534deb083cd7d3
-
- Dec 04, 2012
-
-
Kurt Partridge authored
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
-
- Nov 30, 2012
-
-
Kurt Partridge authored
This reverts commit bdbe279c Other half of this change couldn't be committed because of a inter-project directory migration. Reverting until things settle down. Change-Id: I3862fc8485dfca6d507f620e905cfa583aa0e39a
-
Kurt Partridge authored
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: I9f49c36391e1e1773b6d4876d7387c893024f87b
-
Kurt Partridge authored
Previously, a logunit was considered a word only if it was all letters. This is important for tracking bigrams correctly. Now, a logunit must have only at least one letter. The dictionary check is still performed, and punctuation, etc. still comes in as separate LogUnits. But a word can contain a space, which helps set up for logging words where spaces are inserted automatically, and other situations in which text is committed with an additional space tacked onto the end. Change-Id: Ia74094a99058890d20a9cdadf2d0989841a79a41
-
Kurt Partridge authored
Change-Id: Id68de4c6b2df574a38bb5ca800a9b641b1d78200
-
- Nov 29, 2012
-
-
Kurt Partridge authored
Change-Id: I03729506984f259dee63f3a66fd91963e3403d16
-
Kurt Partridge authored
password data collection was too "sticky"; the next field wouldn't be collected either. Change-Id: I739a956f663cff33216f83ac453b2a89d8c33dde
-
- Oct 29, 2012
-
-
Tadashi G. Takaoka authored
Change-Id: Iee01d4d2b916d0b584531104ac865ae6e6370a3d
-
- Sep 04, 2012
-
-
Kurt Partridge authored
Change-Id: I0abb4a1ad67666162ab6703ffdb33c5e0675be93
-
Kurt Partridge authored
Change-Id: I5489bad95f238e2f4d43bdd65bcf2f752d7a63fe
-
Kurt Partridge authored
Bug: 6188932 Change-Id: I31c0f380b334d9117990f2d92de8d385e4a52c7c
-