Commit Graph

34521 Commits (f74005d888febc12ffcde04d230c8f5591b55a95)

Author SHA1 Message Date
Geoff Mendal 4bbb3e6236 Import translations. DO NOT MERGE
Change-Id: I11a66375af737c53e276c9f64bf2052331c4b3f9
Auto-generated-cl: translation import
2014-11-10 12:58:03 -08:00
Geoff Mendal ac3251fa1e Import translations. DO NOT MERGE
Change-Id: I224369092800032915f36e9bf4237d7d537fa712
Auto-generated-cl: translation import
2014-11-10 12:54:20 -08:00
Keisuke Kuroyanagi 0c1822df5b Merge "Implement help command for dicttoolkit." 2014-11-10 18:53:19 +00:00
Keisuke Kuroyanagi b23f03488f Merge "Use reference instead of pointer for WordProperty()." 2014-11-10 18:32:24 +00:00
Ken Wakasa d158c43070 Just tiny cosmetic fixes in makefile
Change-Id: I470ba8a03d70aa520311c50f5d21979f476798b7
2014-11-11 03:26:38 +09:00
Keisuke Kuroyanagi 91bdbcfc72 Merge "Make profiler use getTimeInMicroSec()." 2014-11-10 18:13:23 +00:00
Keisuke Kuroyanagi 7d5420aa5e Make profiler use getTimeInMicroSec().
Bug: 17797064
Change-Id: Ie992c9454edfc3bf93d5ea367c3a4427b513a205
2014-11-11 01:38:49 +09:00
Keisuke Kuroyanagi 395f6e7020 Implement help command for dicttoolkit.
Bug: 10059681
Change-Id: I0cadf1f80103136cdac5c00b6fca4d81b4bf7384
2014-11-11 00:18:25 +09:00
Keisuke Kuroyanagi bbf0d4141b Use reference instead of pointer for WordProperty().
Change-Id: Idf03e97661d64186c752e35964d641a5528be5b1
2014-11-10 09:15:11 +09:00
Tadashi G. Takaoka 0d6ce46528 Move logic to determine spacebar text to LanguageOnSpacebarHelper
Change-Id: Ib9dbbb4bd4e35c15fd752c364d3012e8a7da2410
2014-11-08 18:50:59 -08:00
Tadashi G. Takaoka a04380de6a Add more test cases to LanguageOnSpacebarHelperTests
Change-Id: I54a4b89db84bbbd6bc7f5886f27b8bb6429ca8db
2014-11-08 18:24:54 -08:00
Tadashi G. Takaoka 2aec9189f8 Merge "Rename unit test" 2014-11-09 01:54:02 +00:00
Tadashi G. Takaoka 609ee38e29 Rename unit test
Change-Id: I0d18562a0b036a3e76a6df989a143bb05f0ed833
2014-11-08 17:46:59 -08:00
Keisuke Kuroyanagi 61280c0b7f Merge "Add CommandExecutor for dicttoolkit." 2014-11-08 21:36:25 +00:00
Keisuke Kuroyanagi bd48963bdf Add CommandExecutor for dicttoolkit.
Bug: 10059681
Change-Id: I90334caaf37c84ce7d1b93d12efbfb5f244a9420
2014-11-09 06:22:28 +09:00
Adrian Velicu 8e394ffcf4 Making 'dicttool header' output format version
Change-Id: I4198f6b463711feb4ab78020934cca4d23870fbb
2014-11-08 10:35:37 +09:00
Keisuke Kuroyanagi d2a47cceb2 Merge "Introduce CommandUtils for dicttoolkit" 2014-11-08 01:08:37 +00:00
Keisuke Kuroyanagi 4bfa3b273e Introduce CommandUtils for dicttoolkit
Bug: 10059681
Change-Id: Ic6947e76d77dc87bf88dc3a2b749e41fae7553b7
2014-11-08 09:58:26 +09:00
Sandeep Siddhartha b050b458dc am b8893c04: am d4662983: Fix restore from keyboard automerge: e551539
* commit 'b8893c044df4e3cdcb8aeafe7ab4fc8b3a626049':
  Fix restore from keyboard
2014-11-07 18:55:00 +00:00
Sandeep Siddhartha b8893c044d am d4662983: Fix restore from keyboard automerge: e551539
* commit 'd4662983d87d6d2ef2361e9053a29d6e5fb8d16e':
  Fix restore from keyboard
2014-11-07 18:48:35 +00:00
Sandeep Siddhartha d4662983d8 Fix restore from keyboard
automerge: e551539

* commit 'e5515395f11ce3f6ba5ddebb1fc029c51f51b8b3':
  Fix restore from keyboard
2014-11-07 18:43:17 +00:00
Tadashi G. Takaoka 52a87a4cc3 Merge "Clean up KeyboardLayoutSet a bit" 2014-11-07 18:02:48 +00:00
Tadashi G. Takaoka ec0d6bb9b7 Merge "Move current subtype management code to RichInputMethodManager" 2014-11-07 18:02:22 +00:00
Baligh Uddin 96d558cc19 Merge "Import translations. DO NOT MERGE" 2014-11-07 14:55:21 +00:00
Baligh Uddin 73c80e678e Merge "Import translations. DO NOT MERGE" 2014-11-07 14:55:07 +00:00
Jean Chalard 5c4f642df6 Merge "Move util classes under common" 2014-11-07 09:15:35 +00:00
Jean Chalard b2d263aae6 Merge "Fix tests" 2014-11-07 09:14:38 +00:00
Jean Chalard 75f0ab69bb Fix tests
Oops.

