aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-05-15Don't process recorrection or resets when not shownJean Chalard1-3/+13
Bug: 8954116 Change-Id: Ica27dbfc570643bb81e6cdf34cc7c796ea080d71
2013-05-15Fix unintentional setup step advance in orientation changeTadashi G. Takaoka1-4/+16
Bug: 8159728 Change-Id: I53e7d7c8fb5cc231ea94474b091e550f77ae8dab
2013-05-15Update welcome fallback image (using xhdpi asset)Tadashi G. Takaoka1-0/+0
Bug: 8159728 Change-Id: Ifd7339c7db305de424109b6adb126b354028b3aa
2013-05-15Revert "Update welcome fallback image"Tadashi G. Takaoka1-0/+0
This reverts commit c1ff8d7d3f35aa776c93373aa5747bb92f1484bf Change-Id: Ib1f374f48adb436c0b6023aa5052e6340c410df7
2013-05-15Tune layout parameters of setup wizardTadashi G. Takaoka11-41/+57
Bug: 8159728 Change-Id: Ifb08b62e11008ad56715a07825c0fbc719130ebd
2013-05-15Adjust aspect ratio of setup imageTadashi G. Takaoka2-19/+28
Bug: 8159728 Change-Id: I578014912fa63c4c9b4c2c89aeae7ffec836b06c
2013-05-15Update welcome fallback imageTadashi G. Takaoka1-0/+0
Bug: 8159728 Change-Id: I0306efe99aa8db97ec6a1888240f0538480ebea5
2013-05-14Revise welcome screen video and still imageTadashi G. Takaoka15-40/+54
Bug: 8159728 Change-Id: Ief8d7197879d24ccef529e975c23d6f11c7aa458
2013-05-14Adjust sampling interval for gesture stroke drawing a bit.Ken Wakasa1-1/+1
bug: 7167303 Change-Id: I45ca9d31cf4f8492dde367f997d8e36f4a07cffe
2013-05-14Revert "Fix isSuggestionsStripVisible when keyboard hidden"Ken Wakasa1-14/+5
This reverts commit cb0d1c4c584f3f47da3f630441b7de1e741584e0 Change-Id: Ie2c8e01c25bd051b6157e8f32ab84392a0c7252a bug: 8954116
2013-05-14Back to previous keyboard layout by canceling sliding inputTadashi G. Takaoka9-85/+349
Bug: 8915171 Change-Id: Iabdeb7920f67f89246087c3ee06240406ecfbc3d
2013-05-14Fix PointerTrackerQueue.releaseAllPointerOlderThanTadashi G. Takaoka2-164/+175
Change-Id: If353869720895ee5355079c15c724132762dd70c
2013-05-14Fix isSuggestionsStripVisible when keyboard hiddenJean Chalard1-5/+14
When the keyboard is hidden, the suggestion strip is never visible. Bug: 8954116 Change-Id: I9f242d07b49ad60b625a22429bb013251e814905
2013-05-13Remove FeedbackLog instance variables.Kurt Partridge1-42/+7
For a while, the ResearchLogger supported comprehensive recording of the last few words in case the user wished to upload this data to give developers feedback. However, this mechanism was not implemented well (keeping a separate copy of the data), did not make the collected data clear to the user, and was not working properly in the latest build (NPEs). The mechanism in fact was deprecated in favor of the "userRecording" mechanism in which the user explicitly turned on comprehensive recording, demonstrated the issue they were experiencing, and then turned it off. This change removes the vestiges of the FeedbackLogging mechanism. A feedback log is still used to hold the user's message, but it is created in a local variable as-needed, and not persisted in ResearchLogger. Change-Id: I6a09d0ed36e1eddb6e57895e7428d22107f75f49
2013-05-13Rename a var to match semanticsKurt Partridge1-2/+2
The IS_INHIBITING_AUTO_UPLOAD flag is tested in isPossibleToUpload, so it inhibits all uploads, not just automatic ones. Renaming to IS_INHIBITING_UPLOAD. Change-Id: Iceed79260d4b062147f40c09f0c5bb06b2519b1b
2013-05-13Import translations. DO NOT MERGEBaligh Uddin3-4/+4
Change-Id: I9b70a81c1f507e5e9a2bfdcb179dea1cc03e0517 Auto-generated-cl: translation import
2013-05-13Tune maximum keypress duration to 100 millisecondsTadashi G. Takaoka2-2/+2
Bug: 8556975 Change-Id: If7839c5764f7a269243a9570c0b7782b6f7ee73b
2013-05-13Fix keypress vibration duration of HTC One XTadashi G. Takaoka1-1/+1
Bug: 8556975 Change-Id: I793dd90223f4da091a212ff54a02d19f03e49d6c
2013-05-13Disable functional key while in sliding input modeTadashi G. Takaoka1-4/+7
This change registers the functional key when sliding input mode is end at the functional key itself. Bug: 8915171 Change-Id: I2031e2aa4ebf33684221fc44d4a808112489724f
2013-05-13Add device specific keypress vibration duration databaseTadashi G. Takaoka2-15/+33
Bug: 8556975 Change-Id: I11260a64dc13c102bac7a9742dc66f2b05fd32de
2013-05-13Fix landscape override value expressionTadashi G. Takaoka1-6/+8
This is a follow up of I275c99db8a. Bug: 8556975 Change-Id: Ia6c2ab878760523da767036ce0bfc6c8350e1a92
2013-05-13Disable long press timer while sliding input modeTadashi G. Takaoka3-5/+11
Bug: 8915171 Change-Id: Id8685f90766c7de55b56476de83abf97150a186d
2013-05-13Disable delete key repeating while in slide input modeTadashi G. Takaoka1-4/+7
Bug: 8915171 Change-Id: I04f84c29f10abc0207072d2165c75dd20f053f92
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