Commit Graph

11375 Commits (e433fb599b068e1df975646f3fad97763d6f8c9f)

Author SHA1 Message Date
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
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
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
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 7967d56c87 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-06-28 00:04:48 +00:00
Baligh Uddin 581ff4b2e7 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-06-27 16:52:20 +00:00
Baligh Uddin 03f37db40e Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-06-27 16:52:20 +00:00
Baligh Uddin 967936306e Merge "Import translations. DO NOT MERGE" 2014-06-27 15:56:14 +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 4a61232f8b Merge "Import translations. DO NOT MERGE" 2014-06-28 00:04:48 +00:00
Ken Wakasa 18c51e4a7b am 92223c04: Merge "Revert "Move getPrevWordsInfoFromNthPreviousWord to StringUtlis.""
* commit '92223c04deaf9d915ade4da70d8b707591fd3b4c':
  Revert "Move getPrevWordsInfoFromNthPreviousWord to StringUtlis."
2014-06-27 15:13:18 +00:00
Jean Chalard f179e80483 am 593009bc: Merge "[SD2] Add support for a new tag Feature in KeyboardLayoutSet"
* commit '593009bc9fa40b9e4adb3cbe8b2f86019bfdaf8a':
  [SD2] Add support for a new tag Feature in KeyboardLayoutSet
2014-06-27 14:06:07 +00:00
Mikhail Naganov 940a402cd2 am 938bb4a4: Revert "Use Settings app\'s theme for L and later"
* commit '938bb4a4d50114eb741a128f7a75d50f1af55869':
  Revert "Use Settings app's theme for L and later"
2014-06-27 13:00:26 +00:00
Mikhail Naganov 938bb4a4d5 Revert "Use Settings app's theme for L and later"
This reverts commit 80c47b2f79.

Change-Id: I69619bd9856d4133794597a0cf81cc121e3a7887
2014-06-27 12:56:17 +00:00
Tadashi G. Takaoka 5b75bb86ee am 80c47b2f: Use Settings app\'s theme for L and later
* commit '80c47b2f7961a5a8de1c6ec5751c04d15d42122a':
  Use Settings app's theme for L and later
2014-06-27 10:22:27 +00:00
Tadashi G. Takaoka c1bf759dd5 am d966c072: Merge "Support performAccessibilityAction for CLICK and LONG_CLICK"
* commit 'd966c0727fc7706b2ed28e09cd323f79236292c8':
  Support performAccessibilityAction for CLICK and LONG_CLICK
2014-06-27 10:22:25 +00:00
Tadashi G. Takaoka 80c47b2f79 Use Settings app's theme for L and later
This CL must be checked in together with I506b9ae6ea.

Bug: 11866784
Change-Id: I00aa90618642758c783f7c92f162dc2ee16659a6
2014-06-27 10:18:18 +00:00
Keisuke Kuroyanagi a1923ce777 am 1a2f3c44: Merge "Move getPrevWordsInfoFromNthPreviousWord to StringUtlis."
* commit '1a2f3c4433d154c07c5017066c5dfe0f0070d520':
  Move getPrevWordsInfoFromNthPreviousWord to StringUtlis.
2014-06-27 09:29:50 +00:00
Jean Chalard c60b6f21b9 am ffb086c1: Merge "Don\'t override application-specified completions"
* commit 'ffb086c18df1f1a03be5cc9860de224d94138c50':
  Don't override application-specified completions
2014-06-27 09:11:37 +00:00
Keisuke Kuroyanagi eb85cdce36 am 17c5a388: Merge "Find multiple previous word information to support n-gram."
* commit '17c5a388d6ada4dc395b52e56f8b18d63eebb863':
  Find multiple previous word information to support n-gram.
2014-06-27 09:11:36 +00:00
Tadashi G. Takaoka c1d0d17891 am c9c3ea0b: Merge "Remove redundant override methods and extended classes"
* commit 'c9c3ea0b68a1bad1febb7532fa941b430a1b941a':
  Remove redundant override methods and extended classes
2014-06-27 07:38:09 +00:00
Tadashi G. Takaoka 6bd59885ee am 8f70552a: Add preliminary subtypes disabled for L-preview
* commit '8f70552a21f5e2387d3fbc0f7f569c2a2a8464d6':
  Add preliminary subtypes disabled for L-preview
2014-06-27 07:38:08 +00:00
Tadashi G. Takaoka 8f70552a21 Add preliminary subtypes disabled for L-preview
Bug: 13966540
Bug: 13779052
Bug: 10028772
Bug: 7963632
Change-Id: Ieec809f2d391e90b1ec547a3a89e929db47a5ed1
2014-06-27 16:26:23 +09:00
Tadashi G. Takaoka 6fc93f990f am 5a9ccbbe: Merge "Add Sinhala keyboard layout"
* commit '5a9ccbbef1080339f60fce039021133b0005d57c':
  Add Sinhala keyboard layout
2014-06-27 07:20:34 +00:00
Jean Chalard b9683c0b9c am bd5192ae: Merge "Add a relevant suggestion to period-checkable requests"
* commit 'bd5192ae260c3f462c36d7eefe76d9517b3528d5':
  Add a relevant suggestion to period-checkable requests
