Commit graph

31685 commits

Author SHA1 Message Date
Tadashi G. Takaoka
b5696b4f67 Add Tamil keyboard
Bug: 9978106
Change-Id: I226e640fe453076063121176121ed5923d1ccfa1
2014-07-08 18:05:07 +09:00
Tadashi G. Takaoka
9cb19b1bca Merge "Remove unused keyPreviewIcon attributes" 2014-07-02 21:09:42 +00:00
Tadashi G. Takaoka
6efe9ae1c0 Remove unused keyPreviewIcon attributes
This CL also removes unused tabKeyPreview icon.

Change-Id: Ia69ba9c3d7c67ccb8983275bed262292eb422db2
2014-07-08 17:36:11 +09:00
Baligh Uddin
c495c5bdcb am 711a12f9: (-s ours) am 73a43617: (-s ours) am 007cbcbb: (-s ours) am 3163d3c6: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '711a12f90fdf2e74c1a64026148cc29d1a123fbd':
  Import translations. DO NOT MERGE
2014-07-07 19:46:20 +00:00
Baligh Uddin
a296c3553e am b5f0a8bb: (-s ours) am 197d4683: (-s ours) am 7f907178: (-s ours) am 3d28bc48: (-s ours) Import translations. DO NOT MERGE
* commit 'b5f0a8bb5d422802d20a8eac829d75e2a823744c':
  Import translations. DO NOT MERGE
2014-07-07 19:46:18 +00:00
Baligh Uddin
711a12f90f am 73a43617: (-s ours) am 007cbcbb: (-s ours) am 3163d3c6: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '73a436174c24927f62aaf72ed5b9ea864d07295b':
  Import translations. DO NOT MERGE
2014-07-07 19:43:03 +00:00
Baligh Uddin
b5f0a8bb5d am 197d4683: (-s ours) am 7f907178: (-s ours) am 3d28bc48: (-s ours) Import translations. DO NOT MERGE
* commit '197d4683b0f5c418d4f55140748d524ebad1aa81':
  Import translations. DO NOT MERGE
2014-07-07 19:39:23 +00:00
Baligh Uddin
73a436174c am 007cbcbb: (-s ours) am 3163d3c6: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '007cbcbb103d914aa97708f703b27d4b8be492cc':
  Import translations. DO NOT MERGE
2014-07-07 19:02:46 +00:00
Baligh Uddin
007cbcbb10 am 3163d3c6: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '3163d3c629d7c1db10ae1f74d1c3092ac9fddeeb':
  Import translations. DO NOT MERGE
2014-07-07 18:59:36 +00:00
Baligh Uddin
197d4683b0 am 7f907178: (-s ours) am 3d28bc48: (-s ours) Import translations. DO NOT MERGE
* commit '7f9071787f26e0afa2624bec0455bf25fda5b213':
  Import translations. DO NOT MERGE
2014-07-07 18:57:09 +00:00
Baligh Uddin
7f9071787f am 3d28bc48: (-s ours) Import translations. DO NOT MERGE
* commit '3d28bc487abfd4f12597362ed4bb4884c2ae9425':
  Import translations. DO NOT MERGE
