Commit Graph

6109 Commits (99b0dc6f0d18f5fdd8634e8fa533bf1b3f81a538)

Author SHA1 Message Date
Baligh Uddin 69cc3cfe1f Import translations. DO NOT MERGE
Change-Id: I49fbafa8f9ef932fe4d2354c83fa86514726bb00
Auto-generated-cl: translation import
2013-02-12 13:33:27 -08:00
Kurt Partridge 04de6802cc Merge "Add batchMode field to PickSuggestionManually" 2013-02-12 16:54:35 +00:00
Tadashi G. Takaoka fdb1ca560e Merge "Separate caps mode related utils to CapsModeUtils" 2013-02-12 09:26:16 +00:00
Tadashi G. Takaoka ce6bcdd1a5 Separate caps mode related utils to CapsModeUtils
Change-Id: I32700c434b296bb3fd39e040c2dda1fe90667daf
2013-02-12 18:15:42 +09:00
Tadashi G. Takaoka 2c2942dd4b Merge "Move parseCsvString to StringUtils" 2013-02-12 07:57:24 +00:00
Tadashi G. Takaoka b3fd701181 Move parseCsvString to StringUtils
Change-Id: I602f33991ca57b6057ec2defe01573552b322857
2013-02-12 16:18:19 +09:00
Jean Chalard e26f0d4320 Merge "Cleanups" 2013-02-12 06:49:41 +00:00
Tadashi G. Takaoka 4cbe84ad08 Merge "Fix RTL language key code mapping" 2013-02-12 06:43:40 +00:00
Tadashi G. Takaoka 9a2039d94e Fix RTL language key code mapping
Bug: 8168899
Bug: 8169343
Change-Id: I23120704e97d89d5ddec2b2bdff2a98a6daac4d5
2013-02-12 14:51:54 +09:00
Jean Chalard 1c5b2a41ec Cleanups
Follow-up to Idc6f419a

Change-Id: I4aae8f4e19f27a0a309879dc19af6e40906d58c5
2013-02-11 21:14:56 -08:00
Jean Chalard c6aaa48ea7 Merge "Some cleanups" 2013-02-12 05:09:31 +00:00
Jean Chalard 8018051022 Some cleanups
Improve a slew of logging statements, and put commands that we don't
expect to need protecting against exceptions out of a try {} block.

This is a followup to Id3dc510a

Change-Id: Idc6f419ac095b5b0f2d6862d58926ef888cb34e6
2013-02-11 19:47:15 -08:00
Tadashi G. Takaoka 0b49191797 Add translatable="false" for dictionary-pack.xml
This is a follow up of I770335a2.

Change-Id: If0c021f4fb630bda7e8985591094488e11917e9b
2013-02-12 12:07:03 +09:00
Jean Chalard 82441e60e2 Remove unnecessary whitespace
This is a cleanup followup to Id3dc510a