2014-06-27 06:52:24 +00:00
Jean Chalard 1c07da6127 am 3698facb: Merge "Update the Spanish dictionary"
* commit '3698facbd56b3a8280545c7253ab130137f65f95':
  Update the Spanish dictionary
2014-06-27 06:52:23 +00:00
Tadashi G. Takaoka 617ce71b79 am 79beb223: Merge "Refactor keyboard accessibility delegate classes"
* commit '79beb223fccdc81d48026ab5d620626264e75bb1':
  Refactor keyboard accessibility delegate classes
2014-06-27 06:16:02 +00:00
Jean Chalard bf589d352f am ee5c0325: [CS5] Use a local var to keep the first suggestion
* commit 'ee5c032557ab3629babbacc1e52f1a6d1cd8d844':
  [CS5] Use a local var to keep the first suggestion
2014-06-27 04:08:48 +00:00
Jean Chalard ee5c032557 [CS5] Use a local var to keep the first suggestion
Bug: 13238601
Change-Id: Ida8973945e8b141d01ea9d1825b89d84f0911575
2014-06-27 12:59:44 +09:00
Baligh Uddin a45889fc21 Import translations. DO NOT MERGE
Change-Id: I6c420e3dd4a97a1b7590c52bdd60c54e6e00f4de
Auto-generated-cl: translation import
2014-06-26 18:13:23 -07:00
Baligh Uddin a707ddd15d Import translations. DO NOT MERGE
Change-Id: If61b1a8ff95e3495119f09535a4e672ad0205b28
Auto-generated-cl: translation import
2014-06-26 18:12:46 -07:00
Baligh Uddin 0e2c6a01bc Import translations. DO NOT MERGE
Change-Id: I2403c927d69e510a4ca2053041d80bfd9777471e
Auto-generated-cl: translation import
2014-06-26 18:10:08 -07:00
Baligh Uddin c642b2ea12 Import translations. DO NOT MERGE
Change-Id: I04080143953d7ebe1e1fbc68ca33b937903617d4
Auto-generated-cl: translation import
2014-06-26 18:08:54 -07:00
Baligh Uddin 141957bac5 Import translations. DO NOT MERGE
Change-Id: I4c6ef95873ed739c15f4ebee4d0aadb1186437d5
Auto-generated-cl: translation import
2014-06-26 18:07:13 -07:00
Baligh Uddin eec3183d20 Import translations. DO NOT MERGE
Change-Id: I664e4afdb71b6b040ac34dc1d47b5e75e3888e88
Auto-generated-cl: translation import
2014-06-26 18:03:02 -07:00
Baligh Uddin fe95b77d07 Import translations. DO NOT MERGE
Change-Id: Ib104dd45e237575dc8c5117ec26ecaa79c276c07
Auto-generated-cl: translation import
2014-06-26 18:02:10 -07:00
Jean Chalard 3f7ddde4e6 Merge "Update dictionaries" 2014-06-26 23:19:11 +00:00
Jean Chalard bb0d93c4b0 Update dictionaries
>>> dictionaries/es_wordlist.combined.gz
Header :
  date : 1403847862 <=> 1404131686
  version : 48 <=> 49
Body :
Added: apurate 50
Added: bondi 50
Added: chamuyar 50
Added: conocela 50
Added: conocelo 50
Added: conoceme 50
Added: conocenos 50
Added: conocete 50
Added: copate 50
Added: creele 50
Added: creeme 50
Added: creenos 50
Added: creete 50
Added: creiste 50
Added: creés 50
Added: dale 50
Added: dame 50
Added: danos 50
Added: decile 50
Added: decime 50
Added: decinos 50
Added: estate 50
Added: hablale 50
Added: hablales 50
Added: hablame 50
Added: hablanos 50
Added: hablate 50
Added: hablá 50
Added: hacele 50
Added: haceme 50
Added: hacenos 50
Added: hacete 50
Added: hacés 50
Added: llegás 50
Added: llevale 50
Added: llevame 50
Added: llevanos 50
Added: llevate 50
Added: llevá 50
Added: llevás 50
Added: parecé 50
Added: parecés 50
Added: pasala 50
Added: pasale 50
Added: pasales 50
Added: pasalo 50
Added: pasame 50
Added: pasanos 50
Added: pasate 50
Added: pasás 50
Added: podés 50
Added: ponele 50
Added: poneme 50
Added: ponenos 50
Added: ponete 50
Added: quedá 50
Added: querela 50
Added: querelo 50
Added: quereme 50
Added: querenos 50
Added: querete 50
Added: querés 50
Added: rascate 50
Added: sabelo 50
Added: sabés 50
Added: tenele 50
Added: teneme 50
Added: tenenos 50
Added: tenete 50
Added: tenés 50

>>> java/res/raw/main_es.dict
Header :
  date : 1403847862 <=> 1404131686
  version : 48 <=> 49
Body :
Same changes

