Commit Graph

37046 Commits (3237983b371fc0f11118a888de4018d1e4984a30)

Author SHA1 Message Date
Tadashi G. Takaoka 74346c0ba9 am ec0d6bb9: Merge "Move current subtype management code to RichInputMethodManager"
* commit 'ec0d6bb9b708070c71981021712dfad0352a4cfe':
  Move current subtype management code to RichInputMethodManager
2014-11-07 18:32:57 +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 db6d42a078 am 96d558cc: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '96d558cc191fdad33ed85211dc84420d4746d75f':
  Import translations. DO NOT MERGE
2014-11-07 15:00:44 +00:00
Baligh Uddin c4e3ac702a am 73c80e67: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '73c80e678e13df5eb78e49d37c1c8084bddb9c2e':
  Import translations. DO NOT MERGE
2014-11-07 15:00:42 +00:00
Baligh Uddin 96d558cc19 Merge "Import translations. DO NOT MERGE" 2014-11-07 14:55:21 +00:00
Baligh Uddin 7cfea95655 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-11-07 14:55:14 +00:00
Baligh Uddin 73c80e678e Merge "Import translations. DO NOT MERGE" 2014-11-07 14:55:07 +00:00
Jean Chalard 432d03ee08 am 5c4f642d: Merge "Move util classes under common"
* commit '5c4f642df61b8672b1aa913992b981284f07eba7':
  Move util classes under common
2014-11-07 10:00:55 +00:00
Jean Chalard b6351d4454 am b2d263aa: Merge "Fix tests"
* commit 'b2d263aae64d7c5221d9b026be279408f7135d9d':
  Fix tests
2014-11-07 10:00:53 +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 e96f2a2afb am e0c2e5b2: Merge "Remove a deprecated constructor to SuggestedWords"
* commit 'e0c2e5b2f731d612df5005c770ddd8cf47180e19':
  Remove a deprecated constructor to SuggestedWords
2014-11-07 08:52:25 +00: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 d134eb2b7e am 72866677: Merge "Move shorcut IME related code from SubtypeSwitcher to RichInputMethodManager"
* commit '7286667754f516ae24e34e033f15e9f5b6fcd279':
  Move shorcut IME related code from SubtypeSwitcher to RichInputMethodManager
2014-11-07 06:23:46 +00: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 8c6c5a1ffc am 51d0b335: Merge "Remove a useless method."
* commit '51d0b3351b2530173cdf73d1a9b364c916583999':
  Remove a useless method.
2014-11-07 06:03:35 +00:00
Jean Chalard c1fefd2018 am 536bf616: Merge "Remove dicttool dependency to NativeSuggestOptions"
* commit '536bf61658fbd1f541824f6020493dc8816c8349':
  Remove dicttool dependency to NativeSuggestOptions
2014-11-07 06:03:33 +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 c5aefe7d7b am 6e61cd3b: Merge "Move some methods out from SubtypeSwitcher"
* commit '6e61cd3b3ba8853513b9d0167e76d670ae31a7f1':
  Move some methods out from SubtypeSwitcher
2014-11-06 23:58:07 +00:00
Sandeep Siddhartha 1d2fadbe07 am 35bb12e0: Merge "Fix restore from keyboard"
* commit '35bb12e010cee0496c5a08e8d7838575ba24f795':
  Fix restore from keyboard
2014-11-06 23:58:05 +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 d9b2deda21 Import translations. DO NOT MERGE
Change-Id: I8b8e17a01b4080e4d18f5961364ef7e4e7ed8649
Auto-generated-cl: translation import
2014-11-06 08:25:25 -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 5a4d31cc6d am e1652d75: Fix the build : move offdevice tests in an off device file
* commit 'e1652d7570e0eac3415be49e071975370e1f89ae':
  Fix the build : move offdevice tests in an off device file
2014-11-06 15:20:28 +00:00
Jean Chalard ce50d27ba4 am 5b33d197: Add a header command to dicttool.
* commit '5b33d197ba7c9e44847561b99f948d5a11e1ecc6':
  Add a header command to dicttool.
2014-11-06 15:20:26 +00:00
Jean Chalard 830a600358 am f6b0e32d: Add a *FAST* dictionary header reader.
* commit 'f6b0e32df38da4e2130bdbfc8875ea2d19054caf':
  Add a *FAST* dictionary header reader.
2014-11-06 15:20:24 +00: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 ce34cb9b83 am 5564317f: Genericize getting a raw dictionary
* commit '5564317f837164c67749423fa78f917ed2ae9e14':
  Genericize getting a raw dictionary
2014-11-06 07:00:42 +00: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
Jean Chalard 293bb7d0c0 am ab68143a: Fix a bug where LatinIME would recorrect with no input view
* commit 'ab68143ad0fb784db38a3fd65612632fca90c789':
  Fix a bug where LatinIME would recorrect with no input view
2014-11-05 09:57:15 +00:00
Jean Chalard ab68143ad0 Fix a bug where LatinIME would recorrect with no input view
Bug: 18071127
Change-Id: I634d1f63f7d5c5b7453ed7559f9b65fa0433dcd8
2014-11-05 17:41:15 +09:00
Jean Chalard d63bf9b865 am ae55db95: Large simplification in obtaining a raw dictionary
* commit 'ae55db95a74c72220961824c8054ec38b38492cb':
  Large simplification in obtaining a raw dictionary
2014-11-05 04:46:57 +00:00
Jean Chalard ae55db95a7 Large simplification in obtaining a raw dictionary
That is where the last refactorings were leading. This code is
simpler, but it's far more flexible. Importantly, it only makes
a single copy instead of making a full disk copy for every
intermediate step.
Next we're going to make the "copy" part modular for processes
that don't need to copy the whole file.

Change-Id: Ief32ac665d804b9b20c44f443a9c87452ceb367a
2014-11-05 12:27:35 +09:00