Commit Graph

33483 Commits (776b24c937279e77d1073fba801b8f01485a88ec)

Author SHA1 Message Date
Baligh Uddin 776b24c937 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-07-02 20:11:01 +00:00
Baligh Uddin d3496e663a Import translations. DO NOT MERGE
Change-Id: I40d4d1bd2b732bf9a32805544e1c68aea4b733df
Auto-generated-cl: translation import
2014-07-07 06:48:31 -07:00
Tadashi G. Takaoka 99f1ef278b am 013ea9d5: Merge "Add Bengali keyboard layout"
* commit '013ea9d57aafa4623b13d0bb94de7bd2d6bfb008':
  Add Bengali keyboard layout
2014-07-04 12:31:33 +00:00
Yohei Yukawa 65fdfe5dbc am c4571a2e: Merge "Add compatibility utility class for LocaleSpan"
* commit 'c4571a2e29d8e8ae299c0377f65f6425574103c0':
  Add compatibility utility class for LocaleSpan
2014-07-04 11:56:25 +00:00
Yohei Yukawa 6bcf5fdb5e am 73065b77: Remove dead code to fix test failure due to NoSuchMethodError
* commit '73065b778c30eecd5913cca5ac42746537dec495':
  Remove dead code to fix test failure due to NoSuchMethodError
2014-07-04 10:39:01 +00:00
Yohei Yukawa 73065b778c Remove dead code to fix test failure due to NoSuchMethodError
This CL removes following methods from StringUtils, which are
no longer used since Id3c262386a7bc7ed75966b1395a50171abe550d3.
- #joinCommaSplittableText
- #appendToCommaSplittableTextIfNotExists

BUG: 16000850
Change-Id: Ibdc9b7e463a19cdfac788b24c0a6322d0c5850c5
2014-07-04 19:12:14 +09:00
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
Tadashi G. Takaoka 013ea9d57a Merge "Add Bengali keyboard layout" 2014-07-02 21:09:42 +00:00
Tadashi G. Takaoka 0205fb220d Add Bengali keyboard layout
This is a preliminary keyboard layout.

Bug: 10028755
Change-Id: I365fb8e942a60d4b690a4af95fcd35bf73fffbe4
2014-07-04 20:59:37 +09:00
Baligh Uddin d10e2c4bcb Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-07-02 20:00:08 +00:00
Baligh Uddin 8cd4a291ec Import translations. DO NOT MERGE
Change-Id: I4c62cc42d717e52815acf7b4843fdaaef3e191a8
Auto-generated-cl: translation import
2014-07-07 06:51:08 -07:00
Yohei Yukawa 13c0789c52 am da19daf5: Merge "Ensure each character is coverted by at most one LocaleSpan"
* commit 'da19daf570108149ffcf4867bd7dde79a119204a':
  Ensure each character is coverted by at most one LocaleSpan
2014-07-07 13:08:39 +00:00
Keisuke Kuroyanagi 9879045aa3 am 2ebb244c: Merge "Use linked list for bigram list."
* commit '2ebb244c915e559c4c1d4f90f399a51a3f39c8b4':
  Use linked list for bigram list.
2014-07-07 12:26:25 +00:00
Tadashi G. Takaoka da2654119b am 92ac2aa8: Move fontNormal flag from Key to Row
* commit '92ac2aa8ed3ad889f5a31336900e3c46264df97d':
  Move fontNormal flag from Key to Row
2014-07-07 10:12:31 +00:00
Tadashi G. Takaoka 92ac2aa8ed Move fontNormal flag from Key to Row
Change-Id: I250da7c82e005ffe2027c528a1df731a1a3cdf47
2014-07-07 18:58:01 +09:00
Tadashi G. Takaoka 4c6a2c0509 am b1807d0b: Fix keyboard layout unit test
* commit 'b1807d0bc75fd4191a9cd45c03a777ee8e650686':
  Fix keyboard layout unit test
2014-07-07 09:46:54 +00:00
Tadashi G. Takaoka b1807d0bc7 Fix keyboard layout unit test
This is a followup of I065824f3fa.

Bug: 6911143
Change-Id: I47de962f9fbcfd8bbcd3af2f8005538322ffb932
2014-07-07 18:35:28 +09:00
Tadashi G. Takaoka 6174460178 am 9eb68042: Merge "Fix Sinhala keyboard for tablet device"
* commit '9eb68042703f8bec1a73a3d4554f8db9f0937856':
  Fix Sinhala keyboard for tablet device
2014-07-07 08:49:57 +00:00
Tadashi G. Takaoka 77eb20e416 am 7f102e38: Merge "Use smaller text size for 5-rows keyboard"
* commit '7f102e389ddd8191d398423a5c8d22698754a253':
  Use smaller text size for 5-rows keyboard