Bug: 8010862
Change-Id: I98fc8542e21e35a7c80b332148c461144425e61a
2014-07-01 18:19:30 +09:00
Jean Chalard 943e91ffbd Merge "[SD6] Inline a constant and remove logic become useless" 2014-06-26 23:19:11 +00:00
Jean Chalard b6695867a5 [SD6] Inline a constant and remove logic become useless
Bug: 15840116
Change-Id: I545cc9083aa4e2fd7cbbd1fbc02e1e382482db7c
2014-07-01 14:34:53 +09:00
Jean Chalard c8094c463b Merge "[SD6] Inline a constant and remove logic become useless" 2014-06-26 23:19:11 +00:00
Jean Chalard 2a5824a63b [SD6] Inline a constant and remove logic become useless
Bug: 15840116
Change-Id: I04b9d6bd45d9e806c268fa8ecb4653f8af729095
2014-06-30 21:58:55 +09:00
Jean Chalard 1d30023961 [SD5] Remove useless args
Bug: 15840116
Change-Id: Ib3380cfc9d343c6f8953bba03af3801142bc3bdb
2014-06-30 21:58:55 +09:00
Jean Chalard 4db7da92f2 Merge "[SD3] Forward the script ID to where it will be used" 2014-06-26 23:19:11 +00:00
Jean Chalard 35c37dbef8 [SD3] Forward the script ID to where it will be used
Bug: 15840116
Change-Id: If2073e76fed74ae6e1cdd7670013e0e985b0e630
2014-06-27 21:18:42 +09:00
Jean Chalard aca2ef85e1 [SD2] Add support for a new tag Feature in KeyboardLayoutSet
Bug: 15840116
Change-Id: I3abbe4ce1ae573e9c5f1a8a96dc0056e8889d507
2014-06-27 20:51:48 +09:00
Tadashi G. Takaoka d966c0727f Merge "Support performAccessibilityAction for CLICK and LONG_CLICK" 2014-06-26 23:19:11 +00:00
Tadashi G. Takaoka 1e31672295 Support performAccessibilityAction for CLICK and LONG_CLICK
Bug: 15727335
Change-Id: I83274c1a9d3cf2e8237d1674fe915b7b2d222a53
2014-06-27 19:01:56 +09:00
Tadashi G. Takaoka c9c3ea0b68 Merge "Remove redundant override methods and extended classes" 2014-06-26 23:19:11 +00:00
Jean Chalard 3698facbd5 Merge "Update the Spanish dictionary" 2014-06-26 23:19:11 +00:00
Jean Chalard a70b710c9d Update the Spanish dictionary
>>> dictionaries/es_wordlist.combined.gz
Header :
  date : 1403153360 <=> 1403847862
  version : 47 <=> 48
Body :
Added: bañate 30
Added: correte 30
Added: duchate 30
Added: mostrame 40
Added: muestrame 40
Added: prestame 40
Added: sos 100

>>> java/res/raw/main_es.dict
Header :
  date : 1403153360 <=> 1403847862
  version : 47 <=> 48
Body :
Added: bañate 30
Added: correte 30
Added: duchate 30
Added: mostrame 40
Added: muestrame 40
Added: prestame 40
Added: sos 100

Bug: 8010862
Change-Id: I0a478b5fd5edfadea420f306dc9b2d98876c246e
2014-06-27 14:56:29 +09:00
Jean Chalard b10ca308af Merge "[HW4] Move a reference to WordComposer out of LatinIME" 2014-06-26 23:14:58 +00:00
Jean Chalard 08c01ea8a8 [HW4] Move a reference to WordComposer out of LatinIME
Change-Id: I5436432c0da86ed1e33b3c9d40204f4ea013ff55
2014-07-01 18:21:17 +09:00
Jean Chalard 3afbac8cb7 Merge "[HW2] Have a script for hardware keyboard" 2014-06-26 23:14:58 +00:00
Jean Chalard 5f6c303f0b [HW2] Have a script for hardware keyboard
Change-Id: I3ee85867c529156374ecc17db3243a50912e760b
2014-07-01 13:37:36 +09:00
Ken Wakasa 87d907bda9 Merge "Revert "[SD5] Remove useless args"" 2014-06-26 23:14:58 +00:00
Ken Wakasa 7eef5d3ff4 Revert "[SD5] Remove useless args"
This reverts commit 1d30023961 that broke the build.

Bug: 15840116
Change-Id: I0a5fa7dea2b418d19df24b2b31ed96bf192d45c0
2014-07-01 03:23:14 +00:00
Ken Wakasa 92223c04de Merge "Revert "Move getPrevWordsInfoFromNthPreviousWord to StringUtlis."" 2014-06-26 23:14:58 +00:00
Ken Wakasa 4569a734ad Revert "Move getPrevWordsInfoFromNthPreviousWord to StringUtlis."
This reverts commit ba463c9a66 that broke the dicttool build.

Bug: 14425059
Change-Id: Ie1685587104d26e4416624747c97f6087c13388a
2014-06-27 15:07:07 +00:00
Keisuke Kuroyanagi ba463c9a66 Move getPrevWordsInfoFromNthPreviousWord to StringUtlis.
Bug: 14425059
Change-Id: I3eb24e840c165e43f68c2a60fccf9974affb57a6
2014-06-27 18:08:17 +09:00
Keisuke Kuroyanagi 1c2f1ada83 Find multiple previous word information to support n-gram.
Bug: 14425059

