Commit Graph

11272 Commits (e5d73673ddd3073586b65fd8ec3184cabd2a7c05)

Author SHA1 Message Date
Yohei Yukawa feefe7d015 am 7c2f53ab: am 413aded6: Add a compatibility library for newly added methods in L
* commit '7c2f53ab53053cd3857b90e1d1cf9cddc8b67a89':
  Add a compatibility library for newly added methods in L
2014-07-18 03:31:07 +00:00
Yohei Yukawa 413aded600 Add a compatibility library for newly added methods in L
This CL adds an compatibility library for
InputConnection#requestCursorAnchorInfo method that is supposed to
be available in L and later.

BUG: 16382260
Change-Id: I68be0c56b9fd929546e8706ccece938ae4f33339
2014-07-18 08:30:12 +09:00
Yohei Yukawa 5bb0bff0e4 Merge "Enable StringUtils to split CharSequence like String#split" into lmp-dev 2014-07-17 21:15:46 +00:00
Yohei Yukawa eac8670830 Enable StringUtils to split CharSequence like String#split
This is a groundwork for enabling LocaleSpan.

To enable LocaleSpan everywhere, we need to switch to
CharSequence from String so that Span infromation can be
preserved end-to-end.  To achieve this, we need to have
CharSequence version of String#split.

BUG: 16029304
Change-Id: I0dd103185dcf62fb1e25054a374340790e6a4678
2014-07-19 22:47:56 +09:00
Tadashi G. Takaoka 86ca4988c2 am 3ff6fa72: am 5a5ee95f: Rename ProductionFlag to ProductionFlags
* commit '3ff6fa72fb5c27fc4936420979806ff9fd6ff44e':
  Rename ProductionFlag to ProductionFlags
2014-07-17 18:36:01 +00:00
Tadashi G. Takaoka 68fffa73b4 am 34301f69: am 6f80ed39: Merge "Rename LatinImeLogger to DebugFlags" into lmp-dev
* commit '34301f69a1e47fb6f7ee5498815dd30cad488921':
  Rename LatinImeLogger to DebugFlags
2014-07-17 18:36:00 +00:00
Tadashi G. Takaoka b2fa1a593e am 34cde781: am 0de52fa6: Merge "Use SwitchPreference for spell checker setting" into lmp-dev
* commit '34cde7817426eb2e9f20fd74cd2efc9d338409f5':
  Use SwitchPreference for spell checker setting
2014-07-17 18:35:59 +00:00
Tadashi G. Takaoka 0992dd3bd2 am 6d6c7a3b: am 7f58115a: Update Material theme colors
* commit '6d6c7a3bd7a0060dfabb5a113581b1b199dfe9b8':
  Update Material theme colors
2014-07-17 18:35:57 +00:00
Tadashi G. Takaoka 3029e5b6e0 am c97b5aec: am ddce348c: Merge "Mark Theme name text as translatable="false"" into lmp-dev
* commit 'c97b5aec5909ac5b8483a7c1405c1af2c7e01b70':
  Mark Theme name text as translatable="false"
2014-07-17 18:35:56 +00:00
Yohei Yukawa 91e7daaddf Merge "Use CharSequence for spell checker to keep spans preserved" into lmp-dev 2014-07-17 17:59:02 +00:00
Baligh Uddin 8279b9d4a9 Remove deprecated locales - DO NOT MERGE
Change-Id: I8c1efe2343eea40faf7a690518c500af86c1c323
2014-07-20 02:27:29 +00:00
Yohei Yukawa 86f36003fd Use CharSequence for spell checker to keep spans preserved
This is a ground work to take per word locale information into
consideration in the spell checker. This CL is supposed to change
no user visible behavior.

With this CL, the spell checker session is able to read span
information if necessary.

BUG: 16029304
Change-Id: Icb1e1ecdf40fe0445e14565b685b1b878b746210
2014-07-20 02:16:11 +00:00
Baligh Uddin 91bb980e55 Merge "Will have to fix the CL." 2014-07-17 17:59:02 +00:00
Baligh Uddin 352a7285ad Will have to fix the CL.
Revert "Remove deprecated locales"

This reverts commit 6a1af17d44.

