Commit Graph

10430 Commits (a4d1ab9bb9c69c5d2ed0ebc34b851b4da2cff885)

Author SHA1 Message Date
Kurt Partridge 403c423940 [Rlog56] Buffer words before pushing out LogUnit
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
2013-01-09 21:09:19 -08:00
Kurt Partridge 8bda35809b [Rlog52z] Cleanup and small bug fixes
Change-Id: Ia3fca4881370ffcdd5f2b14d2d1094c51f4330ae
2013-01-09 21:07:51 -08:00
Kurt Partridge 2ae3909b20 am f11c4a9a: Merge "[Rlog50] capture bigrams properly even with deletions"
* commit 'f11c4a9aeb9b08d6c0c29861c3d9832334834d90':
  [Rlog50] capture bigrams properly even with deletions
2013-01-09 19:54:33 -08:00
Kurt Partridge f11c4a9aeb Merge "[Rlog50] capture bigrams properly even with deletions" 2013-01-09 19:52:45 -08:00
Tadashi G. Takaoka 1aa547d94a Remove unused variables
Change-Id: I508679c2ad21b2624760d37a9503e21733964d4c
2013-01-10 12:34:35 +09:00
Tadashi G. Takaoka 868dc985cf am 95e3008d: Merge "Rename variables related to key preview popup"
* commit '95e3008d2503916a71cee322146d8a0097326000':
  Rename variables related to key preview popup
2013-01-09 19:34:09 -08:00
Tadashi G. Takaoka 100571d74e am 6ece8f71: Merge "Remove unused variable"
* commit '6ece8f718b50e5bb847152dabe290982efd42df2':
  Remove unused variable
2013-01-09 19:34:07 -08:00
Tadashi G. Takaoka 95e3008d25 Merge "Rename variables related to key preview popup" 2013-01-09 19:32:33 -08:00
Tadashi G. Takaoka 6ece8f718b Merge "Remove unused variable" 2013-01-09 19:32:18 -08:00
Tadashi G. Takaoka b84ca27070 am 3727a3fd: Merge "Clean up public helper methods of SettingsValues"
* commit '3727a3fd6137c3552dc299f60b1f1df41cb47059':
  Clean up public helper methods of SettingsValues
2013-01-09 19:06:15 -08:00
Tadashi G. Takaoka 3727a3fd61 Merge "Clean up public helper methods of SettingsValues" 2013-01-09 19:04:46 -08:00
Tadashi G. Takaoka 813692c956 Rename variables related to key preview popup
Change-Id: I0161e5844dd325af9afba80ac54a569b16c80660
2013-01-10 11:47:18 +09:00
Tadashi G. Takaoka e0e0b04188 Remove unused variable
Change-Id: I7001d8b6200a5cefcf84630d663da8316422026f
2013-01-10 11:43:35 +09:00
Kurt Partridge 3b95eaf70b [Rlog50] capture bigrams properly even with deletions
multi-project commit with Ia4ec213e8356897807cb6a278fccdbaa945732f0

Change-Id: Ib3fe886dc889954a31586ab81d00a21d8d55efd2
2013-01-09 16:02:37 -08:00
Baligh Uddin c2f07352db am 7132840b: (-s ours) Import translations. DO NOT MERGE
* commit '7132840b7173daae9c0ff307277c3f5bacbe8f4f':
  Import translations. DO NOT MERGE
2013-01-09 14:24:49 -08:00
Baligh Uddin 7132840b71 Import translations. DO NOT MERGE
Change-Id: I7513684783ad97339184b8db61ddd062cbd7a1c5
Auto-generated-cl: translation import
2013-01-09 13:12:57 -08:00
Baligh Uddin 6a2a7942f9 Import translations. DO NOT MERGE
Change-Id: I35be6cca9818f1ea08f3a23c76d19bfb945028b7
Auto-generated-cl: translation import
2013-01-09 13:08:09 -08:00
Jean Chalard 6c75253c11 Add a next Event (B2)
Change-Id: If2fe6f0f4f88a6ae1f22664ded61cec6942c18b9
2013-01-09 22:12:13 +09:00
Jean Chalard 02f580022d am 125ad223: Merge "Abandon the idea of an Event pool and make Event immutable (B1)"
* commit '125ad2237072745e4800b7a3907d5507024f35e5':
  Abandon the idea of an Event pool and make Event immutable (B1)
2013-01-09 05:11:26 -08:00
Jean Chalard 125ad22370 Merge "Abandon the idea of an Event pool and make Event immutable (B1)" 2013-01-09 05:07:42 -08:00
Jean Chalard 8da9c337db Move a method to a utility class (C1)
This is a preparatory change to fix bug 7969231

Change-Id: I44604ae75192a17b4e75a01f3e3d679d4901299e
2013-01-09 21:59:06 +09:00
Jean Chalard ae74b8cf67 Abandon the idea of an Event pool and make Event immutable (B1)
Change-Id: I750a07c0c564a95ceac734afa873ca3da9626a7f
2013-01-09 21:08:58 +09:00
Satoshi Kataoka ad61fc8f46 am e4d07ac7: Merge "add a define"
* commit 'e4d07ac75aabb3efe0dc7f7a4c602baf5d2ad668':
  add a define
2013-01-09 03:18:35 -08:00
Satoshi Kataoka e4d07ac75a Merge "add a define" 2013-01-09 03:10:20 -08:00
Satoshi Kataoka 5817b6b84f add a define
Change-Id: I8139d0639d07afd200ba4507768bf76d0054687b
2013-01-09 20:08:17 +09:00
Jean Chalard c5432a2db7 am b112a135: Merge "Fix a race condition with backspaces"
* commit 'b112a13518fd7479da4113d8e4f4f327ad8b9bbb':
  Fix a race condition with backspaces