Change-Id: Ieace636334a9b2a094527341d4fcfc05958296c5
2014-06-27 17:59:21 +09:00
Keisuke Kuroyanagi 17c5a388d6 Merge "Find multiple previous word information to support n-gram." 2014-06-26 23:14:58 +00:00
Jean Chalard bd5192ae26 Merge "Add a relevant suggestion to period-checkable requests" 2014-06-26 23:14:58 +00:00
Jean Chalard e530fffc2c Add a relevant suggestion to period-checkable requests
Bug: 15412461
Change-Id: Ibf37df4d31141a7e43b54d6342e7861eedb1c03b
2014-06-27 12:52:23 +09:00
Tadashi G. Takaoka 79beb223fc Merge "Refactor keyboard accessibility delegate classes" 2014-06-26 23:14:58 +00:00
Ken Wakasa 0100a49bdd Merge "[HW5] Make the word composer package private." 2014-06-26 23:14:30 +00:00
Jean Chalard 28ebbd481a [HW5] Make the word composer package private.
Change-Id: I66ed277751272eb3ae2fd5e55e9f3e413970082f
2014-07-01 18:21:17 +09:00
Jean Chalard e063e1b218 Merge "Fix a unit test" 2014-06-26 23:14:30 +00:00
Jean Chalard fa4c59f9b6 Fix a unit test
When switching languages, we need to wait until the dictionary is
loaded to compute suggestions.

Change-Id: I7c32a900b297cd6302bfdc020842581315f3007f
2014-07-01 18:19:11 +09:00
Ken Wakasa 35605db9a4 Merge "Revert "[SD6] Inline a constant and remove logic become useless"" 2014-06-26 23:14:30 +00:00
Ken Wakasa f84573c0b3 Revert "[SD6] Inline a constant and remove logic become useless"
This reverts commit 2a5824a63b that broke the build.

Bug: 15840116
Change-Id: Ife11050394f3ed90e39d835b92732e1b6af83249
2014-07-01 03:22:15 +00:00
Jean Chalard 256243dd03 Merge "[SD5] Remove useless args" 2014-06-26 23:14:30 +00:00
Baligh Uddin 09e3684144 Merge "Import translations. DO NOT MERGE" 2014-06-30 14:43:31 +00: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 fce0f55d27 Merge "Import translations. DO NOT MERGE" 2014-06-27 15:56:14 +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
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
Baligh Uddin 53824ce737 Import translations. DO NOT MERGE
Change-Id: Ie644aea041d7b76637651958b612671f694c21f7
Auto-generated-cl: translation import
2014-06-30 04:06:31 -07:00
Baligh Uddin 3a14b17f1f Merge "Import translations. DO NOT MERGE" 2014-06-27 16:52:20 +00:00
Baligh Uddin 7db3ec389e Import translations. DO NOT MERGE
Change-Id: Id284e91e7646cf2eac64540a1ec8f7f99b8bd8d1
Auto-generated-cl: translation import
2014-06-30 04:08:55 -07:00
Baligh Uddin 2e2ba693e9 Merge "Import translations. DO NOT MERGE" 2014-06-27 15:56:14 +00:00
Baligh Uddin d258241d35 Import translations. DO NOT MERGE
Change-Id: I0f0e7af0c8697932912fbf8681af86683d82925e
Auto-generated-cl: translation import
2014-06-30 04:12:10 -07:00
Baligh Uddin b84b41af76 Merge "Import translations. DO NOT MERGE" 2014-06-27 16:52:20 +00:00
Baligh Uddin a4c19c241e Import translations. DO NOT MERGE
Change-Id: I31e29f587071c9c8a3d167efbf111c1aa3011b3e
Auto-generated-cl: translation import
2014-06-30 04:13:11 -07:00
Jean Chalard 593009bc9f Merge "[SD2] Add support for a new tag Feature in KeyboardLayoutSet" 2014-06-26 23:14:30 +00:00
Keisuke Kuroyanagi 1a2f3c4433 Merge "Move getPrevWordsInfoFromNthPreviousWord to StringUtlis." 2014-06-26 23:14:30 +00:00
Jean Chalard ffb086c18d Merge "Don't override application-specified completions" 2014-06-26 23:14:30 +00:00
Jean Chalard e2744c6384 Don't override application-specified completions
...for any given input.
This is not necessarily the best fix, but it's simple and
it works well enough.

Bug: 15869703
Change-Id: I54b262be8bdbec37031dea655c60a5573b3d8ec3
2014-06-27 17:31:08 +09:00
Tadashi G. Takaoka 5a9ccbbef1 Merge "Add Sinhala keyboard layout" 2014-06-26 23:14:30 +00:00
Tadashi G. Takaoka 00da6ee5e8 Add Sinhala keyboard layout
Bug: 6911143
Change-Id: I9ff87ece3e68381c0e9855106e7320c227f09965
2014-06-27 16:16:30 +09:00
Keisuke Kuroyanagi 6529e4445a am 67f863f4: Merge "Extend jni method to use multiple previous words."
* commit '67f863f4cbbbf76b7c4acea43cbed69cd3e58aba':
  Extend jni method to use multiple previous words.
2014-06-26 09:53:42 +00:00
Jean Chalard c2bae0e2d1 am c0748a19: Fix the build
* commit 'c0748a19909d8863f54ae0482bf1614421f19dd8':
  Fix the build
