Commit Graph

33448 Commits (177e952933102a0305bf118ad1ecc3f73cf275ba)

Author SHA1 Message Date
Yohei Yukawa 177e952933 am 3895d7f8: Additional subtype ID should be independent of OS-version
* commit '3895d7f8dc2e4999947f61220b86fa148f433413':
  Additional subtype ID should be independent of OS-version
2014-07-04 06:20:55 +00:00
Yohei Yukawa 3895d7f8dc Additional subtype ID should be independent of OS-version
This CL consolidates the initialization logic for additional
subtypes so that each additional subtypes can have predictable
subtype ID regardless of OS version.

Previously subtype IDs for additional subtypes are calculated
differently depending on the running OS version with hoping it
minimizes the risk of compatibility issues.  However, it is
getting harder and harder to maintain slightly different
logic between OSes. Thus we decided to unify the logic into
that in KitKat even though it may causes some breaking changes.

Note that the actual extra values that are used to instantiate
InputMethodSubtype object are still determined on the fly
depending on the running OS version. However these actual
extra values are no longer used for the subtype ID calculation.

BUG: 16000850
Change-Id: Id3c262386a7bc7ed75966b1395a50171abe550d3
2014-07-04 15:08:58 +09:00
Ken Wakasa 7f1e6b5979 am 0100a49b: Merge "[HW5] Make the word composer package private."
* commit '0100a49bdd7658814b016fbefe63148e57d6096f':
  [HW5] Make the word composer package private.
2014-07-01 09:30:06 +00:00
Jean Chalard 96eef7bb83 am b10ca308: Merge "[HW4] Move a reference to WordComposer out of LatinIME"
* commit 'b10ca308afa40bdc9d003494e30d21df03a0063c':
  [HW4] Move a reference to WordComposer out of LatinIME
2014-07-01 09:24:41 +00:00
Jean Chalard ee9d524c1e am 3f7ddde4: Merge "Update dictionaries"
* commit '3f7ddde4e61565751e777b7f3def884aadbb7c81':
  Update dictionaries
2014-07-01 09:24:40 +00:00
Jean Chalard 294d3f7b89 am e063e1b2: Merge "Fix a unit test"
* commit 'e063e1b218ee8fddb0bd7d4b3b4e71052b57bb2b':
  Fix a unit test
2014-07-01 09:24:38 +00:00
Jean Chalard f4a8a0a28b am 350f23f6: [HW3] Some refactoring
* commit '350f23f67e2a380452403643e1d1d7aa544da6b7':
  [HW3] Some refactoring
2014-07-01 09:24:37 +00:00
Jean Chalard 350f23f67e [HW3] Some refactoring
Change-Id: I303ce084a56c6ec709d3eab239a4d9d2274d0dea
2014-07-01 18:21:17 +09:00
Jean Chalard 62f0f9b237 am 0dab3171: [SD9] Add armenian and georgian scripts
* commit '0dab3171d442a4d0acc87cc0019bfcbd4ea4123f':
  [SD9] Add armenian and georgian scripts
2014-07-01 07:46:22 +00:00
Jean Chalard 66415c5432 am a86e4a2e: [SD8] Add scripts for layouts that are already implemented
* commit 'a86e4a2e3bab2416878f9e7ab30724705f8e2180':
  [SD8] Add scripts for layouts that are already implemented
2014-07-01 07:46:20 +00:00
Jean Chalard 64a792db2e am 292deb63: [SD7] Actually check for script.
* commit '292deb632cbab232334190e68d29184094d6d51b':
  [SD7] Actually check for script.
2014-07-01 07:46:19 +00:00
Jean Chalard 0dab3171d4 [SD9] Add armenian and georgian scripts
Bug: 15840116
Change-Id: I91719e4fc2e3fe29320e4cb8b1a2f8f93c44cc4d
2014-07-01 15:01:41 +09:00
Jean Chalard a86e4a2e3b [SD8] Add scripts for layouts that are already implemented
Bug: 15840116
Change-Id: I82b94fb89f18c6f7d88193231e132fbc2ac66685
2014-07-01 15:01:22 +09:00
Jean Chalard 292deb632c [SD7] Actually check for script.
...also implement the check for Hebrew and Arabic.