Change-Id: I3f4379d14a45ab80a5ad467fa65607ae5b3e6e26
2014-07-18 17:48:37 +00:00
Baligh Uddin 6a1af17d44 Remove deprecated locales
Change-Id: Idc79704b1e4e7113f92ad425e6e2d363182a9969
2014-07-17 15:43:15 -07:00
Baligh Uddin ca391248b3 Merge "Remove deprecated locales" 2014-07-17 17:59:02 +00:00
Tadashi G. Takaoka 5a5ee95fae Rename ProductionFlag to ProductionFlags
Change-Id: I5da2dbf8828fa0e176e7c2496392a5f561ebfe20
2014-07-16 19:26:32 -07:00
Tadashi G. Takaoka 6f80ed3901 Merge "Rename LatinImeLogger to DebugFlags" into lmp-dev 2014-07-16 23:37:00 +00:00
Tadashi G. Takaoka 2dae79b196 Rename LatinImeLogger to DebugFlags
Bug: 15318007
Change-Id: Ic0268fd12865c9a692a5e7110a9beb76cb8b6d7f
2014-07-16 18:49:00 -07:00
Tadashi G. Takaoka 0de52fa68a Merge "Use SwitchPreference for spell checker setting" into lmp-dev 2014-07-16 23:30:53 +00:00
Tadashi G. Takaoka 7f58115a86 Update Material theme colors
Bug: 15782668
Bug: 15436349
Change-Id: Idbf98933e60531dbddb9450c6dbe7c4e2492cbd5
2014-07-16 14:33:23 -07:00
Tadashi G. Takaoka 53c0088d57 Use SwitchPreference for spell checker setting
This is a follow up of I1f7214c689.

Bug: 15781377
Change-Id: I7289b8b724e086da80ab3849cc567560c1a8502d
2014-07-16 12:13:51 -07:00
Tadashi G. Takaoka 39ae9ee06b Mark Theme name text as translatable="false"
Bug: 16226064
Change-Id: Ice28fc20680889a4053c5d20c88dd744a0f7297e
2014-07-15 22:54:43 -07:00
Keisuke Kuroyanagi 05c70484a2 Track crashing during migration to avoid crash loop. DO NOT MERGE.
Bug: 16213554
Bug: 16235703
Change-Id: Ib29b1a84b4c6ebae06d3dc6448f3c274ec6a7aab
(cherry picked from commit 1d6024d2f8)
2014-07-14 15:48:01 +00:00
Keisuke Kuroyanagi 3cd5801bd6 am 1d6024d2: Track crashing during migration to avoid crash loop.
* commit '1d6024d2f8051271e3c9abc1285d989114f5f1d7':
  Track crashing during migration to avoid crash loop.
2014-07-14 07:35:01 +00:00
Keisuke Kuroyanagi 1d6024d2f8 Track crashing during migration to avoid crash loop.
Bug: 16213554
Bug: 16235703
Change-Id: Ib29b1a84b4c6ebae06d3dc6448f3c274ec6a7aab
2014-07-14 16:25:55 +09:00
Tadashi G. Takaoka 8a4881d77a am a2087e66: Use SwitchPreference on API versions newer than KitKat
* commit 'a2087e66e5d392a6ffc7991959235911c92a4d80':
  Use SwitchPreference on API versions newer than KitKat
2014-07-13 05:01:03 +00:00
Tadashi G. Takaoka a2087e66e5 Use SwitchPreference on API versions newer than KitKat
Bug: 15781377
Change-Id: I1f7214c689006b1088249783eb614b6f0fbf2ee7
2014-07-13 13:11:09 +09:00
Tadashi G. Takaoka 9890bc368c am ecfc6f34: Fix wrong shift key icon in Material Light theme
* commit 'ecfc6f347ac968cb94cacd70b25bc90b4ef5fe22':
  Fix wrong shift key icon in Material Light theme
2014-07-12 04:56:42 +00:00
Tadashi G. Takaoka ecfc6f347a Fix wrong shift key icon in Material Light theme
Bug: 16208129
Change-Id: I34ba531bcdd9b18b3b84c78cf0cd9cae439ecd5d
2014-07-12 13:39:17 +09:00
Tadashi G. Takaoka 3547ff4c60 am 63fc1595: Merge "Update Material theme colors"
* commit '63fc159550a9144ae80bad52b7b4cb8944344556':
  Update Material theme colors
2014-07-11 05:24:44 +00:00
Tadashi G. Takaoka 31913a6bcf am b3bd025b: Increase CHAR LIMIT of settings title
* commit 'b3bd025b1a27a4810507f6e0792fd1ddec778f34':
  Increase CHAR LIMIT of settings title
