aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/research (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Split LogUnits differently.Kurt Partridge2013-03-261-2/+1
| |/ | | | | | | | | | | | | | | | | Previously an autocorrection caused a new LogUnit to be started, splitting off the previous LogUnit right at the autocorrection method time. This change causes the split to happen before the MotionEvents that led to the autocorrection being called. Change-Id: I2504df8eb47ee77e5f46bac34a8450636c03fd9f
* / Close ResearchLogger upon onFinishInputViewKurt Partridge2013-03-251-12/+14
|/ | | | | | | | | | | | Previously, ResearchLogger#stop() was called both in LatinIME#onFinishInputView() and in LatinIME#onWindowHidden(). This resulted in multiple logs being written. Since onFinishInputView is the more reliable of the two (it is called in InputMethodService#onDestroy; onWindowHidden is not), the code now uses onFinishInputView as a stopping signal. Change-Id: Iae4b8c3bdab226027624eeab19b3737367e4a108
* resolved conflicts for merge of 5b048292 to masterTadashi G. Takaoka2013-03-1910-20/+32
|\ | | | | | | Change-Id: I67ebab46954cd7b8e3e79e7fed523bafb15f8835
| * Rename ProductionFlag.IS_EXPERIMENTAL to USES_DEVELOPMENT_ONLY_DIAGNOSTICSKen Wakasa2013-03-189-19/+30
| | | | | | | | | | bug: 8393568 Change-Id: Ie5edf44a3627aca9416145aff56bf05bbf2a05f3
* | [FileEncap9] Extract ResearchLogDirectory classKurt Partridge2013-03-145-82/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously used a monotonically increasing int. Now uses uuid and nanoseconds. squashed in: [FileEncap11] Read preference from ResearchSettings Change-Id: Ic779e0a69db6b16e92c6f4b63dbe7b7add566ab6 [FileEncap12] Simplify directory cleanup invocation Change-Id: I688047409c0343d32b11447fb625dfb726c731ec [FileEncap14] Change log filename syntax Change-Id: I9243b20b2eb392f81ab8c5c3d19315211240e0bc Change-Id: I5c9d70e0cb7b0965158e17dd71dfab796bd9a440
* | Merge "[Lazy4] Remove useless debug code"Kurt Partridge2013-03-141-33/+0
|\ \
| * | [Lazy4] Remove useless debug codeJean Chalard2013-03-081-33/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | This code is cluttering readability and getting in the way of future updates. Future updates will make it much easier to debug and to test this code, so this needs to disappear. Change-Id: I32e28ec608587b6b7c07250a2692b13e8fc98465
* | | [Lazy2] Pass a runnable to abortJean Chalard2013-03-121-4/+11
| | | | | | | | | | | | Change-Id: I721afbf426099753aa876a55323eb806b08c24d6
* | | [Lazy1] Switch to blocking log closuresJean Chalard2013-03-122-42/+45
|/ / | | | | | | Change-Id: I4daec20b7b47b0d71c5aab6e17cd660015e19e71
* | [FileEncap8] Remove useless "success" variableKurt Partridge2013-03-071-13/+3
| | | | | | | | Change-Id: Icf76bc0b795b6a9221d9a6d61c38df31af54ab7b
* | [FileEncap7] Extract uploadContents methodKurt Partridge2013-03-071-8/+11
| | | | | | | | Change-Id: I018b2726533042dbcb25713ea039aec41c148db2
* | [FileEncap6] Extract Uploader classKurt Partridge2013-03-072-162/+197
| | | | | | | | | | | | Gerrit was stuck on original change I9ef4eb7450 Change-Id: I6d4ee686944074779aca5b09b018782c7033874d
* | [FileEncap5] Move conditional logic to callerKurt Partridge2013-03-061-3/+4
| | | | | | | | Change-Id: I6599539059f86dc8902210d325439c08035b2e2a
* | [FileEncap4] Simplify logicKurt Partridge2013-03-061-4/+5
| | | | | | | | Change-Id: Ibb8660d12812b867856259d3e5c04a31e281027d
* | [FileEncap3] Extract isUploadingUnconditionally methodKurt Partridge2013-03-061-5/+8
| | | | | | | | | | | | - remove isUploadingUnconditionally local variable Change-Id: I69be8708c1f306568cbb9c5cbefc9e42a87df497
* | [FileEncap2] Remove mCanUpload instance variableKurt Partridge2013-03-061-6/+5
| | | | | | | | Change-Id: I62a100c4d73bb64a14a7994f7dd9af7b6946d064
* | [FileEncap1] Extract hasUploadingPermisssions methodKurt Partridge2013-03-061-4/+7
| | | | | | | | Change-Id: Ica1dabcf066cde6580035f12fa35a404cb32fb3f
* | Little cleanupsKurt Partridge2013-03-051-7/+4
| | | | | | | | Change-Id: I2ded3d0a29610941fac27c9b26168dd6c06ceccc
* | Clean up initialization orderingKurt Partridge2013-03-051-29/+24
| | | | | | | | | | | | This change is based on an earlier one that got stuck in Gerrit: Iab77504b Change-Id: I27ad9dfb1bbb2300bd1e61d881a6ea0e116db066
* | Clean up logic in onUserLoggingConsentKurt Partridge2013-03-042-17/+17
| | | | | | | | | | | | | | | | - Make ResearchSetting for whether the user has seen the splash screen - Inline #setLoggingAllowed, which is short and is now only called by onUserLoggingConsent Change-Id: Icdf4592777b80643807b6ccf1d3896459c503e02
* | Clean up PREF_USABILITY_STUDY_MODEKurt Partridge2013-03-042-14/+15
| | | | | | | | | | | | | | | | | | | | - Refer to a common default value in DebugSettings - Make PREF_USABILITY_STUDY_MODE independent of the ResearchLogger - ResearchLogger uses its own preference through ResearchSettings multi-project commit with Ie0df836c9d779eba484b522666ec357f4e234823 Change-Id: I88547a2f619db6e7364abbbec12f9f76855dd11a
* | Merge "Remove MainLogBuffer#setSuggest()"Kurt Partridge2013-03-042-10/+13
|\ \
| * | Remove MainLogBuffer#setSuggest()Kurt Partridge2013-03-012-10/+13
| | | | | | | | | | | | | | | | | | multi-project commit with Ia98b1406fc2ee11a96893c77ea58d800fece7624 Change-Id: I8bc3d07b83dbe7d8fc56a618de07dade7f510b13
* | | Merge "Move UUID preference reading to ResearchSettings.java"Kurt Partridge2013-03-022-19/+45
|\ \ \ | |/ / |/| |
| * | Move UUID preference reading to ResearchSettings.javaKurt Partridge2013-02-282-19/+45
| | | | | | | | | | | | Change-Id: I8157249259cf8c3218c5c82a5729f4cbc1fb4eeb
* | | [TestPrep22] Make variable package-private for testingKurt Partridge2013-02-281-1/+1
| | | | | | | | | | | | Change-Id: I902a6a40df1c672c611672f34d2f3237b0d1821b
* | | [TestPrep20] Clean up import statementKurt Partridge2013-02-281-1/+0
|/ / | | | | | | Change-Id: Ifcfec09b669d8b2012b1c960bd4b1471c7946870
* | Merge "[TestPrep18] Make class public for testing"Kurt Partridge2013-02-281-1/+1
|\ \
| * | [TestPrep18] Make class public for testingKurt Partridge2013-02-261-1/+1
| | | | | | | | | | | | Change-Id: I4b457f44dd6a5a595c61a62061ea02c251fa9ab1
* | | Merge "[TestPrep17] Allow fake dictionary for testing"Kurt Partridge2013-02-271-0/+13
|\| |
| * | [TestPrep17] Allow fake dictionary for testingKurt Partridge2013-02-261-0/+13
| | | | | | | | | | | | | | | | | | | | | Currently ResearchLog requires a full dictionary to perform privacy-related checks. This makes testing difficult. This change allows a fake dictionary to be used instead. Change-Id: Ifca5bd8647475a6b84e4324117e0faa0a35479ee
* | | Merge "Ensure Preference listener is unregistered"Kurt Partridge2013-02-271-0/+6
|\ \ \ | |/ / |/| |
| * | Ensure Preference listener is unregisteredKurt Partridge2013-02-261-0/+6
| |/ | | | | | | Change-Id: I1a4d1e7bc45fc30cb1b63ea6020f0eee6e804333
* | [TestPrep11] Only use mHasWrittenData to control JsonWriter#endArray() callKurt Partridge2013-02-261-9/+5
| | | | | | | | Change-Id: If2107e38575b009a4c372194ecd827e27bdbb2b4
* | [TestPrep10] Add some commentsKurt Partridge2013-02-261-4/+28
|/ | | | Change-Id: Ia8e0bd72b0dc09bfc256ec5d1996637554376b5f
* [TestPrep8] Narrow try/catch scopeKurt Partridge2013-02-211-10/+9
| | | | Change-Id: If15f250feb81c2ad55ce1bc7dc3dafa57de87aef
* [TestPrep7] Encapsulate JsonWriter creationKurt Partridge2013-02-211-8/+19
| | | | Change-Id: I4e97fa28dd0bb1101edc0db03f024432fee6f6fe
* [TestPrep5] Parameterize MainLogBufferKurt Partridge2013-02-202-19/+19
| | | | Change-Id: I6d84f490922cd1f40e44ca4f95c9d950fba38290
* [TestPrep4] Add some finalsKurt Partridge2013-02-201-3/+3
| | | | Change-Id: Ib437a6ad7fd6a897e2bbc65afe881ae8a3b1cbb0
* [TestPrep3] Add helper method to retrive dictionaryKurt Partridge2013-02-201-7/+9
| | | | Change-Id: Id6e03c6f8a3e96979d589f0605ac056fcad7e1ff
* [TestPrep2] Rename a methodKurt Partridge2013-02-202-4/+4
| | | | Change-Id: Id9a72045afa3558b20b9d63c8720fb7443d34fd9
* [TestPrep1] Move MotionEvent.Action strings to LoggingUtilsKurt Partridge2013-02-202-11/+39
| | | | Change-Id: I7b9ed800552f2fd546ed21e9dc06ea1ff5798337
* Cleanup in preparation for testsKurt Partridge2013-02-123-9/+16
| | | | | | multi-project commit with I1212da392ecda0ad78962da68941870b5a651eee Change-Id: Ie74af59d4e45bf954723fee9dcf350a36468c381
* Merge "Add batchMode field to PickSuggestionManually"Kurt Partridge2013-02-121-2/+2
|\
| * Add batchMode field to PickSuggestionManuallyKurt Partridge2013-02-081-2/+2
| | | | | | | | Change-Id: Iaaffc71378154240538bf90f0b85c3f17f3f78b3
* | Close file properlyKurt Partridge2013-02-081-4/+12
|/ | | | Change-Id: Ied55b6a6f1e64bbca558316d8d3d207d7655cf91
* Refactor LogStatement publishing methodKurt Partridge2013-02-053-90/+109
| | | | | | | | | The method in LogUnit for publishing a LogStatement to a JsonWriter doesn't depend on anything in the LogUnit. multi-project commit with Id1d6ff4851148bba0e6b5a1ec6eec2b842d9c707 Change-Id: I323cec239d6ea1cee602c2ecf9b13713791e9283
* Merge "[Rlog79b] Save channel name during internal use"Kurt Partridge2013-02-042-6/+33
|\
| * [Rlog79b] Save channel name during internal useKurt Partridge2013-02-042-6/+33
| | | | | | | | | | | | | | The feedback string is used as a channel name in internal builds. Add a flag that lets it be saved between calls to make it easier to generate test data. Change-Id: I5c6149b1e68239cd968b6852d03cc240ddde99ca
* | [Rlog48c] Replay historical motion dataKurt Partridge2013-02-042-21/+252
| | | | | | | | Change-Id: Ib398ea61ff048b1a4ac3b7f7b4a772e173a7b294