Change-Id: Ie64395eb4b6218fd8c73cacddeed2fba1df65d26
2013-02-11 13:31:47 -08:00
Jean Chalard b2eac474ff Don't try to issue delete() commands on missing provider
Bug: 8173622
Change-Id: Id3dc510ae3535169b5290e87075cb2f433a1f603
2013-02-11 12:38:24 -08:00
Baligh Uddin a92a97d2cd Merge "Import translations. DO NOT MERGE" 2013-02-11 18:34:47 +00:00
Baligh Uddin d069d67038 Import translations. DO NOT MERGE
Change-Id: Ibd74870cf9822bce34f54504972e8f7d52c43036
Auto-generated-cl: translation import
2013-02-11 10:23:54 -08:00
Kurt Partridge d3c9ec8133 Merge "Close file properly" 2013-02-11 16:55:43 +00:00
Tadashi G. Takaoka d90e12aefb Change targetSdkVersion to 17
Bug: 7405756
Change-Id: If933fcad56d81dcc956b6114727e01be9686ee9c
2013-02-08 18:53:34 -08:00
Baligh Uddin 927c2d65e8 Merge "Import translations. DO NOT MERGE" 2013-02-08 20:19:02 +00:00
Baligh Uddin 1a1d4d98da Import translations. DO NOT MERGE
Change-Id: I1f4b366714462f2aa084ead58c67f8c82618cff5
Auto-generated-cl: translation import
2013-02-08 12:16:47 -08:00
Tadashi G. Takaoka b0767dd499 Separate resource file for dictionary pack metadata
Change-Id: I770335a25c3db12ec8440c4fcb208ca1d9c1fa32
2013-02-08 12:00:16 -08:00
Kurt Partridge 2cabb7aed0 Close file properly
Change-Id: Ied55b6a6f1e64bbca558316d8d3d207d7655cf91
2013-02-08 11:43:51 -08:00
Kurt Partridge c52569ffcb Add batchMode field to PickSuggestionManually
Change-Id: Iaaffc71378154240538bf90f0b85c3f17f3f78b3
2013-02-08 11:39:04 -08:00
Jean Chalard 3623ad238c [B14] Implement sending the dictionary list.
Bug: 7005813
Change-Id: Ic3ef69510d2b385d0d403191b2f701b6527d0166
2013-02-06 19:19:30 -08:00
Jean Chalard 6ecb4c4dcc [B11] Implement reset and passing of the URL to the dict pack
Bug: 7601410
Bug: 7595195
Change-Id: I78cf04dce7c1e64de6725d32317de288a83bd39d
2013-02-06 15:21:33 -08:00
Jean Chalard afe889a83d Merge "[B9] Pass the client id parameter for dict info requests" 2013-02-06 04:38:44 +00:00
Kurt Partridge 7165f926b4 Merge "Refactor LogStatement publishing method" 2013-02-06 01:30:33 +00:00
Kurt Partridge b02a19c49d Refactor LogStatement publishing method
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
2013-02-05 15:18:20 -08:00
Kurt Partridge 97135c29c5 Merge "[Rlog79c] Cleanup of feedback strings and text entry" 2013-02-05 20:11:24 +00:00
Baligh Uddin 104d245b3f Merge "Import translations. DO NOT MERGE" 2013-02-05 16:41:28 +00:00
Tadashi G. Takaoka 298b4240f8 Separate IntentUtils from CompatUtils
Change-Id: I373ae7ad26eee44cc8e9720314f6a53b811d0021
2013-02-04 16:06:38 -08:00
Kurt Partridge 6a4d218f69 [Rlog79c] Cleanup of feedback strings and text entry
Change-Id: I97457ea8033a011c37e5970eb91d1a3273b81e2a
2013-02-04 14:42:08 -08:00
Tadashi G. Takaoka 70c63049d3 Make CHAR LIMIT to 66 for some strings
Bug: 8112520
Change-Id: Ia7303e9bae651a3990b781341002fae950997dc1
2013-02-04 14:18:07 -08:00
Kurt Partridge 445d8e8bf6 Merge "[Rlog79b] Save channel name during internal use" 2013-02-04 19:16:33 +00:00
Baligh Uddin c67b825bd0 Import translations. DO NOT MERGE
Change-Id: I7e498ee5f83a3d4611fc46f34b0a6f0e19c143e5
Auto-generated-cl: translation import
2013-02-04 11:02:27 -08:00
Kurt Partridge 5ca4afa543 Merge "[Rlog48c] Replay historical motion data" 2013-02-04 18:36:57 +00:00
Kurt Partridge 82b4374c75 Merge "[Rlog48b] Better visual indicator for logging state" 2013-02-04 18:06:41 +00:00
Kurt Partridge 7708bcf6fb [Rlog48c] Replay historical motion data
Change-Id: Ib398ea61ff048b1a4ac3b7f7b4a772e173a7b294
2013-02-04 06:13:51 -08:00
Kurt Partridge d34347bd4b [Rlog79b] Save channel name during internal use
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
2013-02-04 06:09:45 -08:00
Jean Chalard 8192b4a6ef [B9] Pass the client id parameter for dict info requests
Bug: 6789534
Change-Id: Ie3ea75b19ae4da2dea531e0077c58742a9502bc6
2013-02-02 18:23:40 +09:00
Jean Chalard f1acb0e52d Make some strings private
Change-Id: I0ffdbcf6bede86a3cdcb3a0e4ec263398502617c
2013-02-02 15:00:09 +09:00
Kurt Partridge ce9e7f667d [Rlog48b] Better visual indicator for logging state
Now applies yellow bars if recording, green bars if replaying.

