Commit Graph

5993 Commits (db31867678bbe9169699dfa6dca3c9477d4c334b)

Author SHA1 Message Date
Jean Chalard d818f1e3b6 Stop relying on the soft keyboard to get the editor action.
Bug: 7969231
Change-Id: I9848c63c4c51550b5dc53c981eafa74e7fa95197
2013-01-16 18:22:00 +09:00
Kurt Partridge 14b800d858 [Rlog14] Increase feedback buffer to cover whole session
Change-Id: I55b61d9ca6eecd56181b8d2913f71559555cd89e
2013-01-15 18:34:13 -08:00
Kurt Partridge 87627df898 am 9579936b: [Rlog67] Renaming clarification
* commit '9579936bcf6bc5cecee315c5e40a30af77f47dfd':
  [Rlog67] Renaming clarification
2013-01-15 09:37:34 -08:00
Jean Chalard e988562ad6 am 34b88560: Merge "Distinguish action-enter/shift-enter/enter"
* commit '34b8856077220cfaa475a13d383bcc69ef470af4':
  Distinguish action-enter/shift-enter/enter
2013-01-15 09:37:32 -08:00
Kurt Partridge 9579936bcf [Rlog67] Renaming clarification
ResearchLogger.latinIME_handleSeparator wasn't doing anything really specific to
the separator, so its implementation has been renamed according to its role.

Change-Id: I24e8691c7dc440dd067e96d23e50463683e17cfc
2013-01-15 08:57:52 -08:00
Jean Chalard dcfceaff1b Distinguish action-enter/shift-enter/enter
Bug: 7969231
Change-Id: I75d495ee1ea126da9be4e269ee990ee0a97793c1
2013-01-15 19:12:41 +09:00
Ken Wakasa 2839333609 am c995dbcf: Merge "Remove MAX_WORD_LENGTH_INTERNAL"
* commit 'c995dbcf598730f138e59f989e813b83d585d40b':
  Remove MAX_WORD_LENGTH_INTERNAL
2013-01-14 19:48:20 -08:00
Ken Wakasa c995dbcf59 Merge "Remove MAX_WORD_LENGTH_INTERNAL" 2013-01-14 19:46:09 -08:00
Tadashi G. Takaoka f561eb86d5 am 722eeb14: Fix drawing Arabic diacritics
* commit '722eeb144f4a0af337784ffa311217432272e19d':
  Fix drawing Arabic diacritics
2013-01-14 19:44:55 -08:00
Ken Wakasa 5db594abba Remove MAX_WORD_LENGTH_INTERNAL
Change-Id: Ie11ff000675601acff5fbb00e9e9f48eb32c5071
2013-01-15 12:39:08 +09:00
Tadashi G. Takaoka 722eeb144f Fix drawing Arabic diacritics
Bug: 8001868
Change-Id: I0e5aab266bbaad8c68e4a900b8d5572977a0379d
2013-01-15 11:03:15 +09:00
Kurt Partridge 61d61e4606 am 019bcc62: Merge "[Rlog68] Logger; make filenames more unique to prevent filesys conflicts"
* commit '019bcc62b92d2a43057a00c2db0a2928966c6247':
  [Rlog68] Logger; make filenames more unique to prevent filesys conflicts
2013-01-14 10:04:16 -08:00
Kurt Partridge 019bcc62b9 Merge "[Rlog68] Logger; make filenames more unique to prevent filesys conflicts" 2013-01-14 10:02:16 -08:00
Kurt Partridge 46933eeb13 am 5b611e18: Merge "[Rlog63] Log whether a manual suggestion is a prediction"
* commit '5b611e184b44e479855ca45acd132ab9c592ba52':
  [Rlog63] Log whether a manual suggestion is a prediction
2013-01-14 09:32:38 -08:00
Kurt Partridge 5b611e184b Merge "[Rlog63] Log whether a manual suggestion is a prediction" 2013-01-14 09:30:12 -08:00
Kurt Partridge 50cb9eab28 am 939e3f31: Merge "[Rlog59d] Pass separatorString through revertCommit"
* commit '939e3f3152f7c2a1593b5ab4161597f4fe73315c':
  [Rlog59d] Pass separatorString through revertCommit
