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
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
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
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
75e69753b7
[Rlog57b] fix logging of reverts
...
Change-Id: I07c817061a0cc060197e0fea45195ca07a9bf276
2013-01-10 15:00:28 -08:00
Kurt Partridge
a097004264
Merge "[Rlog57a] include logUnit boundaries in output"
2013-01-10 12:04:32 -08:00
Kurt Partridge
700ce8df07
Merge "[Rlog56] Buffer words before pushing out LogUnit"
2013-01-10 10:51:17 -08:00
Ken Wakasa
4da2ed7a78
Fix too thick gesture trail width
...
Change-Id: If1b78183b24fa0029bc28e5f56a988372182903e
2013-01-10 22:18:23 +09: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
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
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
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
433f54ce90
Merge "Remove unused variables"
2013-01-09 22:32:23 -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
d8903f4bf7
Merge "Add words to Portuguese"
2013-01-09 22:04:36 -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
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
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
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
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
Jean Chalard
6c75253c11
Add a next Event (B2)
...
Change-Id: If2fe6f0f4f88a6ae1f22664ded61cec6942c18b9
2013-01-09 22:12:13 +09: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
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
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
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
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
8315e8168b
Merge "Clean up debug related preference keys"
2013-01-08 16:56:13 -08:00
Baligh Uddin
4fdffc16d2
Merge "Import translations. DO NOT MERGE"
2013-01-08 10:23:18 -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
9bad176ebe
Merge "[Rlog32] ResearchLogger segment motion data around gestures correctly"
2013-01-08 08:10:31 -08:00
Kurt Partridge
b7fb16e8cc
Merge "[Rlog27] Refactor LogBuffer"
2013-01-08 07:40:57 -08:00
Tadashi G. Takaoka
a5ff9f0c77
Clean up debug related preference keys
...
Change-Id: Ib7129692c673b3bce253120ee709e0253aeafa52
2013-01-08 18:26:47 +09:00
Tadashi G. Takaoka
ff0735ada8
Make Settings class singleton to manage SettingsValues
...
Change-Id: Id30828a141de86d9bcf8bce586d2adb468cc59e1
2013-01-08 17:48:47 +09:00
Tadashi G. Takaoka
8873b5ae31
Merge "Rename Settings to SettingsFragment"
2013-01-07 23:00:59 -08:00
Tadashi G. Takaoka
4b852d6044
Merge "Consolidate VibratorUtils with AudioAndHapticFeedbackManager"
2013-01-07 23:00:04 -08:00
Tadashi G. Takaoka
cbee8a33d5
Rename Settings to SettingsFragment
...
Change-Id: If5bc53efc67be507663091de0f569f604c03e719
2013-01-08 15:59:16 +09:00
Tadashi G. Takaoka
b17b887425
Consolidate VibratorUtils with AudioAndHapticFeedbackManager
...
Change-Id: Ica4e3193f369330da62a259c718b779ddf9fbde5
2013-01-08 15:13:19 +09:00
Jean Chalard
26f2e453a7
Merge "Adjust the used frequency of the user dictionary words."
2013-01-07 22:00:32 -08:00
Jean Chalard
c79493a15f
Adjust the used frequency of the user dictionary words.
...
Bug: 7656666
Change-Id: I4b271af636f6103cb5287336229581365841d778
2013-01-08 14:57:20 +09:00
Jean Chalard
420528ed97
Update dictionaries
...
>>> dictionaries/fr_wordlist.combined.gz
Header :
date : 1355802835 <=> 1357617878
Body :
Deleted: jai 50
>>> dictionaries/pl_wordlist.combined.gz
Header :
date : 1355802847 <=> 1357618222
Body :
Added: żebyście 69
Added: żebyśmy 69
>>> java/res/raw/main_fr.dict
Header :
date : 1355802835 <=> 1357617878
Body :
Deleted: jai 50
Change-Id: I8651a4689bea06d5fe2caead471ef52969c77089
2013-01-08 14:24:22 +09:00
Kurt Partridge
99f3189645
[Rlog32] ResearchLogger segment motion data around gestures correctly
...
multi-project commit with I684ba5fed8c653777942e6b0366113ca40dfa37c
Change-Id: Id3804e6cfa97b4cdde212b8eebc413f76fa4772c
2013-01-07 20:06:29 -08:00
Xiaojun Bi
28de7223e6
Merge "[mdfp] Refactoring Gesture Floating Preview Text Code"
2013-01-07 17:12:35 -08:00
Baligh Uddin
68c7514ec7
Import translations. DO NOT MERGE
...
Change-Id: I8b9113b6328fa461d8184ff3d2bc03379d1c7e3a
Auto-generated-cl: translation import
2013-01-07 11:33:41 -08:00
Xiaojun Bi
d52730a2d7
[mdfp] Refactoring Gesture Floating Preview Text Code
...
This change moves gesture preview text code from PreviewPlacerView.java
to separate classes.
Change-Id: Id8d17eff38e714c3b06aafd0b24985a9bd2d2f52
2013-01-07 10:39:23 -08:00
Tadashi G. Takaoka
f90fc105ab
Simplify singleton class initialization
...
Change-Id: I16a27f2ed6ea66184bfdc9903180372cd7ea2fd1
2013-01-07 19:05:31 +09:00
Ken Wakasa
b6ca354431
Small code cleanups
...
Multi-project commit with I249d5fbe
Change-Id: Ia28c4e970992aa1299a30e604eaa5d096655c3a5
2013-01-07 12:13:42 +09:00
Jean Chalard
f677681330
Fix double input of chars typed on a h/w keyboard
...
Bug: 7939324
Change-Id: I11b7af54893cb645f8a06266a0b0ba95dd0b02f9
2013-01-07 10:03:20 +09:00
Kurt Partridge
f77dd424b0
[Rlog27] Refactor LogBuffer
...
Cleanup and prepare for replaying
Change-Id: Ie09e912c6e9c0d7375168c575ccf1cfd9375dd31
2013-01-03 16:36:32 -08:00
Baligh Uddin
694b71eddd
Import translations. DO NOT MERGE
...
Change-Id: Iadfb1d9dcb28cfd8f0d6d9891bbde89f8647fe48
Auto-generated-cl: translation import
2013-01-02 14:24:33 -08:00
Tadashi G. Takaoka
fa7f08b373
Set default audio and haptic feedback settings
...
- Default keypress volume is set to 0.2f in resource.
- Default keypress vibration duration is set to 10 msec in resource.
Bug: 7055329
Change-Id: I83bd6288d171d9787d52e2b02e4e5305f1435681
2012-12-28 19:24:32 +09:00
Tadashi G. Takaoka
a2982dd5a7
Refactor to add SeekBarDialog
...
Change-Id: Id8e08a1d5ec5efb2baf96a2634111619fcb9fd4e
2012-12-28 15:49:36 +09:00
Jean Chalard
864db4b0da
A small simplification.
...
It's useless to setAutoCorrection(getTypedWord()). Every time the
contents of the word composer are altered, the auto-correction is
reset, and at use time if it's null then the typed word is used
anyway.
Change-Id: I0870657a1ab3f456f376995b27e70703f7a5d23a
2012-12-28 14:41:28 +09:00
Jean Chalard
997cba7dec
Start committing hardware events (B4)
...
Essentially this does activate auto-correction with a hardware
keyboard, although a lot of things are still left to implement.
No proximity is used yet which means only missing and excessive
letters are considered. Dead keys are not handled. No combiner
is supported. No suggestions are displayed. Resuming suggestions
does not work correctly with a hardware key (because the view
holds a temporary hardware event 'onKeyPreIme' and the event
from the IME won't be handled until this is handled which won't
happen until after the IME said that it did handle the event).
Bug: 5037589
Change-Id: Idcb5c7b26d56717ed772d53c062362807f11cdae
2012-12-27 16:17:49 +09:00
Jean Chalard
581f324ed8
Initial implementation for decoding HW key events (B3)
...
Bug: 5037589
Change-Id: I829f70a258de58ef8d2b836a9b435198a226e37f
2012-12-27 16:17:46 +09:00
Jean Chalard
0abc48218e
Rename some confusing variables
...
Change-Id: Ib0de800599ae7f12c86270a627616d5b52366414
2012-12-27 15:42:14 +09:00
Jean Chalard
5bde3a6163
Fix an old bug in getting a word from the connected view.
...
In this test, it's impossible that start < 0 so the test is useless.
I'm not sure what the cursor test was for, but it's very old code, and
it seems the assumption was either misled or doesn't hold any more:
testing for the absolute cursor position against the length of the
word against the cursor makes no sense.
The net result of this was that when the cursor index got large
enough, resuming suggestion would not work any more.
Bug: 7586467
Change-Id: I3462082374fe9579bec7698f4d424de6ff5f2ded
2012-12-27 15:41:10 +09:00
Tadashi G. Takaoka
0856ceef9a
Merge "Get rid of current subtype and system locale cache from SubtypeSwitcher"
2012-12-26 19:21:36 -08:00
Tadashi G. Takaoka
1dbec26f8f
Merge "Fix gesture trail width calculation"
2012-12-26 19:01:31 -08:00
Tadashi G. Takaoka
f483225397
Get rid of current subtype and system locale cache from SubtypeSwitcher
...
Bug: 7675452
Change-Id: I2121f56964b6d25e8d40f5b8ec67eeae527b2117
2012-12-27 12:00:38 +09:00
Tadashi G. Takaoka
92aee35222
Fix gesture trail width calculation
...
Change-Id: I41e0a95437aa9b8ec9a8eefb3bc5eb0452284b60
2012-12-27 11:43:35 +09:00
Jean Chalard
5112b59db2
Add support for multiple keyboard event decoders (B2)
...
Bug: 5037589
Change-Id: I0a4926f94ef8d1caa17669801608608648b697b9
2012-12-26 20:25:05 +09:00
Kurt Partridge
4aff3bf0ea
Clean up unnecessary uses of toString()
...
Leftover from changing variables from CharSequence to String
Change-Id: I4db43fcb075aa37bf9c5b2a23bad0e4c2d718379
2012-12-23 18:42:06 -08:00
Kurt Partridge
f763dc5915
[Rlog24] ResearchLogger detect word boundaries in callers above commitText
...
multi project commit with I5847d4aba97a7224ae170a7153811c5a11816449
Change-Id: Ie6fbf6f19f0193451fe6f3ddf9d4ef1637a35db1
2012-12-23 12:33:16 -08:00
Kurt Partridge
13b1be988d
Merge "Log LatinIME.commitCurrentAutoCorrection()"
2012-12-23 11:47:47 -08:00
Kurt Partridge
c1b4d14394
Merge "Differentiate LOG_EVERYTHING and LOG_FULL_TEXTVIEW_CONTENTS"
2012-12-23 11:20:34 -08:00
Kurt Partridge
5e9a5ca998
Merge "[Rlog36z] Pass LatinIME instance to logger as LatinIME class"
2012-12-23 10:37:31 -08:00
Kurt Partridge
dce58fe895
Merge "[Rlog24z] Initialize statistics variables"
2012-12-23 09:51:22 -08:00
Kurt Partridge
a51fbd92a5
Merge "[Rlog20] Remove duplicate logStatistics"
2012-12-23 09:05:00 -08:00
Kurt Partridge
99bd42b295
[Rlog24z] Initialize statistics variables
...
Change-Id: I73a6009294a4f559a93b6ea9ceb4ea2683d97486
2012-12-23 09:04:01 -08:00
Kurt Partridge
f0d626ecfc
Merge "[Rlog19] ResearchLog remove unnecessary logSegment{start,end}"
2012-12-23 08:28:53 -08:00
Kurt Partridge
9e12ba6c95
Merge "[Rlog22] ResearchLogger fixed debug printing"
2012-12-22 18:02:25 -08:00
Kurt Partridge
226377e65a
Log LatinIME.commitCurrentAutoCorrection()
...
Change-Id: Ic46c91374ae0177cafad4579d28d6980af0d8d3a
2012-12-22 17:32:12 -08:00
Kurt Partridge
fc6e0cce6f
[Rlog19] ResearchLog remove unnecessary logSegment{start,end}
...
Change-Id: I73b7765c764e5f1035f1c37df45345f26aa5acb1
2012-12-22 17:22:43 -08:00
Kurt Partridge
583a1edc4a
[Rlog22] ResearchLogger fixed debug printing
...
Change-Id: I2c59983236c936b8698004db8213b68c2f964cd5
2012-12-22 17:16:51 -08:00
Kurt Partridge
18b01e88ac
Merge "[Rlog41] ResearchLogger debugging support in UploaderService"
2012-12-22 17:12:39 -08:00
Kurt Partridge
5dd5dd2911
[Rlog36z] Pass LatinIME instance to logger as LatinIME class
...
Upcoming changes require LatinIME class, not just InputMethodService
Change-Id: Ia5b3a716ac02a99749fb2ba0164ba46c8a0c559a
2012-12-22 14:20:39 -08:00
Kurt Partridge
68fc33bd92
Differentiate LOG_EVERYTHING and LOG_FULL_TEXTVIEW_CONTENTS
...
Previously, LOG_EVERYTHING logged both all bigrams and also the entire TextView at the end of a
session. Now, use a separate flag, LOG_FULL_TEXTVIEW_CONTENTS to determine whether the TextView
contents are recorded.
Change-Id: I0c7a90a8ff88aa65d057f3b2d3dd5adc3893504a
2012-12-22 13:57:58 -08:00
Kurt Partridge
522d739524
[Rlog20] Remove duplicate logStatistics
...
Change-Id: I31c5520598269a83ab218e3a024bff0a625c2770
2012-12-22 13:38:28 -08:00
Kurt Partridge
ab5d2b45b9
[Rlog41] ResearchLogger debugging support in UploaderService
...
Change-Id: I70d5bd0cb12be7a5cc216799f92622912646466f
2012-12-22 13:07:46 -08:00
Kurt Partridge
163699e240
Merge "[Rlog12] Add comments to logging callpoints"
2012-12-22 12:59:15 -08:00
Kurt Partridge
ab9f4fd359
Merge "[Rlog7] ResearchLog improve gesture tracking"
2012-12-22 11:50:46 -08:00
Kurt Partridge
c322c3c3c7
[Rlog12] Add comments to logging callpoints
...
Change-Id: Idd786e2804dc82c1fa27ecf0fc0537491438d017
2012-12-21 12:34:39 -08:00
Kurt Partridge
f1ce54891f
[Rlog7] ResearchLog improve gesture tracking
...
- count how many times a gesture is deleted
- count num chars entered by gesture
- change name of fns to reflect capturing gesture information when setting composing text
Change-Id: I1b8ebf9cfcf304e0efd827c8b8e28a4010199728
2012-12-21 12:33:54 -08:00
Kurt Partridge
5a7ac3bf2a
Merge "[Rlog6.2] ResearchLogging Refactor"
2012-12-21 11:43:18 -08:00
Kurt Partridge
58281a98eb
[Rlog6.2] ResearchLogging Refactor
...
Move specifics of Log output format from ResearchLog to LogUnit
Change-Id: I9d0253c50bb8175ab141bd87dd9a09f39f316b10
2012-12-21 11:36:28 -08:00
Tadashi G. Takaoka
7c1e853387
Call onCancelBatchInput only when onStartBatchInput has been called
...
This NPE issue (Bug: 7903331) has been introduced by Ie68c7698.
Bug: 7903331
Change-Id: I44884f5608fe47d9db7a2c93a752d17b9ae39a22
2012-12-21 14:31:03 +09:00
Kurt Partridge
11bc86adcb
Merge "[Rlog13] Add flag to inhibit uploading"
2012-12-20 13:13:21 -08:00
Kurt Partridge
4c2b6923c3
Merge "[Rlog11] ResearchLogger printable code for research key"
2012-12-20 11:40:18 -08:00
Kurt Partridge
a98dabf106
Merge "[Rlog10] ResearchLogger change visible indicator to just lines on the side"
2012-12-20 10:43:11 -08:00
Kurt Partridge
0214f70e0c
Merge "[Rlog8] Show red border if logging everything"
2012-12-20 09:53:32 -08:00
Kurt Partridge
5a50d574e4
[Rlog13] Add flag to inhibit uploading
...
Change-Id: I9d22dfb3fbc8332000507c8b97d9072bdd8dda91
2012-12-19 18:32:28 -08:00
Kurt Partridge
c572c20cd8
[Rlog8] Show red border if logging everything
...
Change-Id: I5a3f21cef7d93128661b11b60eac7d84b8110e47
2012-12-19 18:26:07 -08:00
Kurt Partridge
ff9e30f5a3
[Rlog10] ResearchLogger change visible indicator to just lines on the side
...
(Note: Rlog9 was abandoned).
Change-Id: I69de4116e33d3c79216e25efe2ad2bcb2780b0ff
2012-12-19 18:20:03 -08:00
Kurt Partridge
af34813127
[Rlog11] ResearchLogger printable code for research key
...
Change-Id: Ifac7a801ea8534191a9258871d3d7f91e942788b
2012-12-19 18:15:41 -08:00
Kurt Partridge
c2049c3284
Merge "[Rlog6.1] Fix LOG_EVERYTHING bug."
2012-12-19 17:20:12 -08:00
Kurt Partridge
94ac7a3851
Merge "Add ProductionFlag.IS_EXPERIMENTAL_DEBUG"
2012-12-19 09:02:05 -08:00
Jean Chalard
cff28c5d5d
Add skeleton classes for hardware event flow (B1)
...
Bug: 5037589
Change-Id: Id8eea0e2bd00dd339a1efb4b0542e4c091a84195
2012-12-19 17:47:29 +09:00
Ken Wakasa
45239029ce
Remove trailing spaces
...
Change-Id: I260b85ef9e91d17f97d6e405d2d92a65b443df44
2012-12-19 15:36:55 +09:00
Kurt Partridge
41fe487e3a
[Rlog6.1] Fix LOG_EVERYTHING bug.
...
(It wasn't logging everything).
Change-Id: I8c9fd1e7c04e1a3813e26e67691e0366ff48c9ee
2012-12-18 19:47:10 -08:00
Kurt Partridge
0aafbcf879
Add ProductionFlag.IS_EXPERIMENTAL_DEBUG
...
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
2012-12-18 19:46:30 -08:00
Ken Wakasa
ee7f559e01
Merge "Remove entry for obsolete resource"
2012-12-18 17:48:18 -08:00
Kurt Partridge
baf73311cd
Merge "[Rlog6] ResearchLogger fix dictionary loading"
2012-12-18 12:25:31 -08:00
Kurt Partridge
ce8b139124
Merge "[Rlog5] ResearchLogging change from onFinishInput to onFinishInputView"
2012-12-18 11:34:34 -08:00
Kurt Partridge
1e55e59cc9
Merge "[Rlog4] ResearchLogger add LOG_EVERYTHING flag"
2012-12-18 10:46:12 -08:00
Kurt Partridge
8432c1317a
Merge "[Rlog3] improve stat recording"
2012-12-18 09:54:05 -08:00
Ken Wakasa
f81c553a9b
Remove entry for obsolete resource
...
Follow-up to Icf9b8848
Change-Id: I656c1fc436440fbee56c8a2a56a7ce3e10f08240
2012-12-19 00:07:47 +09:00
Jean Chalard
cd89c5d6ed
Update dictionaries
...
>>> dictionaries/ru_wordlist.combined.gz
Header :
date : 1355802857 <=> 1355818916
Body :
Freq changed: БД 18 -> 0
Freq changed: ГБ 14 -> 0
Freq changed: ЕС 44 -> 0
Freq changed: ЖД 3 -> 0
Freq changed: ЖЖ 8 -> 0
Freq changed: ЖК 3 -> 0
Freq changed: ИИ 21 -> 0
Freq changed: КБ 37 -> 0
Freq changed: МБ 19 -> 0
Freq changed: МО 26 -> 0
Freq changed: ОС 40 -> 0
Freq changed: РФ 65 -> 0
Freq changed: СБ 21 -> 0
Freq changed: СК 23 -> 0
Freq changed: ТВ 37 -> 0
Freq changed: УК 36 -> 0
Freq changed: ЦБ 11 -> 0
Freq changed: ЦК 59 -> 0
Deleted: бэ 0
Freq changed: дБ 92 -> 0
Deleted: йо 0
Freq changed: мм 149 -> 0
Freq changed: рН 104 -> 0
Deleted: ша 0
>>> java/res/raw/main_ru.dict
Header :
date : 1355802857 <=> 1355818916
Body :
Freq changed: БД 18 -> 0
Freq changed: ГБ 14 -> 0
Freq changed: ЕС 44 -> 0
Freq changed: ЖД 3 -> 0
Freq changed: ЖЖ 8 -> 0
Freq changed: ЖК 3 -> 0
Freq changed: ИИ 21 -> 0
Freq changed: КБ 37 -> 0
Freq changed: МБ 19 -> 0
Freq changed: МО 26 -> 0
Freq changed: ОС 40 -> 0
Freq changed: РФ 65 -> 0
Freq changed: СБ 21 -> 0
Freq changed: СК 23 -> 0
Freq changed: ТВ 37 -> 0
Freq changed: УК 36 -> 0
Freq changed: ЦБ 11 -> 0
Freq changed: ЦК 59 -> 0
Deleted: бэ 0
Freq changed: дБ 92 -> 0
Deleted: йо 0
Freq changed: мм 149 -> 0
Freq changed: рН 104 -> 0
Deleted: ша 0
Change-Id: I03f0f4e8d03e0f77f5879e6dd5c424673466afca
2012-12-18 17:25:37 +09:00
Kurt Partridge
606058f777
[Rlog5] ResearchLogging change from onFinishInput to onFinishInputView
...
Change-Id: I7d3bcfe647249e0b8a14ac3d67460c2684f16d8c
2012-12-17 21:39:54 -08:00
Kurt Partridge
40417aed94
[Rlog6] ResearchLogger fix dictionary loading
...
Change-Id: I5af460bd7c7fd67f858626ae3daf71fd615a25bf
2012-12-17 21:39:54 -08:00
Kurt Partridge
1a27336837
[Rlog4] ResearchLogger add LOG_EVERYTHING flag
...
- 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
2012-12-17 21:39:35 -08:00
Jean Chalard
21dbe3701c
Update dictionaries
...
cs, da, de, el, es, fi, fr, hr, it, lt, lv, nb, nl, pl,
pt_BR, pt_PT, sl, sr, sv, tr : rescale frequencies to match
spec. This has no large effect in the practice except the
dictionary will become stronger vs spatial model (especially in
lower count corpora, like lt, lv, sr)
en* : Small changes (rounding going the other way essentially)
ru : the above rescaling, and remove the following words:
Дре, ОСТа, Планше, легкими, легком, легкому, легкости,
легкую, нелегкие, нелегкий, нелегким, нелегкое, нелегкой,
нелегкую, полулегком and add нелёгкие, нелёгкое, нелёгкую;
other accented forms were already in the dictionary.
Change-Id: I40386c2ebd4d2be38874e822bde89db7cb512ae6
2012-12-18 13:06:48 +09:00
Kurt Partridge
48160f9d84
[Rlog3] improve stat recording
...
Change-Id: Ie3b70e6eadc2a9af5ef45ddfad6a3398cea7bfe8
2012-12-17 17:08:47 -08:00
Kurt Partridge
c5da4365fb
Merge "[Rlog2] ResearchLogging fix multi-space logging"
2012-12-17 16:33:57 -08:00
Kurt Partridge
3370dc8237
[Rlog2] ResearchLogging fix multi-space logging
...
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
2012-12-17 09:53:43 -08:00
Ken Wakasa
e57e9fbd18
Merge "Remove AudioManagerCompatWrapper.java"
2012-12-17 02:50:18 -08:00
Ken Wakasa
fbe83245c9
Clean up SuggestionSpanUtils for API level 14+
...
Change-Id: Iadc235524341b48e7618e9ce05907c786409e004
2012-12-17 19:41:44 +09:00
Ken Wakasa
1e6edb3e57
Remove AudioManagerCompatWrapper.java
...
It is actually no longer needed for API 14+
Change-Id: I379809eae881351fdf210dd8eaa5e0b5662fb59f
2012-12-17 18:27:20 +09:00
Ken Wakasa
96b22200be
Privatize a few constants in BinaryDictionary.java
...
Change-Id: I7defaf1f577fd67e678cac83ff935e8181dd0a48
2012-12-17 17:46:57 +09:00
Tadashi G. Takaoka
f21a491ad8
Show last valid suggestions when gesture typing gets no suggestion
...
Bug: 7679566
Change-Id: Ie68c7698144c7576b5814ee35664309bcfdcbf0f
2012-12-17 16:19:10 +09:00
Tadashi G. Takaoka
b808188b2f
Show last valid suggestions when tap typing gets no suggestion
...
Bug: 7872809
Change-Id: Ib5a255de7968aba214249c1b934327d248a15efd
2012-12-17 14:32:18 +09:00
Ken Wakasa
8c15e91344
resolved conflicts for merge of d48d6fee
to master
...
Change-Id: I21141956135debe737453dba87617671b1716d0a
2012-12-15 09:44:39 +09:00
Jean Chalard
d48d6feedd
am db6f21c6: am 18d688c9: Use the amended user dictionary word for insertion
...
* commit 'db6f21c6792fe07a733572e1d4978f46b5462c35':
Use the amended user dictionary word for insertion
2012-12-14 11:01:56 -08:00
Kurt Partridge
39b5396f8e
Merge "[Rlog1] Track time of log statements"
2012-12-14 06:08:20 -08:00
Jean Chalard
18d688c94b
Use the amended user dictionary word for insertion
...
When the user edits a word before adding it to the user
dictionary, the keyboard should replace whatever was
committed before with the amended version.
Bug: 7725834
Change-Id: I1a417be6c5a86d6a96bc2c76aca314ad8f1202a9
2012-12-14 20:28:22 +09:00
Tadashi G. Takaoka
edbb65be3e
Reset composing state at onFinishInputView
...
Bug: 7709817
Change-Id: Icac0b8cb28209d98d291d8f00be55e33af5bf696
2012-12-14 17:48:13 +09:00
Tom Ouyang
ac69ab400d
Refactor more keys menu framework (part 3)
...
Make it possible to re-enter gesture input even after triggering the long-press
menu. This is useful for new users who may pause at the start of a word. Works
for both single and bi-manual gestures.
Bug: 7595193
Change-Id: Ieaecfd5385ed6c10ae9347b99c2e35a0de5e895d
2012-12-13 21:45:51 -08:00
Tom Ouyang
be68b41ccb
Fix more suggestion window asymmetry bug in N7.
...
Bug: 7711822
Change-Id: I63ba13b1c160cf55b8820a08e6e28fa666dd2580
2012-12-13 21:01:30 -08:00
Tom Ouyang
1f4f404e1f
Merge "Refactor more keys menu framework (part 2)"
2012-12-13 18:51:37 -08:00
Kurt Partridge
5e854e281a
[Rlog1] 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: I46ac9b3b1dcbb08425160d0109028cb64445139c
2012-12-13 18:44:10 -08:00
Tom Ouyang
35580bad6f
Refactor more keys menu framework (part 2)
...
- Integrate pointer tracking between more keys menu, more suggestions menu, and main keyboard.
- Adds multi-touch support for more keys menus. Long press with one finger and select keys with another finger.
Bug: 7508007
Change-Id: I394f28cd79e342d6bcfea573af72aa33b9def00f
2012-12-13 13:17:28 -08:00
Baligh Uddin
e5a306831d
Import translations. DO NOT MERGE
...
Change-Id: I79b5cd68250ee30f66803400420cd1bfa22642e7
Auto-generated-cl: translation import
2012-12-13 12:12:28 -08:00
Tadashi G. Takaoka
8eaf75aa7b
Fix label of switch to symbols key when symbols has shortcut key
...
This change fixes the labels of switch to symbols key and switch back
from more symbols key when symbols layout has shortcut key.
Change-Id: I3fbbef2d929486d0f0542f4d89cb086d9f5bad82
2012-12-13 17:44:40 +09:00
Tadashi G. Takaoka
ac3720ce6d
Fix layout switch keys' label of no language subtype keyboard
...
This change moves the following string from resources to
KeyboardTextsSet.
- label_to_alpha_key
- label_to_symbols_key
- label_to_symbols_with_microphone_key
Bug: 7697799
Change-Id: Icf9b8848de4c70f792e336f2ae274dab12be79ee
2012-12-13 17:44:10 +09:00
Baligh Uddin
0c2b8ad598
Import translations. DO NOT MERGE
...
Change-Id: Ibf642f4e63ce4ecc97163c544ec6cb2b5a56eea7
Auto-generated-cl: translation import
2012-12-12 13:58:20 -08:00
Jean Chalard
dd8d2a89c5
Merge "Remove a useless member"
2012-12-11 02:42:54 -08:00
Jean Chalard
f1b464da31
Remove a useless member
...
Change-Id: Id13e0aeec6ec3655d6bb0edc7f8f7821e7dc5a36
2012-12-11 19:15:24 +09:00
Baligh Uddin
e5147c055b
Import translations. DO NOT MERGE
...
Change-Id: Ib94a9091267b18039cf8e1ff66107fb773ce1fed
Auto-generated-cl: translation import
2012-12-10 11:27:04 -08:00
Jean Chalard
d080986f93
Update dictionaries
...
>>> dictionaries/en_GB_wordlist.combined.gz
Header :
date : 1354870724 <=> 1355112440
version : 27 <=> 28
Body :
Deleted: DoCoMo 65
Added: Docomo 65
Added: KDDI 25
Added: Softbank 25
>>> dictionaries/en_US_wordlist.combined.gz
Header :
date : 1354870736 <=> 1355112451
version : 27 <=> 28
Body :
Deleted: DoCoMo 65
Added: Docomo 65
Added: KDDI 25
Added: Softbank 25
>>> dictionaries/en_wordlist.combined.gz
Header :
date : 1354870744 <=> 1355112460
version : 27 <=> 28
Body :
Deleted: DoCoMo 65
Added: Docomo 65
Added: KDDI 25
Added: Softbank 25
>>> dictionaries/es_wordlist.combined.gz
Header :
date : 1351676002 <=> 1355117676
version : 26 <=> 28
Body :
Deleted: DoCoMo 40
Added: Docomo 40
Added: KDDI 25
Added: Softbank 25
>>> dictionaries/fi_wordlist.combined.gz
Header :
date : 1351676054 <=> 1355117691
version : 26 <=> 28
Body :
Deleted: DoCoMo 28
Added: Docomo 28
Added: KDDI 25
Added: Softbank 25
>>> dictionaries/fr_wordlist.combined.gz
Header :
date : 1354872988 <=> 1355117708
version : 27 <=> 28
Body :
Deleted: DoCoMo 52
Added: Docomo 52
Added: KDDI 25
Added: Softbank 25
>>> dictionaries/pt_PT_wordlist.combined.gz
Header :
date : 1351676510 <=> 1355117723
version : 26 <=> 28
Body :
Deleted: DoCoMo 48
Added: Docomo 48
Added: Softbank 25
>>> java/res/raw/main_en.dict
Header :
date : 1354870744 <=> 1355112460
version : 27 <=> 28
Body :
Deleted: DoCoMo 65
Added: Docomo 65
Added: KDDI 25
Added: Softbank 25
>>> java/res/raw/main_es.dict
Header :
date : 1353500806 <=> 1355117676
version : 27 <=> 28
Body :
Deleted: DoCoMo 40
Added: Docomo 40
Added: KDDI 25
Added: Softbank 25
>>> java/res/raw/main_fr.dict
Header :
date : 1354872988 <=> 1355117708
version : 27 <=> 28
Body :
Deleted: DoCoMo 52
Added: Docomo 52
Added: KDDI 25
Added: Softbank 25
Change-Id: I3801cbe4535407f55ede8db327674d493a92d1ae
2012-12-10 14:52:43 +09:00
Tadashi G. Takaoka
12939572f3
Remove unused suggestion preview stuffs
...
Change-Id: Ida5668f4eba1783d96e02001a64ae713f98176b7
2012-12-07 17:47:09 -08:00
Tom Ouyang
b6e398a71d
Merge "Refactor more keys menu framework (part 1)"
2012-12-07 17:32:19 -08:00
Ken Wakasa
2d4d64d914
Increase the char limit for a string resource
...
bug: 7687252
Change-Id: I73fb13572b198baac0bc21437b2362d87b16acbb
2012-12-08 10:17:46 +09:00
Tom Ouyang
fa2d543785
Refactor more keys menu framework (part 1)
...
Eliminate use of slower popup window for rendering the more keys menu and more suggestions menu.
These menus are now drawn directly on the preview placer view.
Change-Id: I40638724a6ffde2be4b5d0341d2a5db7ff7be930
2012-12-07 16:34:25 -08:00
Jean Chalard
fec83fe557
Merge "Update dictionaries"
2012-12-07 01:58:16 -08:00
Jean Chalard
bd793ed50d
Update dictionaries
...
>>> dictionaries/en_GB_wordlist.combined.gz
Header :
date : 1353500789 <=> 1354870724
Body :
Added: Dad 75
Added: Daddy 60
Added: Grandma 60
Added: Grandpa 55
Added: Mama 59
Added: Mom 77
Added: Papa 55
>>> dictionaries/en_US_wordlist.combined.gz
Header :
date : 1351675958 <=> 1354870736
version : 26 <=> 27
Body :
Deleted: Rod's 46
Added: Dad 75
Added: Daddy 60
Added: Grandma 60
Added: Grandpa 55
Added: Mama 59
Added: Mom 77
Added: Papa 55
>>> dictionaries/en_wordlist.combined.gz
Header :
date : 1353500998 <=> 1354870744
Body :
Deleted: Rod's 46
Added: Dad 75
Added: Daddy 60
Added: Grandma 60
Added: Grandpa 55
Added: Mama 59
Added: Mom 77
Added: Papa 55
>>> dictionaries/fr_wordlist.combined.gz
Header :
date : 1353500832 <=> 1354872988
Body :
Deleted: noël 71
Deleted: po 73
Deleted: ti 73
Added: Noël 71
Added: lose 1
Added: y'a 130
>>> dictionaries/ru_wordlist.combined.gz
Header :
date : 1353567943 <=> 1354870130
Body :
Demote all CAPS words by 80
Freq changed: модно 51 -> 20
>>> java/res/raw/main_en.dict
Header :
date : 1353500998 <=> 1354870744
Body :
Deleted: Rod's 46
Added: Dad 75
Added: Daddy 60
Added: Grandma 60
Added: Grandpa 55
Added: Mama 59
Added: Mom 77
Added: Papa 55
>>> java/res/raw/main_fr.dict
Header :
date : 1353500832 <=> 1354872988
Body :
Deleted: noël 71
Deleted: po 73
Deleted: ti 73
Added: Noël 71
Added: lose 1
Added: y'a 130
>>> java/res/raw/main_ru.dict
Header :
date : 1353567943 <=> 1354870130
Body :
Demote all CAPS words by 80
Freq changed: модно 51 -> 20
Change-Id: I6f2d1c359d716535923b22c33d7fa4c3b0a330e4
2012-12-07 18:52:21 +09:00
Jason Chen
cb1a839ded
am 4b71e947: am 81b0a638: am 5cb40f8a: Fix IME settings icons
...
* commit '4b71e9479272892d1c83038574eeece0502aab83':
Fix IME settings icons
2012-12-06 23:23:04 -08:00
Tadashi G. Takaoka
51a9561336
Merge "Cancel batch input when orientation has been changed"
2012-12-06 21:01:24 -08:00
Jason Chen
4b71e94792
am 81b0a638: am 5cb40f8a: Fix IME settings icons
...
* commit '81b0a638520baeca52738ade215190d2caef6345':
Fix IME settings icons
2012-12-06 18:59:14 -08:00
Tadashi G. Takaoka
8e2b34cdb2
Cancel batch input when orientation has been changed
...
Bug: 7665231
Bug: 7662486
Change-Id: I7b6095026dbf1b9b2f6d3b29f2ab83c462ab374e
2012-12-06 14:24:05 -08:00
Baligh Uddin
8fd5aa9583
Merge "Import translations. DO NOT MERGE"
2012-12-06 13:42:52 -08:00
Baligh Uddin
ae25e2c408
Import translations. DO NOT MERGE
...
Change-Id: Iec4037b7d6e6d13dbc057f7d5fcd94785a63b542
Auto-generated-cl: translation import
2012-12-06 10:59:24 -08:00
Tadashi G. Takaoka
b494b30453
Merge "Fix off by one bug in gesture trail drawing"
2012-12-06 09:57:24 -08:00
Jean Chalard
d582c38ba8
Merge "Remove a couple Eclipse and Android Lint warnings"
2012-12-06 04:34:39 -08:00
Jean Chalard
2da8866518
Remove a couple Eclipse and Android Lint warnings
...
Change-Id: I0c29c5d2abcbf80759b996d34b534deb083cd7d3
2012-12-06 21:30:51 +09:00
Jason Chen
5cb40f8a76
Fix IME settings icons
...
Imported assets were too small. Fixed by pulling in the correctly
sized assets.
Bug: 7556843
Change-Id: I182181d258f8797ec3fbf9b2cbe1380d71a8075a
2012-12-05 16:05:18 -08:00
Tadashi G. Takaoka
8c93e513ad
Fix off by one bug in gesture trail drawing
...
Bug: 7594165
Change-Id: Ia3f7dcee71db91e39c40022b19e7b07c5d4488c8
2012-12-05 14:56:31 -08:00
Baligh Uddin
6ec4423878
Import translations. DO NOT MERGE
...
Change-Id: I14e7f5010ca72fe9ea0ab2304ffd018a82525f6f
Auto-generated-cl: translation import
2012-12-05 14:02:25 -08:00
Ken Wakasa
2b6a1fed76
Method/variable/resource names clean up for the double-space period
...
bug: 7664717
Change-Id: I914aa588b863c442c2d360221e3fa0f4c42640e7
2012-12-05 12:40:10 +09:00
Baligh Uddin
88dcc967e7
Import translations. DO NOT MERGE
...
Change-Id: I0b3b03ce1974fba5f25fef74fa1937dce83b102f
Auto-generated-cl: translation import
2012-12-04 12:40:51 -08:00
Jean Chalard
b4a9a6deba
Merge "Fix wrong misspelling reports of fully capitalized words"
2012-12-04 01:22:48 -08:00
Jean Chalard
95bfb8ac47
Fix wrong misspelling reports of fully capitalized words
...
Two flavors of words would be wrongly reported as misspelled
by the android spell checker when they are written in all
upper case letters:
- Words containing a quote or a dash or any other non-letter
- Words that need the first letter to be capitalized
Bug: 7659216
Change-Id: Ibc5d261945ffcbb8a858d4c73b7c62cef6671abf
2012-12-04 18:05:27 +09:00
Tadashi G. Takaoka
6e9e5635c3
Merge "Dismiss sliding key input preview when touch event is canceled"
2012-12-03 23:45:46 -08:00
Tadashi G. Takaoka
08d8a676c2
Dismiss sliding key input preview when touch event is canceled
...
This is a follow up of Id807af31.
Bug: 7662486
Change-Id: I13895140f1214592257d0023c1450875a4885ee9
2012-12-04 16:37:26 +09:00
Ken Wakasa
139bd83f0c
Add a new option for the double-space period functionality
...
bug: 6934756
Change-Id: I94b2d08cac6533e96031d8e97f347e9b5fd72859
2012-12-04 15:27:22 +09:00
Kurt Partridge
8918cb46f6
Merge "Fix crashes related to setSpan(-1 ... -1) errors"
2012-12-03 19:32:42 -08:00
Kurt Partridge
b10ec5319b
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
2012-12-03 16:39:58 -08:00
Baligh Uddin
a89f955d22
Import translations. DO NOT MERGE
...
Change-Id: I68e4fa66d5fa8b9160161a079263d89d01c037ee
Auto-generated-cl: translation import
2012-12-03 12:34:23 -08:00
Tadashi G. Takaoka
f9898d05f7
Merge "Get rid of special keys from ProximityInfo"
2012-12-03 01:55:30 -08:00
Tadashi G. Takaoka
308aaff80c
Get rid of special keys from ProximityInfo
...
Bug: 7601672
Change-Id: I15faa4829b98f7b4dd07013fdd58bc2c527bcd6f
2012-12-03 18:50:58 +09:00
Tadashi G. Takaoka
84f5816cf1
Merge "Groundwork for sliding key input preview"
2012-12-03 01:19:51 -08:00
Tadashi G. Takaoka
547b638194
Groundwork for sliding key input preview
...
Bug: 7548583
Change-Id: Id807af31f581c08ff8074ed1f6766337bea9469f
2012-12-03 18:16:12 +09:00
Tadashi G. Takaoka
6f0a60d10d
Cancel gesture preview update when gesture typing is canceled
...
Bug: 7594165
Change-Id: I2854a49b2a2e5d3e36cafc5196191359fd2bf003
2012-12-03 15:04:01 +09:00
Kurt Partridge
d4dbf09241
Merge "Revert "ResearchLog. Track time of log statements""
2012-11-30 15:18:49 -08:00
Kurt Partridge
33d5da590f
Revert "ResearchLog. Track time of log statements"
...
This reverts commit bdbe279cec
Other half of this change couldn't be committed because of a inter-project directory migration. Reverting until things settle down.
Change-Id: I3862fc8485dfca6d507f620e905cfa583aa0e39a
2012-11-30 15:18:30 -08:00
Kurt Partridge
bc8df552f0
Merge "ResearchLog. Track time of log statements"
2012-11-30 14:54:16 -08:00
Kurt Partridge
fdfa03c9f1
Merge "ResearchLogger switch word segmentation"
2012-11-30 11:52:09 -08:00
Kurt Partridge
2ae580eaea
Merge "ResearchLogging of segments: groups of LogUnits that are sampled together"
2012-11-30 09:28:23 -08:00
Satoshi Kataoka
16e9d343c4
Merge "Tweak beeline speed"
2012-11-30 02:08:55 -08:00
Tadashi G. Takaoka
b5fc0e02d0
Cancel update batch input timer when gesture typing has been canceled
...
Bug: 7594165
Change-Id: I9dc42919bd196c249c79668570004d3f541cc9ec
2012-11-30 16:30:56 +09:00
Kurt Partridge
bdbe279cec
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
2012-11-29 20:40:42 -08:00
Kurt Partridge
6a0720478d
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
2012-11-29 20:32:12 -08:00
Kurt Partridge
98967539fd
ResearchLogging of segments: groups of LogUnits that are sampled together
...
Change-Id: Id68de4c6b2df574a38bb5ca800a9b641b1d78200
2012-11-29 20:31:56 -08:00
Satoshi Kataoka
6ae8dd4343
Tweak beeline speed
...
Change-Id: I77bbd5e1888281e838d87824dc04a574b1a7ecb7
2012-11-30 02:02:59 +09:00
Kurt Partridge
061da39c0f
Merge "ResearchLogger add debugging code"
2012-11-29 06:45:25 -08:00
Kurt Partridge
bf9db1cc83
Merge "ResearchLogging fix password field collection"
2012-11-29 06:05:01 -08:00
Tadashi G. Takaoka
e14df775d4
Make RoundedLine member variables as method parameters (Step 5)
...
Change-Id: Ib2ade2bf51c293c65fc9206a9a16694e6d18da50
2012-11-29 16:50:52 +09:00
Tadashi G. Takaoka
f90475b5d4
Make RoundedLine as top level class (Step 4)
...
Change-Id: Id52baefb3d61eb46b3679e1ba3aa7ef7cd020efc
2012-11-29 16:28:12 +09:00
Kurt Partridge
565b9d2add
ResearchLogger add debugging code
...
Change-Id: I03729506984f259dee63f3a66fd91963e3403d16
2012-11-28 22:46:31 -08:00
Tadashi G. Takaoka
1a6d56e31d
Consolidate point calculating and path creating methods into one (Step 3)
...
Change-Id: Id49eee7c38595ea312dc9a63341a376825030035
2012-11-29 14:28:59 +09:00
Tadashi G. Takaoka
8cfd64eed9
Make rounde line algorithm as instance method (Step 2)
...
Change-Id: Ia6f41dc0ce7d3f3a1e4a8bbe838835cbdd94e6e9
2012-11-29 14:22:30 +09:00
Tadashi G. Takaoka
0d034b3169
Consolidate data and algorithm of calculating rounded line (Step 1)
...
Change-Id: Ic6d72b5a34ddfbc55317fa651f78af6f50c9a284
2012-11-29 14:14:49 +09:00
Kurt Partridge
6c95f97a93
ResearchLogging fix password field collection
...
password data collection was too "sticky"; the next field wouldn't be collected either.
Change-Id: I739a956f663cff33216f83ac453b2a89d8c33dde
2012-11-28 19:15:12 -08:00
Tadashi G. Takaoka
359c35e0f6
Add CoordinateUtils class
...
Change-Id: I23784117f77da54ee2a0670e65d86e26d762a687
2012-11-28 19:03:28 +09:00
Tadashi G. Takaoka
2200dbbf09
Merge "Set additional subtypes before getting current subtype"
2012-11-27 22:22:31 -08:00
Tadashi G. Takaoka
85e397cd10
Set additional subtypes before getting current subtype
...
Bug: 7594188
Change-Id: I1977acb7189f8eb186b9b20a3e5b64b4aaabf191
2012-11-28 14:49:38 +09:00
Tadashi G. Takaoka
2db9e1c447
Fix typo in method name
...
This is a follow up of I6f851248.
Change-Id: I3fe17f3c81ed35e7c38ac9701e73c6b2c1ca8d63
2012-11-28 14:35:37 +09:00
Tadashi G. Takaoka
0567d144a3
am 7ba02315: am b172725c: am 7d045829: Request update shift state after shift-chording input
...
* commit '7ba02315abf3f6fe2e40fcb248ccf1cab8dee179':
Request update shift state after shift-chording input
2012-11-27 11:36:53 -08:00
Jean Chalard
2cff609e0f
am bb0c18f7: am cb1077b8: Merge "Match RU dictionary header." into jb-mr1.1-dev
...
* commit 'bb0c18f73d448b6231d8aca9083d3798447e3baf':
Match RU dictionary header.
2012-11-27 11:34:04 -08:00
Jean Chalard
94f1925d5e
am fa98633e: am 240383fd: Merge "Update the dictionaries" into jb-mr1.1-dev
...
* commit 'fa98633ed45715b38fbd3c355bc4dc224ae09163':
Update the dictionaries
2012-11-27 11:34:02 -08:00
Tadashi G. Takaoka
7ba02315ab
am b172725c: am 7d045829: Request update shift state after shift-chording input
...
* commit 'b172725c8dc26bc96667135d1b17396f2a6257b4':
Request update shift state after shift-chording input
2012-11-27 11:34:00 -08:00
Tadashi G. Takaoka
72fd0968e5
Provide gesture data even if the finger stays still
...
Bug: 7595187
Change-Id: I6f85124815f18706b2b2b5b5da2783dffd246e8c
2012-11-27 18:33:16 +09:00
Jean Chalard
cb1077b842
Merge "Match RU dictionary header." into jb-mr1.1-dev
2012-11-26 21:11:54 -08:00
Jean Chalard
240383fd84
Merge "Update the dictionaries" into jb-mr1.1-dev
2012-11-26 19:57:58 -08:00
Tadashi G. Takaoka
ebbb586693
Fix Gingerbread theme color for gesture typing
...
Change-Id: I96a660ce8ee35fe90dc29e6d7f52528c0b34b7cb
2012-11-27 12:17:25 +09:00
Jean Chalard
4d645255cb
Match RU dictionary header.
...
This brings the changes of I837831b1 to MR1.1
>>> dictionaries/ru_wordlist.combined.gz
>>> java/res/raw/main_ru.dict
Header :
date : 1353500945 <=> 1353567943
MULTIPLE_WORDS_DEMOTION_RATE : null <=> 0
Body :
No differences
Bug: 7540132
Change-Id: I81f281fda881ad1252cdf6cf2d0947a12a2dac27
2012-11-26 12:42:34 +09:00
Jean Chalard
71e1496ab0
Merge "Update RU dictionary header."
2012-11-25 19:31:16 -08:00
Tadashi G. Takaoka
d4b6cbfd94
Merge "Cancel gesture typing by sliding out from keyboard"
2012-11-22 00:50:26 -08:00
Tadashi G. Takaoka
b3f789799a
Cancel gesture typing by sliding out from keyboard
...
Bug: 7594165
Change-Id: I7849d763e49b57716e8418fb8b6f90eca3a5d2ec
2012-11-22 17:49:56 +09:00
Jean Chalard
b40a1ce50b
Update RU dictionary header.
...
>>> dictionaries/ru_wordlist.combined.gz
>>> java/res/raw/main_ru.dict
Header :
date : 1353500945 <=> 1353567943
MULTIPLE_WORDS_DEMOTION_RATE : null <=> 0
Body :
No differences
Bug: 7540132
Change-Id: I837831b1e214da64962cf1bb68c840a3d4e6bf76
2012-11-22 16:21:10 +09:00
Jean Chalard
526371f2c4
Update the dictionaries
...
This brings the dictionaries to the same level as
master. The change in master reflected by this
change is I94fe7f8f.
- XML de dict :
Update header only.
- XML en dict :
Add the not_a_word flag to all whitelist entries.
Demote "il:92" and "shel:52" to freq 0.
- XML en_GB dict :
Add the not_a_word flag to all whitelist entries.
Add "milk:122" and "practice:143"
- XML fr dict :
Add missing words : "Nostradamus:40" "défendais:30"
"gmail:50" "générale:140" "hm:0" "hmm:0" "y'en:130"
"l'apocalypse:31" "m'épuise:30" "recontacter:80"
"t'annonce:30"
Set freq of non-word shortcuts for digraphs to 1 instead
of 0, allowing to gesture them.
- XML ru dict :
Remove a lot of two-character non-words.
- Binary de dict :
Remove the obsolete "options" header, and add the "dictionary"
header.
- Binary en dict :
Flag "hoe" "hoes" "il" "shel" as non-words.
Also drop freq of "il" and "shel" to 0
Add the "locale" header that was missing.
- Binary es dict :
Add the "dictionary" header.
- Binary fr dict :
Add the same words as above. Non-word shortcuts were already
set to 1.
- Binary it dict :
Add a "dictionary" header. Also change freq of
"Šarapova" from 50 to 37; not sure why it was 50.
- Binary pt_BR dict :
Add a "dictionary" header.
- Binary ru dict :
Add a "dictionary" header and remove the same words as above.
Bug: 7458565
Change-Id: I22dd176ed2df99b847047f2d1045f6d861ccb8b0
2012-11-22 15:32:45 +09:00
Jean Chalard
9380e64188
Merge "Update dictionaries and fix mistakes"
2012-11-21 21:49:25 -08:00
Tadashi G. Takaoka
befc1a05c9
Fix keyboard theme initializing bug
...
Change-Id: If7037f3e0606ee34d1a6739cc39da23de18cc35c
2012-11-22 11:41:53 +09:00
Jean Chalard
d5f53710c5
Update dictionaries and fix mistakes
...
- Combined de dict :
Remove digraph shortcuts that were in by mistake.
- Combined en dict :
Set freq of "baton" "batons" "mace" "puff"
"puffs" and "tasers" to zero. They are offensive
in en_GB.
- Combined en_GB dict :
Change freq of "il" to 0 and flag it "not a word". Still
in the dict as a whitelist entry for "I'll"; for some
reason it had freq 99.
Add "milk:122" and "practice:143"
- Combined fr dict :
Add missing words : "Nostradamus:40" "défendais:30"
"gmail:50" "générale:140" "hm:0" "hmm:0" "y'en:130"
"l'apocalypse:31" "m'épuise:30" "recontacter:80"
"t'annonce:30"
Set freq of non-word shortcuts for digraphs to 1 instead
of 0, allowing to gesture them.
- Combined ru dict :
Remove a lot of two-character non-words.
- Binary de dict :
Remove the obsolete "options" header, and add the "dictionary"
header.
- Binary en dict :
Flag "hoe" "hoes" "il" "shel" as non-words.
Also drop freq of "il" and "shel" to 0
Add the "locale" header that was missing.
- Binary es dict :
Add the "dictionary" header.
- Binary fr dict :
Add the same words as above. Non-word shortcuts were already
set to 1.
- Binary it dict :
Add a "dictionary" header. Also change freq of
"Šarapova" from 50 to 37; not sure why it was 50.
- Binary pt_BR dict :
Add a "dictionary" header.
- Binary ru dict :
Add a "dictionary" header and remove the same words as above.
For all dictionaries : bump the version to 27.
Change-Id: I94fe7f8f42b31fdad223085c00a94115e14d2276
2012-11-21 22:03:24 +09:00
Tadashi G. Takaoka
7d045829b8
Request update shift state after shift-chording input
...
Bug: 7529860
Change-Id: Iec82459348722be358ae2ded15deafac21749dcd
2012-11-21 16:12:40 +09:00
Jean Chalard
40f7b43b3f
am 82cc7349: am b9385ff9: am cdbf6fb5: Merge "Correctly add double quote to the space strippers" into jb-mr1.1-dev
...
* commit '82cc7349254e1ca3722ead1f108b6c53820432d5':
Correctly add double quote to the space strippers
2012-11-20 20:14:13 -08:00
Jean Chalard
e36af707c8
resolved conflicts for merge of b7e6bbae
to master
...
Change-Id: Ic02809190721472d138532d2189328519117e042
2012-11-21 13:07:31 +09:00
Jean Chalard
82cc734925
am b9385ff9: am cdbf6fb5: Merge "Correctly add double quote to the space strippers" into jb-mr1.1-dev
...
* commit 'b9385ff9be484487a523c1eb6db4eba33ef2359d':
Correctly add double quote to the space strippers
2012-11-20 19:42:18 -08:00
Jean Chalard
b7e6bbaebc
am 3acd0c7a: am f732f4dd: Merge "Only add spaces automatically when appropriate." into jb-mr1.1-dev
...
* commit '3acd0c7a9f4a5f17897a4fe51b023d6f14ba7ef0':
Only add spaces automatically when appropriate.
2012-11-20 19:38:47 -08:00
Jean Chalard
cdbf6fb541
Merge "Correctly add double quote to the space strippers" into jb-mr1.1-dev
2012-11-20 19:37:54 -08:00
Jean Chalard
f732f4ddcc
Merge "Only add spaces automatically when appropriate." into jb-mr1.1-dev
2012-11-20 19:36:50 -08:00
Tadashi G. Takaoka
e44ce053e7
am 8a5b176f: am fd1267e3: Add Spanish United States keyboard (DO NOT MERGE)
...
* commit '8a5b176f655a46f1c575886a7d3a3c1120c91b29':
Add Spanish United States keyboard (DO NOT MERGE)
2012-11-20 18:58:29 -08:00
Tadashi G. Takaoka
d2266d22c9
Merge "Reorganize currency keys"
2012-11-20 02:29:37 -08:00
Tadashi G. Takaoka
c27e899dbe
Reorganize currency keys
...
Add Rial(ar), Indian Rupee(hi), Tugrik(mn), Baht(th), Hryvnia(uk),
Dong(vi) currency sign keys to symbol layout.
Bug: 7455289
Change-Id: I0f819631ff05c4a31d3a6868dea5e18a1797f103
2012-11-20 18:04:55 +09:00
Jean Chalard
c82c0d0ef2
Merge "Fix variation dumping."
2012-11-19 23:56:47 -08:00