aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/research/ResearchLogger.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Remove a couple Eclipse and Android Lint warnings•••Change-Id: I0c29c5d2abcbf80759b996d34b534deb083cd7d3 Jean Chalard2012-12-061-22/+0
* Fix crashes related to setSpan(-1 ... -1) errors•••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 Kurt Partridge2012-12-031-10/+12
* Merge "Revert "ResearchLog. Track time of log statements""Kurt Partridge2012-11-301-17/+13
|\
| * Revert "ResearchLog. Track time of log statements"•••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 Kurt Partridge2012-11-301-17/+13
* | Merge "ResearchLog. Track time of log statements"Kurt Partridge2012-11-301-13/+17
|\|
| * ResearchLog. Track time of log statements•••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 Partridge2012-11-291-13/+17
* | Merge "ResearchLogger switch word segmentation"Kurt Partridge2012-11-301-5/+5
|\|
| * ResearchLogger switch word segmentation•••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 Partridge2012-11-291-5/+5
* | Merge "ResearchLogging of segments: groups of LogUnits that are sampled toget...Kurt Partridge2012-11-301-0/+17
|\|
| * ResearchLogging of segments: groups of LogUnits that are sampled together•••Change-Id: Id68de4c6b2df574a38bb5ca800a9b641b1d78200 Kurt Partridge2012-11-291-0/+17
* | ResearchLogger add debugging code•••Change-Id: I03729506984f259dee63f3a66fd91963e3403d16 Kurt Partridge2012-11-281-1/+2
* | ResearchLogging fix password field collection•••password data collection was too "sticky"; the next field wouldn't be collected either. Change-Id: I739a956f663cff33216f83ac453b2a89d8c33dde Kurt Partridge2012-11-281-2/+5
|/
* Move code point constants from Keyboard to Constants class•••Change-Id: Iee01d4d2b916d0b584531104ac865ae6e6370a3d Tadashi G. Takaoka2012-10-291-4/+4
* add logging code•••Change-Id: I0abb4a1ad67666162ab6703ffdb33c5e0675be93 Kurt Partridge2012-09-041-0/+23
* ResearchLogging do not even show basic data for password fields•••Change-Id: I5489bad95f238e2f4d43bdd65bcf2f752d7a63fe Kurt Partridge2012-09-041-19/+19
* ResearchLog uploadingService now waits for logging to finish•••Bug: 6188932 Change-Id: I31c0f380b334d9117990f2d92de8d385e4a52c7c Kurt Partridge2012-09-041-4/+8
* ResearchLogger clean up splash screen•••- simpler text - AlertDialog implementation - declining users are redirected to regular IME Bug: 6188932 Change-Id: Ifb983c3511125f8919f4a8b25aeee7de66dbb0cb Kurt Partridge2012-08-301-32/+35
* ResearchLogger no longer offers option to disable logging•••Bug: 6188932 Change-Id: I0b9474216080f3820438c09f89b0b6c6c102c69d Kurt Partridge2012-08-301-23/+38
* Optimize rare Key attributes to separate class•••This change also removes per-Key verticalGap and horizontalGap. Change-Id: Id4d2129022fbbfbf5d740b8d1257032c945bb775 Tadashi G. Takaoka2012-08-301-1/+1
* ResearchLogging upload via service•••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 Kurt Partridge2012-08-221-6/+40
* ResearchLogging log when preferences change•••Bug: 6188932 Change-Id: I82a115aed30d7693f92d784a32b038996d8b71e3 Kurt Partridge2012-08-221-0/+13
* ResearchLogging capture full n-gram data•••- 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 Kurt Partridge2012-08-211-298/+168
* Remove KeyboardSwitcher reference from ResearchLogger•••Change-Id: I671a83c19977fda358c8e8a730e22ee155f65512 Tadashi G. Takaoka2012-08-221-13/+12
* Merge "Add CollectionUtils class to create generic collection easily" into jb...Tadashi G. Takaoka2012-08-211-6/+7
|\
| * Add CollectionUtils class to create generic collection easily•••Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89 Tadashi G. Takaoka2012-08-221-6/+7
* | ResearchLogger to track simple statistics•••Bug: 6188932 Change-Id: Ie1bb7322706c2d4a56f5e17044bc746e9df1cf18 Kurt Partridge2012-08-211-1/+56
|/
* ResearchLogger log RichInputConnection•••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 Kurt Partridge2012-08-211-98/+113
* Rename and consolidate some constants•••Change-Id: I7863936cca18b28bf0117afcbcf544a5fd7f185d Tadashi G. Takaoka2012-08-211-8/+4
* Remove touch coordinate from pickSuggestionManually•••Change-Id: I33b1b4bc6fdfd263c4b2bb7125c07b4bddcf3c9f Tadashi G. Takaoka2012-08-211-7/+14
* Revert "ResearchLogger log RichInputConnection"•••This reverts commit 1964ffb3f43f0ada429d13b41bd22b90a97fa9fc Change-Id: Ie43e7ac828faa91e1824a255bb3ecf6c8222d4e8 Kurt Partridge2012-08-201-113/+98
* ResearchLogger log RichInputConnection•••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 Kurt Partridge2012-08-171-98/+113
* Lingering gesture floating preview text a bit•••Bug: 6936095 Change-Id: I873343e9aa6afdf6bdb223795f03232509b012a7 Tadashi G. Takaoka2012-08-071-4/+4
* Rename SuggestionsView to SuggestionStripViewTadashi G. Takaoka2012-07-231-5/+5
* Rename LatinKeyboardView to MainKeyboardView•••Change-Id: I8f3123b8d727c7beb72e226f80c17794f89c8b60 Tadashi G. Takaoka2012-07-231-17/+17
* ResearchLogging indicator•••- 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 Kurt Partridge2012-07-221-5/+46
* ResearchLog splash screen•••Bug: 6188932 Change-Id: I1b247ecc26a2dd4f3f1c1b1cd3d928af717ebdd5 Kurt Partridge2012-07-221-7/+82
* ResearchLogger feedback form•••- also cleaned up RLog menu multi-project commit with If0fd4fef89d390073e6939d5188ed5696866cb33 Bug: 6188932 Change-Id: I4f66f13bd366b4e8bde742ccd0704f812c6d33f9 Kurt Partridge2012-07-221-40/+110
* ResearchLog uploading•••- uploads files in the background to server multi-project commit with Ie0d937773e04b2fbefc8d76c231aaa52ebc392c9 Bug: 6188932 Change-Id: I90bb0e237eeb567e4cbb51085f2229f17f1fe71c Kurt Partridge2012-07-201-1/+6
* ResearchLog refactor•••- new package: com.android.inputmethod.research multi-project commit with Ic0a5744f3160d13218addd589890623c0d120ffc Bug: 6188932 Change-Id: Icf8d4a40a5725401799be6e209a640d99a5f34c4 Kurt Partridge2012-07-201-0/+1089