2013-01-14 09:28:01 -08:00
Kurt Partridge 0a292ad883 Add comment
Change-Id: If21222aa678a827c1fcad5cacac0fa20655e4e5e
2013-01-14 09:08:51 -08:00
Kurt Partridge 939e3f3152 Merge "[Rlog59d] Pass separatorString through revertCommit" 2013-01-14 08:59:04 -08:00
Kurt Partridge 67a61fc6be [Rlog68] Logger; make filenames more unique to prevent filesys conflicts
multi-project commit with If6b9f8990d7cdbf570740a81096513698d0e0f4c

Change-Id: I124aed24be0beb4c472869594184ecf003c2fed4
2013-01-14 07:11:42 -08:00
Kurt Partridge 31156c816e [Rlog59d] Pass separatorString through revertCommit
Change-Id: I5ef20476318979f99f543f9300cf6198d18f6244
2013-01-14 07:01:49 -08:00
Kurt Partridge 284730bae1 am 3e05370d: Merge "[Rlog59c] More detailed logging of backspace"
* commit '3e05370d53688e2c34cc26b7e5b6ca07f25fa839':
  [Rlog59c] More detailed logging of backspace
2013-01-13 11:16:04 -08:00
Kurt Partridge 3e05370d53 Merge "[Rlog59c] More detailed logging of backspace" 2013-01-13 11:13:37 -08:00
Kurt Partridge 9e472630a7 am 916c0a08: Merge "[Rlog60] Log if a logUnit is uncommitted"
* commit '916c0a08c679b12922cbf32b659d1e32ca4dc6cd':
  [Rlog60] Log if a logUnit is uncommitted
2013-01-12 12:58:50 -08:00
Kurt Partridge 916c0a08c6 Merge "[Rlog60] Log if a logUnit is uncommitted" 2013-01-12 12:57:19 -08:00
Kurt Partridge ef3936bc54 [Rlog59c] More detailed logging of backspace
- Normal delete events are recorded
- Includes number of characters deleted for both batch and normal delete

Change-Id: I422da3ddc94fa0ccd6c7586eaacf14c62dd16679
2013-01-12 12:54:59 -08:00
Kurt Partridge 09423749d4 am 343a852c: Merge "[Rlog59b] Log CodeInput and KeyCode properly"
* commit '343a852cd95a051bc54658d4cc78037361053f1f':
  [Rlog59b] Log CodeInput and KeyCode properly
2013-01-12 10:21:30 -08:00
Kurt Partridge 343a852cd9 Merge "[Rlog59b] Log CodeInput and KeyCode properly" 2013-01-12 10:18:57 -08:00
Kurt Partridge 966d03d60e am b75e2380: Merge "[Rlog58b] Log user pauses"
* commit 'b75e2380e2e4fb62aab71db59bdd19075af8c2eb':
  [Rlog58b] Log user pauses
2013-01-11 10:20:58 -08:00
Kurt Partridge b75e2380e2 Merge "[Rlog58b] Log user pauses" 2013-01-11 10:19:13 -08:00
Kurt Partridge 3338703a2f [Rlog63] Log whether a manual suggestion is a prediction
Change-Id: Ia6f793611d4b18aecb1a635655af5edb639e1ecf
2013-01-11 09:55:09 -08:00
Kurt Partridge 988a2d0c87 am 5523a681: Merge "[Rlog59a] Split logUnits correctly around separators"
* commit '5523a6818d77cd198e349f075bb1bb5acaff5b71':
  [Rlog59a] Split logUnits correctly around separators
2013-01-11 09:20:34 -08:00
Kurt Partridge 5523a6818d Merge "[Rlog59a] Split logUnits correctly around separators" 2013-01-11 09:18:10 -08:00
Ken Wakasa 53f9fe1b90 am f6870cc8: Remove BinaryDictionary.MAX_PREDICTION and MAX_SPACES, and rename MAX_WORDS to MAX_RESULTS
* commit 'f6870cc82ddf394e94155322fcc7e4e2256bea66':
  Remove BinaryDictionary.MAX_PREDICTION and MAX_SPACES, and rename MAX_WORDS to MAX_RESULTS