2014-07-11 04:06:52 +00:00
Tadashi G. Takaoka b3bd025b1a Increase CHAR LIMIT of settings title
Bug: 16080988
Change-Id: I8638a26370bbe2abf5dfcd9f40200b57264f5c0b
2014-07-11 11:37:16 +09:00
Tadashi G. Takaoka 63fc159550 Merge "Update Material theme colors" 2014-07-10 21:46:42 +00:00
Tadashi G. Takaoka 509d9be21f Update Material theme colors
This CL also fixes a bug of pressed state color of suggestions strip
in Material Light theme.

Bug: 16208167
Change-Id: I4315893bd129f65f34c863b003c8b2cfab4d2d84
2014-07-11 13:09:18 +09:00
Tadashi G. Takaoka 661a3681e5 am b76e0a7e: Merge "Update Material icons and key pressed state background"
* commit 'b76e0a7e664d5350d01aa8905316806e65eb0fa5':
  Update Material icons and key pressed state background
2014-07-10 13:56:37 +00:00
Keisuke Kuroyanagi 63285120cf am b7ecb258: Merge "Remove SuggestionsGatherer."
* commit 'b7ecb258dc606774ff5792ddbe4f89751d276f89':
  Remove SuggestionsGatherer.
2014-07-10 07:39:56 +00:00
Keisuke Kuroyanagi f2067d6987 am 12e63799: Merge "Quit sorting suggestions in AndroidSpellCheckerService."
* commit '12e63799d37c21362b146df0d45449ae17d8b85f':
  Quit sorting suggestions in AndroidSpellCheckerService.
2014-07-10 07:26:57 +00:00
Tadashi G. Takaoka 42084da71d am facfd28a: Merge "Add some virama combinations and tall-a for Myanmar"
* commit 'facfd28a475b4a8369107ead340be295ca1b0358':
  Add some virama combinations and tall-a for Myanmar
2014-07-10 04:26:45 +00:00
Keisuke Kuroyanagi 242a26e825 am eff9e26b: Merge "Make spell checker use dictionary facilitator."
* commit 'eff9e26bc12a628356403ce8c4f422f2a34ac89e':
  Make spell checker use dictionary facilitator.
2014-07-10 04:07:53 +00:00
Tadashi G. Takaoka 4b435c7f99 am f9f40953: Add Material Light theme
* commit 'f9f409530ccdc975ef965b1d1fee44bbd341d718':
  Add Material Light theme
2014-07-09 23:54:33 +00:00
Tadashi G. Takaoka f9f409530c Add Material Light theme
Bug: 15782668
Change-Id: Id2ae47cfb2065d73f13701b9c6a041129dfd08ae
2014-07-10 07:43:04 +09:00
Tadashi G. Takaoka 85ca5ed45a am 8e7260a0: Merge "Update Material Dark theme"
* commit '8e7260a014f419744f3d1921b232b5efbd5d5086':
  Update Material Dark theme
2014-07-09 22:37:37 +00:00
Tadashi G. Takaoka 8e7260a014 Merge "Update Material Dark theme" 2014-07-09 18:21:26 +00:00
Tadashi G. Takaoka b76e0a7e66 Merge "Update Material icons and key pressed state background" 2014-07-09 17:48:03 +00:00
Tadashi G. Takaoka 4607e763a4 Update Material icons and key pressed state background
Bug: 16143083
Bug: 15678940
Bug: 15680164
Change-Id: I9f2527a8a536aab05d961e619e3940603024385c
2014-07-10 22:40:06 +09:00
Keisuke Kuroyanagi b7ecb258dc Merge "Remove SuggestionsGatherer." 2014-07-09 17:48:03 +00:00
Keisuke Kuroyanagi 1467fa0c26 Remove SuggestionsGatherer.
Bug: 13689011
Bug: 13630847
Change-Id: I9930d5ce9cbe16489dc69f68b9590d72afe463b5
2014-07-10 16:23:27 +09:00
Keisuke Kuroyanagi 86dee2295d Quit sorting suggestions in AndroidSpellCheckerService.
Suggestions have been sorted in SuggestionResults.

Bug: 13689011

