Skip to content
Snippets Groups Projects
  1. Jun 27, 2013
    • Kurt Partridge's avatar
      Record number of words entered · 169571b3
      Kurt Partridge authored
      This change records the number of words entered in every LogUnit.
      This metric is helpful for determining how much multi-word gestures
      and spaceless tapping is used.
      
      Change-Id: I4c6d0f9d78e4ac2dd63fd53ed2ec70b368366f15
      169571b3
  2. May 28, 2013
  3. May 11, 2013
    • Kurt Partridge's avatar
      Avoid JsonWriter multi-write error · 7d72ca0b
      Kurt Partridge authored
      JsonWriter requires that its clients pass it only a single top-level object.
      The existing implementation tries to make code cleaner by having mJsonWriter
      never be null, and instead use a global static "NULL_JSON_WRITER" that just
      discards data.  But because JsonWriter complains if more than one top-level
      object is passed, making this a global object does not work.  This change
      instead copes with mJsonWriter being null.
      
      Change-Id: Ia37ccfc8646e91f11a64713dd92d2846eb86ac54
      7d72ca0b
  4. Apr 19, 2013
    • Kurt Partridge's avatar
      Allow LogUnits to hold >1 word · e92b5e14
      Kurt Partridge authored
      LogUnits have been annotated with the autocorrected words, but
      until now this was assumed to be a single word without spaces.
      But spaceless typing can result in spaces in the LogUnit label.  With this
      change, the LogUnit inspects the autocorrected text to determine how many
      words were inserted, and counts them accurately.
      
      This change corrects a privacy problem, which was that if the word sampling
      algorithm chose a LogUnit that actually contained multiple words, then more
      than two successive words would be included in the log.
      
      Change-Id: I7c01c3dd3ac33d7e96c00836256bae9c14b124ed
      e92b5e14
  5. Mar 18, 2013
  6. Mar 09, 2013
    • Jean Chalard's avatar
      [Lazy4] Remove useless debug code · 220b271d
      Jean Chalard authored
      This code is cluttering readability and getting in the way
      of future updates.
      Future updates will make it much easier to debug and to
      test this code, so this needs to disappear.
      
      Change-Id: I32e28ec608587b6b7c07250a2692b13e8fc98465
      220b271d
  7. Feb 28, 2013
  8. Feb 27, 2013
  9. Feb 21, 2013
  10. Feb 13, 2013
  11. Feb 05, 2013
    • Kurt Partridge's avatar
      Refactor LogStatement publishing method · b02a19c4
      Kurt Partridge authored
      The method in LogUnit for publishing a LogStatement to a JsonWriter doesn't
      depend on anything in the LogUnit.
      
      multi-project commit with Id1d6ff4851148bba0e6b5a1ec6eec2b842d9c707
      
      Change-Id: I323cec239d6ea1cee602c2ecf9b13713791e9283
      b02a19c4
  12. Feb 01, 2013
  13. Jan 29, 2013
    • Kurt Partridge's avatar
      [Rlog27] Add replay capability · f3731188
      Kurt Partridge authored
      - Add support for replaying log files to the ResearchLogger.  This will let
        users preview data that they choose to upload.
      - When the user explicitly requests that the system record their action, it
        will record everything up to, and including, the motion involved in shutting
        off the recording.  This change also removes the stop-recording motion
        commands.
      
      Change-Id: Ib1df383bbf1881512cb111fab9f6749c25e436ba
      f3731188
  14. Jan 23, 2013
  15. Jan 22, 2013
    • Kurt Partridge's avatar
      [Rlog81a] Determine correction type of words · 0c16a5c6
      Kurt Partridge authored
      Heuristic to determine whether a word was a typo correction or a complete
      replacement by examining a correction to see if it falls within the list of
      suggested words of the original.
      
      Change-Id: Ieec4861a811e96aef0d14622e662b589ef8b4772
      0c16a5c6
  16. Jan 21, 2013
    • Kurt Partridge's avatar
      [Rlog78b] Make log privacy filtering decisions on n-grams · 80685aa4
      Kurt Partridge authored
      Previously, words were pushed out of a LogBuffer one at a time.  The receiving code had to keep
      state to know whether a n-gram was safe to log.  This patch looks at the entire n-gram and makes a
      single decision based on it alone.
      
      mult-project commit with I3c40d7e02c77943d2668094ddb1d03efb942c74f
      
      Change-Id: Id7d90bbd551b1a2f4e0e35f38852652f68f273f8
      80685aa4
    • Tadashi G. Takaoka's avatar
      Fix Apache license comment · 8aa9963a
      Tadashi G. Takaoka authored
      Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
      8aa9963a
  17. Jan 17, 2013
  18. Jan 11, 2013
  19. Jan 10, 2013
  20. Jan 08, 2013
    • Kurt Partridge's avatar
      [Rlog48] Better logging of MotionEvents · e9c64558
      Kurt Partridge authored
      - Now includes all historical data stored in a motionEvent
      - Simpler API, refactored to move extraction code to JsonUtils
      
      Change-Id: I52d9756ddbeaa14d1704787da59bf1aad18f0335
      e9c64558
  21. Dec 23, 2012
  22. Dec 21, 2012
  23. Dec 18, 2012
  24. Dec 17, 2012
    • Kurt Partridge's avatar
      [Rlog2] ResearchLogging fix multi-space logging · 3370dc82
      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
      3370dc82
  25. Dec 14, 2012
    • Kurt Partridge's avatar
      [Rlog1] Track time of log statements · 5e854e28
      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
      5e854e28
  26. Nov 30, 2012
    • Kurt Partridge's avatar
      Revert "ResearchLog. Track time of log statements" · 33d5da59
      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
      33d5da59
    • Kurt Partridge's avatar
      ResearchLog. Track time of log statements · bdbe279c
      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
      bdbe279c
  27. Aug 22, 2012
    • Kurt Partridge's avatar
      ResearchLogging capture full n-gram data · bf653996
      Kurt Partridge authored
      - 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
      bf653996
  28. Aug 20, 2012
  29. Aug 18, 2012
    • Kurt Partridge's avatar
      ResearchLogging capture full n-gram data · 221e756f
      Kurt Partridge authored
      DO NOT MERGE
      
      - 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 Ie2bc79fd7fe6b951b24771e94b8d4ca21989af65
      
      Bug: 6188932
      Change-Id: I568c90d4af07e7c759c1e7fc64b716bd8c7b4ae5
      221e756f
  30. Aug 08, 2012
  31. Aug 05, 2012
    • Kurt Partridge's avatar
      ResearchLogging capture full n-gram data · 838e6c1e
      Kurt Partridge authored
      - 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 Id997fb6572daa3ff55591afa1676953bb204f33a
      
      Because of a strange Gerrit interaction, earlier patchsets were recorded
      as the following separate changes (to soon be abandoned):
      
      - I59d86ae28123890ddb7aabc7dc9a73a75eecbca4
      - I9cc95266fa4500d019e09ec53ec00e5dea7ffd38
      - Ie6f23a2035e160f231406df1388a43725380df1d
      - Id87909e96fa7fa91174c86395a964404f3490fe1
      - I57c5cbde0425c42538d589fa4d1802b3e5688f7c
      - Ic1f9d7727e416da1b6c4f1a45b53750cd4088dcf
      - I20a72ccc4ba1bc08ed3ee39bff71d2adb376588c
      - I417f6f364144b90085f5fef4bd2de1a40b5dfa79
      
      Bug: 6188932
      Change-Id: I771e57e3b8c0eb6721c2022e775cb0b528bdff93
      838e6c1e
Loading