2014-06-26 09:50:27 +00:00
Keisuke Kuroyanagi 05b1e0d42f Extend jni method to use multiple previous words.
Bug: 14425059
Change-Id: I8150e8812ee32f8c713315a234b52e5b3a79d7a0
2014-06-26 18:47:25 +09:00
Jean Chalard c0748a1990 Fix the build
That was a merge not well resolved by git >.>

Change-Id: I3cd042d6a5206daf1e9942358405d647c67423dd
2014-06-26 18:44:54 +09:00
Jean Chalard 3c31a060b1 am 310bb2c7: Merge "[HW1] Fix some bugs with event handling"
* commit '310bb2c76f0a7a5cf97b47d029096d6296cdfd0b':
  [HW1] Fix some bugs with event handling
2014-06-26 09:34:18 +00:00
Jean Chalard 520605ea31 am 90759f2a: Merge "[CS4] Remove useless tests and processing"
* commit '90759f2ab77e9bb6a47b59e6de89318516a65393':
  [CS4] Remove useless tests and processing
2014-06-26 09:34:17 +00:00
Jean Chalard ab594877d0 am 8d3d0f3b: Merge "[SD1] Move script-related methods to a new utils class."
* commit '8d3d0f3b847359929bc5cfb90aff077c0c9e6854':
  [SD1] Move script-related methods to a new utils class.
2014-06-26 09:31:02 +00:00
Keisuke Kuroyanagi 95b5b1d1d6 am d58a0766: Merge "Rename jni method for n-gram supporting."
* commit 'd58a07666e9b38086c6486f95ac2d8e8e8eeb955':
  Rename jni method for n-gram supporting.
2014-06-26 06:11:12 +00:00
Keisuke Kuroyanagi 9a5275c001 am 6c7cebde: Fix build.
* commit '6c7cebdefb8a15e9468c3e8f30dc361cee509074':
  Fix build.
2014-06-26 05:55:19 +00:00
Keisuke Kuroyanagi 6c7cebdefb Fix build.
Change-Id: I5c6c0a9098c5a228ed82b208aa6f237a41f2f6cc
2014-06-26 14:42:40 +09:00
Keisuke Kuroyanagi 007185857b am 92827b07: Merge "Make PrevWordsInfo have multiple words\' information."
* commit '92827b0712f8afecb4800a4137470ba64cd0c505':
  Make PrevWordsInfo have multiple words' information.
2014-06-26 05:08:34 +00:00
Keisuke Kuroyanagi 8000869191 am 52076549: Merge "Make Beginning-of-Sentence prediction require two exposures."
* commit '520765491cbfcb8d2e66ee5c492a66eb8a726a74':
  Make Beginning-of-Sentence prediction require two exposures.
2014-06-26 05:02:15 +00:00
Tadashi G. Takaoka adba09b54e Remove redundant override methods and extended classes
Bug: 15727335
Change-Id: Icea09f0643e7aeb8e722e473ad322f7439c3497a
2014-06-24 22:31:43 -07:00
Tadashi G. Takaoka 3d8848e5cb Refactor keyboard accessibility delegate classes
Bug: 15727335
Change-Id: I1aa79a6f7f8cf14bacec391c016a5d1c553eea24
2014-06-24 22:14:07 -07:00
Baligh Uddin f10be64750 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-06-25 01:45:50 +00:00
Baligh Uddin 30f505e39c Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-06-25 01:36:21 +00:00
Baligh Uddin 3505aaa05a Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-06-25 01:41:07 +00:00
Baligh Uddin 6e034fe6db Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-06-25 01:41:07 +00:00
Jean Chalard a3f7a5840a Don't commit a space before it's actually needed
Bug: 15740318
Change-Id: Idad06cb2c18335a981d5e9dea7eccf5e7ea8f701
2014-06-25 10:37:06 +09:00
Jean Chalard 90759f2ab7 Merge "[CS4] Remove useless tests and processing" 2014-06-24 01:59:00 +00:00
Jean Chalard b740886aeb [CS4] Remove useless tests and processing
Since we have a de-duped and transformed collection, we
can just read from it instead of computing it separately.

Bug: 13238601
Change-Id: I0aa4b0d91d3b350f9449e13658bfb587fc538764
2014-06-26 18:26:08 +09:00
Keisuke Kuroyanagi 67f863f4cb Merge "Extend jni method to use multiple previous words." 2014-06-24 01:52:26 +00:00
Jean Chalard 310bb2c76f Merge "[HW1] Fix some bugs with event handling" 2014-06-24 01:52:26 +00:00
Jean Chalard 09291050a0 [HW1] Fix some bugs with event handling
With hardware events, we do have some events that
have both a keycode and a code point, so we need
a better way of distinguishing between auto-insert
keystrokes and others.

