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
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
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
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
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
Ken Wakasa
398b79eea1
Merge "Yet another small cleanups"
2013-01-08 01:01:54 -08:00
Tadashi G. Takaoka
0015ce8fea
Merge "Make Settings class singleton to manage SettingsValues"
2013-01-08 00:57:46 -08:00
Ken Wakasa
aaefc4b30c
Yet another small cleanups
...
Change-Id: Ie940c4d4d9d85c95e2f04ba23f00a54ba3dc53bf
2013-01-08 17:57:26 +09:00
Tadashi G. Takaoka
ff0735ada8
Make Settings class singleton to manage SettingsValues
...
Change-Id: Id30828a141de86d9bcf8bce586d2adb468cc59e1
2013-01-08 17:48:47 +09:00
Ken Wakasa
a10b1a8844
Misc small cleanups
...
Change-Id: Iea61e6c76a9a0437a1b2e8143f6ab5b09a8e211e
2013-01-08 17:23:43 +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
Andrew Hsieh
20dc9c1fe4
am 5dc24372: am d61f9981: Merge "Add -ldl for new stlport"
...
* commit '5dc243723bec5ff5d77c5553ac5156980b3748d4':
Add -ldl for new stlport
2012-12-28 09:47:56 -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
ff778fd406
Merge "A small simplification."
2012-12-27 22:04:22 -08: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
Ken Wakasa
07711c10b8
Tidy up GeometryUtils a bit
...
Change-Id: I33f4042265c0dcc2530cee43c610f73ec99c6792
2012-12-27 16:38:00 +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