Bug: 15840116
Change-Id: Ia6433d7d98038ade64c171be4fe4b3f094111fac
2014-07-01 15:01:22 +09:00
Jean Chalard dca55d7c97 am 943e91ff: Merge "[SD6] Inline a constant and remove logic become useless"
* commit '943e91ffbd1edc88bcd815997f8b4d591d02dc7e':
  [SD6] Inline a constant and remove logic become useless
2014-07-01 05:52:28 +00:00
Jean Chalard 3ab0124289 am 3afbac8c: Merge "[HW2] Have a script for hardware keyboard"
* commit '3afbac8cb77bbe0ca8c4d54ad70489194349262e':
  [HW2] Have a script for hardware keyboard
2014-07-01 05:52:27 +00:00
Jean Chalard 434cf23ec9 am 20c89b1c: [SD5(2)] Remove useless args
* commit '20c89b1cf5e30026844922d312163ffcd1c20b26':
  [SD5(2)] Remove useless args
2014-07-01 05:37:17 +00:00
Jean Chalard 20c89b1cf5 [SD5(2)] Remove useless args
Bug: 15840116
Change-Id: I1123426fbd9d420c1be64ccc917a5f870e70e6fa
2014-07-01 13:34:25 +09:00
Ken Wakasa f75abd67a3 am 87d907bd: Merge "Revert "[SD5] Remove useless args""
* commit '87d907bda94a05e4ea503ae2a269eb444c10ae35':
  Revert "[SD5] Remove useless args"
2014-07-01 03:26:39 +00:00
Ken Wakasa ce612a0689 am 35605db9: Merge "Revert "[SD6] Inline a constant and remove logic become useless""
* commit '35605db9a4c2561c554f3fe3c5304ad544ad385a':
  Revert "[SD6] Inline a constant and remove logic become useless"
2014-07-01 03:26:38 +00:00
Jean Chalard f6974abd85 am c8094c46: Merge "[SD6] Inline a constant and remove logic become useless"
* commit 'c8094c463b7ee41feef49bb331eb6509b30d751f':
  [SD6] Inline a constant and remove logic become useless
2014-07-01 02:17:53 +00:00
Jean Chalard fdc63036be am 256243dd: Merge "[SD5] Remove useless args"
* commit '256243dd03869dcd1b6844dcc83406aa9adba08e':
  [SD5] Remove useless args
2014-07-01 02:17:52 +00:00
Baligh Uddin 4115a59646 am 09e36841: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '09e3684144628261f3cda0c9df57af115e2f51e9':
  Import translations. DO NOT MERGE
2014-06-30 15:07:44 +00:00
Baligh Uddin 049806be1b am fce0f55d: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'fce0f55d276bfa63fe9025d72f062053f7840678':
  Import translations. DO NOT MERGE
2014-06-30 15:07:43 +00:00
Baligh Uddin b4fd58b121 am bb8749ba: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'bb8749ba52baca2548a81713525140dca93047a7':
  Import translations. DO NOT MERGE
2014-06-30 15:07:42 +00:00
Baligh Uddin ee0607f8ff am 35f1bec7: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '35f1bec7f741e545126f5287ca36d83835747396':
  Import translations. DO NOT MERGE
2014-06-30 15:07:40 +00:00
Baligh Uddin cc55dec5d3 am 3a14b17f: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '3a14b17f1fa6ff84143889241341975e437373eb':
  Import translations. DO NOT MERGE
2014-06-30 15:07:39 +00:00
Baligh Uddin b5ec2e8733 am 2e2ba693: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '2e2ba693e9896b32a9e2986425b821c1555bdc0d':
  Import translations. DO NOT MERGE
2014-06-30 15:07:38 +00:00
Baligh Uddin 116636812b am b84b41af: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'b84b41af760736267149b58a42aaf231ccf275de':
  Import translations. DO NOT MERGE
