aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/digraph_utils.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-05-13Support regular expression for condition patternTadashi G. Takaoka2-6/+42
Bug: 8556975 Change-Id: Iffc53d6a40dd77860434c5f7f4f59af5cd1ba92b
2013-05-13Support multiple condition for getDeviceOverrideValueTadashi G. Takaoka9-96/+259
Bug: 8556975 Change-Id: I29d3a305b6ac3d8e3620c6d8592d85047d62bf48
2013-05-13Rename GesturePreviewTrail.java -> GestureTrail.javaKen Wakasa11-120/+118
Try reducing some confusions between GesturePreviewTrail.java and GestureTrailsPreview.java Change-Id: I5fe2ee740cf1b32210530188153f6f6937e34b68
2013-05-10Avoid JsonWriter multi-write errorKurt Partridge4-49/+55
JsonWriter requires that its clients pass it only a single top-level object. The existing implementation tries to make code cleaner by having mJsonWriter never be null, and instead use a global static "NULL_JSON_WRITER" that just discards data. But because JsonWriter complains if more than one top-level object is passed, making this a global object does not work. This change instead copes with mJsonWriter being null. Change-Id: Ia37ccfc8646e91f11a64713dd92d2846eb86ac54
2013-05-10Refactor StringUtils.findPrefixedString to findValueOfKeyTadashi G. Takaoka8-37/+103
Bug: 8556975 Change-Id: I275c99db8a0d10594a5a8c0c27ebc1a87495c307
2013-05-10Fix screen flash when launching settings activityTadashi G. Takaoka2-10/+17
Bug: 8336068 Change-Id: I90a0f259129a3f3319b158b060154cc43960c234
2013-05-10Introduce another activity to launch setup wizardTadashi G. Takaoka3-427/+477
Bug: 8336068 Change-Id: I35b94dd87c5b01d3e927da8f918a5398dd565d33
2013-05-10Keep SetupActivity alive to check re-launching from launcherTadashi G. Takaoka1-18/+32
Bug: 8336068 Change-Id: I183b8e3fd1b3898d5f8dbbb13a0c93c64341fc38
2013-05-10Reuse old preferences if possible.Jean Chalard2-7/+28
This is an optimization. It also happens to work around what seems to be a framework bug in JB MR1 / MR1.1. Bug: 8771179 Change-Id: I62cc7acdc8656d75f8a50c068c4e9d8c6ceb74a0
2013-05-10Fix detecting out of keyboard areaTadashi G. Takaoka1-1/+1
Bug: 8885165 Change-Id: I85c78b23955169972fb0f5395463b6fe47f12c9c
2013-05-10Tweak a label in the personal dictionary settingsSatoshi Kataoka1-6/+0
Bug: 8897600 Change-Id: Ibf245e32468e5740ad9d65b8ff1f1e87b430d287
2013-05-09Avoid NPE by fixing ResearchLogger initializationKurt Partridge1-93/+62
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-09Remove unused codeKurt Partridge1-11/+1
Change-Id: I192c67e9e8de44f073abc70ec85ebcdb36356c2e
2013-05-09Remove ref to LatinImeLogger preference.Kurt Partridge1-5/+0
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-09Tweak gesture debugSatoshi Kataoka1-3/+3
Change-Id: Iea11a095adb15fbf4be38f34542119f8bc7bcbff
2013-05-09Don't resize debug array if productionSatoshi Kataoka1-1/+3
Bug: 8556775 Change-Id: I46a10f8dc938cab493933f0f2b4e1f7779b24f6f
2013-05-09Add debug facilities for gestureSatoshi Kataoka2-2/+29
Bug: 8556775 Change-Id: I9069b2b44356bbae9fa4aaf0b99c3d723a8c9c58
2013-05-09Fix usages of getEnabledInputMethodSubtypeListSatoshi Kataoka2-7/+12
Bug: 8450279 Change-Id: Ib8433442ae6ca6c28da2652bff687cdeaf7c196e
2013-05-09Use revised Google Keyboard iconTadashi G. Takaoka13-4/+2
Bug: 8159728 Change-Id: I458df60cb39f81cde3c08190af0ab08d304f9d98
2013-05-09Launch setup wizard as single top activityTadashi G. Takaoka1-1/+3
Bug: 8336068 Change-Id: Ifac84361e4e37b4aa106cbdbfffb83883ec2f8e6
2013-05-08Import translations. DO NOT MERGEBaligh Uddin7-95/+105
Change-Id: I77a0aed9771ecc28a56226bb5f9776c1e1cf8b4d Auto-generated-cl: translation import
2013-05-08Import translations. DO NOT MERGEBaligh Uddin2-5/+5
Change-Id: I189a4ad23e69f0abe515dad7e3c909a28fcfbf0b Auto-generated-cl: translation import
2013-05-08Be careful about the dictionary size in detection methodsJean Chalard4-23/+42
Bug: 8857618 Change-Id: I29345ec96d53da601571ba73197a6485643a10a7
2013-05-08Optimizations and safeguards.Jean Chalard2-4/+13
- 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-08Add account e-mail addresses to the user dictionarySatoshi Kataoka2-0/+66
Bug: 8683365 Change-Id: Id72540c515e61c3dd854892599645dd6d22b496d
2013-05-08Move gesture preview trail parameters to resourceTadashi G. Takaoka5-33/+85
Bug: 7167303 Change-Id: I22b56588dc5a1c9d5eaec3a39b5f32c9e5a8a5b4
2013-05-08Add owner's info to the dictionarySatoshi Kataoka1-3/+14
Bug: 8683365 Change-Id: I1c30eac128b4172526423ebeeb45bc6cee7fb67b
2013-05-08Fix an issue on the transition between the setup and the settingsTadashi G. Takaoka1-8/+9
Bug: 8853220 Change-Id: I99b6c46d900e9391f77986d1ae6e3edeaeff01e5
2013-05-08Fix labels in the personal dictionary settingsSatoshi Kataoka2-4/+5
Bug: 8855738 Bug: 8853764 Change-Id: I03383bb5d6d72645f511cc6175dec747eb13a840
2013-05-08Consolidate dummy proximity info to the spell checker infoSatoshi Kataoka9-544/+142
Bug: 8783170 Change-Id: I067486e5ec1ae7cdef8e2121392464ba71ee8add
2013-05-07Fix looping logic bugs.Kurt Partridge2-24/+30
shiftOut() is getting called once too often through these for loops. Change-Id: I9a68b49e6cc1469bcddd673ab1567e238cf192b8
2013-05-07Avoid drawing too long gesture preview trailsTadashi G. Takaoka1-6/+17
Bug: 7167303 Change-Id: I63c2e8fb60f76e80346b67fd44399fa91930f2f0
2013-05-07Unify space-adding on gestures.Jean Chalard1-15/+7
This is much simpler, and more correct. Bug: 8808497 Change-Id: I7a56bf9d6d9fb481f898b7a9f5898a86c11b34c0
2013-05-07refactor spell checkerSatoshi Kataoka1-14/+14
Change-Id: Ie7bea23f2ac54f03572e77c31ba7cb3d5e8f8d2f
2013-05-07Checking key edit distance of candidate words for gesture scoring.Keisuke Kuroynagi4-42/+197
bug: 8616704 Change-Id: I98c3248877b1e3e722a6c00a2851e543e5fcbe11
2013-05-07Remove unused device form factor valuesTadashi G. Takaoka6-32/+5
Change-Id: I1ed88b842a3d45e5460dd387bfad4276c844096a
2013-05-07Move empty listner to KeyboardActionListener.AdapterTadashi G. Takaoka2-5/+3
Change-Id: Ic7bad73c089de015746c667bbfb2c09bd429a9fc
2013-05-07Clean up unused static variableTadashi G. Takaoka1-3/+2
Change-Id: I51c5903b7716d3927d2ff09a5054725215a626b5
2013-05-07Fix exact match profanitySatoshi Kataoka1-2/+7
Bug: 8661070 This is a revival version of I421bed14cc71af771510142365 No diff in the test Change-Id: I96bc9cec531682cce78bcf83223dcd2395b2be77
2013-05-07Record down point as gesture preview trail for sureTadashi G. Takaoka1-5/+5
Change-Id: Ic712a6af8229a9a1aa4a5419d779927f1ef8be67
2013-05-07Remove unused gesture preview trail codeTadashi G. Takaoka1-30/+7
Change-Id: I2aa77675628a4b1655b30852c950f5daae6f0a92
2013-05-06Import translations. DO NOT MERGEBaligh Uddin9-17/+17
Change-Id: I066a2af59e34e18a530af0f3977c4aecab350ef8 Auto-generated-cl: translation import
2013-05-06Import translations. DO NOT MERGEBaligh Uddin3-5/+5
Change-Id: I2e89e3da74724731dc26f081c9d468200e90b31e Auto-generated-cl: translation import
2013-05-03Import translations. DO NOT MERGEBaligh Uddin33-464/+514
Change-Id: I838674303010d6bff9e3a6f747fd265d1c82baac Auto-generated-cl: translation import
2013-05-03Import translations. DO NOT MERGEBaligh Uddin3-6/+6
Change-Id: I5c8c885e2971d73ffa5a8ac45dd39dd836c935c8 Auto-generated-cl: translation import
2013-05-02Revert "Fix exact match profanity"Ken Wakasa1-2/+2
This reverts commit df2eae6e69948e99618a28d087b847c70582efd8 Change-Id: I42635cc09ad3ea4c177d02e0b7607fb7aa78506c
2013-05-02Preserve setup wizard step while orientation changeTadashi G. Takaoka1-34/+23
Bug: 8159728 Change-Id: I596f59749443b8878b5613285f0fe793d449cdbd
2013-05-02Using int instead of booleans to save keyboard shift stateTadashi G. Takaoka1-19/+14
This is a follow up of Ib2bc262aac. Bug: 8734294 Change-Id: I0b56797ffc4f16e18da72352777fe0f000d173aa
2013-05-02Save automatic shift state while orientation changingTadashi G. Takaoka2-2/+18
Bug: 8734294 Change-Id: Ib2bc262aacedf786a318c2fe1bd4420a21e7d847
2013-05-02Mark some unit tests as @MediumTestTadashi G. Takaoka3-6/+6
Change-Id: Iaa0a691903526f57510a0305c02cc42cf8d90f9e