Change-Id: I39d39de6254fd57107ea5355c43b154244520985
2013-02-01 17:10:56 -08:00
Baligh Uddin 44219ff28f Merge "Import translations. DO NOT MERGE" 2013-02-01 18:37:26 +00:00
Baligh Uddin 074e1ac422 Import translations. DO NOT MERGE
Change-Id: I385b565d8b768795e2917cb3726dae8cbb7d3ebd
Auto-generated-cl: translation import
2013-02-01 09:45:20 -08:00
Kurt Partridge ceffa0bec9 Merge "[Rlog79a] Disallow empty feedback messages" 2013-02-01 17:15:07 +00:00
Kurt Partridge 0cafd6580c Merge "[Rlog48a] Update and make logging strings consistent" 2013-02-01 16:33:42 +00:00
Kurt Partridge d3f718fccd [Rlog79a] Disallow empty feedback messages
Change-Id: I30f7c07606e466c3c9538adad94024d00f0901de
2013-02-01 07:08:32 -08:00
Kurt Partridge 5bdd7bab11 Merge "[Rlog47] Replayer service, inspect-researchLog.py" 2013-02-01 15:05:58 +00:00
Tadashi G. Takaoka 5c58133c80 Clean up GestureFloatingPreviewText
Change-Id: Ie64dd06a99e54b2f432725f69dc4f38c81359ce6
2013-02-01 15:23:21 +09:00
Kurt Partridge c20a415e15 [Rlog48a] Update and make logging strings consistent
Change-Id: Iae04115921aaf6bbc3c6ad6e7d2d0e7401af41f8
2013-01-31 19:08:54 -08:00
Kurt Partridge 40be4c3bdb ResearchLogger invocation tests
- Start with just a smoke test.
- Sets up a private SharedPreferences

multi-project commit with I81cceba23692d64c2ea58a46351fc36d118ff825

Change-Id: I96e02d9a8de70cb5c03fd7411b886903e7a83673
2013-01-31 14:54:14 -08:00
Kurt Partridge 588d9b5c8d [Rlog47] Replayer service, inspect-researchLog.py
multi-project commit with Ia2dd81afb4ea124094a20a39e31ffd193edff3d2

Change-Id: I80fe8f2ce137fedf48038955d5f3d9deed04f763
2013-01-31 12:13:08 -08:00
Kurt Partridge 6b574f8056 Merge "[Rlog39] Remove unnecessary commitCurrentLogUnit() call" 2013-01-31 18:52:31 +00:00
Jean Chalard 5ea4365f07 Merge "Create methods in LatinIME to make the current dict lists" 2013-01-31 16:59:11 +00:00
Kurt Partridge e8a0bfb315 [Rlog39] Remove unnecessary commitCurrentLogUnit() call
Change-Id: I1983095058d004476065328ad34bb9e325af7062
2013-01-30 17:39:42 -08:00
Jean Chalard af4a7e8c4b Create methods in LatinIME to make the current dict lists
Bug: 7005813
Change-Id: I82232af8e3071333b6fd01e4453b6b3c0a3ddb1f
2013-01-31 09:26:52 +09:00
Jean Chalard 3c67f6a2d0 Merge "Add a way to know externally if we're installing a new dict" 2013-01-31 00:19:23 +00:00
Jean Chalard 01a4ebcd88 Add a way to know externally if we're installing a new dict
That helps tests know when to wait and when to declare the
dictionary actually not usable.

Bug: 7925814
Change-Id: Ic963c1206c43e3cde39ac4214a0d601f4fc6c03b
2013-01-31 09:04:55 +09:00
Baligh Uddin ee800cf5ba Merge "Import translations. DO NOT MERGE" 2013-01-30 20:17:45 +00:00
Baligh Uddin 542083fc04 Import translations. DO NOT MERGE
Change-Id: I7abda81fe11b1faa8a82ed42609c5dfa7a62a318
Auto-generated-cl: translation import
2013-01-30 12:07:02 -08:00
Kurt Partridge 9c18a47162 Merge "[Rlog29] User interface for recording" 2013-01-30 16:40:03 +00:00
Kurt Partridge 4e049897ef Merge "[Rlog27] Add replay capability" 2013-01-30 14:38:16 +00:00
Tadashi G. Takaoka e1f091c5d4 Add keyboardLetfPadding and keyboardRightPadding attributes
This change splits keyboardHorizontalEdgesPadding attributes of
Keyboard into two attributes.