Change-Id: Iec21e97119ceb7c71673d5b15bb1f06040b59fef
2014-07-10 16:21:31 +09:00
Keisuke Kuroyanagi 9e76304d60 Make spell checker use dictionary facilitator.
Bug: 13630847
Change-Id: I07d17ccf5ce0755f63a0b8d236d77600baaf62b6
2014-07-10 12:51:37 +09:00
Keisuke Kuroyanagi eff9e26bc1 Merge "Make spell checker use dictionary facilitator." 2014-07-09 17:48:03 +00:00
Keisuke Kuroyanagi 12e63799d3 Merge "Quit sorting suggestions in AndroidSpellCheckerService." 2014-07-09 17:22:29 +00:00
Tadashi G. Takaoka facfd28a47 Merge "Add some virama combinations and tall-a for Myanmar" 2014-07-09 17:22:29 +00:00
Yohei Yukawa 757964ae46 am fc137f35: Simplify the wrapper for TextInfo#getCharSequence
* commit 'fc137f35c8d7b03676475fbdeabdf82f89782419':
  Simplify the wrapper for TextInfo#getCharSequence
2014-07-09 14:59:20 +00:00
Yohei Yukawa fc137f35c8 Simplify the wrapper for TextInfo#getCharSequence
This CL simplifies the wrapper method for
TextInfo#getCharSequence() because in the almost all cases we want
to use the result of TextInfo#getText() as the default value.

BUG: 16029304
Change-Id: I62f987aed8ca42b093255e6c0703d6120fa01299
2014-07-09 23:52:44 +09:00
Tadashi G. Takaoka 46394af7b9 Update Material Dark theme
Bug: 15782668
Change-Id: If3f2439fe9dcd2c05514e73861777337b42273c4
2014-07-09 23:43:45 +09:00
Tadashi G. Takaoka b657c053c4 Add some virama combinations and tall-a for Myanmar
Bug: 7963632
Change-Id: I478ecdc3b7409ccd8dc729da28ad4816a2eda75e
2014-07-09 17:41:56 +09:00
Tadashi G. Takaoka 0e55009324 am 36713e57: Fix alphabet label of Kannada and Telugu
* commit '36713e5782dee0d82a28de5fddd2427a9c000089':
  Fix alphabet label of Kannada and Telugu
2014-07-09 07:17:08 +00:00
Tadashi G. Takaoka 36713e5782 Fix alphabet label of Kannada and Telugu
Bug: 10029252
Bug: 10028759
Change-Id: Iea9cc1b7cafa97280503b0236b005cea57ba2c3d
2014-07-09 15:52:03 +09:00
Tadashi G. Takaoka 212c0b3d61 am d5f32b38: Add Telugu keyboard
* commit 'd5f32b38f507cf0f4e3ceed5a360f6f809ada3c6':
  Add Telugu keyboard
2014-07-09 02:31:32 +00:00
Tadashi G. Takaoka 8b8cfa3832 am 03aa084c: Add Kannada keyboard
* commit '03aa084ccd9d7c542711051ec1c50e0de43f1d8d':
  Add Kannada keyboard
2014-07-09 02:31:31 +00:00
Tadashi G. Takaoka d5f32b38f5 Add Telugu keyboard
Bug: 10028759
Change-Id: Id1bf030a9928124ead695aa7bf76db48ca58de4b
2014-07-09 02:36:15 +09:00
Tadashi G. Takaoka 03aa084ccd Add Kannada keyboard
Bug: 10029252
Change-Id: Ia03ff886f9e62a2fe228fe59b504b033eead7631
2014-07-09 01:44:04 +09:00
Tadashi G. Takaoka cad342c128 am cc8f4491: Merge "Add Malayalam keyboard"
* commit 'cc8f4491e3f1cc956002397f8e04ed023fb20c5c':
  Add Malayalam keyboard
2014-07-08 16:05:52 +00:00
Yohei Yukawa 86a1112a7a am e81ef9d3: Merge "Add a compatibility utility class for TextInfo"
* commit 'e81ef9d360319b2de5e31e874f5d5c6b2d195579':
  Add a compatibility utility class for TextInfo
2014-07-08 15:05:44 +00:00
Tadashi G. Takaoka 327acf8921 am a315903f: Remove unnecessary autoXScale flag
* commit 'a315903fb135ab2f96a6199d1bf2aa47e4a4e7bb':
  Remove unnecessary autoXScale flag
2014-07-08 13:13:01 +00:00
Tadashi G. Takaoka a315903fb1 Remove unnecessary autoXScale flag
Change-Id: I4385a53e9e8ec1e3902aafd4113d339ad7471b6f
2014-07-08 22:07:08 +09:00
Tadashi G. Takaoka 70937a9c9d am 074e9812: Merge "Add Tamil keyboard"
* commit '074e9812eea43bfa562d5bac8b5611ccf403000f':
  Add Tamil keyboard