2014-06-30 15:07:36 +00:00
Baligh Uddin 09e3684144 Merge "Import translations. DO NOT MERGE" 2014-06-30 14:43:31 +00:00
Baligh Uddin bb8749ba52 Merge "Import translations. DO NOT MERGE" 2014-06-30 14:43:31 +00:00
Baligh Uddin 35f1bec7f7 Merge "Import translations. DO NOT MERGE" 2014-06-30 14:43:31 +00:00
Jean Chalard 350eef6295 am 6345562e: [SD4] Restart suggestions on language change
* commit '6345562e2b351221a9bc0341f7dbd26095290b64':
  [SD4] Restart suggestions on language change
2014-06-30 13:04:47 +00:00
Jean Chalard 6345562e2b [SD4] Restart suggestions on language change
...otherwise we can't recompute the composition when we
change scripts.

This also fixes when we register that we need to take note
that the current subtype was used. Luckily this is a good
occasion for some cleanup that I've wanted to do for some
time: use InputTransaction for onTextInput (with the goal
to ultimately remove it entirely)

Bug: 15840116
Change-Id: Ie4f4f9157b66b79237eeb3db75535803124d3e19
2014-06-30 21:58:52 +09:00
Baligh Uddin 4feea9786f Import translations. DO NOT MERGE
Change-Id: Ia31613a90afebc810811e603cfdee621c8d47b9c
Auto-generated-cl: translation import
2014-06-30 04:09:39 -07:00
Baligh Uddin 7e59cf8a42 Import translations. DO NOT MERGE
Change-Id: Ib559baf38fac9b3389b7cc0ed3714f52d4c2300f
Auto-generated-cl: translation import
2014-06-30 04:08:23 -07:00
Baligh Uddin 1e6c40cb91 Import translations. DO NOT MERGE
Change-Id: Ia7837134acb9381094219fe410b5fa4840bd3400
Auto-generated-cl: translation import
2014-06-30 04:07:46 -07:00
Jean Chalard e44c5c5b22 am 3fb5a541: Fix tests
* commit '3fb5a541a44bc9a82663895fd09c342299f45b56':
  Fix tests
2014-06-30 06:39:22 +00:00
Jean Chalard 3fb5a541a4 Fix tests
Change-Id: I12ba56d021b50c03dc62e3f3c8db3ecada2f6a4b
2014-06-30 15:25:31 +09:00
Jean Chalard cc8728408a am 4db7da92: Merge "[SD3] Forward the script ID to where it will be used"
* commit '4db7da92f20924a7494dc0b1710413cf9f93a649':
  [SD3] Forward the script ID to where it will be used
2014-06-30 04:49:01 +00:00
Jean Chalard 96f349c89a am e5a8615d: [CS6] Cut out methods to clarify what we are doing
* commit 'e5a8615de706e47ec0a25022aed4df44f4d4b155':
  [CS6] Cut out methods to clarify what we are doing
2014-06-30 04:48:59 +00:00
Jean Chalard e5a8615de7 [CS6] Cut out methods to clarify what we are doing
Bug: 13238601
Change-Id: I99cc62e91b1e89130358fded572987023d919507
2014-06-30 13:41:04 +09:00
Baligh Uddin 8cd9f6ec16 am 96793630: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '967936306e014bee99558cf841a67dc2b5645166':
  Import translations. DO NOT MERGE
2014-06-30 00:45:46 +00:00
Baligh Uddin 566e3cd45a am 34b0eb44: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '34b0eb443acdb7d535a05b26d06644d44e544d43':
  Import translations. DO NOT MERGE
2014-06-30 00:45:44 +00:00
Baligh Uddin 92c1b542ed am 0a296266: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '0a2962666157aa77fb071a3010a5f98f332204e1':
  Import translations. DO NOT MERGE
2014-06-30 00:45:43 +00:00
Baligh Uddin 3233a19864 am 4a61232f: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '4a61232f8b549403807d044d9572a96e7a6232b9':
  Import translations. DO NOT MERGE
2014-06-30 00:45:42 +00:00
Baligh Uddin 34b0eb443a Merge "Import translations. DO NOT MERGE" 2014-06-28 00:04:48 +00:00
Baligh Uddin 0a29626661 Merge "Import translations. DO NOT MERGE" 2014-06-28 00:04:48 +00:00
Baligh Uddin 7967d56c87 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-06-28 00:04:48 +00:00
Baligh Uddin 4a61232f8b Merge "Import translations. DO NOT MERGE" 2014-06-28 00:04:48 +00:00