Change-Id: Iefdb358783b81af4027e8d9e991db36a6c429cf1
2013-01-30 15:01:33 +09:00
Tadashi G. Takaoka 48409b9ac6 Merge "Remove "dimension|fraction" format from Key and Keyboard attributes" 2013-01-30 04:08:16 +00:00
Tadashi G. Takaoka 5ee2d79e41 Remove "dimension|fraction" format from Key and Keyboard attributes
Change-Id: Ieec8b7f5ccdf2a57bcc539dcb5313b6353f926d7
2013-01-30 13:01:14 +09:00
Kurt Partridge faf35c323b [Rlog29] User interface for recording
- Also, internal flag for automatically replaying after a recording is made (off by default)
- RLog key to "Bug?"

multi-project commit with I0c2fababd73eed5a341af487bca04ddd650d4cc2

Change-Id: I162c96a715de7180f276e08b4686a20f29dabafb
2013-01-29 15:46:16 -08:00
Kurt Partridge f3731188e5 [Rlog27] Add replay capability
- Add support for replaying log files to the ResearchLogger.  This will let
  users preview data that they choose to upload.
- When the user explicitly requests that the system record their action, it
  will record everything up to, and including, the motion involved in shutting
  off the recording.  This change also removes the stop-recording motion
  commands.

Change-Id: Ib1df383bbf1881512cb111fab9f6749c25e436ba
2013-01-29 09:33:25 -08:00
Tadashi G. Takaoka 3079b71964 Fix off-device regression test build
Bug: 8093623
Change-Id: I775a8691bbedf58caef07d0b4af59c7444dd81be
2013-01-29 23:02:08 +09:00
Jean Chalard 3d0477fbd2 Merge "Refactoring" 2013-01-29 10:29:25 +00:00
Jean Chalard d515f134f7 Refactoring
This creates a new DictionaryInfoUtils class and moves a bunch
of static methods there for later usage.

Change-Id: Iecb0643e6029a7be36bd6cb36aa918c40e6d8c6a
2013-01-29 19:16:21 +09:00
Tadashi G. Takaoka 83f173cccd Merge "Remove {max,min}keyboardHeight attribute from Keyboard" 2013-01-29 09:34:19 +00:00
Tadashi G. Takaoka 17dae3057c Remove {max,min}keyboardHeight attribute from Keyboard
This change removes a DisplayMetrics reference from KeyboardBuilder.

Change-Id: I512694274e69e5281d5be47c3f938bcfd6571152
2013-01-29 18:32:04 +09:00
Tadashi G. Takaoka 84106a776b Add summary text to sliding key input preview settings
Bug: 8089491
Change-Id: I15801281a95b01c67ef23a9c1558d6cdf457d375
2013-01-29 17:53:38 +09:00
Baligh Uddin 56012e5ab9 Revert "Import translations. DO NOT MERGE"
broken build.

This reverts commit 2c77683281

