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
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
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
Baligh Uddin
a8478986d4
am b55b15c3
: Import translations. DO NOT MERGE
...
* commit 'b55b15c3bd920842720dd97ffa33bb45f5e6e0cd':
Import translations. DO NOT MERGE
2013-05-06 11:11:37 -07:00
Baligh Uddin
dd8197bcb2
Import translations. DO NOT MERGE
...
Change-Id: I838674303010d6bff9e3a6f747fd265d1c82baac
Auto-generated-cl: translation import
2013-05-03 16:52:20 -07:00
Baligh Uddin
b55b15c3bd
Import translations. DO NOT MERGE
...
Change-Id: I5c8c885e2971d73ffa5a8ac45dd39dd836c935c8
Auto-generated-cl: translation import
2013-05-03 16:44:22 -07:00
Ken Wakasa
c5a29fa864
Revert "Fix exact match profanity"
...
This reverts commit df2eae6e69
Change-Id: I42635cc09ad3ea4c177d02e0b7607fb7aa78506c
2013-05-02 14:21:29 +00:00
Tadashi G. Takaoka
a5be033d4a
Preserve setup wizard step while orientation change
...
Bug: 8159728
Change-Id: I596f59749443b8878b5613285f0fe793d449cdbd
2013-05-02 18:42:10 +09:00
Tadashi G. Takaoka
7d19ab5c9d
Using int instead of booleans to save keyboard shift state
...
This is a follow up of Ib2bc262aac.
Bug: 8734294
Change-Id: I0b56797ffc4f16e18da72352777fe0f000d173aa
2013-05-02 16:21:39 +09:00
Tadashi G. Takaoka
7f8dd50b8f
Save automatic shift state while orientation changing
...
Bug: 8734294
Change-Id: Ib2bc262aacedf786a318c2fe1bd4420a21e7d847
2013-05-02 15:48:56 +09:00
Baligh Uddin
9e0ffd35a5
am f9a4732e
: (-s ours) am f7e4057f
: Merge "Import translations. DO NOT MERGE" into jb-mr2-dev
...
* commit 'f9a4732e3baa2fdc6a27a1488cdb6f00a4f685d8':
Import translations. DO NOT MERGE
2013-05-01 20:47:19 -07:00
Baligh Uddin
39b3bf8df1
Merge "Import translations. DO NOT MERGE"
2013-05-02 03:45:45 +00:00
Baligh Uddin
f9a4732e3b
am f7e4057f
: Merge "Import translations. DO NOT MERGE" into jb-mr2-dev
...
* commit 'f7e4057f22c5226c0a11b0aec2e30c387ab9f285':
Import translations. DO NOT MERGE
2013-05-01 20:45:38 -07:00
Baligh Uddin
f7e4057f22
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev
2013-05-02 03:43:55 +00:00
Tadashi G. Takaoka
307f49b8c1
Mark some unit tests as @MediumTest
...
Change-Id: Iaa0a691903526f57510a0305c02cc42cf8d90f9e
2013-05-02 11:25:35 +09:00
Satoshi Kataoka
11b9f680d0
am e5daf660
: (-s ours) am 6845427e
: DO NOT MERGE: Return possible suggestions in Google Spell Checker
...
* commit 'e5daf6608affeb5be000c1c5dad69772ec247a6e':
DO NOT MERGE: Return possible suggestions in Google Spell Checker
2013-05-01 18:39:06 -07:00
Satoshi Kataoka
e5daf6608a
am 6845427e
: DO NOT MERGE: Return possible suggestions in Google Spell Checker
...
* commit '6845427e5d48fe48f837cd96a52c209be5f40357':
DO NOT MERGE: Return possible suggestions in Google Spell Checker
2013-05-01 18:37:23 -07:00
Baligh Uddin
3985e632ad
Import translations. DO NOT MERGE
...
Change-Id: I3f66d23846516560e3a1e316cf56dc7a17dfe9e2
Auto-generated-cl: translation import
2013-05-01 14:35:47 -07:00
Baligh Uddin
cd6806d2d9
Import translations. DO NOT MERGE
...
Change-Id: I840f5e7a7f140fbf5ccf27371077b2d8c86506c2
Auto-generated-cl: translation import
2013-05-01 14:28:20 -07:00
Jean Chalard
83757d439e
Merge "Pass blockOffensiveWords as a parameter"
2013-05-01 11:57:36 +00:00
Jean Chalard
2dbb5957e3
Pass blockOffensiveWords as a parameter
...
Bug: 8773353
Change-Id: Ic1019742ce7ff6e4f7fff4d2729f8ab52d841488
2013-05-01 20:47:35 +09:00
Ken Wakasa
1490b53416
Cleanup -- follow up to Ief04a4abb6dc1f79660a2e419c9c5e271802b5a1
...
Change-Id: Icb89c5119a67edaa019d5f7645b734cfcfc29041
2013-05-01 20:19:05 +09:00
Satoshi Kataoka
6845427e5d
DO NOT MERGE: Return possible suggestions in Google Spell Checker
...
Bug: 8772531
By the change in the suggestion algorithm, the pruning of the suggestions is not required anymore. This has been fixed in master branch properly.
Change-Id: I6ab9da953d69ff726d2bc328c09064e6ade0dcea
2013-05-01 20:18:55 +09:00
Satoshi Kataoka
c43417fb5d
Fix build
...
Change-Id: Ib9373b26b04b0f4789b3cd6a7af64e4bcd2c4b9c
2013-05-01 19:01:36 +09:00
Jean Chalard
53b37dc098
Merge "Fix a layout problem for pre-MR2"
2013-05-01 09:56:00 +00:00
Jean Chalard
b15e822234
Fix a layout problem for pre-MR2
...
...where marginStart is not supported yet.
Change-Id: Id4f642333c17d091b1ab36549ca580f4572d3bf4
2013-05-01 18:45:24 +09:00
Satoshi Kataoka
1641a4a457
Merge "Fix Google spell checker tests"
2013-05-01 09:31:52 +00:00
Satoshi Kataoka
d5781eef62
Fix Google spell checker tests
...
Bug: 8613307
Change-Id: Ief04a4abb6dc1f79660a2e419c9c5e271802b5a1
2013-05-01 18:21:56 +09:00
Tadashi G. Takaoka
0caf3f6a04
Merge "Introduce MoreSuggestionsListener class"
2013-05-01 09:15:26 +00:00
Tadashi G. Takaoka
6f7905ae75
Introduce MoreSuggestionsListener class
...
Bug: 8694255
Change-Id: I9420a7cb1983c6211f58d13b3b11db4347c3f99b
2013-05-01 18:03:37 +09:00
Satoshi Kataoka
6314b845f4
Merge "Add permissions for personalization"
2013-05-01 08:13:40 +00:00
Satoshi Kataoka
492557e4f7
Add permissions for personalization
...
Bug: 8683365
Change-Id: Ia74d730a6b778c0e647794efc8c3a810c715902c
2013-05-01 17:10:20 +09:00
Tadashi G. Takaoka
17a353831a
Merge "Override View.drawableStateChanged to detect state_pressed"
2013-05-01 05:04:44 +00:00
Tadashi G. Takaoka
47a66b12ec
Override View.drawableStateChanged to detect state_pressed
...
Unlike on JB, View.setPressed(boolean) is never called when the view
is pressed on ICS. To detect a pressed state of the view, we need to
override View.drawableStateChanged() and check the drawable state
contains state_pressed.
Bug: 8159728
Change-Id: I481051364d6f3d1370742723c3ce19d898ea5463
2013-05-01 14:02:18 +09:00