2013-01-11 03:52:00 -08:00
Ken Wakasa f6870cc82d Remove BinaryDictionary.MAX_PREDICTION and MAX_SPACES, and rename MAX_WORDS to MAX_RESULTS
Change-Id: Iab2a422b367e7521f346481c7fe5e2575f2e9de3
2013-01-11 20:47:42 +09:00
Kurt Partridge 99931201d0 [Rlog59b] Log CodeInput and KeyCode properly
- Fix function calls to happen at more resilient times
- In the case of phantom spaces, ensure that the logStatement goes to the
  correct logUnit

Change-Id: Ida8f6eba1e4f33d9f9b4735316e3c6316ed316c0
2013-01-10 23:39:11 -08:00
Kurt Partridge b4fe364b39 [Rlog60] Log if a logUnit is uncommitted
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
2013-01-10 23:18:40 -08:00
Jean Chalard 93fd1ac4fc am d8590857: Fix spell checker subtype list.
* commit 'd8590857bdff7f30a93af07aef0362d9f7460a5a':
  Fix spell checker subtype list.
2013-01-10 22:05:52 -08:00
Jean Chalard d8590857bd Fix spell checker subtype list.
Remove the subtypes that don't get a dictionary any more in AOSP.
Also prepare for all downloadable-dictionary supported subtypes.

Bug: 7673670
Change-Id: I5b754a791233c270237b8f7e5e2208f7282ad294
2013-01-11 14:59:34 +09:00
Kurt Partridge 05ee6ad843 [Rlog58b] Log user pauses
Change-Id: I7802f07192a4cba4f3cfb5c08ce6d5d2d85a46c1
2013-01-10 19:54:40 -08:00
Kurt Partridge 9f962af541 am aa9db1e2: Merge "[Rlog] Fix some potential NPEs"
* commit 'aa9db1e2598e6a8c64844db4261e067e592a6f38':
  [Rlog] Fix some potential NPEs
2013-01-10 17:16:06 -08:00
Kurt Partridge aa9db1e259 Merge "[Rlog] Fix some potential NPEs" 2013-01-10 17:14:10 -08:00
Kurt Partridge 90aaa2d0a5 [Rlog59a] Split logUnits correctly around separators
Change-Id: I65ecdead7e7bdeb8a5f1748e27068ddbd5d3ce00
2013-01-10 16:36:18 -08:00
Kurt Partridge ef243ffa1a am 211103d7: [Rlog58a] Fix privacy leak of word in logUnitStart
* commit '211103d7fecc3d6df116ec677ae88cb6d70cce86':
  [Rlog58a] Fix privacy leak of word in logUnitStart
2013-01-10 16:08:47 -08:00
Kurt Partridge 211103d7fe [Rlog58a] Fix privacy leak of word in logUnitStart
Change-Id: Idcea4cd0256581e9868ac987fd1fa281ff074483
2013-01-10 16:06:01 -08:00
Kurt Partridge 4acdd3ad69 [Rlog] Fix some potential NPEs
Change-Id: I07b18b5db81784dca32683e5f208088181c5eed9
2013-01-10 16:04:23 -08:00
Kurt Partridge 564524067f am 75e69753: [Rlog57b] fix logging of reverts
* commit '75e69753b709c19d5a23baf88ec3ac2576ee9c24':
  [Rlog57b] fix logging of reverts
2013-01-10 15:04:46 -08:00
Kurt Partridge 75e69753b7 [Rlog57b] fix logging of reverts
Change-Id: I07c817061a0cc060197e0fea45195ca07a9bf276
2013-01-10 15:00:28 -08:00
Kurt Partridge e6bbfda9e0 am a0970042: Merge "[Rlog57a] include logUnit boundaries in output"
* commit 'a0970042642ef39c22149a896efe785ec1fcaf01':
  [Rlog57a] include logUnit boundaries in output
