aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-05-24Use Locale.ROOT for locale neutral operationsTadashi G. Takaoka5-5/+6
Bug: 9112465 Change-Id: I6cd63007287b5a1a57cfbabff35d53f66fc5620e
2013-05-24Use localized toLowerString in AutoCorrection.isValidWordTadashi G. Takaoka3-5/+6
Bug: 9112465 Change-Id: I63eb4115f393444560e80220d4c90f0f7101b934
2013-05-24Remove redundant method AutoCorrection.isInTheDictionaryTadashi G. Takaoka2-8/+1
Change-Id: I0737fb0b68f411f4db06014f2d94804935808922
2013-05-24Add contentDescription attribute to setup wizard video and imageTadashi G. Takaoka1-2/+4
Bug: 9112276 Change-Id: I028371770bacd6d975dee5648230abc19f51f542
2013-05-24Passing options to native suggestion method.Keisuke Kuroyanagi4-13/+127
Change-Id: I6da180cfa1b9e5aa39600e78e3bc41209a40f583 Signed-off-by: Keisuke Kuroyanagi <ksk@google.com>
2013-05-23Fix layoutKurt Partridge1-1/+1
Children of ScrollViews should specify a wrap_content layout_height, according to AndroidLint Change-Id: I4f972535f0df6bda1ba48082b812ce80fb5cfdcc
2013-05-23Fix misplaced xml namespaceKurt Partridge1-2/+1
Change-Id: I891293c10afbbee0a73c7c98322bec248cc7afb3
2013-05-23Log reasons for punting n-gram loggingKurt Partridge3-19/+107
Addresses b/9074239 Change-Id: I91a3bfcbd32b03e4891ff5f65be01383a3fb8975
2013-05-22Fix missing importTadashi G. Takaoka1-0/+1
Change-Id: Ie600993db561afb7891aac4765377fe4a8c4636a
2013-05-22Remove unnecessary methods of KeyboardSwitcherTadashi G. Takaoka6-28/+18
Change-Id: Idd3647bb1a1d40df8bb89eda715d45427a58d0cd
2013-05-21Haptick and audio feedback on key repeatTadashi G. Takaoka2-7/+7
Bug: 6522943 Change-Id: I181f7e8722bf1b3042d7f384ae8ebf87f29458a9
2013-05-21Clean up unused return valueTadashi G. Takaoka1-11/+8
Change-Id: Ie59f08db947ca5314935c6b723cf498129b4515c
2013-05-21Fix drawing debug points of gesture trailsTadashi G. Takaoka2-26/+61
Bug: 7167303 Change-Id: I9a75b1b9b9127c5364da49b2a04b22c16a7ad535
2013-05-21Always record word boundariesKurt Partridge1-2/+14
Word boundaries are currently logged, but only if all the details of a word pass the privacy filter and are logged. This change records when a word is committed in all cases, but does not disclose the word contents or any data used in its construction. Addresses b/9070768 Change-Id: I573679d0685c088aca65af99e46337a2f429f816
2013-05-21Clean up IntentCompatUtils a bitTadashi G. Takaoka2-6/+5
Change-Id: I803aa6c2160bfa1ffe992b28e7eb6e8a320c9762
2013-05-21Modify isAllowedToLogKurt Partridge3-6/+71
Currently isAllowedToLog only checks the state of the ResearchLogger, and does not consider which log the data is going to. This causes problems with the logs for Feedback. The Feedback log should inhibit normal logging procedures, but the system needs to be able to write specific data directly to it. This change renames to isAllowedToLogTo and adds the destination ResearchLog as a parameter. A FeedbackLog is also added as a new class so it can be distinguished from other ResearchLogs. Change-Id: I5a1eea05bb040c26bf816b89179f44b3024fa2ad
2013-05-21Fix a crash on a secondary userSatoshi Kataoka2-2/+16
Bug: 9054063 Change-Id: I092ab6e0077578d0aca57d2e41dfbc00b46e1ba4
2013-05-20Fix running on device regression test and profile.Keisuke Kuroyanagi1-0/+2
Change-Id: Ie16d9514092d6d6f42881b975420e5d1431b776c
2013-05-21Remove unnecessary @UsedForTesting annotationTadashi G. Takaoka1-5/+0
Change-Id: I843fd6bc20da95e61d1a05b5b34d6e4c9db59dab
2013-05-21Add a method to work around apps broken by recorrectionJean Chalard3-0/+40
Bug: 8944307 Change-Id: I8986622554f30aaf4f595099c4ab5652b75c972c
2013-05-21Extract a new class for app-specific workarounds.Jean Chalard4-40/+88
Bug: 8944307 Change-Id: Iaff9dd03d3d856a6bdaa2b16c4e71e95cd2b6349
2013-05-20Import translations. DO NOT MERGEBaligh Uddin2-1/+28
Change-Id: I1075741837c63b5bb93cf2b39aa707cf5afeb9e7 Auto-generated-cl: translation import
2013-05-20Import translations. DO NOT MERGEBaligh Uddin2-1/+28
Change-Id: I40c83f490ebab993d07fd92b78a6901f3ddbc2b2 Auto-generated-cl: translation import
2013-05-17Fix punctuation loggingKurt Partridge2-14/+40
Punctuation is currently put into the same LogUnit as the following word. This is counter-intuitive and makes post-processing more complicated. This change causes punctuation to be put into its own LogUnit. A tricky case is the phantom space. A phantom space is inserted right before other text, whose MotionEvents have already been collected and inserted into mCurrentLogBuffer. Phantom spaces are handled by creating their own LogUnit and inserting it into the LogBuffer right before mCurrentLogBuffer is shifted in. Change-Id: I102d7cd93982ad37ba0abb6c1ac0f66b85b5f95d
2013-05-15am f1dcf725: Merge "Don\'t process recorrection or resets when not shown"Jean Chalard3-5/+39
* commit 'f1dcf725061b3e61e40540566a5385cf4934f424': Don't process recorrection or resets when not shown
2013-05-15am 96a9f357: Merge "Fix unintentional setup step advance in orientation change"Tadashi G. Takaoka1-4/+16
* commit '96a9f357c7e2a059687926cd7cd52ac5d06bc65e': Fix unintentional setup step advance in orientation change
2013-05-15am 50259c70: Merge "Tune layout parameters of setup wizard"Tadashi G. Takaoka11-41/+57
* commit '50259c70d7754569a7b552cfc6ef8a034b5b0d40': Tune layout parameters of setup wizard
2013-05-15am 66b87269: Update welcome fallback image (using xhdpi asset)Tadashi G. Takaoka1-0/+0
* commit '66b87269e16a0ed4b13a58bca5dd3a41318ad241': Update welcome fallback image (using xhdpi asset)
2013-05-15am 769427cf: Adjust aspect ratio of setup imageTadashi G. Takaoka2-19/+28
* commit '769427cff24944958f5f1f6179090a86444f3eab': Adjust aspect ratio of setup image
2013-05-15Don't process recorrection or resets when not shownJean Chalard3-5/+39
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-14Remove unnecessary commit/uncommitKurt Partridge2-3/+0
When the user reverts a commit, this causes the committed word to be changed. The user usually then goes back to edit that word. Going back to edit causes an uncommit, so that the editing actions are added onto the LogUnit containing the operations used to construct the word. But currently, reverting also involves its own commit/uncommit pair, with the caller performing the uncommit, and the commit happening inside the revert command. This may have been necessary in the past, when revert was called in different situations, but is unnecessary now. Furthermore, the guarding conditions are currently such that the uncommit doesn't always undo the effects of the commit, corrupting the log output. Change-Id: I74af41f4f1db2fcabfa496dcc4a2d7bd0af19b3a
2013-05-14Add claifying commentKurt Partridge1-0/+16
This is a follow-up to I7c01c3dd3ac33d7e96c00836256bae9c14b124ed Change-Id: I9e3f8968c4bbf9525d5dfe101f71373c42f88361
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-13Import translations. DO NOT MERGEBaligh Uddin3-4/+4
Change-Id: I5e6fa99ba1c520aeb92844c02dd5adb7eaf7227c Auto-generated-cl: translation import
2013-05-13Import translations. DO NOT MERGEBaligh Uddin3-4/+4
Change-Id: I871e96e80b74f5c521d940c4b50fad24488c3c2e Auto-generated-cl: translation import
2013-05-13Tune maximum keypress duration to 100 millisecondsTadashi G. Takaoka2-2/+2
Bug: 8556975 Change-Id: If7839c5764f7a269243a9570c0b7782b6f7ee73b