Change-Id: Ib7c8c8284b55a6a6db5b5806ff40188fd06b57fb
2014-11-07 18:02:13 +09:00
Jean Chalard 5b91b551e5 Move util classes under common
Also why did we have two copies of LocaleUtils >.>

Bug: 18108776
Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
2014-11-07 18:00:03 +09:00
Jean Chalard e0c2e5b2f7 Merge "Remove a deprecated constructor to SuggestedWords" 2014-11-07 08:49:26 +00:00
Jean Chalard c3e211bd6b Remove a deprecated constructor to SuggestedWords
Change-Id: If4d358b3a11fb25fc214c728269519d8c25f9adc
2014-11-07 16:40:24 +09:00
Tadashi G. Takaoka 7286667754 Merge "Move shorcut IME related code from SubtypeSwitcher to RichInputMethodManager" 2014-11-07 06:20:07 +00:00
Jean Chalard 51d0b3351b Merge "Remove a useless method." 2014-11-07 06:00:54 +00:00
Jean Chalard 536bf61658 Merge "Remove dicttool dependency to NativeSuggestOptions" 2014-11-07 06:00:40 +00:00
Sandeep Siddhartha e5515395f1 Fix restore from keyboard
The keyboard starts up before the restore process and the default shared
preferences are cached and used even after the restore.

Bug: 17837918
Change-Id: I2669e377b6e95813657fd6a80fbff4472330e3aa
(cherry picked from commit e9d814674b)
2014-11-07 02:54:14 +00:00
Tadashi G. Takaoka 6e61cd3b3b Merge "Move some methods out from SubtypeSwitcher" 2014-11-06 23:40:06 +00:00
Sandeep Siddhartha 35bb12e010 Merge "Fix restore from keyboard" 2014-11-06 21:41:03 +00:00
Tadashi G. Takaoka 7fb0ed58ed Move current subtype management code to RichInputMethodManager
Change-Id: I82d5a17a5ec96f26047d29e79f3f28850fc5b3bb
2014-11-06 11:51:07 -08:00
Tadashi G. Takaoka 8a2c4afad4 Move shorcut IME related code from SubtypeSwitcher to RichInputMethodManager
Change-Id: I0f95f603d80570c937e8c38ded88df341c11795e
2014-11-06 11:51:07 -08:00
Tadashi G. Takaoka 2a7da0ab87 Move some methods out from SubtypeSwitcher
Change-Id: I89aaf87d7d0cc204b0ca0f61c2f64d15e2df848e
2014-11-06 11:51:01 -08:00
Baligh Uddin 8188faae1b Import translations. DO NOT MERGE
Change-Id: I4b38b31403db1ee5b5bab7a6328db1919d822d20
Auto-generated-cl: translation import
2014-11-06 08:28:08 -08:00
Baligh Uddin 84cb890e15 Import translations. DO NOT MERGE
Change-Id: Ib227ef25b8d0eef2f1b83bddfadde5c1a6d93cd8
Auto-generated-cl: translation import
2014-11-06 08:22:11 -08:00
Jean Chalard e1652d7570 Fix the build : move offdevice tests in an off device file
Also fix a failing test

Change-Id: I280aa6b5836c7332da08a88f1258546edeb25a37
2014-11-06 22:33:57 +09:00
Jean Chalard b395ce4396 Remove a useless method.
Yay for cleanup

Bug: 18108776
Change-Id: I13f4066cd54f294377fdcf375a69350c44d4a32a
2014-11-06 21:38:17 +09:00
Jean Chalard 03eb9de961 Remove dicttool dependency to NativeSuggestOptions
Bug: 18108776
Change-Id: I0f57594617f8d5080aea9002b2356d18bfe97043
2014-11-06 21:38:11 +09:00
Jean Chalard 5b33d197ba Add a header command to dicttool.
This will allow to greatly improve the performance of the
metadata-generating files, as they won't have to wait for
the info command to read the entire dictionary when the
header is all we need.

Also add tests, and while we're at it, use the seed as
intended to enable reproducible tests.

Change-Id: I0ba79ef62f0292b23e63aed57ff565bb102281a2
2014-11-06 18:50:59 +09:00
Jean Chalard f6b0e32df3 Add a *FAST* dictionary header reader.
It's still unused as of this change but the next change will use it

As a reference point, generating the metadata for Bayo takes
3'02" on my machine with the info command; it's down to 16" if
made to use this instead. The gains increases with the number
of dictionaries obviously.

Change-Id: I0eeea2d8f81bb74b0d1570af658e91b56f7c2b79
2014-11-06 13:17:08 +09:00
Jean Chalard 5564317f83 Genericize getting a raw dictionary
This will allow for not copying the whole dictionary when only
the header is needed.

Change-Id: Ie4a649b507ccd4a430201824ed87b8b8bbf55e9f
2014-11-06 13:12:39 +09:00
Sandeep Siddhartha e9d814674b Fix restore from keyboard
The keyboard starts up before the restore process and the default shared
preferences are cached and used even after the restore.

Bug: 17837918
Change-Id: I2669e377b6e95813657fd6a80fbff4472330e3aa
2014-11-05 19:41:16 -08:00
Tadashi G. Takaoka b68f90ac1a Clean up KeyboardLayoutSet a bit
This CL moves getScriptId() from KeyboardLayoutSet.Builder to
KeyboardLayoutSet.

Change-Id: I13588467e3d03abb92120acb367f021ee3490a50
2014-11-06 12:30:16 +09:00