Change-Id: Ia23042989b4dca9d3a7d4a4c06bcebdabe324a7a
2014-06-26 18:27:53 +09:00
Keisuke Kuroyanagi d58a07666e Merge "Rename jni method for n-gram supporting." 2014-06-24 01:52:26 +00:00
Keisuke Kuroyanagi 83b6ee2538 Rename jni method for n-gram supporting.
Bug: 14425059
Change-Id: I242d1de5d9db37344f02d8fba9035829794a56c8
2014-06-25 14:14:40 +09:00
Keisuke Kuroyanagi e708b1bc2e Make PrevWordsInfo have multiple words' information.
Bug: 14425059
Change-Id: I2bd6a872904a44b80f638a13d91a97559217cc1a
2014-06-25 14:14:37 +09:00
Keisuke Kuroyanagi 92827b0712 Merge "Make PrevWordsInfo have multiple words' information." 2014-06-24 01:52:26 +00:00
Keisuke Kuroyanagi 0aef59746c Make Beginning-of-Sentence prediction require two exposures.
Bug: 15868192
Change-Id: I4b577ad11c992d872d6f902fd50527d9ca5cc1ba
2014-06-25 20:20:44 +09:00
Jean Chalard 8d3d0f3b84 Merge "[SD1] Move script-related methods to a new utils class." 2014-06-24 01:46:27 +00:00
Jean Chalard 289299bf66 [SD1] Move script-related methods to a new utils class.
Bug: 15840116
Change-Id: I3a2a9c41e40590c0116c7885a49c6fa308ed8f44
2014-06-26 18:24:11 +09:00
Jean Chalard 53f23234e3 Merge "[CS3.5] Small correction" 2014-06-24 01:46:27 +00:00
Jean Chalard c82257ba6e [CS3.5] Small correction
Bug: 13238601
Change-Id: I7bd82a4678d8bf88f16bf271f20be8d37f9b97d7
2014-06-24 18:26:51 +09:00
Jean Chalard d700e59700 Merge "Some cleanup to accommodate a fix" 2014-06-24 01:59:00 +00:00
Jean Chalard 132bdd079c Merge "[CS3] Move transformation of words to earlier" 2014-06-24 01:52:26 +00:00
Baligh Uddin de7ec1c612 Merge "Import translations. DO NOT MERGE" 2014-06-25 01:41:07 +00:00
Baligh Uddin 9c9e160959 Merge "Import translations. DO NOT MERGE" 2014-06-25 01:36:21 +00:00
Baligh Uddin c1d0475778 Merge "Import translations. DO NOT MERGE" 2014-06-25 01:41:07 +00:00
Baligh Uddin 4190a731d3 Merge "Import translations. DO NOT MERGE" 2014-06-25 01:41:07 +00:00
Baligh Uddin 32fd6258ed Merge "Import translations. DO NOT MERGE" 2014-06-25 01:41:07 +00:00
Keisuke Kuroyanagi dc6ee3a63f Merge "Enable beginning-of-sentence prediction." 2014-06-24 01:46:27 +00:00
Keisuke Kuroyanagi 2725cc17d7 Enable beginning-of-sentence prediction.
Bug: 14119293
Change-Id: I23c407f0afed0ae4af290a1195b0e3bbcd5af8d7
2014-06-24 12:37:09 +09:00
Keisuke Kuroyanagi 88fa47a27d Support migration/dump of Beginning-of-Sentence entries.
Bug: 14119293
Change-Id: Ie975138f819794d5c34a7a547be5a6117050e084
2014-06-24 12:37:07 +09:00
Keisuke Kuroyanagi 702e153fbc Merge "Support migration/dump of Beginning-of-Sentence entries." 2014-06-24 01:59:00 +00:00
Jean Chalard a1d518ca88 Merge "[CS2] Refactor a bit removeDups" 2014-06-24 01:46:27 +00:00
Baligh Uddin 8516d66b0b Import translations. DO NOT MERGE
Change-Id: I6d824eeea4f280e95759941ec1a578fb1eb2bfd8
Auto-generated-cl: translation import
2014-06-23 16:49:52 -07:00
Baligh Uddin eb7823a7d9 Import translations. DO NOT MERGE
Change-Id: I117fe1d6df1b98952742f752a7563beff0ead9ff
Auto-generated-cl: translation import
2014-06-23 16:49:23 -07:00
Baligh Uddin 5a59674811 Import translations. DO NOT MERGE
Change-Id: Ie50a708fba21fb8a1e15198a0c245a31f591c7a7
Auto-generated-cl: translation import
2014-06-23 16:46:57 -07:00
Baligh Uddin 7935168fe0 Import translations. DO NOT MERGE
Change-Id: If13ae42ea56b4248b0299494108f23aa8eb00dcb
Auto-generated-cl: translation import
2014-06-23 16:45:48 -07:00
Baligh Uddin aa7c761131 Import translations. DO NOT MERGE
Change-Id: I2657bfd35dc8a68d9597b0e56ffc191e990f7a15
Auto-generated-cl: translation import
2014-06-23 16:44:25 -07:00
Baligh Uddin a1e724d379 Import translations. DO NOT MERGE
Change-Id: I5652dc8b608a121e61f0ec09761d06b510eeaf31
Auto-generated-cl: translation import
2014-06-23 16:42:54 -07:00
Baligh Uddin a6bfeb61f8 Import translations. DO NOT MERGE
Change-Id: I68a51ccca191187978bd53688242c798fa61b480
Auto-generated-cl: translation import
2014-06-23 16:42:05 -07:00
Baligh Uddin ddacf14449 Import translations. DO NOT MERGE
Change-Id: Idaf037b28db1442b074f2dea4ab59ebdfd9fd9d4
Auto-generated-cl: translation import
2014-06-23 16:40:42 -07:00
Baligh Uddin f173450165 Import translations. DO NOT MERGE
Change-Id: I2c941ad15c0ca2f237d14740a62ae5a1f7833dd3
Auto-generated-cl: translation import
2014-06-23 16:40:04 -07:00
Tadashi G. Takaoka d92204b56a Merge "Reorganize Keyboard settings screen" 2014-06-23 21:50:10 +00:00
Tadashi G. Takaoka 058c6c6491 Reorganize Keyboard settings screen
This CL must be checked in together with Ie45df15b18.