2013-01-10 12:06:57 -08:00
Kurt Partridge a097004264 Merge "[Rlog57a] include logUnit boundaries in output" 2013-01-10 12:04:32 -08:00
Kurt Partridge e3c0015b0d am 700ce8df: Merge "[Rlog56] Buffer words before pushing out LogUnit"
* commit '700ce8df07eb242ce93f4f5e3e0ceb78473938ab':
  [Rlog56] Buffer words before pushing out LogUnit
2013-01-10 10:52:54 -08:00
Kurt Partridge 700ce8df07 Merge "[Rlog56] Buffer words before pushing out LogUnit" 2013-01-10 10:51:17 -08:00
Ken Wakasa 7f83014a68 am 4da2ed7a: Fix too thick gesture trail width
* commit '4da2ed7a78c63284fa3869450a492ee7ae420ed9':
  Fix too thick gesture trail width
2013-01-10 05:40:13 -08:00
Ken Wakasa 4da2ed7a78 Fix too thick gesture trail width
Change-Id: If1b78183b24fa0029bc28e5f56a988372182903e
2013-01-10 22:18:23 +09:00
satok 9fa1bc4148 am 2ef0d3bf: Merge "fix possible NPE in DebugSettings"
* commit '2ef0d3bf8db57ebebcb1c10f5b378a36b33ba1eb':
  fix possible NPE in DebugSettings
2013-01-10 03:20:10 -08:00
satok 2ef0d3bf8d Merge "fix possible NPE in DebugSettings" 2013-01-10 03:00:24 -08:00
satok e8b4fd2644 fix possible NPE in DebugSettings
Change-Id: I44ec5bd3b2a00087603316f14d732164dbcf399f
2013-01-10 19:57:33 +09:00
Jean Chalard dce2cdad0a am d9c7a6b9: Merge "Move a method to a utility class (C1)"
* commit 'd9c7a6b9b32c52b773165f7e177b3511cdc21d2f':
  Move a method to a utility class (C1)
2013-01-10 00:05:01 -08:00
Jean Chalard 01b2510c7c am 9c75ad1a: Merge "Fix international tests"
* commit '9c75ad1adec6e7ce2f2b202795fc23e0a4ac5617':
  Fix international tests
2013-01-10 00:05:00 -08:00
Jean Chalard d9c7a6b9b3 Merge "Move a method to a utility class (C1)" 2013-01-10 00:04:11 -08:00
Jean Chalard 9c75ad1ade Merge "Fix international tests" 2013-01-10 00:03:05 -08:00
Tadashi G. Takaoka 1e1791cc6e am a80b8fc9: Merge "Show final suggested word when batch input is finished"
* commit 'a80b8fc98f321920bc045bb5fd9952680d0e439e':
  Show final suggested word when batch input is finished
2013-01-09 23:37:59 -08:00
Tadashi G. Takaoka a80b8fc98f Merge "Show final suggested word when batch input is finished" 2013-01-09 23:35:09 -08:00
Tadashi G. Takaoka 50d902ac6f Show final suggested word when batch input is finished
This change moves dismiss timer of gesture floating preview text from
PreviewPlacerView to KeyboardView.

Bug: 7967461
Change-Id: I0ca5beddc93cb4bc4a405f914d217d37b997402b
2013-01-10 16:25:05 +09:00
Jean Chalard 75c3bdd8fa am ae4c8199: Merge "Initial implementation for dead keys (B3)"
* commit 'ae4c81993c201f501791520b8cd3697ff1f29649':
  Initial implementation for dead keys (B3)
2013-01-09 23:17:23 -08:00
Jean Chalard ae4c81993c Merge "Initial implementation for dead keys (B3)" 2013-01-09 23:15:49 -08:00
Jean Chalard 6a26de1d7e Initial implementation for dead keys (B3)
Bug: 5037589
Change-Id: I9e1ff92df7d0c58eb7a0f33603adebc9efb86585
2013-01-10 15:47:21 +09:00
Kurt Partridge b74a0a78c2 [Rlog57a] include logUnit boundaries in output
Change-Id: I4d1647b971b0e7a4cf1a96f341236f6ab1d2ab16
2013-01-09 22:38:27 -08:00
Tadashi G. Takaoka 7f30ca072e am 433f54ce: Merge "Remove unused variables"
* commit '433f54ce9079588cb5b5c4ba4a9fd1a9f3e17eff':
  Remove unused variables