2014-07-08 10:10:05 +00:00
Tadashi G. Takaoka 2496d1bfd3 am 63ccbf1c: Merge "Update Bengali keyboard to add a few vowel signs"
* commit '63ccbf1cf4bdad3f788617a5e5f8c7871cbdd4b3':
  Update Bengali keyboard to add a few vowel signs
2014-07-08 10:10:04 +00:00
Tadashi G. Takaoka 1bbddbc15c am 68cacede: Use bn-rIN resource directory for Bengali (India)
* commit '68caceded4e053ecffdba23f177231bfa613c4f6':
  Use bn-rIN resource directory for Bengali (India)
2014-07-08 10:10:02 +00:00
Tadashi G. Takaoka 68caceded4 Use bn-rIN resource directory for Bengali (India)
Bug: 10028755
Change-Id: I552ad3b30d359b79c48cde4912d796c532b42b51
2014-07-08 18:47:22 +09:00
Tadashi G. Takaoka c9d1babb0f am 9cb19b1b: Merge "Remove unused keyPreviewIcon attributes"
* commit '9cb19b1bcad1326bbbeb97f62a0f7d0f443bc147':
  Remove unused keyPreviewIcon attributes
2014-07-08 08:54:22 +00:00
Keisuke Kuroyanagi bd7f621d57 am 3b8f2ece: Merge "Move phrase gesture from additional features to public."
* commit '3b8f2ece4073017b8fd16371b95e6200ec7803ee':
  Move phrase gesture from additional features to public.
2014-07-08 07:53:47 +00:00
Tadashi G. Takaoka 1598e15db6 am 1c9e9ecd: Fix Armenian comma on phone device
* commit '1c9e9ecdfbe0822b8eba2b5db8e21ef852252238':
  Fix Armenian comma on phone device
2014-07-08 07:14:54 +00: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 9fe0622b6a Import translations. DO NOT MERGE
Change-Id: I7fba964237530581b75e288182810549aa982ce1
Auto-generated-cl: translation import
2014-07-07 19:14:38 +00:00
Baligh Uddin e877c0a6d0 Import translations. DO NOT MERGE
Change-Id: I6f0ed155b5f490133af1958b06eefb9ba5d511b8
Auto-generated-cl: translation import
2014-07-07 19:14:09 +00:00
Baligh Uddin 34c7c7cc55 Merge "Import translations. DO NOT MERGE" 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 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 63ccbf1cf4 Merge "Update Bengali keyboard to add a few vowel signs" 2014-07-02 21:09:42 +00:00
Tadashi G. Takaoka af2e0a5697 Update Bengali keyboard to add a few vowel signs
Bug: 10028755
Change-Id: Ia0b8624470c5b0667a3d7267d3cf8d4c937b0b0c
2014-07-08 18:29:56 +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
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
Tadashi G. Takaoka cc8f4491e3 Merge "Add Malayalam keyboard" 2014-07-02 20:35:42 +00:00
Tadashi G. Takaoka 59e795ca3f Add Malayalam keyboard
Bug: 10417006
Change-Id: Ieb03fe1f08c85417b5d9ad4d62c8a5bc6d0632bc
2014-07-08 23:42:01 +09:00
Baligh Uddin 1965d906a4 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-07-02 20:06:33 +00:00
Baligh Uddin cc5e4f89bd Import translations. DO NOT MERGE
Change-Id: I2e1c87e4c0d388ed5d885667e4d36253b3f33e34
Auto-generated-cl: translation import
2014-07-07 06:44:27 -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
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
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 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
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 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
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 733ec699cd Add a compatibility utility class for TextInfo
This is a groundwork for enabling LocaleSpan support in spell
checker service. TextInfo#getCharSequence is supposed to be
available in API Level 21 and later. We need some abstraction
layer as usual.

BUG: 16029304
Change-Id: Iafbf2877db393dbd040295c21d429334e3a13a5f
2014-07-08 14:10:12 +00:00
Tadashi G. Takaoka 074e9812ee Merge "Add Tamil keyboard" 2014-07-02 19:52:36 +00:00
Tadashi G. Takaoka b5696b4f67 Add Tamil keyboard
Bug: 9978106
Change-Id: I226e640fe453076063121176121ed5923d1ccfa1
2014-07-08 18:05:07 +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
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
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