2014-07-07 07:58:30 +00:00
Tadashi G. Takaoka ffa20ff322 am 59016206: Fix Sinhala keyboard layout
* commit '59016206abe0e457ef8dd44b84d4aeac67824a07':
  Fix Sinhala keyboard layout
2014-07-07 07:40:49 +00:00
Tadashi G. Takaoka 59016206ab Fix Sinhala keyboard layout
This CL modifes the following points.
- add digit hint letters on the 1st row.
- remove digit more keys from shifted layout.
- use normal font for Sinhala letters.
- use auto X scale flag to fix Sinhala letters on a key top.

Bug: 6911143
Change-Id: I082ea38529399dce7d99c980e2be07c35d2e912d
2014-07-07 15:36:08 +09:00
Keisuke Kuroyanagi 641db9cb80 am bb843eb2: Move getPrevWordsInfoFromNthPreviousWord to PrevWordsInfoUtils.
* commit 'bb843eb223ce0f8fb1088ed3393a4165123ddb1f':
  Move getPrevWordsInfoFromNthPreviousWord to PrevWordsInfoUtils.
2014-07-07 05:34:42 +00:00
Keisuke Kuroyanagi bb843eb223 Move getPrevWordsInfoFromNthPreviousWord to PrevWordsInfoUtils.
Bug: 14425059
Change-Id: Id37022ac6c1545d6845abfbcdb7ed47f0e250eec
2014-07-07 13:07:57 +09:00
Yohei Yukawa 1de545a07d am 513784e8: Merge "Restore additional subtypes when the package is updated"
* commit '513784e8086a45a7e62c736c862c4df328235617':
  Restore additional subtypes when the package is updated
2014-07-07 00:27:59 +00:00
Yohei Yukawa da19daf570 Merge "Ensure each character is coverted by at most one LocaleSpan" 2014-07-02 21:09:42 +00:00
Yohei Yukawa ece4548eb5 Ensure each character is coverted by at most one LocaleSpan
This is a groundwork to attach LocaleSpan for committed text
in LatinIME.

This CL adds a utility method to ensure that a given range
of the text is coverted by at most one LocaleSpan.  Of course
it could be possible to allow a substring to be coverted by
multiple LocaleSpans at the same time, but ensuring uniqueness
for LocaleSpan is supposed to be a good starting point.

BUG: 16029304
Change-Id: Ic33a7178d0df1f05d3626aeb5773ec902254703f
2014-07-07 20:13:55 +09:00
Tadashi G. Takaoka 9eb6804270 Merge "Fix Sinhala keyboard for tablet device" 2014-07-02 20:35:42 +00:00
Tadashi G. Takaoka 649de3f544 Fix Sinhala keyboard for tablet device
This CL introduces fontDefault flag to keyLabelFlags of Key attribute
to reset font specification to keyTypeface attribute.

This is a followup of I065824f3fa.

Bug: 6911143
Change-Id: I33bd4a23aaea73e2b17175ddd39053ec915d5451
2014-07-07 16:57:11 +09:00
Yohei Yukawa c4571a2e29 Merge "Add compatibility utility class for LocaleSpan" 2014-07-02 19:52:36 +00:00
Yohei Yukawa a92fead202 Add compatibility utility class for LocaleSpan
This is a groundwork for enabling LocaleSpan support.
LocaleSpan is available in API Level 17 and later. We need some
abstraction layer as usual.

BUG: 16029304
Change-Id: Iead1afdc540216edb1b17f91a40d9edb2e790168
2014-07-04 20:31:34 +09:00
Keisuke Kuroyanagi 2ebb244c91 Merge "Use linked list for bigram list." 2014-07-02 19:52:36 +00:00
Keisuke Kuroyanagi 804f7450fc Use linked list for bigram list.
BinaryDictionaryTests for VERSION4_DEV:
Before
Time: 36.461
After
Time: 33.031

Bug: 14425059

Change-Id: I9ca2714f450f61f713df6ebd34c953dece991cdb
2014-07-07 21:09:25 +09:00
Tadashi G. Takaoka 7f102e389d Merge "Use smaller text size for 5-rows keyboard" 2014-07-02 19:52:36 +00:00
Tadashi G. Takaoka 940393292e Use smaller text size for 5-rows keyboard
Change-Id: I065824f3fab941560980d3d9387730e4c25eb12b
2014-07-07 16:35:09 +09:00
Yohei Yukawa 513784e808 Merge "Restore additional subtypes when the package is updated" 2014-07-02 19:52:36 +00:00
Yohei Yukawa 052ec62abd Restore additional subtypes when the package is updated
With this CL, Intent#ACTION_MY_PACKAGE_REPLACED will
not only update the visibility of the setup activity but
also reconstruct additional subtypes.

This is important because the system always removes all
the additional subtypes whenever the package is updated.

BUG: 15890448
Change-Id: Ic36ea68f50b1ac89b4cbd268ee53f9a5e5d60afd
2014-07-04 20:50:00 +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