2013-01-09 22:34:56 -08:00
Tadashi G. Takaoka 433f54ce90 Merge "Remove unused variables" 2013-01-09 22:32:23 -08:00
Jean Chalard 5866ef99f5 am 424d76fb: Merge "Add a next Event (B2)"
* commit '424d76fbf59bea5f96694a31918568a7479b89be':
  Add a next Event (B2)
2013-01-09 22:23:59 -08:00
Jean Chalard 424d76fbf5 Merge "Add a next Event (B2)" 2013-01-09 22:23:05 -08:00
Jean Chalard 912ad4614f Fix international tests
Tests have been broken again by recent changes to subtype
choice within Latin IME. This fixes the problem and all tests
pass again.

This change also includes a small fix to one test that was
checking for something irrelevant.

Change-Id: I6a03dea24f99b0d2ad84c4161a8413f3060bb811
2013-01-10 15:12:17 +09:00
Tadashi G. Takaoka a7a7f4e002 Add default button to vibration/volume settings dialog
Change-Id: I7beb4517314efdefeb47d91b14a6b02c3075c19f
2013-01-10 15:11:30 +09:00
Jean Chalard 41f31d7813 am d8903f4b: Merge "Add words to Portuguese"
* commit 'd8903f4bf7e04ab5abc1c91bf81803e3629f3123':
  Add words to Portuguese
2013-01-09 22:06:49 -08:00
Jean Chalard d8903f4bf7 Merge "Add words to Portuguese" 2013-01-09 22:04:36 -08:00
Tadashi G. Takaoka 0e77caa1d0 am 6512cd28: Merge "Cancel update batch input timer only when point is added"
* commit '6512cd289d4d6bcc835b9da013c3098bf3807bc2':
  Cancel update batch input timer only when point is added
2013-01-09 21:50:02 -08:00
Tadashi G. Takaoka 6512cd289d Merge "Cancel update batch input timer only when point is added" 2013-01-09 21:47:46 -08:00
Tadashi G. Takaoka b2f5d15250 Cancel update batch input timer only when point is added
Bug: 7972004
Change-Id: Ie5db5910efba851976da2284cafc69be2910d354
2013-01-10 14:31:07 +09:00
Tadashi G. Takaoka 88df3d9239 SeekBarDialog supports neutral and dismiss listener
Change-Id: I652fd1a383ef4074c04d03a37ebc779d229474e6
2013-01-10 14:24:54 +09:00
Jean Chalard 84f932be73 Add words to Portuguese
>>> dictionaries/pt_BR_wordlist.combined.gz
Header :
  date : 1355802839 <=> 1357790917
  version : 29 <=> 30
Body :
Added: à 30
Added: é 30
Added: ò 30
Added: ô 30

>>> dictionaries/pt_PT_wordlist.combined.gz
Header :
  date : 1355802856 <=> 1357790930
  version : 29 <=> 30
Body :
Added: à 30
Added: é 30
Added: ò 30
Added: ô 30

>>> java/res/raw/main_pt_br.dict
Header :
  date : 1355802839 <=> 1357790917
  version : 29 <=> 30
Body :
Added: à 30
Added: é 30
Added: ò 30
Added: ô 30

Bug: 7966948
Change-Id: I71c0986cf616d67926d0a6a0e53099b04b0427d5
2013-01-10 14:14:17 +09:00
Kurt Partridge 5996550522 am 759506ef: Merge "[Rlog52z] Cleanup and small bug fixes"
* commit '759506ef2dad41bf53c65ff090e8f11275669cda':
  [Rlog52z] Cleanup and small bug fixes
2013-01-09 21:13:50 -08:00
Kurt Partridge 759506ef2d Merge "[Rlog52z] Cleanup and small bug fixes" 2013-01-09 21:12:13 -08:00
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 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