Kurt Partridge
a68cace7d1
Avoid NPE by fixing ResearchLogger initialization
...
Previously, mMainResearchLog and mMainLogBuffer were set up
when the user moved to a new TextView, and set to null when
the user left the TextView. This change causes
mMainResearchLog, mMainLogBuffer, mFeedbackLog, and
mFeedbackLogBuffer to be non-null forever after init() is
called. start() no longer sets up these fields; instead
they are cleared and reset every time stop() is called.
Checks for null values are now removed.
The earlier code just didn't initialize these variables if
the user disabled logging, but since the new version
invariantly keeps these variables valid, we add a check for
whether the user has enabled logging in publishLogUnits().
Change-Id: Ifde3517f1cf924cfa33cda95fec24529b52b3c08
2013-05-09 18:38:32 -07:00
Kurt Partridge
011634163c
Remove unused code
...
Change-Id: I192c67e9e8de44f073abc70ec85ebcdb36356c2e
2013-05-09 14:36:40 -07:00
Kurt Partridge
ef5d760ca4
Remove ref to LatinImeLogger preference.
...
This is a bug; the ResearchLogger uses ResearchSettings.readResearchLoggerEnabledFlag() instead,
which the user cannot change. (We assume they will just switch to a different keyboard.)
Change-Id: Ib5731c9eeb2bc29d9cf8608033326674f5eb6f7b
2013-05-09 14:36:40 -07:00
Baligh Uddin
b0aabbfbe0
am 8dafc8e8
: (-s ours) am 22e6a5c5
: Import translations. DO NOT MERGE
...
* commit '8dafc8e834036ffded3644ba06ad4164ee7e755f':
Import translations. DO NOT MERGE
2013-05-09 08:53:59 -07:00
Baligh Uddin
8dafc8e834
am 22e6a5c5
: Import translations. DO NOT MERGE
...
* commit '22e6a5c5b4c3fb486fd2605255081fc4b849f415':
Import translations. DO NOT MERGE
2013-05-09 08:52:51 -07:00
Baligh Uddin
42dc0c2562
Merge "Import translations. DO NOT MERGE"
2013-05-09 15:52:00 +00:00
Satoshi Kataoka
341f1b237b
Tweak gesture debug
...
Change-Id: Iea11a095adb15fbf4be38f34542119f8bc7bcbff
2013-05-09 20:08:50 +09:00
Satoshi Kataoka
52cb409ac2
Don't resize debug array if production
...
Bug: 8556775
Change-Id: I46a10f8dc938cab493933f0f2b4e1f7779b24f6f
2013-05-09 19:22:24 +09:00
Satoshi Kataoka
b2c4c73064
Add debug facilities for gesture
...
Bug: 8556775
Change-Id: I9069b2b44356bbae9fa4aaf0b99c3d723a8c9c58
2013-05-09 19:19:11 +09:00
Satoshi Kataoka
b902109000
Fix usages of getEnabledInputMethodSubtypeList
...
Bug: 8450279
Change-Id: Ib8433442ae6ca6c28da2652bff687cdeaf7c196e
2013-05-09 17:07:19 +09:00
Tadashi G. Takaoka
499cea949d
Use revised Google Keyboard icon
...
Bug: 8159728
Change-Id: I458df60cb39f81cde3c08190af0ab08d304f9d98
2013-05-09 11:50:39 +09:00
Tadashi G. Takaoka
3e37586316
Launch setup wizard as single top activity
...
Bug: 8336068
Change-Id: Ifac84361e4e37b4aa106cbdbfffb83883ec2f8e6
2013-05-09 11:17:00 +09:00
Baligh Uddin
2e4bde7398
Import translations. DO NOT MERGE
...
Change-Id: I77a0aed9771ecc28a56226bb5f9776c1e1cf8b4d
Auto-generated-cl: translation import
2013-05-08 13:18:34 -07:00
Baligh Uddin
22e6a5c5b4
Import translations. DO NOT MERGE
...
Change-Id: I189a4ad23e69f0abe515dad7e3c909a28fcfbf0b
Auto-generated-cl: translation import
2013-05-08 13:09:53 -07:00
Jean Chalard
71d52474fd
Merge "Optimizations and safeguards."
2013-05-08 10:11:49 +00:00
Jean Chalard
5064ac8855
Merge "Be careful about the dictionary size in detection methods"
2013-05-08 09:59:25 +00:00
Jean Chalard
03f8c6aed3
Be careful about the dictionary size in detection methods
...
Bug: 8857618
Change-Id: I29345ec96d53da601571ba73197a6485643a10a7
2013-05-08 18:55:18 +09:00
Satoshi Kataoka
eab27c1ef6
Merge "Add account e-mail addresses to the user dictionary"
2013-05-08 09:53:54 +00:00
Jean Chalard
9f9cc03277
Optimizations and safeguards.
...
- Don't call finishComposingText when useless.
- Add safeguards against calling setComposingRegion when the
data returned by the editor is inconsistent.
- Cancel pending recorrection messages when new messages arrive.
Bug: 8842941
Bug: 8845001
Change-Id: I939701033cf5c2bbd85871ecf83e329021ddeb91
2013-05-08 18:47:10 +09:00
Tadashi G. Takaoka
5b8b76baa3
Merge "Move gesture preview trail parameters to resource"
2013-05-08 09:02:52 +00:00
Satoshi Kataoka
5648054667
Add account e-mail addresses to the user dictionary
...
Bug: 8683365
Change-Id: Id72540c515e61c3dd854892599645dd6d22b496d
2013-05-08 17:58:21 +09:00
Tadashi G. Takaoka
05124d0193
Move gesture preview trail parameters to resource
...
Bug: 7167303
Change-Id: I22b56588dc5a1c9d5eaec3a39b5f32c9e5a8a5b4
2013-05-08 17:51:45 +09:00
Satoshi Kataoka
faa94a2d0a
Merge "Add owner's info to the dictionary"
2013-05-08 08:31:45 +00:00
Satoshi Kataoka
fc6d4a5412
Add owner's info to the dictionary
...
Bug: 8683365
Change-Id: I1c30eac128b4172526423ebeeb45bc6cee7fb67b
2013-05-08 17:29:04 +09:00
Satoshi Kataoka
6435c80087
Merge "Fix an issue on the transition between the setup and the settings"
2013-05-08 08:23:49 +00:00
Tadashi G. Takaoka
331d256f21
Fix an issue on the transition between the setup and the settings
...
Bug: 8853220
Change-Id: I99b6c46d900e9391f77986d1ae6e3edeaeff01e5
2013-05-08 15:18:45 +09:00
Satoshi Kataoka
f59c4f6840
Fix labels in the personal dictionary settings
...
Bug: 8855738
Bug: 8853764
Change-Id: I03383bb5d6d72645f511cc6175dec747eb13a840
2013-05-08 14:58:43 +09:00
Satoshi Kataoka
244a24e368
Consolidate dummy proximity info to the spell checker info
...
Bug: 8783170
Change-Id: I067486e5ec1ae7cdef8e2121392464ba71ee8add
2013-05-08 11:49:12 +09:00
Kurt Partridge
1eb1af75a7
Merge "Fix looping logic bugs."
2013-05-07 23:22:04 +00:00
Baligh Uddin
542bcbeaca
am 71778d25
: (-s ours) am 34a0dc5a
: Import translations. DO NOT MERGE
...
* commit '71778d2551c6c5ae98b34c5fbbfa00d96362617f':
Import translations. DO NOT MERGE
2013-05-07 10:01:01 -07:00
Kurt Partridge
8064c669fe
Fix looping logic bugs.
...
shiftOut() is getting called once too often through these for loops.
Change-Id: I9a68b49e6cc1469bcddd673ab1567e238cf192b8
2013-05-07 08:33:31 -07:00
Tadashi G. Takaoka
104bb70c65
Merge "Avoid drawing too long gesture preview trails"
2013-05-07 11:58:09 +00:00
Jean Chalard
2afe88b8d7
Merge "Unify space-adding on gestures."
2013-05-07 11:51:01 +00:00
Keisuke Kuroynagi
b90a86b362
Merge "Checking key edit distance of candidate words for gesture scoring."
2013-05-07 11:48:54 +00:00
Tadashi G. Takaoka
80e396d83c
Avoid drawing too long gesture preview trails
...
Bug: 7167303
Change-Id: I63c2e8fb60f76e80346b67fd44399fa91930f2f0
2013-05-07 20:48:46 +09:00
Jean Chalard
e8b9b35471
Unify space-adding on gestures.
...
This is much simpler, and more correct.
Bug: 8808497
Change-Id: I7a56bf9d6d9fb481f898b7a9f5898a86c11b34c0
2013-05-07 20:38:09 +09:00
Satoshi Kataoka
a9dd74cf3f
refactor spell checker
...
Change-Id: Ie7bea23f2ac54f03572e77c31ba7cb3d5e8f8d2f
2013-05-07 20:21:11 +09:00
Keisuke Kuroynagi
a09f9709e0
Checking key edit distance of candidate words for gesture scoring.
...
bug: 8616704
Change-Id: I98c3248877b1e3e722a6c00a2851e543e5fcbe11
2013-05-07 19:47:20 +09:00
Tadashi G. Takaoka
9d71a6c968
Remove unused device form factor values
...
Change-Id: I1ed88b842a3d45e5460dd387bfad4276c844096a
2013-05-07 18:52:22 +09:00
Tadashi G. Takaoka
84ac8f31fb
Move empty listner to KeyboardActionListener.Adapter
...
Change-Id: Ic7bad73c089de015746c667bbfb2c09bd429a9fc
2013-05-07 16:40:15 +09:00
Tadashi G. Takaoka
40eb31bed5
Merge "Clean up unused static variable"
2013-05-07 07:37:27 +00:00
Tadashi G. Takaoka
61b6fc7d7b
Clean up unused static variable
...
Change-Id: I51c5903b7716d3927d2ff09a5054725215a626b5
2013-05-07 16:36:32 +09:00
Satoshi Kataoka
d430c92deb
Merge "Fix exact match profanity"
2013-05-07 07:26:01 +00:00
Satoshi Kataoka
5a346afab9
Fix exact match profanity
...
Bug: 8661070
This is a revival version of I421bed14cc71af771510142365
No diff in the test
Change-Id: I96bc9cec531682cce78bcf83223dcd2395b2be77
2013-05-07 15:52:38 +09:00
Tadashi G. Takaoka
ce67b41661
Record down point as gesture preview trail for sure
...
Change-Id: Ic712a6af8229a9a1aa4a5419d779927f1ef8be67
2013-05-07 15:51:23 +09:00
Tadashi G. Takaoka
4ddf1e47a7
Remove unused gesture preview trail code
...
Change-Id: I2aa77675628a4b1655b30852c950f5daae6f0a92
2013-05-07 14:27:34 +09:00
Baligh Uddin
71778d2551
am 34a0dc5a
: Import translations. DO NOT MERGE
...
* commit '34a0dc5abe47b28b7ef681b30aa5c94349b57e0d':
Import translations. DO NOT MERGE
2013-05-06 14:03:12 -07:00
Baligh Uddin
c758844665
Merge "Import translations. DO NOT MERGE"
2013-05-06 21:01:56 +00:00
Baligh Uddin
458bfeea12
am a8478986
: (-s ours) am b55b15c3
: Import translations. DO NOT MERGE
...
* commit 'a8478986d4ba95a6d5b87a348702d15d4da38f1a':
Import translations. DO NOT MERGE
2013-05-06 13:56:05 -07:00
Baligh Uddin
580d4e9950
Import translations. DO NOT MERGE
...
Change-Id: I066a2af59e34e18a530af0f3977c4aecab350ef8
Auto-generated-cl: translation import
2013-05-06 13:47:37 -07:00