Change-Id: I2abbb8f148990a7778c8782834b5996b52e45dbe
2013-01-28 19:12:04 +00:00
Baligh Uddin 2c77683281 Import translations. DO NOT MERGE
Change-Id: Ia29e0c424e5210919bc6f9c4683a2c96e2936cad
Auto-generated-cl: translation import
2013-01-28 09:49:30 -08:00
Tadashi G. Takaoka 8630cd9d17 Remove keyboard layout description on the spacebar
Bug: 8056376
Change-Id: I33f07e7a044c2b5fc20de40c7a9777dab493e41c
2013-01-28 11:49:44 +09:00
Kurt Partridge f77e9d7e3a Merge "Initialize ResearchLogger later to avoid NPE" 2013-01-25 17:17:34 +00:00
Jean Chalard 5228745ae0 Merge "Remove pending update messages upon starting a gesture" 2013-01-25 12:34:46 +00:00
Jean Chalard a280e56014 Remove pending update messages upon starting a gesture
Bug: 8064307
Change-Id: Ia623ab81b6d12eedc6b20bc4c1ce34ce72d5832f
2013-01-25 17:00:41 +09:00
Tadashi G. Takaoka ce875664e0 Clean up Settings and SettingsFragment a bit
Change-Id: I93bf3cb1ea7e8fc09f4ad34b0bdd74f5f5ff1a68
2013-01-25 16:23:29 +09:00
Kurt Partridge 63bc279596 Initialize ResearchLogger later to avoid NPE
Change-Id: I1b817dfbdc319ac9bbf2f08e094a007849ce767f
2013-01-24 11:13:20 -08:00
Tadashi G. Takaoka 52a0d491b4 Merge "Add preliminary graphics of sliding key input preview" 2013-01-24 09:23:28 +00:00
Tadashi G. Takaoka ff961ddf8c Add preliminary graphics of sliding key input preview
Bug: 7548583
Change-Id: Idde6a62f9e64458055c99c893b71c02d1adc7b04
2013-01-24 18:14:20 +09:00
Tadashi G. Takaoka 12f2fc71f7 Merge "Display custom input style name in system locale" 2013-01-24 08:53:46 +00:00
Tadashi G. Takaoka 8203f7afe7 Display custom input style name in system locale
Bug: 8032166
Change-Id: Ib9a6b63c4d540ce377892fb865e53abdd8adec16
2013-01-24 17:44:49 +09:00
Tadashi G. Takaoka f0b5fddcb8 Clean up SettingsFragment a bit
Change-Id: Ic0727003f2645f0c38200b67bb2f4046249c6273
2013-01-24 16:16:53 +09:00
Tadashi G. Takaoka ef43cc9d1c Fix dismissing gesture floating preview
Bug: 8063926
Change-Id: I3b5b29ea0d5e4833e10e830dbdb086c868cd4884
2013-01-24 12:07:01 +09:00
Baligh Uddin dbd518b2d1 Merge "Import translations. DO NOT MERGE" 2013-01-23 22:47:06 +00:00
Baligh Uddin ab54e47fbe Import translations. DO NOT MERGE
Change-Id: I2df467fe9c740e33d2346dd09f5696c95af99aa5
Auto-generated-cl: translation import
2013-01-23 13:00:15 -08:00
Kurt Partridge 2baa4b0701 [Rlog83] Fix missing uses of hasWord() abstraction
Change-Id: I78e286723b1b8c8bcc7aea0cc81ef2ee66a193ac
2013-01-23 09:21:56 -08:00
Kurt Partridge edb5c4638b Merge "[Rlog81a] Determine correction type of words" 2013-01-23 17:12:02 +00:00
Tadashi G. Takaoka 9d514af466 Merge "Refactor SubtypeLocale to hold Resources" 2013-01-23 08:37:57 +00:00
Tadashi G. Takaoka 9dc85a673e Merge "Configurable key long press timeout" 2013-01-23 08:37:36 +00:00
Tadashi G. Takaoka cc5e4a4445 Configurable key long press timeout
The default long presss timeout is 300msec (previous timeout was
400ms).

Bug: 7600340
Change-Id: Ia8b64784ac03588631cfcbad30e021d74f3fd0d8
2013-01-23 17:12:28 +09:00
Satoshi Kataoka f1074c508e Throw exception when invalid time stamps are detected in debug mode
Change-Id: I360b5bd09869bc85ab3bccb8a43a20fed0035d9b
2013-01-23 16:29:19 +09:00
Tadashi G. Takaoka 4b3cae9b0c Refactor SubtypeLocale to hold Resources
Change-Id: Ia667bc2d406d66c87215dd3b9569f36f4642cfe0
2013-01-23 16:23:11 +09:00
Tadashi G. Takaoka 40651c8cf7 Fix activity flags to launch settings activity
This change adds the following flags to the intent to lauch settings activity.
 - Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED
 - Intent.FLAG_ACTIVITY_CLEAR_TOP

Bug: 8055342
Change-Id: I85284409bbba3fd284442e5ac4c7a55e58ad15ec
2013-01-23 15:08:35 +09:00
Kurt Partridge 0c16a5c6ee [Rlog81a] Determine correction type of words
Heuristic to determine whether a word was a typo correction or a complete
replacement by examining a correction to see if it falls within the list of
suggested words of the original.

Change-Id: Ieec4861a811e96aef0d14622e662b589ef8b4772
2013-01-22 11:41:52 -08:00
Baligh Uddin ad4cacafc6 Import translations. DO NOT MERGE
Change-Id: I46c30138504fab476bcca30cd4cc83ba108f959e
Auto-generated-cl: translation import
2013-01-22 10:40:33 -08:00