Bug: 11866784
Change-Id: I44d6ceb45108be135e3eaa361f4ee2c83f04fb57
2014-06-23 18:46:09 -07:00
Tadashi G. Takaoka 84405d2a68 Fix some comments and rename method and parameter names
This is a follow up change of I12139a925d and I0ac92c56bd

Change-Id: Id6e9f4434fddd5d4274e06da5063606c2ffad932
2014-06-23 13:56:50 -07:00
Jean Chalard 1ec3f158d2 [CS3] Move transformation of words to earlier
Bug: 13238601
Change-Id: I37fe66c6152cdf8c60878d5619bb5dc41f3223df
2014-06-23 22:58:52 +09:00
Jean Chalard fdebf4005f [CS2] Refactor a bit removeDups
This way is more understandable, and also supporting an
external string is helping for future refactorings

Bug: 13238601
Change-Id: I4ebeed46eb0b35011164946af71ac257c6449ddb
2014-06-23 22:58:46 +09:00
Jean Chalard debe0dacbd Some cleanup to accommodate a fix
Also, this double tests for CODE_SPACE in the path going through
maybeDoubleSpacePeriod, but that's temporary.

Bug: 15740318
Change-Id: I0a6ace09cc791f0009157d3017675b9b3eb92145
2014-06-23 22:51:45 +09:00
Jean Chalard e83e79cb05 [CS1] Some initial clean up
Bug: 13238601
Change-Id: I54ee9a85ecfee3c50c8db3eb4cd6f391a775a630
2014-06-23 22:19:09 +09:00
Jean Chalard 7d6bc4d063 Merge "[CS1] Some initial clean up" 2014-06-19 22:58:18 +00:00
Ken Wakasa ffc843550c Merge "Revert "Reorganize Keyboard settings screen"" 2014-06-19 22:58:18 +00:00
Ken Wakasa e6a57bc82e Revert "Reorganize Keyboard settings screen"
This reverts commit 339929ba16.

Bug: 11866784
Bug: 13888366
Bug: 15781377

This doesn't build with LOCAL_SDK_VERSION := 19 for UnbundledLatinImeGoogle.

Change-Id: Idf8bd335b076152265f245f578dadf651e291878
2014-06-23 11:20:25 +00:00
Tadashi G. Takaoka 339929ba16 Reorganize Keyboard settings screen
This CL must be checked in together with I6ebfbeb4e8.

Bug: 11866784
Bug: 15781377
Bug: 13888366
Change-Id: I57d47ab174d03121a604fd0dbf553795de0ab9b8
2014-06-22 22:37:26 -07:00
Tadashi G. Takaoka 593fe9b0cf Merge "Add click and long click actions to key node info" 2014-06-20 21:00:34 +00:00
Tadashi G. Takaoka d4b6af14d8 Add click and long click actions to key node info
This CL adds ACTION_CLICK or ACTION_LONG_CLICK actions to a key node
info. But report a node info without these actions for the same key
while hovering to avoid announcement "double tap to select and double
tap and hold to long press".

Bug: 15727335
Change-Id: I1e9333c94c819d049bda81ad410299f5a509d29c
2014-06-20 18:25:25 -07:00
Tadashi G. Takaoka d801b6ee66 Populate accessibility root node info of keyboard
Partially reverting Ie033d21ef8 to populate root node info.

This CL also fixes the bounds in screen of virtual node info.

Bug: 15746768
Bug: 15582251
Change-Id: I3a82f904270adf138036ef462fd70b349a3cd33e
2014-06-20 14:32:16 -07:00
Keisuke Kuroyanagi d2e566f999 Fix unit tests by adding @UsedForTesting.
Change-Id: I62ec07210817295f59a174383ee4b33cc4fc2ca6
2014-06-20 16:27:46 +09:00
Tadashi G. Takaoka e9d12c9f74 Merge "Refactor drawing preview classes" 2014-06-20 02:09:17 +00:00
Keisuke Kuroyanagi 9bbc3aa02a Merge "Move variables for I/O of a jni method to traverse session." 2014-06-19 22:55:19 +00:00
Tadashi G. Takaoka 294afba81f Merge "Reorganize Keyboard settings screen" 2014-06-21 03:15:09 +00:00
Tadashi G. Takaoka 496fd77850 Merge "Custom view for key preview popup" 2014-06-20 21:00:34 +00:00
Tadashi G. Takaoka 615f431465 Custom view for key preview popup
Bug: 15143928
Change-Id: I12411b9b5b9611ec089e4967def9b5c19a2367c7
2014-06-23 01:07:59 -07:00
Jean Chalard 7008406385 Merge "Update dictionaries" 2014-06-19 22:58:18 +00:00
Jean Chalard 75bc45cb12 Update dictionaries
>>> dictionaries/es_wordlist.combined.gz
Header :
  date : 1401802362 <=> 1403153360
  version : 45 <=> 47
