aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/research/ResearchLogger.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Merge "ResearchLog. Track time of log statements"Kurt Partridge2012-11-301-13/+17
|\|
| * ResearchLog. Track time of log statementsKurt Partridge2012-11-291-13/+17
| | | | | | | | | | | | | | | | | | 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
* | Merge "ResearchLogger switch word segmentation"Kurt Partridge2012-11-301-5/+5
|\|
| * ResearchLogger switch word segmentationKurt Partridge2012-11-291-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "ResearchLogging of segments: groups of LogUnits that are sampled ↵Kurt Partridge2012-11-301-0/+17
|\| | | | | | | together"
| * ResearchLogging of segments: groups of LogUnits that are sampled togetherKurt Partridge2012-11-291-0/+17
| | | | | | | | Change-Id: Id68de4c6b2df574a38bb5ca800a9b641b1d78200
* | ResearchLogger add debugging codeKurt Partridge2012-11-281-1/+2
| | | | | | | | Change-Id: I03729506984f259dee63f3a66fd91963e3403d16
* | ResearchLogging fix password field collectionKurt Partridge2012-11-281-2/+5
|/ | | | | | password data collection was too "sticky"; the next field wouldn't be collected either. Change-Id: I739a956f663cff33216f83ac453b2a89d8c33dde
* Move code point constants from Keyboard to Constants classTadashi G. Takaoka2012-10-291-4/+4
| | | | Change-Id: Iee01d4d2b916d0b584531104ac865ae6e6370a3d
* add logging codeKurt Partridge2012-09-041-0/+23
| | | | Change-Id: I0abb4a1ad67666162ab6703ffdb33c5e0675be93
* ResearchLogging do not even show basic data for password fieldsKurt Partridge2012-09-041-19/+19
| | | | Change-Id: I5489bad95f238e2f4d43bdd65bcf2f752d7a63fe
* ResearchLog uploadingService now waits for logging to finishKurt Partridge2012-09-041-4/+8
| | | | | Bug: 6188932 Change-Id: I31c0f380b334d9117990f2d92de8d385e4a52c7c
* ResearchLogger clean up splash screenKurt Partridge2012-08-301-32/+35
| | | | | | | | | - simpler text - AlertDialog implementation - declining users are redirected to regular IME Bug: 6188932 Change-Id: Ifb983c3511125f8919f4a8b25aeee7de66dbb0cb
* ResearchLogger no longer offers option to disable loggingKurt Partridge2012-08-301-23/+38
| | | | | Bug: 6188932 Change-Id: I0b9474216080f3820438c09f89b0b6c6c102c69d
* Optimize rare Key attributes to separate classTadashi G. Takaoka2012-08-301-1/+1
| | | | | | This change also removes per-Key verticalGap and horizontalGap. Change-Id: Id4d2129022fbbfbf5d740b8d1257032c945bb775
* ResearchLogging upload via serviceKurt Partridge2012-08-221-6/+40
| | | | | | | | | | Upload using an intent service rather than just a thread. More robust in case the keyboard is closed and the upload hasn't finished yet. multi-project commit with Id515c2b1b0d6f85be50f92a661a2d32ebaeaa143 Bug: 6188932 Change-Id: I64a9fab92ff89ee09df877db4e5f7f0ec0ffb3b6
* ResearchLogging log when preferences changeKurt Partridge2012-08-221-0/+13
| | | | | Bug: 6188932 Change-Id: I82a115aed30d7693f92d784a32b038996d8b71e3
* ResearchLogging capture full n-gram dataKurt Partridge2012-08-211-298/+168
| | | | | | | | | | | | | | | - Captures complete motion data for all words in an n-gram. - Also filters n-grams properly; if any word in the n-gram is not in the dictionary, it is not included. - Simplify ResearchLog to not require explicit state - Added LogBuffer class MainLogBuffer class to allow n-gram-level decisions about privacy. - Moved LogUnit out from ResearchLogger multi-project change with Ic70ccb6c2e11eb02d887821434b44daa3eb7a3e2 Bug: 6188932 Change-Id: I731d6cff6539e997874f723b68bdb0d9b651b937
* Remove KeyboardSwitcher reference from ResearchLoggerTadashi G. Takaoka2012-08-221-13/+12
| | | | Change-Id: I671a83c19977fda358c8e8a730e22ee155f65512
* Merge "Add CollectionUtils class to create generic collection easily" into ↵Tadashi G. Takaoka2012-08-211-6/+7
|\ | | | | | | jb-mr1-dev
| * Add CollectionUtils class to create generic collection easilyTadashi G. Takaoka2012-08-221-6/+7
| | | | | | | | Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
* | ResearchLogger to track simple statisticsKurt Partridge2012-08-211-1/+56
|/ | | | | Bug: 6188932 Change-Id: Ie1bb7322706c2d4a56f5e17044bc746e9df1cf18
* ResearchLogger log RichInputConnectionKurt Partridge2012-08-211-98/+113
| | | | | | | | | | | | | | Move many ResearchLogger data collection points to RichInputConnection. By collecting data here, developers do not have to remember to keep the ResearchLog consistent with calls to the RichInputConnection. In addition, some unnecessary log points were removed, and the ResearchLogger is now independent of LatinImeLogger. multi-project change with I05496cfd762e9a41c42c50099143f1efc0a3d8a2 Bug: 6188932 Change-Id: I424abb2e437901262a9620255493916b7c3ff74b
* Rename and consolidate some constantsTadashi G. Takaoka2012-08-211-8/+4
| | | | Change-Id: I7863936cca18b28bf0117afcbcf544a5fd7f185d
* Remove touch coordinate from pickSuggestionManuallyTadashi G. Takaoka2012-08-211-7/+14
| | | | Change-Id: I33b1b4bc6fdfd263c4b2bb7125c07b4bddcf3c9f
* Revert "ResearchLogger log RichInputConnection"Kurt Partridge2012-08-201-113/+98
| | | | | | This reverts commit 1964ffb3f43f0ada429d13b41bd22b90a97fa9fc Change-Id: Ie43e7ac828faa91e1824a255bb3ecf6c8222d4e8
* ResearchLogger log RichInputConnectionKurt Partridge2012-08-171-98/+113
| | | | | | | | | | | | | | | | Move many ResearchLogger data collection points to RichInputConnection. By collecting data here, developers do not have to remember to keep the ResearchLog consistent with calls to the RichInputConnection. In addition, some unnecessary log points were removed, and the ResearchLogger is now independent of LatinImeLogger. multi-project change with Ib71f841044ec1072610ab5638a5edfce29b7c05b DO NOT MERGE Bug: 6188932 Change-Id: I9ec7500a5b18bfe1a5a5bb1e5bf21c43351fc59e
* Lingering gesture floating preview text a bitTadashi G. Takaoka2012-08-071-4/+4
| | | | | Bug: 6936095 Change-Id: I873343e9aa6afdf6bdb223795f03232509b012a7
* Rename SuggestionsView to SuggestionStripViewTadashi G. Takaoka2012-07-231-5/+5
|
* Rename LatinKeyboardView to MainKeyboardViewTadashi G. Takaoka2012-07-231-17/+17
| | | | Change-Id: I8f3123b8d727c7beb72e226f80c17794f89c8b60
* ResearchLogging indicatorKurt Partridge2012-07-221-5/+46
| | | | | | | | | - shows a indicator that logging is on. two options are available: an obvious red outline around the keyboard, and a subtle red dot in the lower right-hand corner. currently configured for the subtle red dot. Bug: 6188932 Change-Id: I0fd1ac5a0f20329adc603aa65ab85f2d38b9fc43
* ResearchLog splash screenKurt Partridge2012-07-221-7/+82
| | | | | Bug: 6188932 Change-Id: I1b247ecc26a2dd4f3f1c1b1cd3d928af717ebdd5