2013-01-09 01:56:02 -08:00
Jean Chalard b112a13518 Merge "Fix a race condition with backspaces" 2013-01-09 01:53:47 -08:00
Jean Chalard 516b63db28 Fix a race condition with backspaces
And add a test to make sure it stays not-broken.

Bug: 7946604
Change-Id: I996da3d5507d591ec25a13fb57434f39843f1df5
2013-01-09 18:37:10 +09:00
Tadashi G. Takaoka b772cf7287 am e56686f4: Merge "Cancel update batch input timer whenever MotionEvent is received"
* commit 'e56686f43af81db965941a393c5e0231c26ec77b':
  Cancel update batch input timer whenever MotionEvent is received
2013-01-09 01:15:20 -08:00
Tadashi G. Takaoka e56686f43a Merge "Cancel update batch input timer whenever MotionEvent is received" 2013-01-09 01:12:59 -08:00
Tadashi G. Takaoka 915f348b35 Cancel update batch input timer whenever MotionEvent is received
Bug: 7911739
Change-Id: Id2cd98385371fd98435943ed66ec5381dfaa48e0
2013-01-09 17:55:42 +09:00
Tadashi G. Takaoka 473f8ab4a7 am 28772899: Merge "Don\'t cancel gesture typing while more keys keyboard is shown"
* commit '28772899d2fd0f452d1beca79c03123eaee53c0f':
  Don't cancel gesture typing while more keys keyboard is shown
2013-01-09 00:28:01 -08:00
Tadashi G. Takaoka 28772899d2 Merge "Don't cancel gesture typing while more keys keyboard is shown" 2013-01-09 00:26:12 -08:00
Tadashi G. Takaoka 8353e751ca Don't cancel gesture typing while more keys keyboard is shown
Bug: 7964225
Change-Id: I4c572527b6f399282bdd963e38c147c7e69815ac
2013-01-09 16:56:59 +09:00
Ken Wakasa 23c9e9df7b am 8f5f79d7: Merge "Replace assert() with ASSERT() & use -funwind-tables for debug builds"
* commit '8f5f79d7ea824752dcaa4e035e71291e7dd7ddaf':
  Replace assert() with ASSERT() & use -funwind-tables for debug builds
2013-01-08 22:49:09 -08:00
Ken Wakasa 8f5f79d7ea Merge "Replace assert() with ASSERT() & use -funwind-tables for debug builds" 2013-01-08 22:47:12 -08:00
Ken Wakasa ccebd5cefe Replace assert() with ASSERT() & use -funwind-tables for debug builds
Change-Id: I9ec14eb24ebc45657119a45aba09517e71a22974
2013-01-09 15:44:48 +09:00
Satoshi Kataoka 6b25917079 am dd4d938e: assert when the touch event goes back to the future
* commit 'dd4d938e6990701176c658af5c593ea377973bef':
  assert when the touch event goes back to the future
2013-01-08 22:25:23 -08:00
Satoshi Kataoka dd4d938e69 assert when the touch event goes back to the future
bug: 7911739

Change-Id: I29db6a5cb6749999666b1c53857ea61bcc19b8f1
2013-01-09 15:17:11 +09:00
Tadashi G. Takaoka d3b0ecec22 Clean up public helper methods of SettingsValues
Change-Id: I6c6087580b67f497eaaf16900f8df7a4a895b8e3
2013-01-09 11:23:34 +09:00
Tadashi G. Takaoka be853639a4 am 8315e816: Merge "Clean up debug related preference keys"
* commit '8315e8168b135599237f5493f72e667f39503006':
  Clean up debug related preference keys
2013-01-08 16:58:00 -08:00
Tadashi G. Takaoka 8315e8168b Merge "Clean up debug related preference keys" 2013-01-08 16:56:13 -08:00
Baligh Uddin abdc4f19e7 am 4fdffc16: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '4fdffc16d235ad24db8c3a2134aa50fec73478f0':
  Import translations. DO NOT MERGE
2013-01-08 10:26:04 -08:00
Baligh Uddin 4fdffc16d2 Merge "Import translations. DO NOT MERGE" 2013-01-08 10:23:18 -08:00
Baligh Uddin d6d40a0aec Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-01-08 10:22:51 -08:00
Kurt Partridge 05b6cda6ef am e9c64558: [Rlog48] Better logging of MotionEvents
* commit 'e9c6455881060c9f43a15a499582118b2ac2fa65':
  [Rlog48] Better logging of MotionEvents
2013-01-08 08:53:45 -08:00
Kurt Partridge e9c6455881 [Rlog48] Better logging of MotionEvents
- Now includes all historical data stored in a motionEvent
- Simpler API, refactored to move extraction code to JsonUtils

Change-Id: I52d9756ddbeaa14d1704787da59bf1aad18f0335
2013-01-08 08:50:06 -08:00
Kurt Partridge dfb1789d79 am 9bad176e: Merge "[Rlog32] ResearchLogger segment motion data around gestures correctly"
* commit '9bad176ebe4f6520db188b5498efbbf7e5fc2c4f':
  [Rlog32] ResearchLogger segment motion data around gestures correctly
2013-01-08 08:12:32 -08:00
Kurt Partridge 9bad176ebe Merge "[Rlog32] ResearchLogger segment motion data around gestures correctly" 2013-01-08 08:10:31 -08:00
Kurt Partridge f0cf9927ba am b7fb16e8: Merge "[Rlog27] Refactor LogBuffer"
* commit 'b7fb16e8ccbdd867221109e48a3a5b804f87b80d':
  [Rlog27] Refactor LogBuffer
2013-01-08 07:43:44 -08:00