Body :
Added: grandísimo 30

>>> java/res/raw/main_es.dict
Header :
  date : 1401802362 <=> 1403153360
  version : 45 <=> 47
Body :
Added: grandísimo 30

Bug: 15719556
Change-Id: Ifaa97d40d52a278e41f4dd1292781494d4eb939b
2014-06-23 16:56:00 +09:00
Tadashi G. Takaoka a74719c934 Fix dismissing more keys panel when hiding keyboard
This issue was introduced by Id7002ecb7f.

Bug: 15809493
Change-Id: Iaa51b7f40a54ccbafb45c6444d8bbd21c671f7af
2014-06-22 22:21:39 -07:00
Keisuke Kuroyanagi f73769c638 Merge "Remove word from personalized dicts when it's canceled." 2014-06-19 22:55:19 +00:00
Keisuke Kuroyanagi 0fbca1ac23 Remove word from personalized dicts when it's canceled.
Bug: 15555552
Bug: 15552347
Change-Id: Ia4d8c79d079e3ce233d46d4bbad4fff1be5c5c39
2014-06-20 14:46:13 +09:00
Tadashi G. Takaoka 0f6f5b1fdc Merge "Disable empty suggestion word on the suggestions strip" 2014-06-20 02:04:45 +00:00
Tadashi G. Takaoka ae42cd7e43 Disable empty suggestion word on the suggestions strip
It should be disabled when it is empty. But should be enabled even
when it is empty with accessibility exploration on to avoid announcing
"disabled".

Note that this CL may not be able to handle "suspending talk back"
state correctly. It should be handled by registering
TouchExplorationStateChangeListener that is available from API 19.

Bug: 15738513
Bug: 14849593
Change-Id: Id9ad89f770840f74a106f53833060407b20c1e24
2014-06-19 19:22:02 -07:00
Tadashi G. Takaoka 58c1fae507 Merge "Dismiss more keys panel when hiding window" 2014-06-20 02:15:46 +00:00
Adam Lesinski 753d43a299 Do not generate ids in the android package
A new AAPT change will have AAPT fail when an app tries
to add resources to an external package such as android.

Change-Id: I02e31481b5ea2d13a27b5b06fc4d0f8777551572
2014-06-19 16:00:16 -07:00
Tadashi G. Takaoka b80fb09ff8 Dismiss more keys panel when hiding window
Bug: 15727301
Change-Id: Id7002ecb7f4eea7be3505f6f0235074264418221
2014-06-19 11:42:32 -07:00
Tadashi G. Takaoka f49e975740 Clear suggestions strip if a suggestion engine isn't attached
Bug: 15709298
Change-Id: I1b3fff3152960d85060149727d7a3422fea8a0bd
2014-06-18 18:47:34 -07:00
Tadashi G. Takaoka 7fb630b2a8 Refactor drawing preview classes
Change-Id: I0779caa720e3013f055ab48900bed223747b3952
2014-06-18 18:16:21 -07:00
Tadashi G. Takaoka 03288ef47f Refactor MoreKeysKeyboard.Builder a bit
Change-Id: I12139a925d59bb467df629cebc61423d61db1d2d
2014-06-18 18:06:17 -07:00
Tadashi G. Takaoka d89a34b0a1 Merge "Hide voice input key from URI, Email, Number, and Phone layout" 2014-06-19 00:17:11 +00:00
Tadashi G. Takaoka 0351b81632 Hide voice input key from URI, Email, Number, and Phone layout
Bug: 15709298
Change-Id: I05d9433d4e1c2cc475a2136cc97bc32bde6fc745
2014-06-18 18:44:27 -07:00
Tadashi G. Takaoka 3ff72dd0da Consolidate 3 public methods of key preview into one
Change-Id: I0ac92c56bdb636998f7f5e20fba6830b4ac435fa
2014-06-18 10:05:59 -07:00
Baligh Uddin bf13ed7ee1 Merge "Import translations. DO NOT MERGE" 2014-06-17 21:43:29 +00:00
Baligh Uddin f84cd65856 Merge "Import translations. DO NOT MERGE" 2014-06-19 14:48:39 +00:00
Baligh Uddin 99dfbec7df Import translations. DO NOT MERGE
Change-Id: I841ec06f6139c801c485f6266cf33bc134989c8c
Auto-generated-cl: translation import
2014-06-18 18:48:24 -07:00
Baligh Uddin 2d7531e84f Import translations. DO NOT MERGE
Change-Id: I9b6feb04d2c2b974fd96a45e74016f892401e099
Auto-generated-cl: translation import
2014-06-18 18:44:05 -07:00
Keisuke Kuroyanagi 162f529e93 Move variables for I/O of a jni method to traverse session.
Bug: 15008504
Change-Id: I3e59bc856c1df0e1afe3b42d024620ca1745837b
2014-06-17 17:50:32 +09:00
Keisuke Kuroyanagi 4c45fff240 Merge "Fix: NPE when initializing AOSP keyboard." 2014-06-16 23:18:50 +00:00
Keisuke Kuroyanagi 34ed5b0742 Fix: NPE when initializing AOSP keyboard.
Bug: 15677822
Change-Id: Ibebb215a08795482c0f1eef965db06af57558906
2014-06-17 09:33:37 +09:00