2014-07-07 18:51:58 +00:00
Baligh Uddin
34c7c7cc55 Merge "Import translations. DO NOT MERGE" 2014-07-07 17:47:39 +00:00
Baligh Uddin
3163d3c629 Merge "Import translations. DO NOT MERGE" into klp-dev 2014-07-07 17:47:39 +00:00
Baligh Uddin
344c12013c Import translations. DO NOT MERGE
Change-Id: I659b81a251775d27ef5f2d8c4b74f91c72af6370
Auto-generated-cl: translation import
2014-07-07 06:59:36 -07:00
Baligh Uddin
cdf4b8cbf3 Import translations. DO NOT MERGE
Change-Id: Id17e27cf4d75db6bd128177de6cbb40a9951d33d
Auto-generated-cl: translation import
2014-07-07 06:57:03 -07:00
Baligh Uddin
3d28bc487a Import translations. DO NOT MERGE
Change-Id: I8b0464237cbfd5449ccba11580aa3ddfc3fad675
Auto-generated-cl: translation import
2014-07-07 06:52:06 -07:00
Baligh Uddin
20d2e277b8 Merge "Import translations. DO NOT MERGE" 2014-07-06 02:28:07 +00:00
Baligh Uddin
388ddba649 Import translations. DO NOT MERGE
Change-Id: I9e4be44e89eac47733b39f5e46c10c6bf2611153
Auto-generated-cl: translation import
2014-07-07 07:04:12 -07: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
Keisuke Kuroyanagi
3b8f2ece40 Merge "Move phrase gesture from additional features to public." 2014-07-02 20:35:42 +00:00
Keisuke Kuroyanagi
b8a9479b57 Move phrase gesture from additional features to public.
Bug: 15758242
Change-Id: I703dc2703afdf9402c5d2ac27411b74ece993dba
2014-07-08 16:36:06 +09:00
Keisuke Kuroyanagi
42a64e24b8 Merge "Get bigrams iterator via dict structure policy." 2014-07-02 20:35:42 +00:00
Keisuke Kuroyanagi
b00973952f Get bigrams iterator via dict structure policy.
Bug: 14425059
Change-Id: Ie4c6afbb6a3b707b5aa8e9e4f941c9da6e6bcdbf
2014-07-08 16:23:31 +09:00
Tadashi G. Takaoka
1c9e9ecdfb Fix Armenian comma on phone device
Bug: 7963631
Change-Id: Ia28b4020652174daa2731b3eed7636db9639c6b6
2014-07-08 15:40:06 +09:00
Baligh Uddin
c810480721 Merge "Import translations. DO NOT MERGE" 2014-07-02 20:00:08 +00:00
Baligh Uddin
7a31afa277 Import translations. DO NOT MERGE
Change-Id: Ie4c06dda7d56da6248ec84abddb44d592e678e90
Auto-generated-cl: translation import
2014-07-07 06:43:07 -07:00
Baligh Uddin
fd3cb59abb Merge "Import translations. DO NOT MERGE" 2014-07-02 20:00:08 +00:00
Baligh Uddin
08c29dfdce Import translations. DO NOT MERGE
Change-Id: I82c82756275887836f29c6bdc4f00504cf71e3a0
Auto-generated-cl: translation import
2014-07-07 06:45:33 -07:00
Baligh Uddin
3baa61cdd3 Merge "Import translations. DO NOT MERGE" 2014-07-02 20:06:33 +00:00
Baligh Uddin
1bf3dd898c Import translations. DO NOT MERGE
Change-Id: I2305910609685ccd29c71d73f96e47e484ec6847
Auto-generated-cl: translation import
2014-07-07 06:47:22 -07:00
Baligh Uddin
54f5f42720 Merge "Import translations. DO NOT MERGE" 2014-07-02 20:11:01 +00:00
Baligh Uddin
cde7ceb645 Import translations. DO NOT MERGE
Change-Id: Ifb6b83b1a84b4103193cf3e4fb84b0d52081e980
Auto-generated-cl: translation import
2014-07-07 06:49:51 -07:00
Baligh Uddin
9a98a4ce0d Merge "Import translations. DO NOT MERGE" 2014-07-02 20:06:33 +00:00
Baligh Uddin
0d452c9406 Import translations. DO NOT MERGE
Change-Id: I5908c36d3c83f44e330a9f83240c4ecb91f96b48
Auto-generated-cl: translation import
2014-07-07 06:52:48 -07: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
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
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
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
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
92ac2aa8ed Move fontNormal flag from Key to Row
Change-Id: I250da7c82e005ffe2027c528a1df731a1a3cdf47
2014-07-07 18:58:01 +09: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
Keisuke Kuroyanagi
bb843eb223 Move getPrevWordsInfoFromNthPreviousWord to PrevWordsInfoUtils.
Bug: 14425059
Change-Id: Id37022ac6c1545d6845abfbcdb7ed47f0e250eec
2014-07-07 13:07:57 +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
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
Yohei Yukawa
513784e808 Merge "Restore additional subtypes when the package is updated" 2014-07-02 19:52:36 +00:00