Commit Graph

12903 Commits (d17ba35e53ca1b33e2254920d96c45cb23ab0bb7)

Author SHA1 Message Date
Tadashi G. Takaoka ca9e970c7c am 7defe926: am 4a782da3: am f145fff0: Merge "Fix NPE when pressing ALT key" into lmp-dev
* commit '7defe926ca0eed2a18665cd0e4bf2ec305a03879':
  Fix NPE when pressing ALT key
2014-08-25 09:10:40 +00:00
Yohei Yukawa 8787d7f154 am 4587b135: am 2d508203: am 8681287c: Fix build due to an illegal character
* commit '4587b135be7f184bdf60f8e4113e81070ce2d825':
  Fix build due to an illegal character
2014-08-25 09:10:38 +00:00
Yohei Yukawa 34439d70e2 am 8c7daa82: am 02716083: am 5eebaddc: Merge "Dismiss "Add to dictionary" hint with non-special char event" into lmp-dev
* commit '8c7daa829a3a81b3a803048d7af82383a8b48aed':
  Dismiss "Add to dictionary" hint with non-special char event
2014-08-25 09:10:37 +00:00
Yohei Yukawa aa19b7d304 am a5687ee9: am b65a1e46: am 2c4cce8d: Merge "Introduce #shouldShowAddToDictionaryHint" into lmp-dev
* commit 'a5687ee9f7c3eff7eb8b97ebfb12fc1d93b9e41c':
  Introduce #shouldShowAddToDictionaryHint
2014-08-25 09:10:35 +00:00
Tadashi G. Takaoka 4cc44f9f62 am ef7c701e: am 129af927: am 5e7a6fe0: Merge "Fix the bottom row of tablet keyboard layout" into lmp-dev
* commit 'ef7c701e72d9ccc735ce77829cb55cf46ed25339':
  Fix the bottom row of tablet keyboard layout
2014-08-25 09:10:34 +00:00
Yohei Yukawa 9a0b9aba64 am f6f55add: am e0d00803: am 4a71d2c4: Allow to add/remove background color to/from the committed text
* commit 'f6f55add175bcd37710764afd05052974167bd1d':
  Allow to add/remove background color to/from the committed text
2014-08-25 09:10:32 +00:00
Yohei Yukawa 3d057b402d am c06c6e42: am 7d146cdb: am cd6ef9a8: Indroduce SuggestedWords#getTypedWordInfoOrNull
* commit 'c06c6e42ad24e02a5433dcb44dba452d1cfb3f4f':
  Indroduce SuggestedWords#getTypedWordInfoOrNull
2014-08-25 09:10:31 +00:00
Tadashi G. Takaoka 7defe926ca am 4a782da3: am f145fff0: Merge "Fix NPE when pressing ALT key" into lmp-dev
* commit '4a782da382b83164ea5c23c771b771e73bbe31b3':
  Fix NPE when pressing ALT key
2014-08-25 08:25:42 +00:00
Yohei Yukawa 4587b135be am 2d508203: am 8681287c: Fix build due to an illegal character
* commit '2d508203c64f50ed47fb87c24ae5ebbfb0610a36':
  Fix build due to an illegal character
2014-08-25 08:25:35 +00:00
Yohei Yukawa 8c7daa829a am 02716083: am 5eebaddc: Merge "Dismiss "Add to dictionary" hint with non-special char event" into lmp-dev
* commit '02716083158c3affbcfc719ff6471112d7397578':
  Dismiss "Add to dictionary" hint with non-special char event
2014-08-25 08:25:34 +00:00
Yohei Yukawa a5687ee9f7 am b65a1e46: am 2c4cce8d: Merge "Introduce #shouldShowAddToDictionaryHint" into lmp-dev
* commit 'b65a1e46ce06adc462dfc4cbde302ac27a79b695':
  Introduce #shouldShowAddToDictionaryHint
2014-08-25 08:25:33 +00:00
Tadashi G. Takaoka ef7c701e72 am 129af927: am 5e7a6fe0: Merge "Fix the bottom row of tablet keyboard layout" into lmp-dev
* commit '129af92713c59016d13b957e55ce089984ccc4e8':
  Fix the bottom row of tablet keyboard layout
2014-08-25 08:25:32 +00:00
Yohei Yukawa f6f55add17 am e0d00803: am 4a71d2c4: Allow to add/remove background color to/from the committed text
* commit 'e0d00803087ac2f873332d43a78453c068633545':
  Allow to add/remove background color to/from the committed text
2014-08-25 08:25:31 +00:00
Yohei Yukawa c06c6e42ad am 7d146cdb: am cd6ef9a8: Indroduce SuggestedWords#getTypedWordInfoOrNull
* commit '7d146cdbe86692f153fb5b7f781f701a8c04050d':
  Indroduce SuggestedWords#getTypedWordInfoOrNull
2014-08-25 08:25:24 +00:00
Jean Chalard 908f0ed154 Introduce onEvent() to improve testability
...and prepare for the future

Change-Id: Ieed96ab552993fd148e80b9c3355f1b569bd716f
2014-08-25 16:33:47 +09:00
Tadashi G. Takaoka 19dd34a023 Show view even when IME is explicitly shown with physical keyboard
Bug: 17242477
Bug: 13988700
Change-Id: I519c0481760a9aa93a5d9bee68e0f6a3a8fc4d9d
2014-08-25 16:28:44 +09:00
Tadashi G. Takaoka f145fff085 Merge "Fix NPE when pressing ALT key" into lmp-dev 2014-08-25 06:52:36 +00:00
Keisuke Kuroyanagi 9cbf814cb5 Get dynamic dict stats via DictionaryFacilitator
Bug: 16553957
Change-Id: Ida08ceaf34708daed52d61b3d5adfbdb48e42c71
2014-08-25 15:19:48 +09:00
Tadashi G. Takaoka ad1f880811 Fix NPE when pressing ALT key
Bug: 17203708
Change-Id: I4f203603496e9401dacba4db21372e3353916418
2014-08-25 15:08:27 +09:00
Jean Chalard adfb74a41e am dc442604: Merge "Revert "Revert "[ML1] Introduce RichInputMethodSubtype"""
* commit 'dc44260484a27d360c48daa069e7f3b7c07d12a2':
  Revert "Revert "[ML1] Introduce RichInputMethodSubtype""
2014-08-25 05:30:53 +00:00
Jean Chalard dc44260484 Merge "Revert "Revert "[ML1] Introduce RichInputMethodSubtype""" 2014-08-25 05:24:28 +00:00
Jean Chalard 85ddfe1317 Revert "Revert "[ML1] Introduce RichInputMethodSubtype""
This reverts commit a63d0a8ee6.

This patch seems to be fine after all, but was submitted without its companion [ML1.1] patch causing a build breakage. Reverting the revert and submitting both at the same time seems like the right thing to do.

Change-Id: Ib8fefa40b74dcee0edb025a52dac9b35c82d49df
2014-08-25 04:42:15 +00:00
Yohei Yukawa 8681287cd6 Fix build due to an illegal character
Change-Id: I597ab26db70387b80ddcd7d51de6ae751380030d
2014-08-24 21:14:41 -07:00
Yohei Yukawa 5eebaddccb Merge "Dismiss "Add to dictionary" hint with non-special char event" into lmp-dev 2014-08-25 04:08:56 +00:00
Yohei Yukawa 2c4cce8d6c Merge "Introduce #shouldShowAddToDictionaryHint" into lmp-dev 2014-08-25 04:05:56 +00:00
Yohei Yukawa ebc1509039 Introduce #shouldShowAddToDictionaryHint
This is a groundwork for subsequent CLs where we need to
call this method from multiple places. This CL does not
change any existing behaviors.

Change-Id: Id8fa0360305d7383571edffab6752b2240367cf9
2014-08-24 20:59:30 -07:00
Tadashi G. Takaoka 5e7a6fe098 Merge "Fix the bottom row of tablet keyboard layout" into lmp-dev 2014-08-25 03:45:35 +00:00
Tadashi G. Takaoka c9aa1beb6d Fix the bottom row of tablet keyboard layout
This CL eliminates "_" and "/" keys from the bottom row of tablet
keyboard.  This CL also reorganizes the bottom row of tablet Dvorak
keyboard.

Bug: 16603887
Change-Id: Ic1570836dea1a475bed5d43aeb6a351507bf5428
2014-08-25 12:34:58 +09:00
Yohei Yukawa 034c326078 Dismiss "Add to dictionary" hint with non-special char event
This CL slightly extends the condition when "Add to dictionary"
hint is dismissed.

With this CL, "Add to dictionary hint" will be dismissed by any
non-special char event. This is more comfortable especially if
we start using more intrusive UIs such as indicator and/or
background color with the text hint in the suggestion strip.

Change-Id: I2ea0fa40d9c6663ebf5d5439be3eca2a2cbd5166
2014-08-24 20:32:22 -07:00
Yohei Yukawa 4a71d2c480 Allow to add/remove background color to/from the committed text
This is a groundwork for subsequent CLs where we need to
add/remove background color to/from the commited text.

In this CL, we use Spanned#SPAN_COMPOSING so that we can easily
remove such a background color by calling
InputConnection#finishComposingText. To make this operation easy
and realiable, we need to track whether we have specified the
background color to the commited text or not at one place. Here
we use RichInputConnection for this purpose.

Change-Id: I5f9bc4425c5d1b80a719a20e5baf336729ec08d2
2014-08-24 20:28:24 -07:00
Yohei Yukawa cd6ef9a8b1 Indroduce SuggestedWords#getTypedWordInfoOrNull
This is a groundwork for subsequent CLs whith need to
do certain things for and only for the typed word.

Change-Id: I374b79cbc79470f57f523c996010301ea5701a61
2014-08-24 16:32:17 -07:00
Baligh Uddin 19a7012db5 Merge "Import translations. DO NOT MERGE" 2014-08-22 18:29:52 +00:00
Baligh Uddin bf32c26578 Merge "Import translations. DO NOT MERGE" 2014-08-22 18:29:52 +00:00
Baligh Uddin dafd54f055 Merge "Import translations. DO NOT MERGE" 2014-08-22 18:29:48 +00:00
Baligh Uddin f1d070eae2 Merge "Import translations. DO NOT MERGE" 2014-08-22 18:29:48 +00:00
Baligh Uddin e11effa538 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-08-22 18:29:46 +00:00
Baligh Uddin 7bf6d900b9 Merge "Import translations. DO NOT MERGE" 2014-08-22 18:29:42 +00:00
Tadashi G. Takaoka 4c09217b31 am 56087650: am cc4d21df: am 2637be27: Support Accept typed word UI
* commit '560876508f7ad9ea618697268a8e8cb70ddf5e82':
  Support Accept typed word UI
2014-08-22 14:36:41 +00:00
Tadashi G. Takaoka 560876508f am cc4d21df: am 2637be27: Support Accept typed word UI
* commit 'cc4d21df7b08c3143dd1c4af786609a279a0bb79':
  Support Accept typed word UI
2014-08-22 14:27:26 +00:00
Tadashi G. Takaoka 2637be27c5 Support Accept typed word UI
Change-Id: I58e95b2791a45afdc7dae8e26dcfc200b3b4b854
2014-08-22 21:25:35 +09:00
Jean Chalard 9df7e3b8e9 am 6c638d1b: Merge "Revert "[ML1] Introduce RichInputMethodSubtype""
* commit '6c638d1bbdd4b1b8d49531ef41d337bd3ccbec32':
  Revert "[ML1] Introduce RichInputMethodSubtype"
2014-08-22 09:48:39 +00:00
Jean Chalard 6c638d1bbd Merge "Revert "[ML1] Introduce RichInputMethodSubtype"" 2014-08-22 09:41:46 +00:00
Jean Chalard a63d0a8ee6 Revert "[ML1] Introduce RichInputMethodSubtype"
This reverts commit 8ffe4bc932.

Change-Id: I9d4c98b0adfdb78b0f4d376f7691e50d1bd2228f
2014-08-22 09:40:27 +00:00
Yohei Yukawa bf55d9f0e6 am eb99b461: am 96db9222: am cabb66e9: follow-up to API change in I4a577bfd02b37b
* commit 'eb99b461f03a48317598289ab12ea30a617c537c':
  follow-up to API change in I4a577bfd02b37b
2014-08-22 09:35:57 +00:00
Yohei Yukawa eb99b461f0 am 96db9222: am cabb66e9: follow-up to API change in I4a577bfd02b37b
* commit '96db9222c2c8c728498751221cc92664676dd4f0':
  follow-up to API change in I4a577bfd02b37b
2014-08-22 09:26:22 +00:00
Keisuke Kuroyanagi 901964eb81 am e2ebd5d6: Merge "Add ExpandableBinaryDictionary#getDictionaryStats()."
* commit 'e2ebd5d6211d9eecfc6a18505a5041f3c374bab7':
  Add ExpandableBinaryDictionary#getDictionaryStats().
2014-08-22 09:11:43 +00:00
Jean Chalard 32abc692a5 am 395d7787: Merge "Revert "[HW17] Straighten the dead char implementation.""
* commit '395d7787396d80dd56934d0f4f85062b1a391e02':
  Revert "[HW17] Straighten the dead char implementation."
2014-08-22 09:05:45 +00:00
Keisuke Kuroyanagi e2ebd5d621 Merge "Add ExpandableBinaryDictionary#getDictionaryStats()." 2014-08-22 09:05:18 +00:00
Jean Chalard 395d778739 Merge "Revert "[HW17] Straighten the dead char implementation."" 2014-08-22 08:20:28 +00:00
Jean Chalard 5bfd661b38 Revert "[HW17] Straighten the dead char implementation."
This reverts commit c6612ff051.

Change-Id: I750d9bff9cb89a6ab13af7a33567c3a0fe2af381
2014-08-22 08:16:28 +00:00
Jean Chalard 543efa296e am f429d8f1: Merge "[ML1] Introduce RichInputMethodSubtype"
* commit 'f429d8f138d7e9aed8cdae774bfc8854025d3a40':
  [ML1] Introduce RichInputMethodSubtype
2014-08-22 07:49:11 +00:00
Jean Chalard f429d8f138 Merge "[ML1] Introduce RichInputMethodSubtype" 2014-08-22 07:42:29 +00:00
Jean Chalard 01d9955e8a am 1b34985d: Merge "[HW17] Straighten the dead char implementation."
* commit '1b34985dcfb118eb06f3e286e5a160cd4aaddd6c':
  [HW17] Straighten the dead char implementation.
2014-08-22 07:39:39 +00:00
Jean Chalard 8ffe4bc932 [ML1] Introduce RichInputMethodSubtype
Bug: 11230254
Change-Id: Ic7a1bf938a5a186dcff527b556295aba2406e8b9
2014-08-22 16:34:27 +09:00
Jean Chalard 1b34985dcf Merge "[HW17] Straighten the dead char implementation." 2014-08-22 07:33:31 +00:00
Mohammadinamul Sheik 07f4bcdd4a am 698b19ef: Pass a new argument to StatsUtils.
* commit '698b19ef35d1d865943ec9d9ee05f8f0e66dc3f8':
  Pass a new argument to StatsUtils.
2014-08-22 07:11:28 +00:00
Mohammadinamul Sheik 698b19ef35 Pass a new argument to StatsUtils.
Change-Id: I61e32c7a455a273e8daf9a5487d7969923802488
Bug: 17013677
2014-08-22 15:58:45 +09:00
Jean Chalard c6612ff051 [HW17] Straighten the dead char implementation.
This now supports all cases, including cases not supported by
the framework.

Change-Id: I9dfbe2829c28c5bcb64b0b5a2551e7806990c00f
2014-08-22 15:55:32 +09:00
Yohei Yukawa cabb66e9bc follow-up to API change in I4a577bfd02b37b
BUG: 17182367
BUG: 17185263
Change-Id: Id54ca29c191b9752fa82ffe5a960113b2e97e5c1
2014-08-21 21:39:15 -07:00
Keisuke Kuroyanagi 6f2ddddb5b Add ExpandableBinaryDictionary#getDictionaryStats().
Bug: 16553957
Change-Id: I05866624d0ba9f32ea7a71cb231ba501dde4376c
2014-08-22 12:02:40 +09:00
Yohei Yukawa 722b76bbbd am 5a96395b: am 8cbc37f2: am 8e2fcaa3: Merge "Use FrameLayout for the backing view" into lmp-dev
* commit '5a96395b78df7e201c580515ec9f54609a474a2d':
  Use FrameLayout for the backing view
2014-08-21 18:47:00 +00:00
Yohei Yukawa 5a96395b78 am 8cbc37f2: am 8e2fcaa3: Merge "Use FrameLayout for the backing view" into lmp-dev
* commit '8cbc37f2c803fe5854237434742845a7b8ee32b9':
  Use FrameLayout for the backing view
2014-08-21 18:38:12 +00:00
Yohei Yukawa 8e2fcaa334 Merge "Use FrameLayout for the backing view" into lmp-dev 2014-08-21 18:06:07 +00:00
Tadashi G. Takaoka 462db77683 am ebec5e13: Merge "Add Hinglish (hi_ZZ) subtype"
* commit 'ebec5e13383e4810b07e0cdbe10022e3ddb9c0d3':
  Add Hinglish (hi_ZZ) subtype
2014-08-21 10:30:04 +00:00
Tadashi G. Takaoka ebec5e1338 Merge "Add Hinglish (hi_ZZ) subtype" 2014-08-21 10:22:17 +00:00
Tadashi G. Takaoka d6696ae78b Add Hinglish (hi_ZZ) subtype
Bug: 17169632
Change-Id: Ibee088d76c2b19f1d62a3c9c119452726e856ec8
2014-08-21 19:12:25 +09:00
Keisuke Kuroyanagi dee3227422 am 68a52c12: Merge "Update FormatSpec.java"
* commit '68a52c124579008ae7793eabb5644833203fa2ed':
  Update FormatSpec.java
2014-08-21 09:57:17 +00:00
Keisuke Kuroyanagi 68a52c1245 Merge "Update FormatSpec.java" 2014-08-21 09:50:38 +00:00
Keisuke Kuroyanagi c7b6393535 Update FormatSpec.java
Change-Id: I27d14697f931c9511420a459c49312ea6e10c366
2014-08-21 17:23:11 +09:00
Yohei Yukawa e0d33c2dce am b8337e72: am 2834ddf1: am b9768702: Merge "Use #onStartInputInternal to initialize cursor rect retrieval" into lmp-dev
* commit 'b8337e7232693b848fe7559050bf427f74b98fbe':
  Use #onStartInputInternal to initialize cursor rect retrieval
2014-08-20 15:58:42 +00:00
Yohei Yukawa b8337e7232 am 2834ddf1: am b9768702: Merge "Use #onStartInputInternal to initialize cursor rect retrieval" into lmp-dev
* commit '2834ddf1a0c9bea38569429f90bdf7526ba8fa22':
  Use #onStartInputInternal to initialize cursor rect retrieval
2014-08-20 15:52:48 +00:00
Yohei Yukawa 499c5412e2 am 3cf13d12: am 17aeaa75: am fa39ffcf: Support more methods in the wrapper of CursorAnchorInfo
* commit '3cf13d126791206c3c17295247cc659791e6ad1b':
  Support more methods in the wrapper of CursorAnchorInfo
2014-08-20 05:10:56 +00:00
Yohei Yukawa 3cf13d1267 am 17aeaa75: am fa39ffcf: Support more methods in the wrapper of CursorAnchorInfo
* commit '17aeaa75780591f1bf7fefcc887869fd90c88a9f':
  Support more methods in the wrapper of CursorAnchorInfo
2014-08-20 05:04:07 +00:00
Ken Wakasa b7725bbb74 am 9be350bc: Merge "Abolish source code overlay and inroduce overridable src dir"
* commit '9be350bc218a8d57b5ac083e0ca9114dd9fbf761':
  Abolish source code overlay and inroduce overridable src dir
2014-08-20 02:18:04 +00:00
Yohei Yukawa b9768702fa Merge "Use #onStartInputInternal to initialize cursor rect retrieval" into lmp-dev 2014-08-20 01:43:56 +00:00
Yohei Yukawa 9f4f6681a9 Use #onStartInputInternal to initialize cursor rect retrieval
This CL simply moves the method calls of #requestCursorAnchorInfo
into #onStartInputInternal just to consolidate the logic.

Change-Id: Ia205738b9614e9ae375c1dab767a91d2e1f6d0d3
2014-08-21 00:21:57 +09:00
Yohei Yukawa fa39ffcf84 Support more methods in the wrapper of CursorAnchorInfo
This CL add more compatibility wrapper methods for
CursorAnchorInfo.

This CL also adds more utility functions and types into
CompatUtils to reduce explict cast operations.

Change-Id: Id50165b552bbf28b832a6da13bf06eedcd2a190e
2014-08-20 09:27:22 +09:00
Keisuke Kuroyanagi d256844190 am ffaa9c2a: Merge "Add language to PersonalizationDataChunk."
* commit 'ffaa9c2a713aacc0b511baac70629921835512bd':
  Add language to PersonalizationDataChunk.
2014-08-19 10:29:32 +00:00
Baligh Uddin 8fb9874470 Import translations. DO NOT MERGE
Change-Id: I3cae3b62faf27fea8cc7c24051ac18f415934399
Auto-generated-cl: translation import
2014-08-18 23:15:21 -07:00
Baligh Uddin 2b250a1174 Import translations. DO NOT MERGE
Change-Id: I9d51675746cc1b3987f2c7a2469a3deced820e69
Auto-generated-cl: translation import
2014-08-18 23:14:04 -07:00
Baligh Uddin 4db3101111 Import translations. DO NOT MERGE
Change-Id: I454789b30f68eec6bb26550cd1aeae3d9195a20a
Auto-generated-cl: translation import
2014-08-18 23:11:21 -07:00
Baligh Uddin 0c4679699f Import translations. DO NOT MERGE
Change-Id: Iacc87d9f13f21de7584cd5028527ec59c7c12802
Auto-generated-cl: translation import
2014-08-18 23:09:41 -07:00
Baligh Uddin 71673204f0 Import translations. DO NOT MERGE
Change-Id: Ieef69130fa6f1f9c9f95a8f308175fbec470af86
Auto-generated-cl: translation import
2014-08-18 23:08:37 -07:00
Baligh Uddin a549f99dcc Import translations. DO NOT MERGE
Change-Id: I0b7fb1fc18139ff80343703ab7a6caa2166fa519
Auto-generated-cl: translation import
2014-08-18 23:07:30 -07:00
Yohei Yukawa 907825548b Use FrameLayout for the backing view
If we render our UI around the composing text in the fullscreen
mode, probably we need to have our views under
android.R.id.extractArea, which is implemented as FrameLayout.
Therefore, using FrameLayout for the backing view makes it easy
to simplify the code between normal mode and full screen mode.

Change-Id: I69533b22d9d1368ad906dc5ef7be1a1b674d10b8
2014-08-19 14:04:35 +09:00
Jean Chalard 47c80605e6 am 8adf5e8a: Have the "add to dictionary" hint display the right word
* commit '8adf5e8a70a9153094d1e51587c91a96d7c5888f':
  Have the "add to dictionary" hint display the right word
2014-08-18 12:00:41 +00:00
Jean Chalard 8adf5e8a70 Have the "add to dictionary" hint display the right word
Before this, we display the word we have committed instead
of the word we will actually insert into the personal dictionary.
There is a difference when the word was typed with auto-caps.

Bug: 17071785
Change-Id: I2bfec0402b1307934590a78ab5c25104d92b75ca
2014-08-18 20:43:40 +09:00
Yohei Yukawa 230a73a1d6 am fd8f1cf1: am 4617bf56: am b7a227b9: Merge "Use RelativeLayout for the backing view" into lmp-dev
* commit 'fd8f1cf1bde09008ace309d8fb925e69df10c676':
  Use RelativeLayout for the backing view
2014-08-16 14:13:06 +00:00
Yohei Yukawa fd8f1cf1bd am 4617bf56: am b7a227b9: Merge "Use RelativeLayout for the backing view" into lmp-dev
* commit '4617bf563f69047bfceb580477fae8c23c9b39f4':
  Use RelativeLayout for the backing view
2014-08-16 14:10:16 +00:00
Yohei Yukawa e260d62e0f am c9240d28: am 18ac3c8a: am 16a43d2b: Let the backing view cover the entire content area
* commit 'c9240d280c2a49ed09069be36a0e3dae05ac0e69':
  Let the backing view cover the entire content area
2014-08-16 14:07:14 +00:00
Yohei Yukawa c9240d280c am 18ac3c8a: am 16a43d2b: Let the backing view cover the entire content area
* commit '18ac3c8afd06c237a2935abad130aa3b99b5004b':
  Let the backing view cover the entire content area
2014-08-16 14:02:21 +00:00
Yohei Yukawa b7a227b93b Merge "Use RelativeLayout for the backing view" into lmp-dev 2014-08-16 04:32:18 +00:00
Ken Wakasa c37205f5ab Merge "DO NOT MERGE: Abolish source code overlay and introduce overridable src dir" into lmp-dev 2014-08-16 04:25:55 +00:00
Ken Wakasa 0b3e48fb50 DO NOT MERGE: Abolish source code overlay and introduce overridable src dir
This should make IDEs happy with appropriate source code directory
selection.

Change-Id: Ic734bd4d20aa050c688a3158b1a382ae0ac18991
(cherry picked from commit fb74ab15c1)
2014-08-20 02:56:09 +00:00
Ken Wakasa 9be350bc21 Merge "Abolish source code overlay and inroduce overridable src dir" 2014-08-16 04:15:21 +00:00
Keisuke Kuroyanagi ffaa9c2a71 Merge "Add language to PersonalizationDataChunk." 2014-08-16 04:12:14 +00:00
Keisuke Kuroyanagi e66d59e6d8 Add language to PersonalizationDataChunk.
Bug: 16547557
Change-Id: I11b82667631cbd5263cc08ccb304fc97bf692050
2014-08-19 18:27:34 +09:00
Yohei Yukawa 1a1c5e0f60 Use RelativeLayout for the backing view
RelativeLayout allows the IME to place its UI element at an
arbitrary position on the backing view.

Change-Id: Ib40d2111f56d8f38007e37c6c47536db3f0bef75
2014-08-16 12:34:01 +09:00
Yohei Yukawa 16a43d2bd9 Let the backing view cover the entire content area
With this CL, the backing view starts covering the content area
entirely.  This allows the IME to render its UI elements at an
arbitrary position on the screen.

Change-Id: I8b4173410931b776964dddf66de2fe247e51d9de
2014-08-16 12:28:13 +09:00
Ken Wakasa fb74ab15c1 Abolish source code overlay and inroduce overridable src dir
This should make IDEs happy with appropriate source code directory
selection.

bug: 16829244
Change-Id: Ic734bd4d20aa050c688a3158b1a382ae0ac18991
2014-08-16 03:37:54 +09:00
Baligh Uddin 36f3ba6db0 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-08-15 08:11:59 +00:00
Baligh Uddin ef0808e705 Merge "Import translations. DO NOT MERGE" 2014-08-15 04:31:42 +00:00
Baligh Uddin 5655187ae9 Merge "Import translations. DO NOT MERGE" 2014-08-15 04:31:42 +00:00
Baligh Uddin 94eeb915d0 Merge "Import translations. DO NOT MERGE" 2014-08-15 08:11:59 +00:00
Baligh Uddin 4ebfec72ab Merge "Import translations. DO NOT MERGE" 2014-08-15 04:31:42 +00:00
Jean Chalard 670644b2f1 am 3dbc3ece: am e04c8b10: am b8d76477: Add the input style to SuggestedWords.
* commit '3dbc3ece2614cb9d694e2f1d9607accd5eac7fc4':
  Add the input style to SuggestedWords.
2014-08-14 18:13:33 +00:00
Jean Chalard 3dbc3ece26 am e04c8b10: am b8d76477: Add the input style to SuggestedWords.
* commit 'e04c8b10d7876effbfdf2340a1fec6bf368c3409':
  Add the input style to SuggestedWords.
2014-08-14 18:10:05 +00:00
Jean Chalard b8d764772b Add the input style to SuggestedWords.
Change-Id: I81f37d08659d449822b027d3d5912e11eec8b8ff
2014-08-14 17:53:04 +09:00
Tadashi G. Takaoka b6df2af44a am af078ce7: am 1901c331: am a94c89e0: Use light emoji icon for Material light tablet keyboard
* commit 'af078ce7b462d4e9340b39060e3a3aa244c38b78':
  Use light emoji icon for Material light tablet keyboard
2014-08-13 15:58:03 +00:00
Tadashi G. Takaoka af078ce7b4 am 1901c331: am a94c89e0: Use light emoji icon for Material light tablet keyboard
* commit '1901c331283e2f60e6277a7773a103a447bd31ca':
  Use light emoji icon for Material light tablet keyboard
2014-08-13 15:54:51 +00:00
Tadashi G. Takaoka a94c89e017 Use light emoji icon for Material light tablet keyboard
Bug: 16808603
Change-Id: I39ce0ed8b5580754dfd0cf1494289b0a23863d50
2014-08-14 00:25:34 +09:00
Yohei Yukawa 764ed168a2 am 85ce863d: am 4a2dbd87: am d9a8e1cc: Enable CursorAnchorInfo callback when necessary
* commit '85ce863d1903903151379b17d677c270121c7d69':
  Enable CursorAnchorInfo callback when necessary
2014-08-13 11:41:36 +00:00
Yohei Yukawa 85ce863d19 am 4a2dbd87: am d9a8e1cc: Enable CursorAnchorInfo callback when necessary
* commit '4a2dbd87c4a49afbe40a61028ff338e2864554ed':
  Enable CursorAnchorInfo callback when necessary
2014-08-13 11:38:19 +00:00
Yohei Yukawa d9a8e1ccfd Enable CursorAnchorInfo callback when necessary
Change-Id: If3dda7442418053600ac935da50baaddb0e31d37
2014-08-13 20:02:14 +09:00
Yohei Yukawa edc048baea am bec6c6e3: am 3a346bf5: am 6e7806bc: Add stub implementation of #onUpdateCursorAnchorInfo
* commit 'bec6c6e306836d475a731ce1873d52a1a3ac68b3':
  Add stub implementation of #onUpdateCursorAnchorInfo
2014-08-13 10:58:29 +00:00
Yohei Yukawa bec6c6e306 am 3a346bf5: am 6e7806bc: Add stub implementation of #onUpdateCursorAnchorInfo
* commit '3a346bf51c441b9b62f0cee364940c2d4661c72c':
  Add stub implementation of #onUpdateCursorAnchorInfo
2014-08-13 10:55:00 +00:00
Yohei Yukawa 6e7806bc00 Add stub implementation of #onUpdateCursorAnchorInfo
This CL never changes existing behavior because
ProductionFlags.ENABLE_CURSOR_ANCHOR_INFO_CALLBACK is
not yet turned on.

Change-Id: I4bcbd2aebd05977b07231e8aa14acdcf6d8e1fa0
2014-08-13 19:36:23 +09:00
Tadashi G. Takaoka c5e1560787 am f8f83c24: am 43b8646a: am c225d2e2: Add setting boolean for showing UI to accept typed word
* commit 'f8f83c24cac97005714d8bed7d43a787d567f960':
  Add setting boolean for showing UI to accept typed word
2014-08-13 09:26:00 +00:00
Tadashi G. Takaoka f8f83c24ca am 43b8646a: am c225d2e2: Add setting boolean for showing UI to accept typed word
* commit '43b8646a31573ef3ce8efbbaf46c3d72d8c5deca':
  Add setting boolean for showing UI to accept typed word
2014-08-13 09:21:32 +00:00
Tadashi G. Takaoka 123d3f5988 am 26233cdd: Merge "Add debug setting to force hardware special key"
* commit '26233cddeea6d45064c7b7f62af1ea2543759d2a':
  Add debug setting to force hardware special key
2014-08-13 09:02:23 +00:00
Tadashi G. Takaoka c225d2e29c Add setting boolean for showing UI to accept typed word
Change-Id: Iedd90d07b904362d9debc9994ce86cd78a0303b9
2014-08-13 17:29:49 +09:00
Tadashi G. Takaoka a696c92477 (DO NOT MERGE) Add debug setting to force hardware special key
Bug: 13988700
Change-Id: If23f8a14097431e76a303a6d6c24e8d9835fb655
(cherry picked from commit 3659c70fc3)
2014-08-13 08:04:54 +00:00
Tadashi G. Takaoka 727b9975e2 am 089371b6: am bdb05cc8: am 78cff10f: Add BuildCompatUtils to get an effective platfrom API version
* commit '089371b649538dca728b48672b2a2563753ba365':
  Add BuildCompatUtils to get an effective platfrom API version
2014-08-13 07:55:18 +00:00
Tadashi G. Takaoka 089371b649 am bdb05cc8: am 78cff10f: Add BuildCompatUtils to get an effective platfrom API version
* commit 'bdb05cc89f63f4f3956936fa062d0b4555aa072a':
  Add BuildCompatUtils to get an effective platfrom API version
2014-08-13 07:52:52 +00:00
Tadashi G. Takaoka 78cff10f8d Add BuildCompatUtils to get an effective platfrom API version
This CL removes reference of VERSION_CODES.CUR_DEVELOPMENT.

Bug: 13888366
Change-Id: I5c8499a175473a220c8fb04ead219760c585a19a
2014-08-13 16:21:23 +09:00
Tadashi G. Takaoka 67f1b28578 am 4ac551d1: am 7edc27f1: am 8f3e778a: Revert "Remove reference of VERSION_CODES.CUR_DEVELOPMENT"
* commit '4ac551d189054ec58dd8aeb4754ee3071dc798d2':
  Revert "Remove reference of VERSION_CODES.CUR_DEVELOPMENT"
2014-08-13 05:33:24 +00:00
Tadashi G. Takaoka 4ac551d189 am 7edc27f1: am 8f3e778a: Revert "Remove reference of VERSION_CODES.CUR_DEVELOPMENT"
* commit '7edc27f17b450e690f08a972c4573b92b39ef7ee':
  Revert "Remove reference of VERSION_CODES.CUR_DEVELOPMENT"
2014-08-13 05:28:51 +00:00
Tadashi G. Takaoka 8f3e778a21 Revert "Remove reference of VERSION_CODES.CUR_DEVELOPMENT"
This reverts commit 5380acfd04.

Bug: 13888366
Change-Id: Iae0fb6798cef9d59c9de3790123f6acaf8b2746b
2014-08-13 04:00:36 +00:00
Keisuke Kuroyanagi 4146db552f am 82be1873: Merge "Add additional wait for writing file in testAddManyWords()."
* commit '82be1873f140db8cafdf1c6f3ac3998515c21727':
  Add additional wait for writing file in testAddManyWords().
2014-08-13 02:43:50 +00:00
Tadashi G. Takaoka 26233cddee Merge "Add debug setting to force hardware special key" 2014-08-12 23:14:48 +00:00
Tadashi G. Takaoka 3659c70fc3 Add debug setting to force hardware special key
Bug: 13988700
Change-Id: If23f8a14097431e76a303a6d6c24e8d9835fb655
2014-08-13 15:33:07 +09:00
Keisuke Kuroyanagi 82be1873f1 Merge "Add additional wait for writing file in testAddManyWords()." 2014-08-12 23:14:42 +00:00
Tadashi G. Takaoka 521b4590d8 am 89a21454: am a70542a5: am 5380acfd: Remove reference of VERSION_CODES.CUR_DEVELOPMENT
* commit '89a214544853f16ef5d979bd1503d370ea5ff39d':
  Remove reference of VERSION_CODES.CUR_DEVELOPMENT
2014-08-12 15:07:33 +00:00
Tadashi G. Takaoka 89a2145448 am a70542a5: am 5380acfd: Remove reference of VERSION_CODES.CUR_DEVELOPMENT
* commit 'a70542a5ef2c7f4d5cfe62150ed17be3776904c5':
  Remove reference of VERSION_CODES.CUR_DEVELOPMENT
2014-08-12 15:02:59 +00:00
Tadashi G. Takaoka 5380acfd04 Remove reference of VERSION_CODES.CUR_DEVELOPMENT
Bug: 13888366
Change-Id: I0b829e2cf9a11c694cf01b6f02753233c9c85105
2014-08-12 23:13:18 +09:00
Keisuke Kuroyanagi 9f584e15eb Add additional wait for writing file in testAddManyWords().
Change-Id: Ibb79b9821dac3d48e18c684e8aca605254bec045
2014-08-12 22:29:02 +09:00
Yohei Yukawa 187e4812ac am 0ba23b3a: am 6a5cba26: am 89e8cba6: Merge "Add CursorAnchorInfoCompatWrapper for KitKat and older platforms" into lmp-dev
* commit '0ba23b3ab36d00e9dc98da59f11fbace0cfe39af':
  Add CursorAnchorInfoCompatWrapper for KitKat and older platforms
2014-08-12 11:11:22 +00:00
Yohei Yukawa 0ba23b3ab3 am 6a5cba26: am 89e8cba6: Merge "Add CursorAnchorInfoCompatWrapper for KitKat and older platforms" into lmp-dev
* commit '6a5cba2695cc82707535845d6265ddc7d92a79ed':
  Add CursorAnchorInfoCompatWrapper for KitKat and older platforms
2014-08-12 11:08:47 +00:00
Tadashi G. Takaoka d5bc90033d am 1fc4d5aa: Merge "Add SpecialkeyDetector"
* commit '1fc4d5aab3961e3ec4a63188030a309f18a712c7':
  Add SpecialkeyDetector
2014-08-12 10:16:59 +00:00
Tadashi G. Takaoka df7fd30d72 am ef2c537e: Merge "Show InputView even when hardware keyboard is connected"
* commit 'ef2c537e591f05957c4c7a3c5c8eef6354c6340c':
  Show InputView even when hardware keyboard is connected
2014-08-12 10:07:06 +00:00
Baligh Uddin 15d6876bb0 Import translations. DO NOT MERGE
Change-Id: Idee05910c3f7bb4d2206c231d763cf026d62fa3c
Auto-generated-cl: translation import
2014-08-12 02:18:20 -07:00
Baligh Uddin 9e781690b8 Import translations. DO NOT MERGE
Change-Id: If7dbccfaa4a62879f9db788bb61ffb12276bd3c9
Auto-generated-cl: translation import
2014-08-12 02:15:37 -07:00
Baligh Uddin e956a81998 Import translations. DO NOT MERGE
Change-Id: Ib7098ce2fffd7eb5040b2714cbae17eb66a072e5
Auto-generated-cl: translation import
2014-08-12 02:13:46 -07:00
Baligh Uddin 599098783c Import translations. DO NOT MERGE
Change-Id: I6e9684b6ce3aeb85084b135e78a2082add1d436d
Auto-generated-cl: translation import
2014-08-12 02:12:42 -07:00
Baligh Uddin 08bc5a45c2 Import translations. DO NOT MERGE
Change-Id: I691365225a7a9006723751aa26be4898f46948b0
Auto-generated-cl: translation import
2014-08-12 02:11:18 -07:00
Tadashi G. Takaoka 4259607434 am 2ae42d78: am 3d477a73: am 016d6c42: Auto scale-X text of key popup preview
* commit '2ae42d786189a6bb75296fb5676fb48fd403d152':
  Auto scale-X text of key popup preview
2014-08-12 04:37:22 +00:00
Tadashi G. Takaoka 2ae42d7861 am 3d477a73: am 016d6c42: Auto scale-X text of key popup preview
* commit '3d477a73afac2449794d953f00dd3411210b1b81':
  Auto scale-X text of key popup preview
2014-08-12 04:33:01 +00:00
Tadashi G. Takaoka 016d6c424c Auto scale-X text of key popup preview
Bug: 9978106
Change-Id: I335fa3117ac2af2cb8220c4827dd54c1a1da4c5c
2014-08-12 12:17:40 +09:00
Jatin Matani b2de1eaa29 am 0807c897: Make SettingsValues non-final to testability
* commit '0807c897f40f22ee4df5d425a8c7f7c207000718':
  Make SettingsValues non-final to testability
2014-08-11 23:40:29 +00:00
Jatin Matani 0807c897f4 Make SettingsValues non-final to testability
Add getter for enableMetricsLogging boolean.

Bug:16522256
Change-Id: Ie9a38efc7861b3d4207562d2bf0344c5c2ae957a
2014-08-11 16:33:01 -07:00
Yohei Yukawa 89e8cba6ae Merge "Add CursorAnchorInfoCompatWrapper for KitKat and older platforms" into lmp-dev 2014-08-11 19:46:21 +00:00
Tadashi G. Takaoka 499153734e (DO NOT MERGE) Add SpecialkeyDetector
Bug: 13988700
Change-Id: I215e879ad33b149370c1d0a5fdcf2203c0fc8b4a
(cherry picked from commit 34541bfeb6)
2014-08-12 10:14:41 +00:00
Tadashi G. Takaoka 8fdff5a111 (DO NOT MERGE) Show InputView even when hardware keyboard is connected
Bug: 13988700
Change-Id: I4aeb01bf3571afc97959c213474a6424d7896120
(cherry picked from commit 06514f00f4)
2014-08-12 10:03:47 +00:00
Yohei Yukawa deff9495f7 Add CursorAnchorInfoCompatWrapper for KitKat and older platforms
Change-Id: Ia26c783ebefd7b928d623a598792b7ba32d89a80
2014-08-12 17:26:56 +09:00
Tadashi G. Takaoka 1fc4d5aab3 Merge "Add SpecialkeyDetector" 2014-08-11 19:46:21 +00:00
Tadashi G. Takaoka 34541bfeb6 Add SpecialkeyDetector
Bug: 13988700
Change-Id: I215e879ad33b149370c1d0a5fdcf2203c0fc8b4a
2014-08-12 19:08:58 +09:00
Tadashi G. Takaoka 06514f00f4 Show InputView even when hardware keyboard is connected
Bug: 13988700
Change-Id: I4aeb01bf3571afc97959c213474a6424d7896120
2014-08-12 18:44:05 +09:00
Tadashi G. Takaoka ef2c537e59 Merge "Show InputView even when hardware keyboard is connected" 2014-08-11 18:59:25 +00:00
Tadashi G. Takaoka 0799cfe091 am e1758f8c: Disable Sinhala keyboard for E-release
* commit 'e1758f8cdf75cf969e295cd0cf695430dc0b290f':
  Disable Sinhala keyboard for E-release
2014-08-11 11:23:36 +00:00
Tadashi G. Takaoka e1758f8cdf Disable Sinhala keyboard for E-release
This CL also disables Tamil (Sri Lanka) subtype in conjunction with
Sinhala (Sri Lanka) subtype.

Bug: 6911143
Bug: 9978106
Change-Id: Ie56051eb04141114ca02c72b256942a838e38721
2014-08-11 20:16:16 +09:00
Tadashi G. Takaoka c9add10c38 (DO NOT MERGE) Disable Sinhala keyboard for L-release
This CL also disables Tamil (Sri Lanka) subtype in conjunction with
Sinhala (Sri Lanka) subtype.

Bug: 6911143
Bug: 9978106
Change-Id: I686b4e5d2c79039ca8d837d3227448d69c7e47de
2014-08-11 11:14:07 +00:00
Tadashi G. Takaoka 8fbb4d0188 am 463339f1: resolved conflicts for merge of aca5785a to master
* commit '463339f195b2e1bb649c0420af3f50715bb7206e':
  Fix Tamil keyboard
2014-08-11 10:36:45 +00:00
Tadashi G. Takaoka 463339f195 resolved conflicts for merge of aca5785a to master
Change-Id: I01e8af21d6d019859da4a05995e77701a0d9c585
2014-08-11 19:34:23 +09:00
Tadashi G. Takaoka 25906373ff Fix Tamil keyboard
This CL adds Tamil (Sri Lanka) and Tamil (Singapore) subtypes.
This CL also fixes Sinhala Keyboard's currency symbol.

Bug: 9978106
Bug: 6911143
Change-Id: I2060978097882d0f4b1ec10f1103260ed8a447d0
2014-08-11 18:07:27 +09:00
Tadashi G. Takaoka 8eed2e1257 am e5e1e700: am a23dda38: am 2863997a: Fix Kannada keyboard
* commit 'e5e1e7001556fec3fe8b7303e5ab802cd3fd402e':
  Fix Kannada keyboard
2014-08-11 08:11:36 +00:00
Tadashi G. Takaoka e5e1e70015 am a23dda38: am 2863997a: Fix Kannada keyboard
* commit 'a23dda38a04d8fe7402c1866c97bc53d7540f22b':
  Fix Kannada keyboard
2014-08-11 08:07:19 +00:00
Tadashi G. Takaoka fc703975e7 am 560bfe40: Merge "Mark some preliminary InScript keyboards as complete"
* commit '560bfe409decd85c2d6b9a072433216d6cf3e938':
  Mark some preliminary InScript keyboards as complete
2014-08-11 07:17:51 +00:00
Tadashi G. Takaoka 2863997abd Fix Kannada keyboard
Bug: 10029252
Change-Id: I5ae056ca6ada4ffb921e9882bf57ad21a9bb4d47
2014-08-11 15:51:56 +09:00
Tadashi G. Takaoka 015fcc2685 (DO NOT MERGE) Enable InScript keyboards for L
This CL enables the followin InScript keyboards for L-release.
- Sinhala
- Tamil
- Bengali
- Telugu
- Marathi
- Kannada
- Malayalam

Bug: 6911143
Bug: 9978106
Bug: 10028755
Bug: 10028759
Bug: 10028772
Bug: 10029252
Bug: 10417006
Change-Id: Id8962b429fbb58b5c2c90a65849af6a6fe84a8c9
2014-08-11 15:51:12 +09:00
Ken Wakasa 1e84a5af73 am 44409e18: am 61c71e80: am 31869bf5: A follow up to AAPT change
* commit '44409e18c56deb80d851dba60d19a91197128eaa':
  A follow up to AAPT change
2014-08-11 04:51:16 +00:00
Ken Wakasa 44409e18c5 am 61c71e80: am 31869bf5: A follow up to AAPT change
* commit '61c71e80c3c46eb1a4396d26b98c75432b358d27':
  A follow up to AAPT change
2014-08-11 04:48:26 +00:00
Ken Wakasa 31869bf5ad A follow up to AAPT change
AAPT previously allowed apps to generate resources in the android
package. This is no longer allowed after I1be66e3f8df9a737b21c71f8a93685376c7e6780.

Change-Id: Icda68829c0bf9254b6637f0ec2cecc0b357dbc43
2014-08-10 11:21:14 +09:00
Ken Wakasa 816f51469b am d4626dbf: am 30a03e87: am f729f221: Help & feedback should be the very last item in the menu
* commit 'd4626dbf043a306cabef5cbf4992be17ce6bc21a':
  Help & feedback should be the very last item in the menu
2014-08-08 12:46:58 +00:00
Ken Wakasa d4626dbf04 am 30a03e87: am f729f221: Help & feedback should be the very last item in the menu
* commit '30a03e87991e4b42c26d52b8dcd4d5805a18f1b6':
  Help & feedback should be the very last item in the menu
2014-08-08 12:42:48 +00:00
Ken Wakasa f729f2214f Help & feedback should be the very last item in the menu
bug: 16717930

Change-Id: I7ce73fe067bb7f9a639b414875780c39bb1de12d
2014-08-08 21:26:51 +09:00
Keisuke Kuroyanagi ea2f274318 am 0c60d7c1: am 0e74d71f: am a848c094: Merge "Rename distracter filter class." into lmp-dev
* commit '0c60d7c16cfe02b9a174fa01f7a58d3605c26966':
  Rename distracter filter class.
2014-08-08 09:05:38 +00:00
Keisuke Kuroyanagi 1cd859fa45 am 9306c027: am aaa2ce26: am 6fef4ff0: Merge "Use suggestions in the distracter filter." into lmp-dev
* commit '9306c027b199c201fe08fddb1f2f125c3243b09d':
  Use suggestions in the distracter filter.
2014-08-08 09:05:37 +00:00
Keisuke Kuroyanagi 0c60d7c16c am 0e74d71f: am a848c094: Merge "Rename distracter filter class." into lmp-dev
* commit '0e74d71f254ad40d989e82d387fafe0fbc83969c':
  Rename distracter filter class.
2014-08-08 09:01:08 +00:00
Keisuke Kuroyanagi 9306c027b1 am aaa2ce26: am 6fef4ff0: Merge "Use suggestions in the distracter filter." into lmp-dev
* commit 'aaa2ce26203f3e85e7783ccd21275702ebfbe366':
  Use suggestions in the distracter filter.
2014-08-08 09:01:07 +00:00
Ken Wakasa 8b5daefa5e am 16dd35bf: am 04f1e165: am 83a96fe5: Initial implementation of Help & feedback
* commit '16dd35bfb60494000f899b1fa334a2c98af79857':
  Initial implementation of Help & feedback
2014-08-08 04:49:54 +00:00
Ken Wakasa 16dd35bfb6 am 04f1e165: am 83a96fe5: Initial implementation of Help & feedback
* commit '04f1e1652220fb89b8ae4fabe4fa7c4b90cb092c':
  Initial implementation of Help & feedback
2014-08-08 04:40:32 +00:00
Ken Wakasa 83a96fe5c7 Initial implementation of Help & feedback
bug: 16717930

Change-Id: Iddc8e831c3f01ec7eb02ed1bc5d5e103d497e177
2014-08-08 12:58:31 +09:00
Keisuke Kuroyanagi 6fef4ff00d Merge "Use suggestions in the distracter filter." into lmp-dev 2014-08-07 16:56:07 +00:00
Keisuke Kuroyanagi 33ca0c80c1 Use suggestions in the distracter filter.
Bug: 13142176
Bug: 15531638

Change-Id: I609fa61fccf2a0c738726985806b7d9248eadf49
2014-08-08 17:01:16 +09:00
Tadashi G. Takaoka 560bfe409d Merge "Mark some preliminary InScript keyboards as complete" 2014-08-07 16:37:11 +00:00
Tadashi G. Takaoka 154acd0cff Mark some preliminary InScript keyboards as complete
This CL marks the followin InScript keyboards as complete.
- Sinhala
- Tamil
- Bengali
- Telugu
- Marathi
- Kannada
- Malayalam

Bug: 6911143
Bug: 9978106
Bug: 10028755
Bug: 10028759
Bug: 10028772
Bug: 10029252
Bug: 10417006
Change-Id: I8873725c3f1c3e6cb7bbad96d15034e44c0a1f0b
2014-08-11 16:00:30 +09:00
Keisuke Kuroyanagi a848c09485 Merge "Rename distracter filter class." into lmp-dev 2014-08-07 16:37:11 +00:00
Keisuke Kuroyanagi e05eb21826 Rename distracter filter class.
Bug: 13142176
Bug: 15531638
Change-Id: I89cef5264073eed25ffb5be10fdff731df0a3138
2014-08-08 17:01:19 +09:00
Tadashi G. Takaoka 9aedaad5b1 am dca68b7a: am 83c68465: am db776143: Revert "Revert "Align hint label to bottom""
* commit 'dca68b7aa302270b1a6addc374a73d30a2f815c5':
  Revert "Revert "Align hint label to bottom""
2014-08-07 15:20:17 +00:00
Tadashi G. Takaoka d387ae45f4 am c32e439d: am 056a8bee: am dfeb0147: Revert "Revert "Tune number letter size of Material keyboard""
* commit 'c32e439da77eda5c0b90edd88cda57554c46975f':
  Revert "Revert "Tune number letter size of Material keyboard""
2014-08-07 15:20:16 +00:00
Tadashi G. Takaoka 4290412dbe am f1ca6b73: am cbc2c253: am f7f65743: Revert "Revert "Remove unused Key and Keyboard attributes""
* commit 'f1ca6b73341aad819c651810852fd03a93c2d5cd':
  Revert "Revert "Remove unused Key and Keyboard attributes""
2014-08-07 15:20:14 +00:00
Tadashi G. Takaoka dca68b7aa3 am 83c68465: am db776143: Revert "Revert "Align hint label to bottom""
* commit '83c68465de0f367658d6dc57dd866ccaa4b183fb':
  Revert "Revert "Align hint label to bottom""
2014-08-07 15:15:56 +00:00
Tadashi G. Takaoka c32e439da7 am 056a8bee: am dfeb0147: Revert "Revert "Tune number letter size of Material keyboard""
* commit '056a8bee6fc373d93aada524d1ff8283c347aa6f':
  Revert "Revert "Tune number letter size of Material keyboard""
2014-08-07 15:15:55 +00:00
Tadashi G. Takaoka f1ca6b7334 am cbc2c253: am f7f65743: Revert "Revert "Remove unused Key and Keyboard attributes""
* commit 'cbc2c2530adadd7d6b933aa8679aea2267c4352a':
  Revert "Revert "Remove unused Key and Keyboard attributes""
2014-08-07 15:15:54 +00:00
Tadashi G. Takaoka fd3fbdf0e6 am 26797024: am be73b19d: am e9ed396f: Merge "Revert "Revert "Add Key label off center attribute""" into lmp-dev
* commit '26797024cc2f0600ddf107662a1c5b5d50752fc2':
  Revert "Revert "Add Key label off center attribute""
2014-08-07 14:52:29 +00:00
Tadashi G. Takaoka bf57ade7d6 am 52ede0b0: am 92d03563: am 0df148fc: Merge "Revert "Revert "Remove unused animation resources""" into lmp-dev
* commit '52ede0b0cfbad89bd3304654dfd70117c07a5a3d':
  Revert "Revert "Remove unused animation resources""
2014-08-07 14:49:10 +00:00
Tadashi G. Takaoka 26797024cc am be73b19d: am e9ed396f: Merge "Revert "Revert "Add Key label off center attribute""" into lmp-dev
* commit 'be73b19d640b0e4d7fe1c2a981e26295ef683cf0':
  Revert "Revert "Add Key label off center attribute""
2014-08-07 14:49:03 +00:00
Tadashi G. Takaoka 52ede0b0cf am 92d03563: am 0df148fc: Merge "Revert "Revert "Remove unused animation resources""" into lmp-dev
* commit '92d03563d645d24488d12dd6daed05a2871288b3':
  Revert "Revert "Remove unused animation resources""
2014-08-07 14:45:22 +00:00
Tadashi G. Takaoka 1d256c8ee9 am 3e91b6f7: am 8c0a4a22: am 6dcdfcc3: Clean up Keyboard and KeyboardView theme
* commit '3e91b6f793df6364c1dc31eb4bc313a2d5c1f1ab':
  Clean up Keyboard and KeyboardView theme
2014-08-07 14:44:45 +00:00
Tadashi G. Takaoka db776143d9 Revert "Revert "Align hint label to bottom""
This reverts commit 02c4a80afe.
2014-08-07 23:44:34 +09:00
Tadashi G. Takaoka dfeb014726 Revert "Revert "Tune number letter size of Material keyboard""
This reverts commit 5ad718f2ca.
2014-08-07 23:43:37 +09:00
Tadashi G. Takaoka 3e91b6f793 am 8c0a4a22: am 6dcdfcc3: Clean up Keyboard and KeyboardView theme
* commit '8c0a4a2207370e90679bf5afc890669ca3c4a93a':
  Clean up Keyboard and KeyboardView theme
2014-08-07 14:40:55 +00:00
Tadashi G. Takaoka f7f6574368 Revert "Revert "Remove unused Key and Keyboard attributes""
This reverts commit 44e20f4fb4.

Change-Id: I6560c8f4ef15bf8318d9eedf68a9eb5031f0581d
2014-08-07 23:36:57 +09:00
Tadashi G. Takaoka 6dcdfcc39d Clean up Keyboard and KeyboardView theme
Change-Id: I3f49f400b3857d34e1f2a7727a17c768787fe045
2014-08-07 23:17:01 +09:00
Ken Wakasa 84accfb7b3 am 0d72a8db: am 0a4a2558: am 414e9470: Revert "Clean up Keyboard and KeyboardView theme"
* commit '0d72a8dba3b4d6c614847b728affc8776f94f8b5':
  Revert "Clean up Keyboard and KeyboardView theme"
2014-08-07 11:55:28 +00:00
Ken Wakasa 2e90725269 am c91c2d5e: am cfaf75bb: am 0f2de75e: Merge "Revert "Remove unused animation resources"" into lmp-dev
* commit 'c91c2d5e8a6473d6dbe384589b10b2d27ac02c6a':
  Revert "Remove unused animation resources"
2014-08-07 11:55:26 +00:00
Ken Wakasa dad178d13e am d4c4dc87: am c5ff9e4e: am 787e9a37: Revert "Add Key label off center attribute"
* commit 'd4c4dc8751af7947e9e9a9592d4a68b27b3c73b4':
  Revert "Add Key label off center attribute"
2014-08-07 11:55:25 +00:00
Ken Wakasa 0d72a8dba3 am 0a4a2558: am 414e9470: Revert "Clean up Keyboard and KeyboardView theme"
* commit '0a4a255825471b61c142002d35093b3f6f57d0ad':
  Revert "Clean up Keyboard and KeyboardView theme"
2014-08-07 11:51:59 +00:00
Ken Wakasa c91c2d5e8a am cfaf75bb: am 0f2de75e: Merge "Revert "Remove unused animation resources"" into lmp-dev
* commit 'cfaf75bb963b6186e1be1c7ba4e265d29cd0c7fb':
  Revert "Remove unused animation resources"
2014-08-07 11:51:58 +00:00
Ken Wakasa d4c4dc8751 am c5ff9e4e: am 787e9a37: Revert "Add Key label off center attribute"
* commit 'c5ff9e4e23c162a75bedc6c4e4ae6fbfa0080e82':
  Revert "Add Key label off center attribute"
2014-08-07 11:51:57 +00:00
Ken Wakasa 5f8df1e911 am 5fd5555d: am ef8a1be4: am 5f57fe4a: Merge "Revert "Remove unused Key and Keyboard attributes"" into lmp-dev
* commit '5fd5555d2342def3208f4a5b3434a4049ce0ea0b':
  Revert "Remove unused Key and Keyboard attributes"
2014-08-07 11:51:01 +00:00
Ken Wakasa 785f072ca9 am e4ea3cce: am 50cae6f0: am 52183821: Merge "Revert "Tune number letter size of Material keyboard"" into lmp-dev
* commit 'e4ea3cce2cc081f1316840a846c429a79cbc6ade':
  Revert "Tune number letter size of Material keyboard"
2014-08-07 11:51:00 +00:00
Ken Wakasa 4a336b1cf3 am bef6c4c4: am c8f384ea: am 1c7e6f8d: Merge "Revert "Align hint label to bottom"" into lmp-dev
* commit 'bef6c4c44a96ee81d73d06adc58996862ac9c136':
  Revert "Align hint label to bottom"
2014-08-07 11:50:59 +00:00
Ken Wakasa 5fd5555d23 am ef8a1be4: am 5f57fe4a: Merge "Revert "Remove unused Key and Keyboard attributes"" into lmp-dev
* commit 'ef8a1be46f253ac75c89af9d88c390efd95d3532':
  Revert "Remove unused Key and Keyboard attributes"
2014-08-07 11:48:15 +00:00
Ken Wakasa e4ea3cce2c am 50cae6f0: am 52183821: Merge "Revert "Tune number letter size of Material keyboard"" into lmp-dev
* commit '50cae6f08c53c7fda6f62058227b80a70e9ed1c4':
  Revert "Tune number letter size of Material keyboard"
2014-08-07 11:48:14 +00:00
Ken Wakasa bef6c4c44a am c8f384ea: am 1c7e6f8d: Merge "Revert "Align hint label to bottom"" into lmp-dev
* commit 'c8f384ea6a15180d5894dfc2fed03865c49f2fe3':
  Revert "Align hint label to bottom"
2014-08-07 11:48:12 +00:00
Ken Wakasa 414e9470d8 Revert "Clean up Keyboard and KeyboardView theme"
This reverts commit ef231984ed.

Due to unit test breakage.

Change-Id: I2136e950c3f72fb82b01e90758c1036bb0b7d508
2014-08-07 11:40:14 +00:00
Ken Wakasa 787e9a37b4 Revert "Add Key label off center attribute"
This reverts commit ba49920e80.

Due to unit test breakage.

Bug: 14419121
Change-Id: I6f4fc30b86227e59c883d202551b162dc91b4166
2014-08-07 11:38:36 +00:00
Keisuke Kuroyanagi 13e16c88e7 am ba18f6e6: am e44c4d25: am b6665d95: Merge "Use DistracterFilterCheckingIsInDictionary for User History" into lmp-dev
* commit 'ba18f6e6cb1fc1d8f4d30fc38b99023cd0ea0912':
  Use DistracterFilterCheckingIsInDictionary for User History
2014-08-07 10:35:37 +00:00
Keisuke Kuroyanagi ba18f6e6cb am e44c4d25: am b6665d95: Merge "Use DistracterFilterCheckingIsInDictionary for User History" into lmp-dev
* commit 'e44c4d254182f0db042eb5a815305fa555148ba4':
  Use DistracterFilterCheckingIsInDictionary for User History
2014-08-07 10:32:49 +00:00
Tadashi G. Takaoka 3f9936885f am ca0368c0: am 304b92c3: am f1784266: Align hint label to bottom
* commit 'ca0368c0d6c50cf7d66912cbef37b66ab103e896':
  Align hint label to bottom
2014-08-07 10:00:47 +00:00
Tadashi G. Takaoka ca0368c0d6 am 304b92c3: am f1784266: Align hint label to bottom
* commit '304b92c3efb5dd1db622dacec678a85c3c6ced95':
  Align hint label to bottom
2014-08-07 09:58:48 +00:00
Tadashi G. Takaoka f1784266ec Align hint label to bottom
Bug: 14419121
Change-Id: I9147d3c4a3687ed745ffdddfff221d88652919b2
2014-08-07 18:42:47 +09:00
Tadashi G. Takaoka 5dfa968275 am 56baf786: am 521298dd: am 44454c2b: Tune number letter size of Material keyboard
* commit '56baf7860ba9e8e8203aef05628f6d9ba171a009':
  Tune number letter size of Material keyboard
2014-08-07 09:24:42 +00:00
Tadashi G. Takaoka 56baf7860b am 521298dd: am 44454c2b: Tune number letter size of Material keyboard
* commit '521298dd083de524cddec15fded86246436ac29c':
  Tune number letter size of Material keyboard
2014-08-07 09:21:52 +00:00
Tadashi G. Takaoka 48c8ca6952 am 7790102b: am 56e6df25: am 6ba5d636: Merge "Remove unused Key and Keyboard attributes" into lmp-dev
* commit '7790102b0d7c6c32af2056e2d73056d884658510':
  Remove unused Key and Keyboard attributes
2014-08-07 09:16:58 +00:00
Tadashi G. Takaoka 7790102b0d am 56e6df25: am 6ba5d636: Merge "Remove unused Key and Keyboard attributes" into lmp-dev
* commit '56e6df2561141978e33356b142279398dbf6985a':
  Remove unused Key and Keyboard attributes
2014-08-07 09:12:48 +00:00
Tadashi G. Takaoka 72d0f08743 am 0bed75a8: am 0851d351: am e988e412: Merge "Add Key label off center attribute" into lmp-dev
* commit '0bed75a81844f35cce359c2a7dfac71a8b3d84b9':
  Add Key label off center attribute
2014-08-07 09:06:59 +00:00
Tadashi G. Takaoka 53a4b65ac2 am fdb00018: am ff1e338e: am 91f47b03: Merge "Remove unused animation resources" into lmp-dev
* commit 'fdb0001851fa810b3f3523f0695ecb7cf83fc489':
  Remove unused animation resources
2014-08-07 09:06:57 +00:00
Tadashi G. Takaoka b0ffc6785a am 001c186b: am ec44b04b: am 0c2dc410: Merge "Clean up Keyboard and KeyboardView theme" into lmp-dev
* commit '001c186b2e5c7b190ccd558e66c91df7d48a1f32':
  Clean up Keyboard and KeyboardView theme
2014-08-07 09:06:56 +00:00
Tadashi G. Takaoka 0bed75a818 am 0851d351: am e988e412: Merge "Add Key label off center attribute" into lmp-dev
* commit '0851d351332e6191857d81e245a6025c02c84219':
  Add Key label off center attribute
2014-08-07 09:03:58 +00:00
Tadashi G. Takaoka fdb0001851 am ff1e338e: am 91f47b03: Merge "Remove unused animation resources" into lmp-dev
* commit 'ff1e338e5b412236aafc6234244f6187fded782c':
  Remove unused animation resources
2014-08-07 09:03:57 +00:00
Tadashi G. Takaoka 001c186b2e am ec44b04b: am 0c2dc410: Merge "Clean up Keyboard and KeyboardView theme" into lmp-dev
* commit 'ec44b04b04b2f0f944be57671dfadaddb3bd4c3e':
  Clean up Keyboard and KeyboardView theme
2014-08-07 09:03:56 +00:00
Tadashi G. Takaoka 44454c2b2b Tune number letter size of Material keyboard
Bug: 14419121
Change-Id: I6a477b9bf9022e369d4a6a77415490dc2b9eefc6
2014-08-07 17:55:38 +09:00
Tadashi G. Takaoka 222517885a am 85c29bd2: am bfcb3323: am e19c520b: Align space key icon to bottom of a key
* commit '85c29bd2bb08ac3827bb4b87645bbe6319cfddd5':
  Align space key icon to bottom of a key
2014-08-07 04:06:00 +00:00
Tadashi G. Takaoka 85c29bd2bb am bfcb3323: am e19c520b: Align space key icon to bottom of a key
* commit 'bfcb3323d2d7165984038f9eff3e49bc824a6d0f':
  Align space key icon to bottom of a key
2014-08-07 04:02:58 +00:00
Tadashi G. Takaoka e19c520b41 Align space key icon to bottom of a key
The Key.keyLabelFlags's flag "alignButtom" (misspelled) has been
removed by Iae3cd66744. This CL re-introduce the same flag with
"alignIconToBottom".

Bug: 16803172
Change-Id: I412590f394c6ca9b36358d6acfe8675071403bdd
2014-08-07 12:42:27 +09:00
Ken Wakasa 2bb2f81520 am 95d2c4fb: am d5e4e367: am 3316dcd4: Merge "Revert "Introduce onEvent() to improve testability"" into lmp-dev
* commit '95d2c4fbedb0dd9139e12e8c427c957eeaa106b2':
  Revert "Introduce onEvent() to improve testability"
2014-08-07 00:18:10 +00:00
Ken Wakasa 95d2c4fbed am d5e4e367: am 3316dcd4: Merge "Revert "Introduce onEvent() to improve testability"" into lmp-dev
* commit 'd5e4e367f21407da7a5f62a18e601957b07b6f4d':
  Revert "Introduce onEvent() to improve testability"
2014-08-07 00:13:09 +00:00
Geoff Mendal d34354ee67 Merge "Import translations. DO NOT MERGE" 2014-08-05 00:29:22 +00:00
Geoff Mendal 086f9d54af Import translations. DO NOT MERGE
Change-Id: I649fa8860a39804aff07aaf6c3c5cb09a282f7cf
Auto-generated-cl: translation import
2014-08-06 13:23:50 -07:00
Geoff Mendal 59121d519b Merge "Import translations. DO NOT MERGE" 2014-08-06 17:19:40 +00:00
Geoff Mendal c48a1a73e3 Import translations. DO NOT MERGE
Change-Id: I88c0d488ee62e184b44b81073a9fa5343ace2f77
Auto-generated-cl: translation import
2014-08-06 13:15:36 -07:00
Tadashi G. Takaoka 28b8f349df am 94a568a8: am 868395c6: Merge "Mark hind_compact layout as completed" into lmp-dev
* commit '94a568a8635d6362398f059fdea662b9d9165267':
  Mark hind_compact layout as completed
2014-08-06 17:40:11 +00:00
Jean Chalard 78d9b7c4a0 am bc043c31: am 1f3d89c2: Revert "[HS1] Save some data in startInputView"
* commit 'bc043c31ded2dd48008b185503475e440f302aa0':
  Revert "[HS1] Save some data in startInputView"
2014-08-06 17:38:51 +00:00
Jean Chalard bd38799e27 am fe807696: am 772a8019: Revert "[HS2] Move more stuff to onStartInput"
* commit 'fe807696566a5975b4d0932c72a05593a98f13d3':
  Revert "[HS2] Move more stuff to onStartInput"
2014-08-06 17:38:50 +00:00
Tadashi G. Takaoka c8b860e3e1 am 571320ad: am 5dee1fd6: Merge "Add dedicated background for custom action label key" into lmp-dev
* commit '571320ad90b2ac2bb9fa77cf6700feec3bc4030a':
  Add dedicated background for custom action label key
2014-08-06 17:38:49 +00:00
Jean Chalard 09ae6b9119 am 922411a7: am ef74e737: Introduce onEvent() to improve testability
* commit '922411a70804921e69df0ef477f6b007e83d5692':
  Introduce onEvent() to improve testability
2014-08-06 17:38:47 +00:00
Jean Chalard 43cf1ae7bb am f66b0e5f: am c08c5064: Merge "Fix an NPE when running with Keep." into lmp-dev
* commit 'f66b0e5f71be61e496bd8b77f04384ea14b75da7':
  Fix an NPE when running with Keep.
2014-08-06 17:38:45 +00:00
Tadashi G. Takaoka 0bfcb89ac4 am e8668c2e: am aa3ff194: Merge "Use add icon for add custom input style menu" into lmp-dev
* commit 'e8668c2ee2dac5168e1af8484fb9ae2a0534b442':
  Use add icon for add custom input style menu
2014-08-06 17:38:43 +00:00
Jean Chalard d393cf065a am 98e27483: am 9273f383: [HS3] Fix a bug on ICS
* commit '98e2748363355d2286215c798225d529f3a1cb34':
  [HS3] Fix a bug on ICS
2014-08-06 17:38:34 +00:00
Jean Chalard cf66902f69 am 0978aa71: am 50c12c83: Merge "[HS2] Move more stuff to onStartInput" into lmp-dev
* commit '0978aa71ea91583c0b8d7e2588549fbb56953e7e':
  [HS2] Move more stuff to onStartInput
2014-08-06 17:38:11 +00:00
Jean Chalard 1f3d89c2af Revert "[HS1] Save some data in startInputView"
This reverts commit f1accd4f04.

Bug: 16830599
Change-Id: I4c9367f742b8ee8463920e91263b05c2195f8480
2014-08-06 18:36:55 +09:00
Jean Chalard 772a8019ef Revert "[HS2] Move more stuff to onStartInput"
This reverts commit 93b00a314e.

Bug: 16830599
Change-Id: I955e7da77978c3a495660aa29247e010d489c36b
2014-08-06 18:36:29 +09:00
Jean Chalard ef74e737f5 Introduce onEvent() to improve testability
...and prepare for the future

Change-Id: Ieed96ab552993fd148e80b9c3355f1b569bd716f
2014-08-06 07:29:35 +00:00
Jean Chalard 9273f3832b [HS3] Fix a bug on ICS
There is a bug in ICS where the input connection won't take
any writing commands after rotation until the cursor moves.
This fixes it by wiggling the cursor position once before trying
to do anything.

Bug: 16810766
Change-Id: Ib14c70bd0550420cecfa86dea501d13a1a91e296
2014-08-06 11:38:11 +09:00
Tadashi G. Takaoka a58d78ec89 am 9cca3c83: am a262144d: Add ViewCompatUtils.setElevation
* commit '9cca3c8359e30e15a50f60773fd19571659c3dc1':
  Add ViewCompatUtils.setElevation
2014-08-05 13:26:01 +00:00
Tadashi G. Takaoka c64769207d am eceefd07: am 689064d0: Remove unnecessarily overridden defaultEnterKeyStyle
* commit 'eceefd0725c4f727f44e9c65a82970ead15e3566':
  Remove unnecessarily overridden defaultEnterKeyStyle
2014-08-05 13:25:59 +00:00
Jean Chalard 6745f337c1 am d5c89d64: am 6474ef99: Merge "[HW16] Implement processing event chains." into lmp-dev
* commit 'd5c89d64901f1fe7085e6c217d0c2fc19853b032':
  [HW16] Implement processing event chains.
2014-08-05 13:25:58 +00:00
Tadashi G. Takaoka 139e54a26d am c34a3842: am 8cbb4eb9: Merge "Make popup hint letter theme-aware" into lmp-dev
* commit 'c34a3842120078d921e69ed839873e430d6a674b':
  Make popup hint letter theme-aware
2014-08-05 13:25:56 +00:00
Jean Chalard 377825942e am 5a91e4fa: am f69bb4c7: [HW15] Pass events instead of reading them from the transaction
* commit '5a91e4fa909633ee2e9eaf8055b56228a79380a5':
  [HW15] Pass events instead of reading them from the transaction
2014-08-05 13:25:55 +00:00
Jean Chalard c36e679eb3 am b8c1075a: am 1b9f7c96: Merge "[HW14] Cleanup" into lmp-dev
* commit 'b8c1075a8f5ab62998056462b9c25ef848305019':
  [HW14] Cleanup
2014-08-05 13:25:52 +00:00
Jean Chalard 28632211ef am b5c862f8: am c710b34e: Merge "[HW13] Split up onCodeInput" into lmp-dev
* commit 'b5c862f8f942a3ae201cc6a657de9479340d1ad3':
  [HW13] Split up onCodeInput
2014-08-05 13:25:51 +00:00
Tadashi G. Takaoka a262144dcb Add ViewCompatUtils.setElevation
Bug: 16210054
Change-Id: I632158951a60ab527246410caefd9fbe471dd859
2014-08-05 18:56:24 +09:00
Tadashi G. Takaoka 689064d0a2 Remove unnecessarily overridden defaultEnterKeyStyle
The overriding defaultEnterKeyStyle was needed because there were two
Key's attributes to control key's visual, keyLabel and
keyIcon. Because these were merged into one keySpec attribute, there
is no need to override defaultEnterKeyStyle.

Bug: 16787857
Change-Id: I78ca2c7c9349e4532c67e8d6468a5b98309adc05
2014-08-05 09:54:02 +00:00
Jean Chalard f69bb4c7a3 [HW15] Pass events instead of reading them from the transaction
It's probably cleaner to just pass the events rather than read
them from a transaction, especially when a transaction may be
associated with several events in a chain.

Change-Id: I27830f0f3f3f32fe77ea8b9cad505b7ebee648af
2014-08-05 15:37:01 +09:00
Geoff Mendal 6bda487355 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-08-05 00:29:22 +00:00
Geoff Mendal bd77de8e06 Import translations. DO NOT MERGE
Change-Id: Ib34f1de1993c3e31f1f64b7476a9517feb511bdd
Auto-generated-cl: translation import
2014-08-06 13:20:25 -07:00
Tadashi G. Takaoka 7938392bd8 am 28b8f349: am 94a568a8: am 868395c6: Merge "Mark hind_compact layout as completed" into lmp-dev
* commit '28b8f349dfce8aa41a5cefd0d51ed8c7e01f8774':
  Mark hind_compact layout as completed
2014-08-06 17:47:54 +00:00
Jean Chalard 41eecbfb31 am 78d9b7c4: am bc043c31: am 1f3d89c2: Revert "[HS1] Save some data in startInputView"
* commit '78d9b7c4a03ecfcd72569b8304b9156119e9eb29':
  Revert "[HS1] Save some data in startInputView"
2014-08-06 17:47:53 +00:00
Jean Chalard 66f243fef1 am bd38799e: am fe807696: am 772a8019: Revert "[HS2] Move more stuff to onStartInput"
* commit 'bd38799e27dd2c43444b84a47dcb1228b4932fb5':
  Revert "[HS2] Move more stuff to onStartInput"
2014-08-06 17:47:52 +00:00
Tadashi G. Takaoka 62ef771813 am c8b860e3: am 571320ad: am 5dee1fd6: Merge "Add dedicated background for custom action label key" into lmp-dev
* commit 'c8b860e3e106f714751143a1857408f1a2cb6259':
  Add dedicated background for custom action label key
2014-08-06 17:47:50 +00:00
Jean Chalard 2d6f87df6f am 09ae6b91: am 922411a7: am ef74e737: Introduce onEvent() to improve testability
* commit '09ae6b9119a5a86165738cba94ae40c059d9f600':
  Introduce onEvent() to improve testability
2014-08-06 17:47:48 +00:00
Jean Chalard acc827b8dd am 43cf1ae7: am f66b0e5f: am c08c5064: Merge "Fix an NPE when running with Keep." into lmp-dev
* commit '43cf1ae7bb2e2e5c917b27ce9669ae12e547c15f':
  Fix an NPE when running with Keep.
2014-08-06 17:47:45 +00:00
Tadashi G. Takaoka 2809183cb6 am 0bfcb89a: am e8668c2e: am aa3ff194: Merge "Use add icon for add custom input style menu" into lmp-dev
* commit '0bfcb89ac4202fb7d53f5c82ec27f8f87fa0cea1':
  Use add icon for add custom input style menu
2014-08-06 17:47:44 +00:00
Jean Chalard 784484da0b am d393cf06: am 98e27483: am 9273f383: [HS3] Fix a bug on ICS
* commit 'd393cf065ab042cc78f7a51010161425080afd1d':
  [HS3] Fix a bug on ICS
2014-08-06 17:47:41 +00:00
Jean Chalard 37389193c8 am cf66902f: am 0978aa71: am 50c12c83: Merge "[HS2] Move more stuff to onStartInput" into lmp-dev
* commit 'cf66902f69911cc80da5b3a9e39634b0bc9ca343':
  [HS2] Move more stuff to onStartInput
2014-08-06 17:47:39 +00:00
Tadashi G. Takaoka c83113bbc1 am a58d78ec: am 9cca3c83: am a262144d: Add ViewCompatUtils.setElevation
* commit 'a58d78ec896b0d8bb80e9ab028af8766defd0261':
  Add ViewCompatUtils.setElevation
2014-08-05 13:30:40 +00:00
Tadashi G. Takaoka c25dc2544e am c6476920: am eceefd07: am 689064d0: Remove unnecessarily overridden defaultEnterKeyStyle
* commit 'c64769207d94c0b6515e7030a613c14bfc90ac3d':
  Remove unnecessarily overridden defaultEnterKeyStyle
2014-08-05 13:30:39 +00:00
Jean Chalard bc065f4d77 am 6745f337: am d5c89d64: am 6474ef99: Merge "[HW16] Implement processing event chains." into lmp-dev
* commit '6745f337c166cb1750e80ce9101bdbf57d2b6596':
  [HW16] Implement processing event chains.
2014-08-05 13:30:38 +00:00
Tadashi G. Takaoka df9f7c88ba am 139e54a2: am c34a3842: am 8cbb4eb9: Merge "Make popup hint letter theme-aware" into lmp-dev
* commit '139e54a26df783ea60e28812d63083844569bc52':
  Make popup hint letter theme-aware
2014-08-05 13:30:36 +00:00
Jean Chalard 385fbd9f8a am 37782594: am 5a91e4fa: am f69bb4c7: [HW15] Pass events instead of reading them from the transaction
* commit '377825942eca103c80f5f7e8fd9512bb9e3f1bbb':
  [HW15] Pass events instead of reading them from the transaction
2014-08-05 13:30:35 +00:00
Jean Chalard 27a0c9faf7 am c36e679e: am b8c1075a: am 1b9f7c96: Merge "[HW14] Cleanup" into lmp-dev
* commit 'c36e679eb32b5c48981f165e17f816271058924e':
  [HW14] Cleanup
2014-08-05 13:30:31 +00:00
Jean Chalard 9d6b5d108c am 28632211: am b5c862f8: am c710b34e: Merge "[HW13] Split up onCodeInput" into lmp-dev
* commit '28632211ef62c0d2d005b3ed92659f1ac6fbe05b':
  [HW13] Split up onCodeInput
2014-08-05 13:30:29 +00:00
Jean Chalard e433fb599b am 23cdb61a: am 82db6b45: am f1accd4f: [HS1] Save some data in startInputView
* commit '23cdb61a53c6ea69ff7075ac01fa8108f9d1cc12':
  [HS1] Save some data in startInputView
2014-08-05 04:02:17 +00:00
Jean Chalard 23cdb61a53 am 82db6b45: am f1accd4f: [HS1] Save some data in startInputView
* commit '82db6b45435ab93255d6406039be88b1d6998c2c':
  [HS1] Save some data in startInputView
2014-08-05 03:58:55 +00:00
Geoff Mendal 9c0b5b21eb Merge "Import translations. DO NOT MERGE" 2014-08-05 00:29:22 +00:00
Geoff Mendal f600192ea4 Import translations. DO NOT MERGE
Change-Id: Id120437f9e4d9a2e59dd07aba38bf6683a960142
Auto-generated-cl: translation import
2014-08-04 23:26:07 -07:00
Tadashi G. Takaoka 0df148fce0 Merge "Revert "Revert "Remove unused animation resources""" into lmp-dev 2014-08-05 00:07:36 +00:00
Tadashi G. Takaoka 57914a138a Revert "Revert "Remove unused animation resources""
This reverts commit c083255b50.

Change-Id: I357bcafe7f28fe72b2b51b566dd59ac9c1c5b2fc
2014-08-07 14:27:57 +00:00
Ken Wakasa c083255b50 Revert "Remove unused animation resources"
This reverts commit 9e7f0677bf.

Due to unit test breakage.

Change-Id: I664c25c17fc4cc98264bdac772eac086c9fbc183
2014-08-07 11:39:22 +00:00
Tadashi G. Takaoka 9e7f0677bf Remove unused animation resources
Change-Id: Idc0670588bb51e6a2b3eac9489cb643db293815a
2014-08-07 16:24:02 +09:00
Tadashi G. Takaoka 91f47b03fe Merge "Remove unused animation resources" into lmp-dev 2014-08-05 00:07:36 +00:00
Tadashi G. Takaoka 0c2dc41029 Merge "Clean up Keyboard and KeyboardView theme" into lmp-dev 2014-08-05 00:07:36 +00:00
Tadashi G. Takaoka ef231984ed Clean up Keyboard and KeyboardView theme
Change-Id: I745ed21b88fbdb1f3a16a71ebf3461d909ae448e
2014-08-07 16:16:31 +09:00
Tadashi G. Takaoka fd8b4522df (DO NOT MERGE) Remove preliminary keyboards from L
Change-Id: I9e1209b80b8919669b4496102b967220ab16146b
2014-08-07 13:00:34 +09:00
Ken Wakasa 3316dcd453 Merge "Revert "Introduce onEvent() to improve testability"" into lmp-dev 2014-08-05 00:07:36 +00:00
Ken Wakasa f5f5fb4b64 Revert "Introduce onEvent() to improve testability"
This reverts commit ef74e737f5.

Apparently, this CL broke several unit tests.

Change-Id: I86cf5f1ffb0214707afe99ee97f92ba8c5157f3f
2014-08-06 23:57:03 +00:00
Tadashi G. Takaoka 5dee1fd67d Merge "Add dedicated background for custom action label key" into lmp-dev 2014-08-05 00:07:36 +00:00
Tadashi G. Takaoka 017e9f7e7f Add dedicated background for custom action label key
Bug: 15526978
Change-Id: Ia73d825c7e00097018822704e61272d0e448f39a
2014-08-06 17:23:14 +09:00
Jean Chalard c08c506487 Merge "Fix an NPE when running with Keep." into lmp-dev 2014-08-05 00:07:36 +00:00
Jean Chalard 411fa5909b Fix an NPE when running with Keep.
Change-Id: Ie703e14bff42d34608f11d0c2d7758950b84c88c
2014-08-06 13:00:05 +09:00
Tadashi G. Takaoka aa3ff194cd Merge "Use add icon for add custom input style menu" into lmp-dev 2014-08-05 00:07:36 +00:00
Tadashi G. Takaoka f7d1dc2b5e Use add icon for add custom input style menu
Bug: 16805043
Change-Id: I9730a6aa5d761924457edaabcee25db930e20f02
2014-08-06 11:38:45 +09:00
Jean Chalard 93b00a314e [HS2] Move more stuff to onStartInput
Bug: 8152758
Change-Id: Ida05df7d151ceb582886e2ad06c5bdf0b59978ee
2014-08-06 11:14:47 +09:00
Jean Chalard 6474ef9925 Merge "[HW16] Implement processing event chains." into lmp-dev 2014-08-05 00:07:36 +00:00
Jean Chalard 0a2872cb44 [HW16] Implement processing event chains.
Change-Id: I4e1e4f101050ebda77c629a61c548d3c8efb330f
2014-08-05 15:37:01 +09:00
Tadashi G. Takaoka e9ed396f6c Merge "Revert "Revert "Add Key label off center attribute""" into lmp-dev 2014-08-05 00:03:09 +00:00
Tadashi G. Takaoka 0b5d12c6b4 Revert "Revert "Add Key label off center attribute""
This reverts commit 787e9a37b4.

Change-Id: I177b8f5d08eb487c19180c09101cc073222c4efe
2014-08-07 14:31:47 +00:00
Ken Wakasa 0f2de75e31 Merge "Revert "Remove unused animation resources"" into lmp-dev 2014-08-05 00:03:09 +00:00
Ken Wakasa 5f57fe4ad0 Merge "Revert "Remove unused Key and Keyboard attributes"" into lmp-dev 2014-08-05 00:03:09 +00:00
Ken Wakasa 44e20f4fb4 Revert "Remove unused Key and Keyboard attributes"
This reverts commit cdcaa37a37.

Due to unit test breakage.

Change-Id: I1c22edf983f6e03a34b86d7c1fae3d3188447a75
2014-08-07 11:37:11 +00:00
Tadashi G. Takaoka cdcaa37a37 Remove unused Key and Keyboard attributes
This CL removes the following unused Key attributes
- Key.keyLabelFlags' followKeyLargeLabelRatio
- Keyboard.keyLargeLabelRatio

Change-Id: Ib4fb13cc7ca902ac1733ecf27bd284d07e10bc3e
2014-08-07 17:23:37 +09:00
Tadashi G. Takaoka e988e412d9 Merge "Add Key label off center attribute" into lmp-dev 2014-08-05 00:03:09 +00:00
Tadashi G. Takaoka ba49920e80 Add Key label off center attribute
This CL adds two Key attributes to control how much a label should be
off centered.
- keyLabelOffCenterRatio
- keyHintLabelOffCenterRatio

Bug: 14419121
Change-Id: I26650eefdd375f0eeca8a1ca6034a8339d2a3182
2014-08-07 14:39:57 +09:00
Jean Chalard c710b34e34 Merge "[HW13] Split up onCodeInput" into lmp-dev 2014-08-05 00:03:09 +00:00
Jean Chalard a88e95e07e [HW13] Split up onCodeInput
Change-Id: I503c5403dcaea5db632eba85ae3fae9ba9a1f946
2014-08-05 12:59:36 +09:00
Ken Wakasa 5218382141 Merge "Revert "Tune number letter size of Material keyboard"" into lmp-dev 2014-08-04 23:56:40 +00:00
Ken Wakasa 5ad718f2ca Revert "Tune number letter size of Material keyboard"
This reverts commit 44454c2b2b.

Due to unit test breakage.

Bug: 14419121
Change-Id: Id0bbc2276fc035aa090f7bb4fa8112a1aecd483f
2014-08-07 11:36:20 +00:00
Ken Wakasa 1c7e6f8d6e Merge "Revert "Align hint label to bottom"" into lmp-dev 2014-08-04 23:56:40 +00:00
Ken Wakasa 02c4a80afe Revert "Align hint label to bottom"
This reverts commit f1784266ec.

Due to unit test breakage.

Bug: 14419121
Change-Id: Ibc201649e71135292530b26337d9305a6681f446
2014-08-07 11:35:26 +00:00
Keisuke Kuroyanagi b6665d958a Merge "Use DistracterFilterCheckingIsInDictionary for User History" into lmp-dev 2014-08-04 23:56:40 +00:00
Keisuke Kuroyanagi 87ab5b0518 Use DistracterFilterCheckingIsInDictionary for User History
Bug: 13142176
Bug: 15531638
Change-Id: I7e4e5afa05c5cee6eedef62c053d81edac5fa6af
2014-08-07 18:39:06 +09:00
Tadashi G. Takaoka 6ba5d63628 Merge "Remove unused Key and Keyboard attributes" into lmp-dev 2014-08-04 23:56:40 +00:00
Tadashi G. Takaoka 868395c637 Merge "Mark hind_compact layout as completed" into lmp-dev 2014-08-04 23:56:40 +00:00
Tadashi G. Takaoka 3760803de6 Mark hind_compact layout as completed
Bug: 13779052
Change-Id: If87ee2edbcfec4ad0444d13c7bd502df88cac89a
2014-08-06 18:34:22 +09:00
Tadashi G. Takaoka 8cbb4eb984 Merge "Make popup hint letter theme-aware" into lmp-dev 2014-08-04 23:56:40 +00:00
Tadashi G. Takaoka 3410e16907 Make popup hint letter theme-aware
Bug: 16351091
Change-Id: I6af18ea210c00916157138b9cfbeb073aee6ca1b
2014-08-05 17:32:53 +09:00
Jean Chalard 1b9f7c962c Merge "[HW14] Cleanup" into lmp-dev 2014-08-04 23:56:40 +00:00
Jean Chalard dd31a2dedf [HW14] Cleanup
Do away with the didAutoCorrect local variables which are
unnatural to return out of all these functions.

Change-Id: I22024004d2c489de018beff812c2c589bfd8ca32
2014-08-05 12:59:55 +09:00
Jean Chalard f1accd4f04 [HS1] Save some data in startInputView
Bug: 8152758
Change-Id: Ic57d3918b08e775769d4ba5d73ba5c31231e0d6a
2014-08-04 22:40:21 +09:00
Jean Chalard 890dfb7018 am 053352f2: am d9e41aac: am 85b7b967: Merge "[HW12] Use the consumed status of the Event." into lmp-dev
* commit '053352f283c77ae51e02ad2881a9b11017b85fe8':
  [HW12] Use the consumed status of the Event.
2014-08-04 04:27:51 +00:00
Jean Chalard 053352f283 am d9e41aac: am 85b7b967: Merge "[HW12] Use the consumed status of the Event." into lmp-dev
* commit 'd9e41aac3fdf6e81ed7f2487cd9c74c28734a5e2':
  [HW12] Use the consumed status of the Event.
2014-08-04 04:13:05 +00:00
Tadashi G. Takaoka aaa0f84053 am 530845cb: am 9681027a: am 03a1c442: Clean up compatible utility classes
* commit '530845cb5e03be07badba2a56e567519ae16bd60':
  Clean up compatible utility classes
2014-08-04 02:10:52 +00:00
Tadashi G. Takaoka 530845cb5e am 9681027a: am 03a1c442: Clean up compatible utility classes
* commit '9681027aade82febb2ba5e384d9c6f77511859d3':
  Clean up compatible utility classes
2014-08-04 02:07:36 +00:00
Tadashi G. Takaoka 03a1c442ae Clean up compatible utility classes
Change-Id: I95a682052037d292801477db0f05e04926b61412
2014-08-04 01:21:29 +00:00
Jean Chalard 1c129bf79a am 3d230119: am 9557e52e: am da5ccd9f: [HW11] Cleanup
* commit '3d230119bcf27f69f0ebe8e58b2b70b0f126da21':
  [HW11] Cleanup
2014-08-01 21:08:27 +00:00
Jean Chalard 3d230119bc am 9557e52e: am da5ccd9f: [HW11] Cleanup
* commit '9557e52ef43d33157f759cc02384d50480645a6f':
  [HW11] Cleanup
2014-08-01 21:00:12 +00:00
Jean Chalard 85b7b967b7 Merge "[HW12] Use the consumed status of the Event." into lmp-dev 2014-08-01 16:06:20 +00:00
Jean Chalard e0bad8e988 [HW12] Use the consumed status of the Event.
Change-Id: I1619f6132f8f71bc1291fd6a5604a5e1e3431ae2
2014-08-04 12:41:07 +09:00
Jean Chalard 2bac4e5ffe am dcd3d218: am 0b9d6140: am 00ee5f76: [HW10] Pull the processed event in its eventual place
* commit 'dcd3d2187cb078e4c374f3717a8fdecff708a785':
  [HW10] Pull the processed event in its eventual place
2014-07-31 13:40:45 +00:00
Jean Chalard a6622bdce6 am 3d663a0a: am 1711c2aa: am f290d407: [HW9] Pull the processed event further.
* commit '3d663a0a9d4ee37bddcb3bfcbe1f77d70226d03e':
  [HW9] Pull the processed event further.
2014-07-31 13:40:43 +00:00
Jean Chalard b11f1477a1 am 214f7431: am 795711f5: am 69b68b59: Fix some unit tests.
* commit '214f74313135f1027dae0c7792b652ca1b9f4914':
  Fix some unit tests.
2014-07-31 13:40:36 +00:00
Jean Chalard dcd3d2187c am 0b9d6140: am 00ee5f76: [HW10] Pull the processed event in its eventual place
* commit '0b9d6140495b106458bf22d11f5732bf5a0062b0':
  [HW10] Pull the processed event in its eventual place
2014-07-31 13:35:34 +00:00
Jean Chalard 3d663a0a9d am 1711c2aa: am f290d407: [HW9] Pull the processed event further.
* commit '1711c2aaf495a56d570f25d1b853bc3f40f16d08':
  [HW9] Pull the processed event further.
2014-07-31 13:35:33 +00:00
Jean Chalard 214f743131 am 795711f5: am 69b68b59: Fix some unit tests.
* commit '795711f5f91001416c0aab38203c3aa7a9bc9f98':
  Fix some unit tests.
2014-07-31 13:35:18 +00:00
Jean Chalard da5ccd9f18 [HW11] Cleanup
Change-Id: Ia866d3f9a5981c687766f8c39979fb6091018e44
2014-07-31 18:33:30 +09:00
Jean Chalard 00ee5f7697 [HW10] Pull the processed event in its eventual place
Change-Id: I5f7932097627766e907764a99a5e9c170f725bc0
2014-07-31 09:10:24 +00:00
Jean Chalard f290d4073a [HW9] Pull the processed event further.
The 'processedEvent' variables will ultimately disappear entirely.

Change-Id: I612c5ce7dedc341b64921a86ac028fe91b75359b
2014-07-31 09:10:03 +00:00
Jean Chalard 69b68b5916 Fix some unit tests.
The default value for the script needs to be Latin, as we don't specify
it in the files.

Change-Id: I1275f13f1cd92f00dc5708748fefb4982f0a60b3
2014-07-31 12:29:35 +09:00
Geoff Mendal 77aa7a9293 Merge "Import translations. DO NOT MERGE" 2014-07-30 19:31:16 +00:00
Geoff Mendal 09c66a64f0 Import translations. DO NOT MERGE
Change-Id: I3d29195219313870f9213eeaf0b985dfd350b73f
Auto-generated-cl: translation import
2014-07-31 00:12:44 -07:00
Geoff Mendal 71864e2edc Merge "Import translations. DO NOT MERGE" 2014-07-30 19:31:16 +00:00
Geoff Mendal 5720e29cdd Import translations. DO NOT MERGE
Change-Id: If072b73a0d9b75abd607b36437fbca00334e3676
Auto-generated-cl: translation import
2014-07-31 00:08:16 -07:00
Geoff Mendal 95284392fa Merge "Import translations. DO NOT MERGE" 2014-07-30 23:34:26 +00:00
Geoff Mendal 6fb0e02827 Import translations. DO NOT MERGE
Change-Id: I87901e5652dceebaacd2fcf4f345057e7df50254
Auto-generated-cl: translation import
2014-07-31 00:06:47 -07:00
Geoff Mendal 03c1a6fa5a Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-07-29 21:36:00 +00:00
Geoff Mendal f69fcecd7a Import translations. DO NOT MERGE
Change-Id: If1e3f1ed32f1be4a51e7a288a63305ad1bc10956
Auto-generated-cl: translation import
2014-07-31 00:10:13 -07:00
Jean Chalard 1f0c97eddf am 014f30f3: am f466c276: am 86893a3b: [HW8] Pull up the processed event.
* commit '014f30f34aa25238af9bcffecb1b2596f26b6206':
  [HW8] Pull up the processed event.
2014-07-30 17:17:25 +00:00
Tadashi G. Takaoka 869b117b04 am 17efa4fd: am 2505462d: am f4a3fd48: Merge "Disptach hover events when sliding suggestion mode" into lmp-dev
* commit '17efa4fd5dee61c5900325a6e82c2361897b402d':
  Disptach hover events when sliding suggestion mode
2014-07-30 17:17:22 +00:00
Jean Chalard 0706f18e96 am 82f2a0b8: am cea54014: am ae4e2036: [SD13] Reorder an enum alphabetically
* commit '82f2a0b8b8372b78a1c06bfc3f4172a3e03cc5b1':
  [SD13] Reorder an enum alphabetically
2014-07-30 17:17:20 +00:00
Jean Chalard dbe2b683c7 am e715a02f: am 67bb9d83: am 3a729d4e: [SD12] Add the last remaining scripts
* commit 'e715a02f4f93a77256f2170b2e921c2446f7819c':
  [SD12] Add the last remaining scripts
2014-07-30 17:17:19 +00:00
Jean Chalard e0698ef0a2 am fd59cd80: am 26b07201: am 7c5cd5ec: [SD11] Add script checks for Myanmar, Sinhala, Thai and Telugu
* commit 'fd59cd804c6938611de13c72283d0b476410608e':
  [SD11] Add script checks for Myanmar, Sinhala, Thai and Telugu
2014-07-30 17:17:18 +00:00
Jean Chalard f818786f46 am d5228f9c: am 1d1ba8ec: am 0304c777: Merge "[SD10] Add script checks for Lao and Khmer" into lmp-dev
* commit 'd5228f9c4a15f6d6d74989c5c5f237aed6eb361b':
  [SD10] Add script checks for Lao and Khmer
2014-07-30 17:17:16 +00:00
Ken Wakasa 59bc9ab003 am 818d3ee9: am ec8472b5: am 7f545a57: [HW7.5] Introduce the @Nonnull annotation (take 2)
* commit '818d3ee923ccdeab9c5091b781ea1bab1987bf69':
  [HW7.5] Introduce the @Nonnull annotation (take 2)
2014-07-30 17:17:15 +00:00
Jean Chalard e074053e36 am 1f9ece1c: am 14d985bd: am 0f6807bf: Merge "[HW7] Introduce consumed events" into lmp-dev
* commit '1f9ece1ca9046a00c4d6208a296c52beadce42fc':
  [HW7] Introduce consumed events
2014-07-30 17:17:13 +00:00
Jean Chalard 198e069ffe am 46f56262: am 99e13e48: am bf2a3210: Merge "[HW6] Split processing and applying the event." into lmp-dev
* commit '46f56262ed3fecf6cbe7341dc903636b30b23f2c':
  [HW6] Split processing and applying the event.
2014-07-30 17:17:12 +00:00
Ken Wakasa 863d8daa96 am ae5ebb06: am 93114fa0: am c4f6fc1e: Merge "Revert "[HW6] Split processing and applying the event."" into lmp-dev
* commit 'ae5ebb06cdcc89c6ae8c959dda89ca1cd5165fe3':
  Revert "[HW6] Split processing and applying the event."
2014-07-30 17:17:09 +00:00
Ken Wakasa 849164f223 am 06be5777: am 55387ba4: am 9fbeeb60: Merge "Revert "[HW7] Introduce consumed events"" into lmp-dev
* commit '06be57772f2fe5e3b92bfa137d90962fc792d258':
  Revert "[HW7] Introduce consumed events"
2014-07-30 17:17:08 +00:00
Ken Wakasa bda237a50e am 17440d7e: am cbffc447: am 2ce8799f: Merge "Revert "[HW8] Pull up the processed event."" into lmp-dev
* commit '17440d7ec8bba069d6f14c2b177700db5b3cb663':
  Revert "[HW8] Pull up the processed event."
2014-07-30 17:17:07 +00:00
Ken Wakasa 451a5af473 am e69ca079: am 2706868d: am dc0c3e1e: Merge "Revert "[HW9] Pull the processed event further."" into lmp-dev
* commit 'e69ca079c5d52db17b859144f6a1b7d624dbe68e':
  Revert "[HW9] Pull the processed event further."
2014-07-30 17:17:05 +00:00
Ken Wakasa 89645e64c3 am c329457a: am e3fd9367: am e8ca3f40: Merge "Revert "[HW10] Pull the processed event in its eventual place"" into lmp-dev
* commit 'c329457a06b026953b2da9acdfe8268831ccc5ce':
  Revert "[HW10] Pull the processed event in its eventual place"
2014-07-30 17:17:04 +00:00
Jean Chalard 014f30f34a am f466c276: am 86893a3b: [HW8] Pull up the processed event.
* commit 'f466c27601bbe83b101bf133694ee16ec10a8ae5':
  [HW8] Pull up the processed event.
2014-07-30 17:11:50 +00:00
Tadashi G. Takaoka 17efa4fd5d am 2505462d: am f4a3fd48: Merge "Disptach hover events when sliding suggestion mode" into lmp-dev
* commit '2505462da586cb708af5219e4c996644613f7677':
  Disptach hover events when sliding suggestion mode
2014-07-30 17:11:48 +00:00
Jean Chalard 82f2a0b8b8 am cea54014: am ae4e2036: [SD13] Reorder an enum alphabetically
* commit 'cea540145d65b605bb9bbe483c6210dd2f0d7d66':
  [SD13] Reorder an enum alphabetically
2014-07-30 17:11:40 +00:00
Jean Chalard e715a02f4f am 67bb9d83: am 3a729d4e: [SD12] Add the last remaining scripts
* commit '67bb9d83ae1e838f6c13d4afe19db3068edafb9b':
  [SD12] Add the last remaining scripts
2014-07-30 17:11:39 +00:00
Jean Chalard fd59cd804c am 26b07201: am 7c5cd5ec: [SD11] Add script checks for Myanmar, Sinhala, Thai and Telugu
* commit '26b072013f7ebb29b18d33196ba191e6baf9430c':
  [SD11] Add script checks for Myanmar, Sinhala, Thai and Telugu
2014-07-30 17:11:38 +00:00
Jean Chalard d5228f9c4a am 1d1ba8ec: am 0304c777: Merge "[SD10] Add script checks for Lao and Khmer" into lmp-dev
* commit '1d1ba8ec2c5b1eebb3b3e946c97bc9166f9a155c':
  [SD10] Add script checks for Lao and Khmer
2014-07-30 17:11:37 +00:00
Ken Wakasa 818d3ee923 am ec8472b5: am 7f545a57: [HW7.5] Introduce the @Nonnull annotation (take 2)
* commit 'ec8472b5f5e478ba4eb830a7603da9c5a4637461':
  [HW7.5] Introduce the @Nonnull annotation (take 2)
2014-07-30 17:11:36 +00:00
Jean Chalard 1f9ece1ca9 am 14d985bd: am 0f6807bf: Merge "[HW7] Introduce consumed events" into lmp-dev
* commit '14d985bdbdfd4a237add1009912a6920573c1a9d':
  [HW7] Introduce consumed events
2014-07-30 17:11:35 +00:00
Jean Chalard 46f56262ed am 99e13e48: am bf2a3210: Merge "[HW6] Split processing and applying the event." into lmp-dev
* commit '99e13e485a314615a6523794fbb26eecb6e67a74':
  [HW6] Split processing and applying the event.
2014-07-30 17:11:34 +00:00
Ken Wakasa ae5ebb06cd am 93114fa0: am c4f6fc1e: Merge "Revert "[HW6] Split processing and applying the event."" into lmp-dev
* commit '93114fa05f974fb6955937efe3207e025d5a82c5':
  Revert "[HW6] Split processing and applying the event."
2014-07-30 17:11:32 +00:00
Ken Wakasa 06be57772f am 55387ba4: am 9fbeeb60: Merge "Revert "[HW7] Introduce consumed events"" into lmp-dev
* commit '55387ba41731460a412fe4f39c081ff9f6a550f2':
  Revert "[HW7] Introduce consumed events"
2014-07-30 17:11:30 +00:00
Ken Wakasa 17440d7ec8 am cbffc447: am 2ce8799f: Merge "Revert "[HW8] Pull up the processed event."" into lmp-dev
* commit 'cbffc447e741876d13230097064642208aca6e69':
  Revert "[HW8] Pull up the processed event."
2014-07-30 17:11:29 +00:00
Ken Wakasa e69ca079c5 am 2706868d: am dc0c3e1e: Merge "Revert "[HW9] Pull the processed event further."" into lmp-dev
* commit '2706868d34362874511492856ea180386e3ea04f':
  Revert "[HW9] Pull the processed event further."
2014-07-30 17:11:28 +00:00
Ken Wakasa c329457a06 am e3fd9367: am e8ca3f40: Merge "Revert "[HW10] Pull the processed event in its eventual place"" into lmp-dev
* commit 'e3fd9367af79d3616e144023dc70bed077469b71':
  Revert "[HW10] Pull the processed event in its eventual place"
2014-07-30 17:11:27 +00:00
Jean Chalard 86893a3b3f [HW8] Pull up the processed event.
Change-Id: I18021b7ec1588fc52533c48b7d8774bec7764822
2014-07-30 08:39:46 +00:00
Jean Chalard ae4e203625 [SD13] Reorder an enum alphabetically
Change-Id: I907041b09e5bfce537ed4f592947b2cec8cef4ac
2014-07-30 15:58:43 +09:00
Jean Chalard 3a729d4ed8 [SD12] Add the last remaining scripts
Add scripts for Bengali, Devanagari, Kannada, Malayalam,
and Tamil.
Also include a very minor fix for Arabic.

This concludes work on:
Bug: 15840116

Change-Id: Iade313fc70030a67c68d424d8cb0cac245b883d1
2014-07-30 15:58:43 +09:00
Jean Chalard 7c5cd5ec89 [SD11] Add script checks for Myanmar, Sinhala, Thai and Telugu
Bug: 15840116
Change-Id: I1264fdeea0d4739ca0f360f4934d06e5a824d4e5
2014-07-30 15:58:43 +09:00
Ken Wakasa 7f545a57c9 [HW7.5] Introduce the @Nonnull annotation (take 2)
Change-Id: I05512b5434810046c8b72d6bb41567b6cd8b9d6e
2014-07-30 04:13:58 +00:00
Geoff Mendal 8c6d627b04 Merge "Import translations. DO NOT MERGE" 2014-07-29 21:36:00 +00:00
Geoff Mendal b4d0b6a546 Import translations. DO NOT MERGE
Change-Id: I0f3662d4c5c89c76b3aa5ceced64f6ece69e636a
Auto-generated-cl: translation import
2014-07-31 00:05:36 -07:00
Ken Wakasa de10298db7 am f5705385: am c9bba853: am 666f1b38: Merge "Revert "[HW7.5] Introduce the @Nonnull annotation"" into lmp-dev
* commit 'f5705385360e7f660b3f899480396a06a1dc6079':
  Revert "[HW7.5] Introduce the @Nonnull annotation"
2014-07-29 15:56:52 +00:00
Ken Wakasa f570538536 am c9bba853: am 666f1b38: Merge "Revert "[HW7.5] Introduce the @Nonnull annotation"" into lmp-dev
* commit 'c9bba853fa00f03bfc9b49931e320957adc15b20':
  Revert "[HW7.5] Introduce the @Nonnull annotation"
2014-07-29 15:53:12 +00:00
Jean Chalard f921ee1f63 am e4f81d6b: am 8a584a2f: am bcb61da5: [HW10] Pull the processed event in its eventual place
* commit 'e4f81d6b4700a54fddd0bca27926ebc65591a427':
  [HW10] Pull the processed event in its eventual place
2014-07-29 13:39:45 +00:00
Jean Chalard b681927c2b am b322e8c5: am f5e55433: am a8d80ec0: [HW9] Pull the processed event further.
* commit 'b322e8c5d4aa7e47bb5851ee4accbbd4085e97db':
  [HW9] Pull the processed event further.
2014-07-29 13:39:44 +00:00
Jean Chalard d3d92405bc am 5d5ab6a1: am 859ccd77: am 312c9498: Merge "[HW8] Pull up the processed event." into lmp-dev
* commit '5d5ab6a10c6180461ac5a7020511b4356b9cc5d0':
  [HW8] Pull up the processed event.
2014-07-29 13:39:43 +00:00
Jean Chalard 96089b4f68 am 6bc87b96: am 8c932cbd: am 3c7cb523: Merge "[HW7.5] Introduce the @Nonnull annotation" into lmp-dev
* commit '6bc87b96ce25887bb8bfe561308a65204152c577':
  [HW7.5] Introduce the @Nonnull annotation
2014-07-29 13:39:41 +00:00
Jean Chalard b874b87eb3 am 8c6778f9: am 716c7d29: am 30424521: Merge "[HW7] Introduce consumed events" into lmp-dev
* commit '8c6778f9ca6c09fa1034168ae13b68cea93f9420':
  [HW7] Introduce consumed events
2014-07-29 13:39:40 +00:00
Tadashi G. Takaoka e5d73673dd am 0f53ef0a: am 8172a681: am a715d7f6: Use fragment for keyboard theme settings
* commit '0f53ef0ab78277af74a22249e999a8ee62dd2c63':
  Use fragment for keyboard theme settings
2014-07-29 13:39:37 +00:00
Jean Chalard 97c5945132 am caf53907: am 4591869d: am 6c39db9f: Merge "[HW6] Split processing and applying the event." into lmp-dev
* commit 'caf539079d8e02f2f9f4b50a933d3df55c6e85c1':
  [HW6] Split processing and applying the event.
2014-07-29 13:39:36 +00:00
Jean Chalard f7e14e3c3e am 868c9ee4: am 1e2fb096: am 76ad2597: Merge "Improve the russian dictionary." into lmp-dev
* commit '868c9ee44d047d91caed053d96f95e8aecac81b4':
  Improve the russian dictionary.
2014-07-29 13:39:32 +00:00
Jean Chalard e4f81d6b47 am 8a584a2f: am bcb61da5: [HW10] Pull the processed event in its eventual place
* commit '8a584a2f610c2baf6f343fdccfb1eae42eda4351':
  [HW10] Pull the processed event in its eventual place
2014-07-29 13:32:08 +00:00
Jean Chalard b322e8c5d4 am f5e55433: am a8d80ec0: [HW9] Pull the processed event further.
* commit 'f5e55433a307256fa13f14dcfb148815a7c52aca':
  [HW9] Pull the processed event further.
2014-07-29 13:32:06 +00:00
Jean Chalard 5d5ab6a10c am 859ccd77: am 312c9498: Merge "[HW8] Pull up the processed event." into lmp-dev
* commit '859ccd77e3c91023829403e2afd600e9ade86977':
  [HW8] Pull up the processed event.
2014-07-29 13:32:05 +00:00
Jean Chalard 6bc87b96ce am 8c932cbd: am 3c7cb523: Merge "[HW7.5] Introduce the @Nonnull annotation" into lmp-dev
* commit '8c932cbd0a9563d03e914051e6447728875e6c2b':
  [HW7.5] Introduce the @Nonnull annotation
2014-07-29 13:32:03 +00:00
Jean Chalard 8c6778f9ca am 716c7d29: am 30424521: Merge "[HW7] Introduce consumed events" into lmp-dev
* commit '716c7d2923b0bd455dd9e0464c0dbf289ba76965':
  [HW7] Introduce consumed events
2014-07-29 13:32:02 +00:00
Tadashi G. Takaoka 0f53ef0ab7 am 8172a681: am a715d7f6: Use fragment for keyboard theme settings
* commit '8172a681439501a755459ca755c1a877fec919d6':
  Use fragment for keyboard theme settings
2014-07-29 13:31:59 +00:00
Jean Chalard caf539079d am 4591869d: am 6c39db9f: Merge "[HW6] Split processing and applying the event." into lmp-dev
* commit '4591869d562baef393b6ff63e90378401183dbc7':
  [HW6] Split processing and applying the event.
2014-07-29 13:31:58 +00:00
Jean Chalard 868c9ee44d am 1e2fb096: am 76ad2597: Merge "Improve the russian dictionary." into lmp-dev
* commit '1e2fb096143acc964ee9635c0448964b13a30c3a':
  Improve the russian dictionary.
2014-07-29 13:31:48 +00:00
Jean Chalard bcb61da581 [HW10] Pull the processed event in its eventual place
Change-Id: I9e13bb3efad557e9199021a344d8dff8215d97fa
2014-07-29 18:48:13 +09:00
Jean Chalard a8d80ec012 [HW9] Pull the processed event further.
The 'processedEvent' variables will ultimately disappear entirely.

Change-Id: If44c68c1116faa9ca23e4ffeabe320704431ab3c
2014-07-29 18:38:49 +09:00
Tadashi G. Takaoka a715d7f6fd Use fragment for keyboard theme settings
Bug: 11866784
Change-Id: Ic50b6eb1bd8f2b823e2c9dfad04d8615bc910936
2014-07-29 18:19:20 +09:00
Tadashi G. Takaoka 066ffed1f1 am 7c76da6d: am eee0baad: am 76cffec7: Show "navigate up" icon on settings activity
* commit '7c76da6d03e2cc87ca39691c3490c20c65fafa1d':
  Show "navigate up" icon on settings activity
2014-07-29 03:20:25 +00:00
Tadashi G. Takaoka 7c76da6d03 am eee0baad: am 76cffec7: Show "navigate up" icon on settings activity
* commit 'eee0baad2e7ac239cda55e675faaebd9642c21d3':
  Show "navigate up" icon on settings activity
2014-07-29 03:16:59 +00:00
Tadashi G. Takaoka 76cffec788 Show "navigate up" icon on settings activity
Bug: 15813742
Change-Id: I8b1feb5c35377e62199e5a909640d9c50f970654
2014-07-29 12:05:48 +09:00
Tadashi G. Takaoka 35e5357dc8 am 973c7abe: am af6cfb36: am 8ca3eb67: Merge "Update Material icons and backgrounds" into lmp-dev
* commit '973c7abefef7598817dec744e8925777b80eeb5c':
  Update Material icons and backgrounds
2014-07-29 02:54:01 +00:00
Tadashi G. Takaoka 973c7abefe am af6cfb36: am 8ca3eb67: Merge "Update Material icons and backgrounds" into lmp-dev
* commit 'af6cfb36cf15883022a527a3d47f53c18c259041':
  Update Material icons and backgrounds
2014-07-29 02:49:36 +00:00
Keisuke Kuroyanagi f468fd7c11 am e642693a: am 5e6431ce: am c6862ee6: Merge "Allow adding DICTIONARY_MAX_WORD_LENGTH-length words." into lmp-dev
* commit 'e642693a59f919aa0d124358cc352d22510a39db':
  Allow adding DICTIONARY_MAX_WORD_LENGTH-length words.
2014-07-29 02:02:57 +00:00
Keisuke Kuroyanagi e642693a59 am 5e6431ce: am c6862ee6: Merge "Allow adding DICTIONARY_MAX_WORD_LENGTH-length words." into lmp-dev
* commit '5e6431ce32e27d2cdc9e05ea24a7005a3c541386':
  Allow adding DICTIONARY_MAX_WORD_LENGTH-length words.
2014-07-29 01:59:51 +00:00
Jean Chalard bfd40d2a93 am 37f701df: am b6a75d10: am 036b83f4: Merge "Wait for an event before actually realizing it" into lmp-dev
* commit '37f701dfa09f303f45c3c0494482c8ae9694b4e1':
  Wait for an event before actually realizing it
2014-07-28 12:18:17 +00:00
Tadashi G. Takaoka ed0d9a7fce am 4c6e8e70: am 5fc43eb0: am 1e491d90: Merge "Use fragment for advanced preference screen" into lmp-dev
* commit '4c6e8e70fb68eb9ae47d3b612440e07755366fa2':
  Use fragment for advanced preference screen
2014-07-28 12:18:16 +00:00
Keisuke Kuroyanagi e1d781bbbf am 4de1ca67: am 0bad998c: am fb15b768: Merge "Fix NPE when context.getFilesDir() returns null." into lmp-dev
* commit '4de1ca67d7340b3c2db1b7fc9262029886b3fd68':
  Fix NPE when context.getFilesDir() returns null.
2014-07-28 12:18:14 +00:00
Tadashi G. Takaoka 93c58c7c61 am cd4799fd: am 1f5881b7: am 9ba85413: Merge "Refactor Debug settings to use SubScreenFragment" into lmp-dev
* commit 'cd4799fdf96335e32d122562789aee0bc127d49c':
  Refactor Debug settings to use SubScreenFragment
2014-07-28 12:18:13 +00:00
Tadashi G. Takaoka 12769faeed am a8765dae: am b1067103: am 633f1a5e: Merge "Use fragment for text correction preference screen" into lmp-dev
* commit 'a8765daeec64991afab0bccab5dea82c6296425d':
  Use fragment for text correction preference screen
2014-07-28 12:18:12 +00:00
Tadashi G. Takaoka 4ed4d4fc46 am 2d64f7c0: am f63a044c: am a484dc84: Merge "Use fragment for gesture typing preference screen" into lmp-dev
* commit '2d64f7c097bb0246e8c1ac1a1f82c175c40c4e41':
  Use fragment for gesture typing preference screen
2014-07-28 12:18:10 +00:00
Tadashi G. Takaoka 1f6cc6fb57 am a0a37bd3: am beffde59: am 1da43854: Merge "Use fragment for multi lingual preference screen" into lmp-dev
* commit 'a0a37bd368c2570f60106f30391d413e48d80f42':
  Use fragment for multi lingual preference screen
2014-07-28 12:18:09 +00:00
Jean Chalard 275079c9ae am d33f7e84: am ac82983f: am 6d7a0810: Merge "Fix a verifier error on ICS." into lmp-dev
* commit 'd33f7e84ab44bb27c82c300b431518bb48919883':
  Fix a verifier error on ICS.
2014-07-28 12:18:08 +00:00
Tadashi G. Takaoka 18855ae268 am 081a4177: am c140938d: am bfcd98ed: Use fragment for input preference screen
* commit '081a4177e482727cc27e686607c02cf9f099a64d':
  Use fragment for input preference screen
2014-07-28 12:18:06 +00:00
Tadashi G. Takaoka ed65482cc7 am 4dba300e: am 26a29865: am ab661e3e: Make "Show correction suggestions" as a binary option
* commit '4dba300e50587f1bc9c1c5ca7bd98adc1781bdf5':
  Make "Show correction suggestions" as a binary option
2014-07-28 12:18:04 +00:00
Jean Chalard 37f701dfa0 am b6a75d10: am 036b83f4: Merge "Wait for an event before actually realizing it" into lmp-dev
* commit 'b6a75d10de3ab43dcf318fde77e81918fc55e02b':
  Wait for an event before actually realizing it
2014-07-28 12:14:29 +00:00
Tadashi G. Takaoka 4c6e8e70fb am 5fc43eb0: am 1e491d90: Merge "Use fragment for advanced preference screen" into lmp-dev
* commit '5fc43eb04df9870fb6256d8d3918e7d399ca8a79':
  Use fragment for advanced preference screen
2014-07-28 12:14:28 +00:00
Keisuke Kuroyanagi 4de1ca67d7 am 0bad998c: am fb15b768: Merge "Fix NPE when context.getFilesDir() returns null." into lmp-dev
* commit '0bad998c52cc0ed610e4fef745c438472f14a7e4':
  Fix NPE when context.getFilesDir() returns null.
2014-07-28 12:14:26 +00:00
Tadashi G. Takaoka cd4799fdf9 am 1f5881b7: am 9ba85413: Merge "Refactor Debug settings to use SubScreenFragment" into lmp-dev
* commit '1f5881b752b9b8e527b00e14150cfedd916513ce':
  Refactor Debug settings to use SubScreenFragment
2014-07-28 12:14:25 +00:00
Tadashi G. Takaoka a8765daeec am b1067103: am 633f1a5e: Merge "Use fragment for text correction preference screen" into lmp-dev
* commit 'b1067103343c9b196e0a9276f3e9f7c20b6def86':
  Use fragment for text correction preference screen
2014-07-28 12:14:24 +00:00
Tadashi G. Takaoka 2d64f7c097 am f63a044c: am a484dc84: Merge "Use fragment for gesture typing preference screen" into lmp-dev
* commit 'f63a044c6649f3cabc3b612ed5bd79b6601f52ae':
  Use fragment for gesture typing preference screen
2014-07-28 12:14:23 +00:00
Tadashi G. Takaoka a0a37bd368 am beffde59: am 1da43854: Merge "Use fragment for multi lingual preference screen" into lmp-dev
* commit 'beffde59c36515f77946b35c2b0279413a1df69f':
  Use fragment for multi lingual preference screen
2014-07-28 12:14:21 +00:00
Jean Chalard d33f7e84ab am ac82983f: am 6d7a0810: Merge "Fix a verifier error on ICS." into lmp-dev
* commit 'ac82983f65626c1db3fd878ba059807166ffbe36':
  Fix a verifier error on ICS.
2014-07-28 12:14:20 +00:00
Tadashi G. Takaoka 081a4177e4 am c140938d: am bfcd98ed: Use fragment for input preference screen
* commit 'c140938d99b2b34e95d7e45425396f280a486043':
  Use fragment for input preference screen
2014-07-28 12:14:19 +00:00
Tadashi G. Takaoka 4dba300e50 am 26a29865: am ab661e3e: Make "Show correction suggestions" as a binary option
* commit '26a2986581410536a98e1c311214dc90d9934546':
  Make "Show correction suggestions" as a binary option
2014-07-28 12:14:18 +00:00
Tadashi G. Takaoka bfcd98edc7 Use fragment for input preference screen
This CL introduces a common abstract class, SunScreenFragment, for
PreferenceFragment that implements a PreferenceScreen of the main
settings preference screen.

Bug: 16522808
Change-Id: I11fba71b5e9f96208b261e0c0314de8a41720d0f
2014-07-27 16:06:52 +09:00
Tadashi G. Takaoka ab661e3ef8 Make "Show correction suggestions" as a binary option
Formerly "Show correction suggestions" had three options, "always
show", "show in portrait mode", and "always hide". The reason behind
"show in portrait mode" was that there may not be enough screen estate
in landscape mode to show suggestions. Because recent phone devices
have relatively large screen, we decide to remove "show in portrait
mode" option.

Bug: 15780939
Change-Id: I896d737452c3893d43ce20bd88127f10c1eb3d83
2014-07-27 14:47:07 +09:00
Ken Wakasa e8ca3f4091 Merge "Revert "[HW10] Pull the processed event in its eventual place"" into lmp-dev 2014-07-25 11:19:20 +00:00
Ken Wakasa 79fd911c8d Revert "[HW10] Pull the processed event in its eventual place"
This reverts commit bcb61da581.

Reverting due to a few critical bugs and unit test failures.

Change-Id: I5f7ee2c7883496ed36e56b3ef12fac91f85f9866
2014-07-30 00:29:41 +00:00
Jean Chalard 312c9498be Merge "[HW8] Pull up the processed event." into lmp-dev 2014-07-25 11:19:20 +00:00
Jean Chalard ebdd641d58 [HW8] Pull up the processed event.
Change-Id: If4baba0af2e88627f22b5e7312948fc3d9c5a25f
2014-07-29 17:49:24 +09:00
Jean Chalard 60a2cd8ac4 [HW7.5] Introduce the @Nonnull annotation
Change-Id: I1f69ea704056943fa3371ff610e2d8181ead2376
2014-07-29 17:49:19 +09:00
Jean Chalard 99aff0af98 [HW7] Introduce consumed events
Change-Id: Ic2d95d19b1ac66e3e97e4a16187ce5aecb4ac678
2014-07-29 17:49:14 +09:00
Jean Chalard 1db3d860ca [HW6] Split processing and applying the event.
If anyone has better names for those...

Change-Id: Ia2dfc75381816bd688948647e2c50c10657b9e89
2014-07-29 17:40:48 +09:00
Jean Chalard 3042452170 Merge "[HW7] Introduce consumed events" into lmp-dev 2014-07-25 11:19:20 +00:00
Jean Chalard 76ad259764 Merge "Improve the russian dictionary." into lmp-dev 2014-07-25 11:19:20 +00:00
Jean Chalard ae41058659 Improve the russian dictionary.
Deleted: 38 words
Probability adjusted: 11 words
Added: 1299 words

[Category diff]
+1      15
-1       0
+2       0
-2       0
+3       0
-3       0
+4       0
-4       0
+5       0
-5       3
+6       1
-6       0
+7       0
-7      13

[Weighted category diff]
+1      15
-1       0
+2       0
-2       0
+3       0
-3       0
+4       0
-4       0
+5       0
-5       3
+6       1
-6       0
+7       0
-7      13

Change-Id: I1a6513954d60b30738cb849578ce535c5e05eb1a
2014-07-29 13:31:23 +09:00
Keisuke Kuroyanagi c6862ee699 Merge "Allow adding DICTIONARY_MAX_WORD_LENGTH-length words." into lmp-dev 2014-07-25 11:19:20 +00:00
Keisuke Kuroyanagi d9a8f2a82f Allow adding DICTIONARY_MAX_WORD_LENGTH-length words.
Bug: 12725817
Change-Id: Ib9b30473ba94242a7b97ccd3b850068f596a5d17
2014-07-28 21:48:02 +09:00
Jean Chalard 036b83f4c4 Merge "Wait for an event before actually realizing it" into lmp-dev 2014-07-25 11:19:20 +00:00
Jean Chalard 3d951c1eff Wait for an event before actually realizing it
This would wrongly emit a 'timeout' log entry when switching
between two instances of the same language.

Change-Id: I56e5de121b87f3e762b58f0b2a77e9abc784036e
2014-07-28 19:33:49 +09:00
Baligh Uddin 2dc3a51001 Merge "Import translations. DO NOT MERGE" 2014-07-24 20:48:02 +00:00
Tadashi G. Takaoka 9a3905beca am 456cc996: am a270ac4a: Remove unnecessary DebugSettingsActivity, use fragment directly
* commit '456cc9967831337c759ae2ba9c6a5621ef776110':
  Remove unnecessary DebugSettingsActivity, use fragment directly
2014-07-24 20:08:27 +00:00
Tadashi G. Takaoka 456cc99678 am a270ac4a: Remove unnecessary DebugSettingsActivity, use fragment directly
* commit 'a270ac4a61ff64f5d262a212b0bf4c128d3ce8d7':
  Remove unnecessary DebugSettingsActivity, use fragment directly
2014-07-24 20:01:00 +00:00
Baligh Uddin 9ac0f0838b Import translations. DO NOT MERGE
Change-Id: Id8eadce808d946a7674f41826ab4aa086ac818e7
Auto-generated-cl: translation import
2014-07-24 09:40:19 -07:00
Tadashi G. Takaoka f4a3fd4893 Merge "Disptach hover events when sliding suggestion mode" into lmp-dev 2014-07-24 16:04:26 +00:00
Tadashi G. Takaoka da232a70a8 Disptach hover events when sliding suggestion mode
Bug: 15687702
Change-Id: I7ace1fbbba724c6e422230a3d88f8cc9ffa8efc2
2014-07-30 14:55:53 +09:00
Jean Chalard 0304c77750 Merge "[SD10] Add script checks for Lao and Khmer" into lmp-dev 2014-07-24 16:04:26 +00:00
Jean Chalard a9c12692ed [SD10] Add script checks for Lao and Khmer
Bug: 15840116
Change-Id: Id72b739e73cb3e72f56e1872ad9d60469555e193
2014-07-30 12:02:37 +09:00
Jean Chalard 8e38b12e9c [HW7] Introduce consumed events
Change-Id: I692c35b8e701d5a84500b949884472545b1f424d
2014-07-30 11:37:19 +09:00
Jean Chalard 7196566d4f [HW6] Split processing and applying the event.
...take 2

Change-Id: I9d13b6d51e13ce2e76ae3febebfb8c310eba509d
2014-07-30 11:06:43 +09:00
Ken Wakasa c4f6fc1e48 Merge "Revert "[HW6] Split processing and applying the event."" into lmp-dev 2014-07-24 16:04:26 +00:00
Ken Wakasa 4399849dea Revert "[HW6] Split processing and applying the event."
This reverts commit 1db3d860ca.

Reverting due to a few critical bugs and unit test failures.

Change-Id: I5e2d02300320438ef9c29577ec5b0860ea91d822
2014-07-30 00:55:49 +00:00
Ken Wakasa 9fbeeb609f Merge "Revert "[HW7] Introduce consumed events"" into lmp-dev 2014-07-24 16:04:26 +00:00
Ken Wakasa bfa6f9533c Revert "[HW7] Introduce consumed events"
This reverts commit 99aff0af98.

Reverting due to a few critical bugs and unit test failures.

Change-Id: Id41d802981d079f17134a03cc30ab36a3cdd4ac1
2014-07-30 00:53:24 +00:00
Ken Wakasa 2ce8799fa8 Merge "Revert "[HW8] Pull up the processed event."" into lmp-dev 2014-07-24 16:04:26 +00:00
Ken Wakasa 76fc4914b3 Revert "[HW8] Pull up the processed event."
This reverts commit ebdd641d58.

Reverting due to a few critical bugs and unit test failures.

Change-Id: Ie7958d749dc813c1752d03aec7f14f5586225ff7
2014-07-30 00:31:57 +00:00
Ken Wakasa dc0c3e1e2a Merge "Revert "[HW9] Pull the processed event further."" into lmp-dev 2014-07-24 16:04:26 +00:00
Ken Wakasa e2397e54c6 Revert "[HW9] Pull the processed event further."
This reverts commit a8d80ec012.

Reverting due to a few critical bugs and unit test failures.

Change-Id: I3f49b54f34d875e8986d6ddc2523ab0b706dc6f2
2014-07-30 00:31:12 +00:00
Ken Wakasa 666f1b384f Merge "Revert "[HW7.5] Introduce the @Nonnull annotation"" into lmp-dev 2014-07-24 16:04:26 +00:00
Ken Wakasa 8aa74da98d Revert "[HW7.5] Introduce the @Nonnull annotation"
This reverts commit 60a2cd8ac4.

Reverting due to build breakage under the unbundled branch.

Change-Id: Iab2988c53884166f62c95da920ac7a7079a0e5a0
2014-07-29 15:43:59 +00:00
Jean Chalard 3c7cb5234f Merge "[HW7.5] Introduce the @Nonnull annotation" into lmp-dev 2014-07-24 16:04:26 +00:00
Tadashi G. Takaoka 8ca3eb67d2 Merge "Update Material icons and backgrounds" into lmp-dev 2014-07-24 16:04:26 +00:00
Tadashi G. Takaoka e14c680078 Update Material icons and backgrounds
Bug: 16143083
Change-Id: I6396f725b30e9ef6fa7964a0c9d7eb6d1d97e376
2014-07-29 11:32:04 +09:00
Tadashi G. Takaoka 1e491d90f9 Merge "Use fragment for advanced preference screen" into lmp-dev 2014-07-24 16:04:26 +00:00
Tadashi G. Takaoka 9bdcb13160 Use fragment for advanced preference screen
Bug: 16522808
Change-Id: If4a2ad7a7dfecc7019bf78ad37d93fa8f37cf21e
2014-07-28 19:24:41 +09:00
Keisuke Kuroyanagi fb15b768dd Merge "Fix NPE when context.getFilesDir() returns null." into lmp-dev 2014-07-24 16:04:26 +00:00
Keisuke Kuroyanagi 79ff803cb0 Fix NPE when context.getFilesDir() returns null.
Bug: 16416948
Change-Id: I0fac5ab26d6efbadbd688d033a79f6705e0161a5
2014-07-28 19:25:07 +09:00
Tadashi G. Takaoka 9ba854133c Merge "Refactor Debug settings to use SubScreenFragment" into lmp-dev 2014-07-24 16:04:26 +00:00
Tadashi G. Takaoka 99295c8c5f Refactor Debug settings to use SubScreenFragment
Bug: 16522808
Change-Id: I741e2fbc5f0a62c7d4ae00e603eef52cc2a6d086
2014-07-28 19:16:42 +09:00
Tadashi G. Takaoka 00b49cad9c Use fragment for text correction preference screen
Bug: 16522808
Change-Id: Ia8ce83b0e69cc8157f7b8cefcfeb863eb85ee4b4
2014-07-28 17:48:49 +09:00
Tadashi G. Takaoka 3c8a075a58 Use fragment for gesture typing preference screen
Bug: 16522808
Change-Id: Ib8c2997466bb006c6b5d4e980344507b822d0023
2014-07-28 17:45:41 +09:00
Tadashi G. Takaoka 6b71530017 Use fragment for multi lingual preference screen
Bug: 16522808
Change-Id: I0bfac43513e1fb85b5d4c07f56dd4c5b82f75ed1
2014-07-28 17:20:16 +09:00
Tadashi G. Takaoka 633f1a5e6e Merge "Use fragment for text correction preference screen" into lmp-dev 2014-07-24 16:04:26 +00:00
Tadashi G. Takaoka a484dc84d9 Merge "Use fragment for gesture typing preference screen" into lmp-dev 2014-07-24 16:04:26 +00:00
Tadashi G. Takaoka 1da4385493 Merge "Use fragment for multi lingual preference screen" into lmp-dev 2014-07-24 16:04:26 +00:00
Jean Chalard 6d7a08107c Merge "Fix a verifier error on ICS." into lmp-dev 2014-07-24 16:04:26 +00:00
Jean Chalard da70b90aa7 Fix a verifier error on ICS.
Bug: 16530557
Change-Id: I271c5884995a1d5f8a1cb7aee6f52d17fabb9e72
2014-07-28 17:33:52 +09:00
Tadashi G. Takaoka a270ac4a61 Remove unnecessary DebugSettingsActivity, use fragment directly
This CL must be checked in together with I1db2e848ab.

Bug: 16522808
Change-Id: I08a1b0c300c504def609cbb53462d215d1ead15c
2014-07-23 17:09:46 -07:00
Baligh Uddin 129f05867f Merge "Import translations. DO NOT MERGE" 2014-07-22 16:21:19 +00:00
Baligh Uddin 8fc6b5a820 Import translations. DO NOT MERGE
Change-Id: I8916526987bd2008b85222124bf465114e4d592c
Auto-generated-cl: translation import
2014-07-22 17:43:50 +00:00
Baligh Uddin 58ad6c4805 Import translations. DO NOT MERGE
Change-Id: Ic1191118d6f8d9dc2bcc6c293c4ffa0f86be34c6
Auto-generated-cl: translation import
2014-07-22 17:39:41 +00:00
Baligh Uddin 3d2d4280c0 Import translations. DO NOT MERGE
Change-Id: Ie5e463b792381613105191536f50f20a05a76916
Auto-generated-cl: translation import
2014-07-22 17:43:56 +00:00
Baligh Uddin 9f147c1337 Merge "Import translations. DO NOT MERGE" 2014-07-22 16:21:19 +00:00
Baligh Uddin e13e675cdc Import translations. DO NOT MERGE
Change-Id: I95653f0874ab89771a1aa60cb3a01cb3cfedf01a
Auto-generated-cl: translation import
2014-07-22 17:44:02 +00:00
Baligh Uddin f1e3f9df51 Merge "Import translations. DO NOT MERGE" 2014-07-22 16:29:55 +00:00
Baligh Uddin c1d2124a3e Import translations. DO NOT MERGE
Change-Id: I8ffb44bf95c317dca14df03e5627bd9870acccb5
Auto-generated-cl: translation import
2014-07-22 17:44:08 +00:00
Baligh Uddin 05a2e8dea5 Merge "Import translations. DO NOT MERGE" 2014-07-22 16:21:19 +00:00
Baligh Uddin f9efaad468 Import translations. DO NOT MERGE
Change-Id: I2f8c16e0dcaf894d2c0acb70c5804969ac618500
Auto-generated-cl: translation import
2014-07-22 17:44:19 +00:00
Baligh Uddin ef29c1cd61 Import translations. DO NOT MERGE
Change-Id: I844a25e74c1cd451523248ae0d09ba9d40c3d09d
Auto-generated-cl: translation import
2014-07-22 17:44:14 +00:00
Yohei Yukawa ec626d4bfe am e2ceff04: am 3f513f10: Enable InputMethodService#onUpdateCursor behind the flag
* commit 'e2ceff04582791af2d25facfa5124b44ea95de3b':
  Enable InputMethodService#onUpdateCursor behind the flag
2014-07-21 18:37:30 +00:00
Yohei Yukawa 14ee576911 am 21036c27: am 91e7daad: Merge "Use CharSequence for spell checker to keep spans preserved" into lmp-dev
* commit '21036c277648bf43b40295dc0da6972354f57b57':
  Use CharSequence for spell checker to keep spans preserved
2014-07-21 18:37:28 +00:00
Yohei Yukawa 9a9893d1a2 am 080eba65: am 22ba22f3: Merge "Add two convenient utility methods for L new API" into lmp-dev
* commit '080eba652d2aba82d8b86a84a166529ca9303714':
  Add two convenient utility methods for L new API
2014-07-21 18:37:25 +00:00
Tadashi G. Takaoka 86b59df23c am ec8d08af: am 34da7494: Merge "Update Hindi Compact keyboard layout" into lmp-dev
* commit 'ec8d08af28a598ab0321ffdb7aa302d95a99ec55':
  Update Hindi Compact keyboard layout
2014-07-21 18:37:24 +00:00
Tadashi G. Takaoka 348430afde am 9c6abf3e: am 639c93f4: Remove unused Key.keyLabelFlags\' values
* commit '9c6abf3eceea1090021efad12f86379c27efdbc1':
  Remove unused Key.keyLabelFlags' values
2014-07-21 18:37:22 +00:00
Yohei Yukawa 7dea6dab01 am dba82c67: am 5bb0bff0: Merge "Enable StringUtils to split CharSequence like String#split" into lmp-dev
* commit 'dba82c677a0bca0aac9d4847f5833baa74c91242':
  Enable StringUtils to split CharSequence like String#split
2014-07-21 18:37:21 +00:00
Tadashi G. Takaoka d93f8c5947 am f6785ea5: am de1ab73e: Use Theme.DeviceDefault theme
* commit 'f6785ea588799bf58140f2b315098e0b165f7665':
  Use Theme.DeviceDefault theme
2014-07-21 18:37:20 +00:00
Yohei Yukawa 080eba652d am 22ba22f3: Merge "Add two convenient utility methods for L new API" into lmp-dev
* commit '22ba22f32dc9d59a0dccc8d1bca7aaee90e90b2a':
  Add two convenient utility methods for L new API
2014-07-21 18:28:33 +00:00
Tadashi G. Takaoka ec8d08af28 am 34da7494: Merge "Update Hindi Compact keyboard layout" into lmp-dev
* commit '34da7494374d44b37d051c6c1a967d6c243ac5a7':
  Update Hindi Compact keyboard layout
2014-07-21 18:28:32 +00:00
Tadashi G. Takaoka 9c6abf3ece am 639c93f4: Remove unused Key.keyLabelFlags\' values
* commit '639c93f43bc51a8328d7dc11a09a3bd77974aeae':
  Remove unused Key.keyLabelFlags' values
2014-07-21 18:28:30 +00:00
Yohei Yukawa dba82c677a am 5bb0bff0: Merge "Enable StringUtils to split CharSequence like String#split" into lmp-dev
* commit '5bb0bff0e4ae0553c3732378d1e328b9fea0b88d':
  Enable StringUtils to split CharSequence like String#split
2014-07-21 18:28:28 +00:00
Tadashi G. Takaoka f6785ea588 am de1ab73e: Use Theme.DeviceDefault theme
* commit 'de1ab73efbe3520059647924857a2d7b82e2fbe7':
  Use Theme.DeviceDefault theme
2014-07-21 18:28:17 +00:00
Yohei Yukawa 3f513f107e Enable InputMethodService#onUpdateCursor behind the flag
With this CL, InputMethodService#onUpdateCursor and
InputMethodService#onUpdateCursorAnchorInfo can be enabled
on L when ENABLE_CURSOR_ANCHOR_INFO_CALLBACK and
ENABLE_CURSOR_RECT_CALLBACK are specified, respectively.

BUG: 16382260
Change-Id: I29924128f6bd2f08cbd91cc4e82c9c4a6ecce3ff
2014-07-20 20:56:52 +09:00
Tadashi G. Takaoka 34da749437 Merge "Update Hindi Compact keyboard layout" into lmp-dev 2014-07-19 22:40:06 +00:00
Tadashi G. Takaoka 254c5c1e4b Update Hindi Compact keyboard layout
Bug: 13779052
Change-Id: I350e5521b41d2a0b1cc17b6d4a48e6a816db916c
2014-07-19 16:43:35 -07:00
Tadashi G. Takaoka 639c93f43b Remove unused Key.keyLabelFlags' values
Change-Id: Iae3cd6674448f258ee0a4bf2966bf3c347876b4f
2014-07-19 12:31:50 -07:00
Baligh Uddin 6aa218ad0c am a7783b28: Remove deprecated locales
* commit 'a7783b288c018350e402abf53457bbb214e6e4d6':
  Remove deprecated locales
2014-07-19 00:15:54 +00:00
Tadashi G. Takaoka de1ab73efb Use Theme.DeviceDefault theme
For API 21 (and later), Theme.DeviceDefault.Light is specified.

This CL must be checked in together with Ic91f28df81.

Bug: 11866784
Bug: 13888366
Bug: 15781377
Change-Id: I01b288473128fc2491d3663e90cab56d0ba2d704
2014-07-18 15:30:30 -07:00
Baligh Uddin a7783b288c Remove deprecated locales
Change-Id: Ia01c8414b688db7d771880dfbd115c76a1dd9019
2014-07-18 11:43:07 -07:00
Yohei Yukawa 22ba22f32d Merge "Add two convenient utility methods for L new API" into lmp-dev 2014-07-18 18:24:25 +00:00
Yohei Yukawa 5696ac95ac Add two convenient utility methods for L new API
This CL adds two convenient utility methods for
InputConnection#requestCursorAnchorInfo to encapsulate
a bit complicated parameter construction.

BUG: 16382260
Change-Id: Ib11e3bd15a4edcb602c08ff830b2fb7b34ec00da
2014-07-19 23:42:37 +09:00
Baligh Uddin 3a5ff3b53b am 91bb980e: Merge "Will have to fix the CL."
* commit '91bb980e55cb57f2ae99b7fbc9296d6aea3e7ae6':
  Will have to fix the CL.
2014-07-18 17:52:42 +00:00
Baligh Uddin ffde3290a7 am ca391248: Merge "Remove deprecated locales"
* commit 'ca391248b324a199cfbae42751fbbf480e056796':
  Remove deprecated locales
2014-07-18 17:28:07 +00:00
Ken Wakasa 13e1195e2d am df588754: am e645715b: Clean up under the util package.
* commit 'df588754be4986a8db325e7d0ee0eeeca637a3b3':
  Clean up under the util package.
2014-07-18 13:21:43 +00:00
Ken Wakasa e645715b25 Clean up under the util package.
- Move util classes that are unused in AOSP
- Remove unused methods

Change-Id: Ic97fd313f1e2bafd50609d42aa3a2d090b63eafc
2014-07-18 17:47:14 +09:00
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
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
Keisuke Kuroyanagi 37c49f63df Update suggestion strip when the contextual dict is updated.
Bug: 14161647
Change-Id: Ic7d53464bd051bffc8c7f8d097325321fe0aaee7
2014-06-16 18:30:59 +09:00
Keisuke Kuroyanagi cb368a6dac Fix: Probability used for one word contextual phrase.
Bug: 14161647
Change-Id: Ia5f985ea467145fb381e3ad2c1f67f3b013f19e8
2014-06-16 18:20:33 +09:00
Jean Chalard ccfc824a88 Merge "[CM2] Update beginning-of-sentence suggestions" 2014-06-10 22:31:57 +00:00
Jean Chalard c715d95f17 [CM2] Update beginning-of-sentence suggestions
We need to update them after separator-space, and also when
the user presses shift and they are displayed.

Bug: 15554503
Change-Id: I5596163d5cd94d3cc5f6af10a1ab2cc74b6d4279
2014-06-16 18:44:43 +09:00
Jean Chalard deccc23564 [CM1] Let predictions be aware of capitalize mode.
Bug: 15554503
Change-Id: If5e8c0d94ed26d929400ccbb0d45ac23dd98d180
2014-06-16 18:44:39 +09:00
Baligh Uddin 83c7fc94f6 Merge "Import translations. DO NOT MERGE" 2014-06-12 05:34:42 +00:00
Baligh Uddin 6cd52660eb Import translations. DO NOT MERGE
Change-Id: Ic5e3ad6078f654fcde156216016a87e5226dabca
Auto-generated-cl: translation import
2014-06-13 21:06:00 -07:00
Tadashi G. Takaoka ad4f964a70 am 4f28b227: Update SDK version check due to I4716e71d72
* commit '4f28b22766e06b8c62636527393945114ea78002':
  Update SDK version check due to I4716e71d72
2014-06-13 19:20:40 +00:00
Tadashi G. Takaoka a2e365da0a Stop announcing suggestions strip content while more keys keyboard is showing
This CL also supports announcing dismissing of a more keys keyboard.

Bug: 15582905
Change-Id: Ia9e5d6c7e3e23dac39ee570b20d32f0141ae6184
2014-06-14 01:29:45 +09:00
Tadashi G. Takaoka 4f28b22766 Update SDK version check due to I4716e71d72
Bug: 15603590
Change-Id: Ia2ac28a2dbf3e07678661d59e0aa6b4e6a536a02
2014-06-13 18:53:27 +09:00
Tadashi G. Takaoka fd0d104fa7 Merge "Fix forwarding event only when sending view is visible" 2014-06-10 22:36:02 +00:00
Tadashi G. Takaoka 28593b5325 Fix forwarding event only when sending view is visible
Bug: 15579941
Change-Id: I25c19068ae4ad26b1ff64ffccf36ef8dd58ed295
2014-06-13 15:12:02 +09:00
Tadashi G. Takaoka dc0c1e40be Merge "Add EmojiPageKeyboardAccessibilityDelegate" 2014-06-10 22:36:02 +00:00
Tadashi G. Takaoka e9d9b37b5a Add EmojiPageKeyboardAccessibilityDelegate
Because EmojiPageKeyboardView doesn't use PointerTracker to handle
MotionEvent, a dedicated accessibility delegate is needed. Then the
recent tab can be updated even with accessibility mode on.

Bug: 15582599
Change-Id: I63d75b9aca21ec44f1f77d2eaaf2ba7813992183
2014-06-13 13:35:35 +09:00
Jean Chalard 8a23703763 Merge "[CM1] Let predictions be aware of capitalize mode." 2014-06-10 22:31:57 +00:00
Tadashi G. Takaoka 163f318545 Merge "Return an empty accessibility node info for a keyboard" 2014-06-10 22:31:57 +00:00
Tadashi G. Takaoka 9934740a5f Return an empty accessibility node info for a keyboard
Because a keyboard handling hover events and determining a virtual
node by itself, there is no need to supply whole virtual nodes info
for the keyboard. Just returning an empty accessibility node info
supresses annoucements of all keys.

This CL also fixes the undefined virtual id value.

Bug: 15582251
Change-Id: Ie033d21ef878d272417cf2b20f8eec1e516587f6
2014-06-13 16:44:59 +09:00
Tadashi G. Takaoka 03eba0927d Merge "Use MoreKeysDetector for accessibility" 2014-06-10 22:31:57 +00:00
Tadashi G. Takaoka 68b8a2d86c Make accessibility long press timeout longer
The previous time out was 1500 milliseconds that wasn't enough for
announcing some accented letters, for example "Ü". This CL makes the
time out to 3000 milliseconds.

BUG: 15582951
Change-Id: I9bf864389c359e3b9abfe5000b897cf742a8dbe7
2014-06-13 13:02:24 +09:00
Tadashi G. Takaoka 1dbeb251b2 Use MoreKeysDetector for accessibility
A more keys keyboard may have a divider on it. The MoreKeysDetector
should be used even with accessibility mode on to be able to handle a
divider.

Bug: 15583354
Change-Id: Ife2cf8304496c4c330127fde8ca1f34c2f0838e2
2014-06-13 12:49:49 +09:00
Keisuke Kuroyanagi 6aa64e91ed Merge "Add clearContextualDictionary()." 2014-06-10 22:29:12 +00:00
Keisuke Kuroyanagi 60dad15f12 Add clearContextualDictionary().
Change-Id: Ia2f8d5640cde816cca23b26ee261acf44f3cdcdc
2014-06-16 17:01:14 +09:00
Keisuke Kuroyanagi 356539699a Add a method to update contextual dictionary.
Bug: 14161647
Change-Id: I2111f841c94e31d62b670da4236fc738df03a708
2014-06-16 17:00:12 +09:00
Keisuke Kuroyanagi 1a4d815b0b Contextual dictionary updater.
Bug: 14161647
Change-Id: I8106419678d5d26a4debec7bbef43af079c1ab18
2014-06-13 18:39:29 +09:00
Keisuke Kuroyanagi d7a22c8439 Personalization dictionary updater.
Bug: 14161647
Change-Id: I7ab3d701525e9a19bc100aa577527e332bb2ad95
2014-06-13 16:31:12 +09:00
Keisuke Kuroyanagi ec59371ff8 Merge "Block offensive words in native code." 2014-06-10 22:36:02 +00:00
Keisuke Kuroyanagi 59ed0c2db2 Block offensive words in native code.
Bug: 15300452

Change-Id: Ic6c91c47453e19fb5db2c62b66659619e72b1ecf
2014-06-12 11:36:00 +09:00
Keisuke Kuroyanagi 17f03583c8 Merge "Add a method to update contextual dictionary." 2014-06-10 22:31:57 +00:00
Keisuke Kuroyanagi a4f2e8eee0 Merge "Contextual dictionary updater." 2014-06-10 22:31:57 +00:00
Yohei Yukawa c1cb930dde Merge "Revert "Check OS codename for shouldOfferSwitchingToNextInputMethod"" 2014-06-10 22:29:12 +00:00
Yohei Yukawa 58e248ebda Revert "Check OS codename for shouldOfferSwitchingToNextInputMethod"
This reverts commit 1690992d1b.

Build.VERSION.SDK_INT is bumped with I4716e71d72b2526fe635079d1b.                                                                                     
We no longer need this workaround.

Change-Id: I75a1c2a7055af17a7d40291aadd62ae9bb42e056
2014-06-13 03:12:17 +00:00
Tadashi G. Takaoka a68e0dd437 Fix NPE by disabling key preview popup of Emoji palette
Bug: 15579928
Change-Id: I6bcf885f2c1aa37b337a85978409ccf41e459c2a
2014-06-13 11:04:56 +09:00
Keisuke Kuroyanagi da0ea7603b Merge "Add jni method for removeUnigramEntry()." 2014-06-10 22:31:57 +00:00
Keisuke Kuroyanagi b4d77eca55 Add jni method for removeUnigramEntry().
Bug: 15552347
Change-Id: Iadcdc73d3335d561a27b9314d3fcdab0b0c96e49
2014-06-12 12:21:44 +09:00
Keisuke Kuroyanagi 81bd7e2007 Merge "Personalization dictionary updater." 2014-06-10 22:29:12 +00:00
Tadashi G. Takaoka 08199ec859 Clear PointerTracker state when more keys keyboard is dismissed
With accessibility mode on, hover events for a more keys keyboard are
handled among MoreKeysKeyboardAccessibilityDelegate and
MoreKeysKeyboardView. But the more keys keyboard is shown by
MainKeyboardAccessibilityDelegate that uses PointerTracker to handle
hover events. Thus we need to clear PointerTracker state when the more
keys keyboard is dismissed.

This is a workaround to resolve the issue. We should reconsider the
structure of those views and accessibility delegates in the future.

Bug: 15583751
Change-Id: Ida8c3e55194c59bdaa5bc4ff06068e699b888ced
2014-06-13 15:54:25 +09:00
Keisuke Kuroyanagi 4715baf93b Merge "Fix: Wrong name for ContextualDictionary." 2014-06-10 22:29:12 +00:00
Keisuke Kuroyanagi 3bedb9b3e6 Fix: Wrong name for ContextualDictionary.
Bug: 15557070
Change-Id: I5796df54a74c111d361da8c548e5597aba8e24d0
2014-06-11 19:58:22 +09:00
Tadashi G. Takaoka 6a96c508fd Fix logic to show suggestions
Bug: 15531465
Change-Id: Ic7fe5743ad3767cdaed699e5e2d1ebcaa75e22c2
2014-06-11 11:51:58 +09:00
Keisuke Kuroyanagi 447c19364a Merge "Enable Beginning-of-Sentence prediction for contextual dict." 2014-06-10 22:31:57 +00:00
Keisuke Kuroyanagi 22931cd941 Enable Beginning-of-Sentence prediction for contextual dict.
Bug: 14161647
Bug: 14119293
Change-Id: I0c00f13966db88e4de85e245e7bced43c9d474b2
2014-06-12 12:26:18 +09:00
Baligh Uddin 6b655de1a6 Merge "Import translations. DO NOT MERGE" 2014-06-10 17:21:28 +00:00
Baligh Uddin 5092fe6315 Merge "Import translations. DO NOT MERGE" 2014-06-10 17:21:23 +00:00
Jean Chalard d979d416c1 Merge "Special case periods in the spell checker" 2014-06-10 11:57:21 +00:00
Keisuke Kuroyanagi cdfd2ce5a3 Merge "Add prefix to the arguments of getDictionary()." 2014-06-10 11:41:34 +00:00
Tadashi G. Takaoka 5bf7418fad am 278b9071: Rename keyboard theme Quantum to Material
* commit '278b9071ab036f20d29dc651ddd79136c5f84e33':
  Rename keyboard theme Quantum to Material
2014-06-10 11:18:43 +00:00
Keisuke Kuroyanagi f36da2fdba Merge "Make dump dictionary settings easily extensible." 2014-06-10 11:08:38 +00:00
Keisuke Kuroyanagi a20432479d Make dump dictionary settings easily extensible.
This adds "Dump contextual dictionary".

Bug: 14161647
Change-Id: I41a6d6e131d9d8c300ac0120d903d46d88bb3346
2014-06-10 19:59:19 +09:00
Jean Chalard 4863a06544 Special case periods in the spell checker
Special case <valid word>.<valid word> to send as a suggestion
the same string where the periods is replaced by a space.

Bug: 10780091
Change-Id: I43c94675977f9ab5d7ee5671486cb742b39f3974
2014-06-10 19:52:58 +09:00
Keisuke Kuroyanagi 48b0074349 Merge "Purge dict reading code for 401 and create for 402." 2014-06-10 10:31:05 +00:00
Keisuke Kuroyanagi 07e1412631 Purge dict reading code for 401 and create for 402.
Change-Id: Ib0150b3306bb2db8aff443d1158fecc8464cbbdb
2014-06-10 19:22:40 +09:00
Keisuke Kuroyanagi 18df192535 Add prefix to the arguments of getDictionary().
Bug: 13630847
Change-Id: Ib4513b8cb6981e01dd33fd9703cc01646a2c7ccc
2014-06-10 18:05:10 +09:00
Jean Chalard 2d7feb5ad0 Merge "Split the sentences into words ourselves" 2014-06-10 08:18:36 +00:00
Jean Chalard 1efc95df7d Merge "Update dictionaries" 2014-06-10 05:34:03 +00:00
Keisuke Kuroyanagi 1ffb7cd448 Merge "Debug log when failed to add/remove n-gram entry." 2014-06-10 05:14:23 +00:00
Jean Chalard 267a8614a0 Update dictionaries
>>> dictionaries/en_GB_wordlist.combined.gz
Header :
  date : 1400639634 <=> 1402373154
  version : 45 <=> 47
Body :
Shortcut added: lust list 15

>>> dictionaries/en_US_wordlist.combined.gz
Header :
  date : 1400750526 <=> 1402373154
  version : 45 <=> 47
Body :
Shortcut added: lust list 15

>>> dictionaries/en_wordlist.combined.gz
Header :
  date : 1400639659 <=> 1402373178
  version : 45 <=> 47
Body :
Shortcut added: lust list 15

>>> java/res/raw/main_en.dict
Header :
  date : 1400639659 <=> 1402373178
  version : 45 <=> 47
Body :
Shortcut added: lust list 15

Bug: 15347469
Change-Id: I35cb410bdb7b641f2f0d4d9bb19a17e3f4eb9c0b
2014-06-10 14:08:32 +09:00
Keisuke Kuroyanagi 354a59dfa4 Debug log when failed to add/remove n-gram entry.
Change-Id: Ibf0a4e01e1abc81b09aec104ba39d2ec18f4db8b
2014-06-10 13:04:57 +09:00
Jean Chalard e689d37f72 Remove a useless method
Change-Id: I21a4219f682f43f4a84b1ab12d00dd930b35caa1
2014-06-10 12:47:55 +09:00
Jean Chalard 264afb10bd Merge "Remove mPrevWordsInfo" 2014-06-10 03:21:47 +00:00
Jean Chalard 367c199de1 Remove mPrevWordsInfo
This member has outlived its usefulness. It's not clear now that it
makes things really faster, but it does bring a lot of complexity
that we can avoid by removing it.

Change-Id: Ifbc8094a45b56b958fe165b1930f4cc358a97721
2014-06-10 12:07:51 +09:00
Baligh Uddin 5f5b5bf6bb Import translations. DO NOT MERGE
Change-Id: I12199bc91f977541d1ca0293bf02ab4f7716041b
Auto-generated-cl: translation import
2014-06-09 17:27:48 -07:00
Baligh Uddin 47b956e37a Import translations. DO NOT MERGE
Change-Id: I619995358078fd20eb65070a85c78d483521760b
Auto-generated-cl: translation import
2014-06-09 17:22:26 -07:00
Tadashi G. Takaoka 874a600dc8 Add audio and haptic feedback for Emoji and Suggestions
Bug: 15378862
Change-Id: Ia14929bd9eb63ad5735cae0ad98ad0e2ad301128
2014-06-10 09:15:59 +09:00
Tadashi G. Takaoka d022df49bd Merge "Set content descrition of words in suggestions strip" 2014-06-09 13:01:44 +00:00
Tadashi G. Takaoka f3c852efad Set content descrition of words in suggestions strip
Bug: 14849593
Change-Id: If020e2352c8e950ce87dc4711c39b8a6a41f66fc
2014-06-09 21:40:36 +09:00
Jean Chalard 43ea8f6e77 Merge "Use RichInputConnection to get the previous word." 2014-06-09 10:47:28 +00:00
Jean Chalard 453711abe2 Use RichInputConnection to get the previous word.
We don't need the optimization of storing the old words now
that the RichInputConnection can supply it without IPC.

Bug: 13703802
Change-Id: I37ccb8d5fba879fb04b4f23d33571849736d897c
2014-06-09 19:43:20 +09:00
Jean Chalard 7a6bc607ca Split the sentences into words ourselves
The framework's default split is not suitable for all
languages. Also it does not perform very well when space
is mistyped as period.

Bug: 9063355
Bug: 10780091
Change-Id: I400d790ff1c29f221697fd94d79bbf67c61c7b8a
2014-06-09 19:38:03 +09:00
Tadashi G. Takaoka 48b96a6a52 Fix TalkBack descriptions of keyboard shift mode transition
Bug: 14846348
Change-Id: I32435a31f919974a506e598d1f3cc1b55a0866ae
2014-06-09 17:28:49 +09:00
Tadashi G. Takaoka 402e847477 Merge "Use rectangle region to ignore hover events after long press" 2014-06-09 07:56:41 +00:00
Tadashi G. Takaoka 862d7ec32e Merge "Refactor KeyCodeDescriptionMapper class a bit" 2014-06-09 07:56:28 +00:00
Tadashi G. Takaoka 176f803176 Use rectangle region to ignore hover events after long press
Bug: 15500282
Bug: 15501718
Change-Id: Ia4771198c3120a980b0a2cdd210928a4f47f5b83
2014-06-09 16:32:19 +09:00
Tadashi G. Takaoka 24fab555f9 Refactor KeyCodeDescriptionMapper class a bit
This CL adds getDescriptionForCode() method.

Bug: 15500282
Change-Id: I3bb92c8f356ea623fc992c924506b11e09256e98
2014-06-09 16:28:30 +09:00
Keisuke Kuroyanagi 7f0316c27e Merge "Add distracter cache to optimize the distracter test." 2014-06-09 05:35:46 +00:00
Keisuke Kuroyanagi 9f02a67c77 Merge "Fix: NPE after turning on personalized suggestion." 2014-06-09 05:35:32 +00:00
Keisuke Kuroyanagi 104b582c35 Add distracter cache to optimize the distracter test.
Bug: 13142176
Bug: 15428247
Change-Id: Ia390b148ffb36ace6c2010daf0f14838492413e8
2014-06-09 12:39:06 +09:00
Keisuke Kuroyanagi 65cf23eb38 Fix: NPE after turning on personalized suggestion.
Bug: 13142176
Bug: 15428247
Change-Id: I236202e3c1b70a11d512c946798035087945c0ac
2014-06-09 12:26:59 +09:00
Keisuke Kuroyanagi a2a4ee2765 Merge "Check isInDictionary() before the distracter test." 2014-06-09 02:53:33 +00:00
Keisuke Kuroyanagi bdf745da32 Check isInDictionary() before the distracter test.
Bug: 13142176
Bug: 15428247
Change-Id: I7ce2c09ebbef6ca8c056807c2a35f2f987fd436e
2014-06-09 11:43:45 +09:00
Keisuke Kuroyanagi 79e2e9fa8c Merge "Add Dictionary.isInDictionary()." 2014-06-09 02:40:39 +00:00
Tadashi G. Takaoka 278b9071ab Rename keyboard theme Quantum to Material
Bug: 15467097
Change-Id: Id909723cd979ccd24740b034720591c9b1bcc2b1
2014-06-09 11:37:45 +09:00
Keisuke Kuroyanagi 1910392eed Add Dictionary.isInDictionary().
Bug: 13142176
Bug: 15428247
Change-Id: If2d1c1fea7a69e41809a828da8dd032211ad144e
2014-06-09 11:04:28 +09:00
Tadashi G. Takaoka dec599d172 Fix overwriting accessibility delegate in setKeyboard
A keyboard accessibility delegate object should be a singleton for
each keyboard view.

Bug: 15437933
Bug: 15419386
Change-Id: Ia70853c644d950ea6130c1f209b89929b1cb1ee5
2014-06-08 22:12:52 +09:00
Baligh Uddin 86a28db7f9 Merge "Import translations. DO NOT MERGE" 2014-06-07 04:21:24 +00:00
Baligh Uddin 42e341386d Merge "Import translations. DO NOT MERGE" 2014-06-07 04:21:20 +00:00
Alan Viverette 3f736107e2 Material theme
BUG: 15467097
Change-Id: I1b6ed80d85e4c3c8913d4a9e08c519379cb3c6e0
2014-06-06 15:22:57 -07:00
Alan Viverette ceb6e38c15 DO NOT MERGE Material theme
BUG: 15467097
Change-Id: I1b6ed80d85e4c3c8913d4a9e08c519379cb3c6e0
2014-06-06 14:15:07 -07:00
Tadashi G. Takaoka 2385314be0 Merge "Refactor logic to determine showing suggestions strip or not" 2014-06-06 10:48:00 +00:00
Keisuke Kuroyanagi 7640bb1505 Merge "Make Distracter filter use getMaxFrequencyOfExactMatches()." 2014-06-06 10:44:04 +00:00
Tadashi G. Takaoka 987bff9136 Refactor logic to determine showing suggestions strip or not
The logic to determine when the suggestions strip (a.k.a. the
contextual strip) should be shown is already complex. In addition to
that the voice input key get shown on the strip as well. There are a
several factors to be considered and a few things to control.

- The password input field shouldn't have the strip.
- Show voice input key on the strip or not.
  - User preference settings "Show Voice Input Key".
  - A voice IME exists and is enabled.
  - The input field may have a private IME option to prevent the voice
    input key from being displayed.
- Application can specify auto completions.
  - Full screen mode or not.
- User preference settings "Show correction suggestions".
  - Always show, Show in portrait mode, Always hide.
- The input field may have flags to prevent showing suggestions or
  auto corrections.
- Suggestions is empty or not.
- An important notice may be shown.

Bug: 14981852
Bug: 15436479
Change-Id: I3050fd53ee6271fc64a8f17b6b12d9581d37b750
2014-06-06 19:41:21 +09:00
Keisuke Kuroyanagi 166d8c2293 Make Distracter filter use getMaxFrequencyOfExactMatches().
Bug: 13142176
Bug: 15428247

Change-Id: I5c23fbea2851f891f76f19d9da2cb70ae964569b
2014-06-06 19:38:44 +09:00
Keisuke Kuroyanagi 8cae9f50b4 Merge "Implement getMaxProbabilityOfExactMatches()." 2014-06-06 08:39:40 +00:00
Keisuke Kuroyanagi d9b8602f48 Implement getMaxProbabilityOfExactMatches().
Bug: 13142176
Bug: 15428247
Change-Id: I5be6d683be95505412615ca7c88260de1ea05f54
2014-06-06 17:37:46 +09:00
Tadashi G. Takaoka d66d16f650 Update shift key backgrounds for LXX_Dark
Bug: 15310025
Change-Id: I2fa267e5c448e28435f4737666a03b40f1f4a4d5
(cherry picked from commit 0621dd1d3c)
2014-06-06 07:48:43 +00:00
Jean Chalard 6464d73ad9 Merge "When starting input, include the literal word in suggestions" 2014-06-06 07:27:40 +00:00
Tadashi G. Takaoka bd3b20ce73 Merge "Always update voice key visibility" 2014-06-06 07:14:28 +00:00
Jean Chalard fca2c4b439 When starting input, include the literal word in suggestions
This change also includes a fix that has suggestions re-computed
when the typed word is included but no prior suggestions were
found in spans.

Bug: 2349475
Change-Id: Ic06e6ac492507126ffc1e96a5f396c971b567272
2014-06-06 16:00:18 +09:00
Jean Chalard eb771b9dc4 Merge "Fix a small bug with rotation." 2014-06-06 06:34:00 +00:00
Jean Chalard c69ba5630d Fix a small bug with rotation.
Bug: 2349475
Change-Id: Id4aa5ce56b1a545e4cb88ca1b01cf24642deade2
2014-06-06 14:06:29 +09:00
Tadashi G. Takaoka aa4b2c7127 Always update voice key visibility
Bug: 15128166
Change-Id: Ie15724c323efa3b102f6aebddc3bda210aad1727
2014-06-06 13:18:41 +09:00
Tadashi G. Takaoka 3ca65c8fd5 Remove unused supportsSwitchingToShortcutIme attribute
Change-Id: I51c5247ac925a158facb79057f704b763b903552
2014-06-06 13:11:57 +09:00
Tadashi G. Takaoka b7206b6bca Merge "Add action key test for Lxx theme" 2014-06-06 04:08:40 +00:00
Tadashi G. Takaoka c5dc740673 Add action key test for Lxx theme
Change-Id: I849cec7deb5607e8ce8fb25c1f903f15328fb611
2014-06-06 12:56:57 +09:00
Jean Chalard 70ff0c2122 Merge "Fix a bug on rotation with selection." 2014-06-06 03:12:12 +00:00
Jean Chalard 9fd9a68d87 Fix a bug on rotation with selection.
The symptom : when text is selected and the device is rotated,
sometimes the keyboard sets the word as being composed around
the start of the selection. Upon the next rotation this ends up
with the keyboard committing some text in place of the selection.

The cause : another bug in the framework with rotation >.>
The keyboard receives a call to startInput with a wrong cursor
position, namely one that does not represent a selection. The
keyboard sets a composition according to this wrong data. When
the keyboard is rotated again, it commits the text, which takes
the place of the selection.

The solution : actually when restarting input the keyboard
realizes that the cursor position is wrong. We cancel composition
at that time.
For robustness, this change also implements two other defensive
changes : upon call to onUpdateSelection, we actually realize
that the previous values were wrong, so we also fix it at that
time, and in addition, when rotating, we finishComposingText()
instead of commitText() which is less dangerous. Implementing
this later change also allows us to let less internal variables
from InputLogic escape to LatinIME, so it's also a good change
for design.

Bug: 14140799

Change-Id: Ib10de18e53e376ac1bbc8487e13d969828483346
2014-06-06 11:18:23 +09:00
Keisuke Kuroyanagi 0ee8644666 Merge "Add getMaxFrequencyOfExactMatches() to Dictionary." 2014-06-05 10:07:59 +00:00
Keisuke Kuroyanagi d988fcc93d Add getMaxFrequencyOfExactMatches() to Dictionary.
Bug: 13142176
Bug: 15428247
Change-Id: I93b44ef40cafb6b811c68fa79f3a4971fc3916a5
2014-06-05 19:05:58 +09:00
Tadashi G. Takaoka 0dbf15f152 Merge "Rename some boolean variables for readability" 2014-06-05 09:33:05 +00:00
Tadashi G. Takaoka a12d431c86 Merge "Refactor show voice key preferece migration code" 2014-06-05 09:33:03 +00:00
Tadashi G. Takaoka 2e32e37d5b Rename some boolean variables for readability
Change-Id: I434cf507e68349b9893ac084645986d6b3d7da91
2014-06-05 18:18:46 +09:00
Keisuke Kuroyanagi d6b89e17a6 Add jni method for getMaxFrequencyOfExactMatches().
Bug: 13142176
Bug: 15428247
Change-Id: I2ae25090b67ad0c6df97dec7712e2f7e0bb08c40
2014-06-05 18:16:11 +09:00
Tadashi G. Takaoka fcaf47f007 Refactor show voice key preferece migration code
Change-Id: I4f13e85a3db1ba4adf36c596cb23827bdcf93ae7
2014-06-05 15:23:58 +09:00
Baligh Uddin 5703eef9ca Import translations. DO NOT MERGE
Change-Id: Ia9a21cce0283a85dda9cd2fc82e694bf5aa44d00
Auto-generated-cl: translation import
2014-06-04 16:34:29 -07:00
Baligh Uddin 3e7e294fe3 Import translations. DO NOT MERGE
Change-Id: Ice980abcc56dc1f432b574ef19e6e082a2cef239
Auto-generated-cl: translation import
2014-06-04 16:32:28 -07:00
Jean Chalard 9d4d61f9c1 Merge "Allow multiple shortcuts for a personal dictionary word" 2014-06-04 13:32:45 +00:00
Tadashi G. Takaoka aea429200e Support more suggestions accessibility mode
Bug: 12491371
Change-Id: Ib01452b6a2a53faa591b05e62014f356e0511308
2014-06-04 19:45:38 +09:00
Tadashi G. Takaoka 86e1e1f97c Merge "Support more keys accessibility mode" 2014-06-04 10:23:16 +00:00
Tadashi G. Takaoka 62316d7e82 Support more keys accessibility mode
Bug: 12491371
Change-Id: Ib1fc8affbccfbaca3424ecdc2812f47047106aa2
2014-06-04 19:13:41 +09:00
Jean Chalard f8b4524c0e Allow multiple shortcuts for a personal dictionary word
Bug: 13869301
Change-Id: Icd77a308f85cc16dccffe65a532471c738d6fbc5
2014-06-04 18:01:50 +09:00
Tadashi G. Takaoka 70a1352cb9 Merge "Add onRegisterHoverKey to accessibility delegate" 2014-06-04 08:56:48 +00:00
Tadashi G. Takaoka 1a0cd0869d Add onRegisterHoverKey to accessibility delegate
Bug: 12491371
Change-Id: I8c5b1e91f41146a023edcc405e6120c0bf33f49b
2014-06-04 17:49:48 +09:00
Jean Chalard 4c91142771 Merge "Don't recapitalize just at the start of input" 2014-06-04 08:29:20 +00:00
Jean Chalard 07706dc347 Merge "Refactoring" 2014-06-04 07:43:31 +00:00
Jean Chalard c84b10840e Don't recapitalize just at the start of input
Bug: 13283555
Change-Id: Iab0466425dc44779d110f2cd29d725d22eb04827
2014-06-04 16:29:31 +09:00
Jean Chalard 4a1113b6b0 Refactoring
Rename `initialize' to `start' and `deactivate' to `stop' for ease
of understanding. It's completely bizarre that you can "deactivate"
a recapitalization and that will just restart a new one the next time
you press shift. Start and stop are easier to understand.

Change-Id: I455175aebfcfe11198c6c61bf2c6b19efc3f82df
2014-06-04 16:29:29 +09:00
Tadashi G. Takaoka a2b7c07e68 Merge "Revert "Pass hover event to accessibility key handling methods"" 2014-06-04 07:20:21 +00:00
Tadashi G. Takaoka 2c35f3bdd5 Revert "Pass hover event to accessibility key handling methods"
It turns out passing hover event to accessibility key handling methods
isn't necessary. This parically reverts I1f7feef707.

Bug: 12491371
Change-Id: I9d71cd29723344433427795e44cb22ac41faace6
2014-06-04 16:04:36 +09:00
Yohei Yukawa 5a3a7e3d8a Merge "Add a preference item for metrics logging" 2014-06-04 05:07:03 +00:00
Baligh Uddin f72ef2e5cf Merge "Import translations. DO NOT MERGE" 2014-06-04 05:00:15 +00:00
Baligh Uddin 755442bf52 Merge "Import translations. DO NOT MERGE" 2014-06-04 05:00:09 +00:00
Tadashi G. Takaoka 6e00de046a Merge "Reorder keys around the spacebar" 2014-06-04 04:04:28 +00:00
Yohei Yukawa 28c7b262aa Add a preference item for metrics logging
BUG: 14324207
Change-Id: Idc8582655bc73cb24e416e8ba78470209b2ff702
2014-06-04 13:02:42 +09:00
Tadashi G. Takaoka dc62c711aa Reorder keys around the spacebar
This CL reorders keys around the spacebar.
- On phone's symbols and symbols shift layout, the comma key is moved
  to the left of the spacebar to aligned with main layout.
- On tablet's layout, the comma key is moved to the left of the
  spacebar on all layout to aligned with the same layout of
  phone's. Also the comma key has "settings" as more keys.
- In Arabic and Perisan, the comma key of tablet already has some more keys
  This CL remove "/" and add "settings" instead.

Bug: 15281451
Change-Id: I6e0e75e4d4abfb1f356e7499be91424c7c57c58b
2014-06-04 00:45:25 +09:00
Jean Chalard 2660b70f80 Merge "Enrich the Spanish dictionary." 2014-06-03 14:24:39 +00:00
Jean Chalard ff3e488e1e Enrich the Spanish dictionary.
Enrich the dictionary with many words generated from stems
extracted from the dictionary and rules written by hand.
This adds 45,619 words to the dictionary. Hopefully, almost none
of them is incorrect, though a lot are not very common.

Bug: 8010862
Change-Id: I51c7ebd16ff859ec1e765b0604dd1cfca159ab08
2014-06-03 22:48:19 +09:00
Tadashi G. Takaoka ae0fab9550 Load KeyCodeDescriptionMapper class lazily
Change-Id: I2cba2bb5b2f449ed29895365b9c6ca285a7640fe
2014-06-03 18:15:59 +09:00
Tadashi G. Takaoka 0621dd1d3c Update shift key backgrounds for LXX_Dark
Bug: 15310025
Change-Id: I2fa267e5c448e28435f4737666a03b40f1f4a4d5
2014-06-03 16:34:35 +09:00
Tadashi G. Takaoka 9a2162e6f2 Merge "Fix synthesizing MotionEvent" 2014-06-03 07:32:52 +00:00
Tadashi G. Takaoka 2351b4f74f Fix synthesizing MotionEvent
KeyboardAccessibilityDelegate.synthesizeTouchEvent() wrongly passed
pointer's id as a 6th argument of MotionEvent.obtain method that
should be metaState.

Change-Id: I822f9647a1ba27ee8cee39f373f6a1c003ebf665
2014-06-03 14:46:36 +09:00
Tadashi G. Takaoka 7a750ca50d Fix PointerTracker debug output to reflect new KeyDetector
Change-Id: I913ec290ddfd0ae4cc6e600ba95b7442167f0989
2014-06-03 14:32:40 +09:00
Tadashi G. Takaoka a32803cefe More concise Key.toString()
Change-Id: I0ef983f54e828193e9c7e4a10c888f72702d499c
2014-06-03 13:32:42 +09:00
Baligh Uddin 9b3b126352 Import translations. DO NOT MERGE
Change-Id: Iffe895ca4827bb7e1addf1087c74c9023d2f130f
Auto-generated-cl: translation import
2014-06-02 17:47:25 -07:00
Baligh Uddin 4e42d5690f Import translations. DO NOT MERGE
Change-Id: I5af9740ea071063bb48738abe258a61d7e06ddae
Auto-generated-cl: translation import
2014-06-02 17:42:13 -07:00
Tadashi G. Takaoka d427d3b0fa Merge "Create AccessibilityDelegate only when accessibility mode is on" 2014-06-02 10:12:52 +00:00
Jean Chalard 28538d916c Merge "Fix an IOOB exception" 2014-06-02 10:07:12 +00:00
Tadashi G. Takaoka d78b586976 Create AccessibilityDelegate only when accessibility mode is on
Change-Id: I4cbae476d16723778b46ff765dd97832f279785f
2014-06-02 18:53:58 +09:00
Jean Chalard d660f3bec9 Fix an IOOB exception
Bug: 14602663
Change-Id: Ie2060931df911b44230d5a5ba268f687cbdd0dc8
2014-06-02 18:21:50 +09:00
Tadashi G. Takaoka a021395e84 Pass hover event to accessibility key handling methods
Bug: 12491371
Change-Id: I1f7feef707b95e8862db71cbc4f6f5585a2441dd
2014-06-02 17:13:47 +09:00
Tadashi G. Takaoka d0b79cc12a Add verbalization of symbols that are unsupported by TTS/TalkBack
Bug: 13336905
Change-Id: Iefd117fa7b30b8ba240590b13b03d7044fd37ede
2014-06-02 17:02:38 +09:00
Tadashi G. Takaoka 82674ca81c Fix to clear on hover visual cue
Bug: 12491371
Change-Id: Ib7ca91ae73aa40e45ea5f6d4e53348a261a4b823
2014-06-02 14:57:52 +09:00
Tadashi G. Takaoka fa9b9578d4 Refactor MoreKeysKeyboardView a bit
Bug: 12491371
Change-Id: I3ce1e6557e41a94146b882751f75ae4b5f6bc73d
2014-06-02 12:41:50 +09:00
Tadashi G. Takaoka 509d07c764 am 61a8a66c: Merge "Workaround to draw spacebar icon of emoji palettes" into lmp-preview-dev
* commit '61a8a66ccac1de7e146344dd77c8be84aa8daf33':
  Workaround to draw spacebar icon of emoji palettes
2014-05-30 15:03:10 +00:00
Tadashi G. Takaoka dc1d4455fe am ee4cc67e: Update shift key icon for LXX_Dark
* commit 'ee4cc67e260a1d2397abd83820f72906c1871751':
  Update shift key icon for LXX_Dark
2014-05-30 15:03:09 +00:00
Tadashi G. Takaoka 61a8a66cca Merge "Workaround to draw spacebar icon of emoji palettes" into lmp-preview-dev 2014-05-30 14:59:22 +00:00
Tadashi G. Takaoka 3558505bee Workaround to draw spacebar icon of emoji palettes
Bug: 15321822
Change-Id: Iab7cef83ffdf91c877c3ed2e59d412496b516e1c
2014-05-30 22:53:24 +09:00
Tadashi G. Takaoka ee4cc67e26 Update shift key icon for LXX_Dark
Bug: 15310025
Change-Id: I20bde50a2e751a5cd9871debd5ed1df0334c78e2
2014-05-30 22:03:08 +09:00
Keisuke Kuroyanagi 83d2bc656f Merge "Make prevWord = null if the next word starts from a connector." 2014-05-30 11:40:56 +00:00
Keisuke Kuroyanagi 8f71fab2ed Make prevWord = null if the next word starts from a connector.
This fixes PunctuationTests#
testAutoCorrectionWithSingleQuotesAround.

Bug: 14119293
Bug: 15334309

Change-Id: I604c21a21e89a5fc431fd56ab7b6ad03f4736b01
2014-05-30 20:30:17 +09:00
Tadashi G. Takaoka 9c45e178c7 am ba8836a9: Merge "Update action key backgrounds for LXX_Dark" into lmp-preview-dev
* commit 'ba8836a926a566a1c9f8a11c79dd0e06d0fb0485':
  Update action key backgrounds for LXX_Dark
2014-05-30 11:24:10 +00:00
Tadashi G. Takaoka ce8da614a6 am db2d6a20: Merge "Update enter and send icons for LXX_Dark" into lmp-preview-dev
* commit 'db2d6a202125bff92be495408babbb0c86bfb398':
  Update enter and send icons for LXX_Dark
2014-05-30 11:24:09 +00:00
Tadashi G. Takaoka c96eddaa6e am 3d5a72eb: Update spacebar icon of LXX_Dark
* commit '3d5a72ebe20b4cab415c43c8022427b7618d8519':
  Update spacebar icon of LXX_Dark
2014-05-30 11:24:08 +00:00
Tadashi G. Takaoka ba8836a926 Merge "Update action key backgrounds for LXX_Dark" into lmp-preview-dev 2014-05-30 11:01:25 +00:00
Tadashi G. Takaoka 523b55ac52 Update action key backgrounds for LXX_Dark
Bug: 15295839
Change-Id: I77206c88c38a31193db97ce42c9d00fc25c7ff58
2014-05-30 19:57:30 +09:00
Tadashi G. Takaoka db2d6a2021 Merge "Update enter and send icons for LXX_Dark" into lmp-preview-dev 2014-05-30 10:56:10 +00:00
Tadashi G. Takaoka 0b0fbe752a Update enter and send icons for LXX_Dark
Bug: 15298065
Bug: 15327280
Change-Id: I4dfade1afe3578e29daba777567f81d4ec782956
2014-05-30 19:28:46 +09:00
Tadashi G. Takaoka 3d5a72ebe2 Update spacebar icon of LXX_Dark
This CL does't fix Bug: 15321822 though.

Bug: 15298065
Bug: 15321822
Change-Id: Ie6ab1e230c1657317dc06193da598f04f682f521
2014-05-30 19:03:57 +09:00
Jean Chalard fa0e76dde6 Limit recapitalization for reasonable performance.
At 100k text, it's reasonably fast (less than 1s on latest hardware).

Bug: 12913404
Change-Id: I426b918b2610af24364934a1c37a7314f1142ad0
2014-05-30 18:04:39 +09:00
Tadashi G. Takaoka 6fe326ae42 am 761a6812: Don\'t reuse main keyboard\'s spacebar icon for Emoji palette
* commit '761a6812312c48d04bcb91e5c4448364c4925731':
  Don't reuse main keyboard's spacebar icon for Emoji palette
2014-05-29 15:06:36 +00:00
Tadashi G. Takaoka 761a681231 Don't reuse main keyboard's spacebar icon for Emoji palette
Bug: 15321822
Change-Id: I6a5a865364fb98e0ebb6206d80d5629bbcb817b8
2014-05-29 23:32:03 +09:00
Tadashi G. Takaoka d9190f8e8f am cdc7273b: Update action key background
* commit 'cdc7273b44b7d5fc5a1c848fb68960cee02c4f99':
  Update action key background
2014-05-29 13:09:29 +00:00
Tadashi G. Takaoka cdc7273b44 Update action key background
Bug: 15295839
Change-Id: Ia4af33b00bf361d088981df907468b4a61c1a076
2014-05-29 21:38:59 +09:00
Tadashi G. Takaoka aaf2bbf9c3 Merge "Remove LatinImeLogger and UsabilityStudyLogUtils" 2014-05-29 09:33:25 +00:00
Tadashi G. Takaoka 51ee5a47b8 Remove LatinImeLogger and UsabilityStudyLogUtils
This CL must be checked in together with Ie52007dc5c.

Bug: 15318007
Change-Id: Ie665f296e43b5485ae8ba7e949aa262794ee0dcc
2014-05-29 18:03:03 +09:00
Keisuke Kuroyanagi c4a3b9f0d6 Merge "Remove PrioritizedSerialExecutor." 2014-05-29 08:52:23 +00:00
Jean Chalard 944923f266 Fix: too many calls to getSuggestedWordsForTypingInput
This reverts commit d941ea18 and builds on it to fix the behavior
of the broken cases.
It also fixes a small, related bug that probably has existed for
a very long time: predictions not displayed when cancelling
double-space-to-period.

Bug: 15148015
Change-Id: I1f9358f8b6f5804f831643611576be347e83999d
2014-05-29 17:36:46 +09:00
Keisuke Kuroyanagi 94f88b4881 Remove PrioritizedSerialExecutor.
Bug: 15320560
Change-Id: Icb88a96ebd685da1d2cba7b07889a2751c603a2e
2014-05-29 17:36:32 +09:00
Tadashi G. Takaoka 262b1e7518 Merge "Remove researcher logger" 2014-05-29 07:30:16 +00:00
Tadashi G. Takaoka bbf556e8e1 Remove researcher logger
This CL must be checked in together with I5cc76807e3.

Bug: 15318007
Change-Id: I61423c3377ddc299fb332e742d6626c2e47145bb
2014-05-29 15:10:28 +09:00
Keisuke Kuroyanagi 7d57fc248b Clean up for Iba6eeb7981634e7ddb.
Bug: 15298959
Change-Id: I6921db77b7d231ad3aad99d4c380ae2ed6bbf540
2014-05-29 13:16:24 +09:00
Geoff Mendal 7a4f9b67c0 Merge "Import translations. DO NOT MERGE" 2014-05-29 00:04:20 +00:00
Geoff Mendal 6784e3946e Merge "Import translations. DO NOT MERGE" 2014-05-29 00:03:44 +00:00
Geoff Mendal 4cbde10ef4 Import translations. DO NOT MERGE
Change-Id: Ifd7419b2fda706b5035060348ed63d894f843a2e
Auto-generated-cl: translation import
2014-05-28 17:03:38 -07:00
Geoff Mendal 2ab1d14a30 Import translations. DO NOT MERGE
Change-Id: Ib6d03976824f13a9932473c440b476f950f92ef7
Auto-generated-cl: translation import
2014-05-28 17:02:16 -07:00
Geoff Mendal bba73206e1 Import translations. DO NOT MERGE
Change-Id: If37d804345c2a1611af5019c36b0cf6c21e04c0e
Auto-generated-cl: translation import
2014-05-28 16:58:49 -07:00
Keisuke Kuroyanagi b1e43d58a6 Merge "Stop directly checking SuggestedWordInfo.mKind" 2014-05-28 11:52:00 +00:00
Keisuke Kuroyanagi 4bffac6db9 Stop directly checking SuggestedWordInfo.mKind
Bug: 15298959

Change-Id: Iba6eeb7981634e7ddb896404978b30f6efd6e72f
2014-05-28 20:35:45 +09:00
Tadashi G. Takaoka 388dcd76b6 am 342eca74: Merge "Update shift, next, and previous icon of LXX_Dark" into lmp-preview-dev
* commit '342eca7444e40d98310b61cc52b648cc7a3a98a9':
  Update shift, next, and previous icon of LXX_Dark
2014-05-28 10:09:45 +00:00
Tadashi G. Takaoka 661b5d0e02 am 4f28e16c: Update enter icon of LXX_Dark
* commit '4f28e16ce52080c3411a4ab10fa6628260fd5740':
  Update enter icon of LXX_Dark
2014-05-28 10:09:44 +00:00
Tadashi G. Takaoka 918fe83693 am 91e69980: Use action key background for enter key
* commit '91e69980bebc37a37f5d176450d952ba394cb303':
  Use action key background for enter key
2014-05-28 10:09:28 +00:00
Tadashi G. Takaoka 342eca7444 Merge "Update shift, next, and previous icon of LXX_Dark" into lmp-preview-dev 2014-05-28 10:04:45 +00:00
Tadashi G. Takaoka ad8486c97f Update shift, next, and previous icon of LXX_Dark
Bug: 15298065
Change-Id: Id5cd6c989ac1e64389f060f692b578a2ceec0db8
2014-05-28 18:50:40 +09:00
Tadashi G. Takaoka 4f28e16ce5 Update enter icon of LXX_Dark
Bug: 15295910
Change-Id: I37d8c184ab500f4b4ffa57a6abe5516cb671ce29
2014-05-28 18:42:10 +09:00
Tadashi G. Takaoka 91e69980be Use action key background for enter key
This CL also use an action key background for the emoji key only on
phone becase the emoji key share the same position with other action
keys. The emoji key on tablet keeps using the functional key
background.

Bug: 15296851
Change-Id: I7b8550c61f19548f463a782342bdc0f496433a2a
2014-05-28 14:59:26 +09:00
Tadashi G. Takaoka f2b995769b Merge "Support fine grained hover event handling" 2014-05-28 05:53:53 +00:00
Tadashi G. Takaoka 14ea11fcde Add TODO comment about SuggestedWordInfo's kind and flags
This CL must be checked in together with I6fd87e1eec.

Change-Id: I4b24157f3e3ce6327579d37122a34d7a30069885
2014-05-28 11:51:05 +09:00
Tadashi G. Takaoka 639e431fa2 Support fine grained hover event handling
This CL also adds visual feedback of hovering key in accessibility
mode.

Bug: 12491371
Change-Id: I7b1f28a2e421ca60b2738ed94e7bdb406f75039b
2014-05-28 10:47:09 +09:00
Baligh Uddin e53f418829 Merge "Import translations. DO NOT MERGE" 2014-05-27 21:10:47 +00:00
Baligh Uddin 0b64b9d2b7 Merge "Import translations. DO NOT MERGE" 2014-05-27 21:10:44 +00:00
Baligh Uddin da0e3004ad Merge "Import translations. DO NOT MERGE" 2014-05-27 21:10:39 +00:00
Tadashi G. Takaoka d3642a2a58 Merge "Refactor KeyboardAccessibilityDelegate class a bit" 2014-05-27 09:54:56 +00:00
Tadashi G. Takaoka 87d2f3ea0e Refactor KeyboardAccessibilityDelegate class a bit
Bug: 12491371
Change-Id: I2c2c6f3a6d0d7e7efbe0253127f5b9117cbc512d
2014-05-27 17:33:20 +09:00
Keisuke Kuroyanagi dfca51726e Return whether the dynamic dict operation was success.
Bug: 12184250
Change-Id: Iee7e00c1e84c95551a077f4dd023c0a9b9ac9466
2014-05-27 17:30:00 +09:00
Keisuke Kuroyanagi 26628eeb4b Merge "Add thread name for PrioritizedSerialExecutor." 2014-05-27 07:24:26 +00:00
Tadashi G. Takaoka ced6788518 Merge "Remove compiler warning from accessibility package" 2014-05-27 07:18:25 +00:00
Keisuke Kuroyanagi 6a546147eb Merge "Stop filtering out when perfect freq > top non-perfect freq." 2014-05-27 07:14:16 +00:00
Keisuke Kuroyanagi 00da83ed75 Stop filtering out when perfect freq > top non-perfect freq.
Bug: 13142176
Change-Id: I0290df918a5bd5018bf55231dc462d5e797155c6
2014-05-27 16:09:59 +09:00
Keisuke Kuroyanagi 733a9c09a9 Add thread name for PrioritizedSerialExecutor.
Bug: 15270123
Change-Id: I655ba97f0543476980d0e8461bc1c8a56c9f954b
2014-05-27 16:06:08 +09:00
Tadashi G. Takaoka a80d55d4d3 Remove compiler warning from accessibility package
Change-Id: Idae3e89f0398ab2cd56985adfac18959aa1852e7
2014-05-27 15:24:39 +09:00
Tadashi G. Takaoka 01748cde4e Move MoreSuggestionsListener to MoreSuggestionsView
Change-Id: I3b5bc630bf73a357ed0beeec0b555149ef248313
2014-05-27 14:49:25 +09:00
Tadashi G. Takaoka 9647d7fbee Use onHoverEvent instead of dispatchHoverEvent
This CL also refactors KeyboardAccessibilityDelegate a bit to be able
to override on hovering methods that handle enter, move, and exit on a
key.

Bug: 12491371
Change-Id: I3c7e81ccb8729ae6e466c654efde0c18ed734bdf
2014-05-27 11:28:52 +09:00
Tadashi G. Takaoka f6d59f6a6b Merge "Announce the same key again" 2014-05-27 02:18:59 +00:00
Tadashi G. Takaoka a1b47eb446 Announce the same key again
Bug: 15237246
Change-Id: Ie7023b727cb3eca9d0727a511b3d64a32a02cd3d
2014-05-27 10:57:53 +09:00
Tadashi G. Takaoka 7b5bccc066 Use "unknown emoji" or emoji that has an empty translation
Because the number of emoji description spoken string resources is
rather huge (~800), some locales may chose an empty description as a
translation. If that is the case, we will announce "unknown emoji" as
a fallback.

Bug: 11452158
Change-Id: Ibb65e5bec93030c40bd33ac2be2115c3bbc8bd11
2014-05-27 10:48:03 +09:00
Baligh Uddin c7840a8b51 Import translations. DO NOT MERGE
Change-Id: Ibe6d337f2162e2e72dc3092cd95ceddef31b697e
Auto-generated-cl: translation import
2014-05-26 18:18:57 -07:00
Baligh Uddin 23f1d22f87 Import translations. DO NOT MERGE
Change-Id: I23299c8bf268da907af9c42bc68dc803287c2458
Auto-generated-cl: translation import
2014-05-26 18:16:51 -07:00
Baligh Uddin 18a6a82a30 Import translations. DO NOT MERGE
Change-Id: I4abbc24852986980351dcdf12c50aa8614431133
Auto-generated-cl: translation import
2014-05-26 18:15:46 -07:00
Keisuke Kuroyanagi 71c795d00b Merge "Apply distracter filter for UserHistoryDictionary." 2014-05-26 16:28:23 +00:00
Keisuke Kuroyanagi 17bd4eb0c9 Apply distracter filter for UserHistoryDictionary.
Bug: 13142176
Change-Id: I67d63a5c789d7c587bcd7abacd26b2e76da11978
2014-05-27 01:10:04 +09:00
Keisuke Kuroyanagi f85b478cd8 Merge "Apply distracter filter for in-vocabulary words." 2014-05-26 14:25:17 +00:00
Keisuke Kuroyanagi ba33831d76 Apply distracter filter for in-vocabulary words.
Bug: 13142176
Change-Id: I4db763783a2f8b9a0df0df951db3223f70748870
2014-05-26 23:11:24 +09:00
Keisuke Kuroyanagi 0088d1f668 Merge "Use whether it's exact match to detect distracters." 2014-05-26 13:53:19 +00:00
Keisuke Kuroyanagi a6278eb9c1 Use whether it's exact match to detect distracters.
Bug: 13142176
Change-Id: Id5b7286d28897931f7bfe571be45d46ffeef4adf
2014-05-26 21:56:20 +09:00
Tadashi G. Takaoka 9df51d10fa Keep showing important notice when "show correction suggestions" is off
When
 1. The important notice message is shown on the suggestions strip.
 2. And the "Show correction suggestions" settings is off.
we will keep showing the important notice message on the suggestion
strip.

Bug: 13741460
Change-Id: I411007ab1e5e6959b6cdba7a6601a84635259313
2014-05-26 14:11:41 +09:00
Tadashi G. Takaoka 4905d83270 Merge "Release and register current key when emoji palette is hidden" 2014-05-25 13:09:15 +00:00
Tadashi G. Takaoka 0380421bf7 Release and register current key when emoji palette is hidden
Bug: 13290802
Change-Id: Ib087152f8bd47a5c81901377291e4223ee4a49ec
2014-05-25 10:54:15 +09:00
Tadashi G. Takaoka 1f217dbd51 Use functional key background for action key with label
This CL also adds label_search_key string resources for consistency.

Bug: 15135033
Change-Id: I81cae243e83a590ef56fe758a43c7184fc4159aa
2014-05-24 21:26:47 +09:00
Tadashi G. Takaoka 630a24141e Use ViewCompat support library and delete ViewCompatUtils
Change-Id: I57d60cacd86e83894294c3f64402aba8c1829872
2014-05-24 12:26:30 +09:00
Tadashi G. Takaoka 790934158d Revert "Use ViewCompat support library and delete ViewCompatUtils"
This reverts commit db21267b78.
The reverting change breaks build in unbundled jb-ub-latinimegoole branch.

Change-Id: Ia61424f5321eb97f981d22c4b08e9ea8d348f6c1
2014-05-23 18:31:43 +00:00
Tadashi G. Takaoka db21267b78 Use ViewCompat support library and delete ViewCompatUtils
Change-Id: Ifee496ff7ecaf361898444ff4127f16748d96422
2014-05-24 02:13:52 +09:00
Tadashi G. Takaoka 7a76350b7b Merge "Enable "show language switch key" settings on K and before" 2014-05-23 16:43:37 +00:00
Tadashi G. Takaoka 6726bc9001 Merge "Use Java 7 diamond operator" 2014-05-23 16:43:12 +00:00
Tadashi G. Takaoka e3bfb825f5 Merge "Consolidate attributes to EmojiPaletteView to control indicators" 2014-05-23 16:42:50 +00:00
Tadashi G. Takaoka a91561aa58 Use Java 7 diamond operator
Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
2014-05-24 01:05:42 +09:00
Tadashi G. Takaoka 7ed40a13cc Enable "show language switch key" settings on K and before
"Show language switch key" and "Switch to other IME" settings are
enabled on KitKat and before. On L and later, its preference settings
UI gets hide and the settings values are forcibly set to true.

Bug: 14854377
Change-Id: I10456408452280a1b7688fd1f168933937666c9f
2014-05-24 00:58:24 +09:00
Keisuke Kuroyanagi 9f9988e996 Merge "Introduce EMPTY_PREV_WORDS_INFO and BEGINNING_OF_SENTENCE." 2014-05-23 14:53:13 +00:00
Ken Wakasa 991c9026b9 Merge "Revert "Fix: too many calls to getSuggestedWordsForTypingInput"" 2014-05-23 14:34:36 +00:00
Ken Wakasa d941ea1826 Revert "Fix: too many calls to getSuggestedWordsForTypingInput"
This reverts commit 7aa895e2e3.

Bug: 15148015
Change-Id: If39c4f8b897f247d4eb935923d55d81def4c8fb4
2014-05-23 14:34:06 +00:00
Keisuke Kuroyanagi a790c5b683 Introduce EMPTY_PREV_WORDS_INFO and BEGINNING_OF_SENTENCE.
Bug: 14119293
Change-Id: I5020e5f0aa64bc3e97b3a3c2c07a60c8b765ed64
2014-05-23 23:19:33 +09:00
Keisuke Kuroyanagi a37f374ad1 Version up dynamic dict format from 401 to 402.
Change-Id: Ibea36af905ade773ae3db3a5456f7b5a0ad7d220
2014-05-23 20:20:56 +09:00
Keisuke Kuroyanagi 1adca93381 Extend jni methods and enable Beginning-of-Sentence.
Bug: 14119293
Change-Id: I78fc877367dd0d6240eeacb750b6d2d0b93cba83
2014-05-23 19:58:58 +09:00
Keisuke Kuroyanagi 85befc0873 Merge "Make DistracterFilter interface." 2014-05-23 10:11:57 +00:00
Jean Chalard 52fdaa2cd8 Merge "Fix some auto-caps problems: - (mainly for Spanish) auto-caps after inverted bang and what - (German only) don't auto-cap after digits-period-space" 2014-05-23 09:42:56 +00:00
Jean Chalard e8e463832f Merge "Increase the DB version for the next release." 2014-05-23 09:18:22 +00:00
Jean Chalard cfdb1b8d26 Fix some auto-caps problems:
- (mainly for Spanish) auto-caps after inverted bang and what
- (German only) don't auto-cap after digits-period-space

Bug: 15177663
Bug: 12206753
Change-Id: Ia214bc067319469d9debbbfbdcb1dcff980847f0
2014-05-23 18:17:09 +09:00
Keisuke Kuroyanagi f498e53933 Make DistracterFilter interface.
Bug: 13142176
Bug: 15094186
Change-Id: If94b0a155b5ea2ff6b839e7da9d12a9cc6553931
2014-05-23 18:12:37 +09:00
Keisuke Kuroyanagi 1fa3e9044f Move distracter filter to dictionary facilitator.
Bug: 13142176
Bug: 15094186
Change-Id: Ib9e42f8e25538009f3ba62cf1e034cae3f6823c7
2014-05-23 16:10:36 +09:00
Tadashi G. Takaoka 2782f97927 Consolidate attributes to EmojiPaletteView to control indicators
This CL consolidates attributes of EmojiTabWidget and
EmojiCategoryPageIndicatorView with EmojiPaletteView.

Bug: 15151483
Change-Id: I6eca10b60e894d945080ef3f88523d539a4992fa
2014-05-23 16:09:00 +09:00
Keisuke Kuroyanagi a1035be6d8 Have DictionaryFacilitator in LatinIME.
Bug: 13142176
Bug: 15094186
Change-Id: I9da67352ff2abcd289fa5885389895ced878a413
2014-05-23 09:30:55 +09:00
Keisuke Kuroyanagi a2ce9a49ac Fix NPE happening in unit tests.
Change-Id: I2fc0dba53e18883755ff77351c152a9d3534c92b
2014-05-22 21:57:07 +09:00
Tadashi G. Takaoka 6989408e83 Fix emoji category indicator asset of xhdpi
Bug: 15104705
Change-Id: I4a2fa8a356daefb5cac59be5ee91b3a4033297c3
2014-05-22 19:19:48 +09:00
Tadashi G. Takaoka 713815f6cf Add code point name comment to spoken emoji descriptions
Bug: 11452158
Change-Id: I799f2b359827d75bcd9266bde7f842b370081ce7
2014-05-22 18:16:26 +09:00
Jean Chalard 0fca12bada Merge "Update dictionaries" 2014-05-22 09:08:20 +00:00
Jean Chalard 483650fd1c Increase the DB version for the next release.
Bug: 15065819

Change-Id: Ie43660109002fdb25ce68d7e64506ada0e15e621
2014-05-22 18:01:37 +09:00
Yohei Yukawa 7c6f57d147 Merge "Add a new production flag for metrics logging" 2014-05-22 08:30:20 +00:00
Tadashi G. Takaoka 641205481a Merge "Add spoken description of accented letters" 2014-05-22 08:17:53 +00:00
Yohei Yukawa 17eeecdf49 Add a new production flag for metrics logging
BUG:14909963
Change-Id: I2d48c5b7d959d9bb95afe2cd3cbd16b27092a054
2014-05-22 16:57:52 +09:00
Jean Chalard 9b3d55fd1a Merge "Check the md5 checksum of the copied file." 2014-05-22 07:38:08 +00:00
Keisuke Kuroyanagi 9218c51129 Fix: NPE in DistracterFilter
Change-Id: I19a92d79cf547aae8f15e7e5fd5309812ae4f2d5
2014-05-22 16:33:45 +09:00
Tadashi G. Takaoka fee4073f51 Add spoken description of accented letters
Bug: 15149856
Change-Id: I72f209fc3fdf619b3929325e2a810aa3c0bd1caa
2014-05-22 16:31:21 +09:00
Jean Chalard 9087d19fc0 Check the md5 checksum of the copied file.
If it doesn't match, mark it broken. It means the dictionary pack
will try to install it again next time it updates. We may want to
rethink this.

Bug: 13125743
Change-Id: I0eb547aa7066bed8cb00c009debbafe9181c37ad
2014-05-22 14:19:46 +09:00
Keisuke Kuroyanagi 5e2c4c0297 Merge "Use enabled subtypes for Keyboard in DistracterFilter." 2014-05-22 04:50:47 +00:00
Jean Chalard 68f46d9c2f Merge "Don't upcase suggestions when resuming on an uppercase word" 2014-05-22 03:57:38 +00:00
Jean Chalard 814cf03470 Merge "Arrange to send the rawChecksum to LatinIME." 2014-05-22 03:18:52 +00:00
Jean Chalard 2df6374ffa Merge "Fix: too many calls to getSuggestedWordsForTypingInput" 2014-05-22 03:14:01 +00:00
Jean Chalard 7aa895e2e3 Fix: too many calls to getSuggestedWordsForTypingInput
Bug: 15148015
Change-Id: Idcb729734bd62b537fb81acf8bdb5cae4470404c
2014-05-22 12:08:12 +09:00
Jean Chalard ea09e6bddb Merge "Add the rawChecksum column to the database." 2014-05-22 02:41:00 +00:00
Jean Chalard dfc38358fc Don't upcase suggestions when resuming on an uppercase word
Bug: 13917781
Change-Id: I7458d120898a7c8c0bc2db2f6db3578fd1dd1681
2014-05-22 11:37:08 +09:00
Jean Chalard 267e528253 Arrange to send the rawChecksum to LatinIME.
Bug: 13125743
Change-Id: I5d111336e6a0f5ab4e93ff333654a7a1f8f46480
2014-05-22 11:01:04 +09:00
Jean Chalard e077c01461 Add the rawChecksum column to the database.
Bug: 13125743
Change-Id: I082aa9df1dd4a10cdb3f97ee0692f2d72f6c8e7e
2014-05-22 11:00:46 +09:00
Tadashi G. Takaoka b214c8ac79 Merge "Reuse KLP more keys key background for LXX" 2014-05-22 00:18:33 +00:00
Baligh Uddin 9ef6b6a821 Merge "Import translations. DO NOT MERGE" 2014-05-21 16:13:58 +00:00
Baligh Uddin 31290a9519 Merge "Import translations. DO NOT MERGE" 2014-05-21 16:13:54 +00:00
Jean Chalard 0c80c5e200 Update dictionaries
>>> dictionaries/en_GB_wordlist.combined.gz
Header :
  date : 1393228134 <=> 1400639634
  version : 44 <=> 45
Body :
Deleted: SVD 73
Added: google 72

>>> dictionaries/en_US_wordlist.combined.gz
Header :
  date : 1393228135 <=> 1400639634
  version : 44 <=> 45
Body :
Deleted: SVD 73

>>> dictionaries/en_wordlist.combined.gz
Header :
  date : 1393228155 <=> 1400639659
  version : 44 <=> 45
Body :
Deleted: SVD 73
Added: google 72

>>> dictionaries/fr_wordlist.combined.gz
Header :
  date : 1393228135 <=> 1400639634
  version : 44 <=> 45
Body :
Deleted: Déshabillez-moi 27
Deleted: Déshabillons-les 22
Deleted: Laisse-les 14
Deleted: Pendez-les 34
Deleted: Pendez-moi 14
Deleted: Regardez-les 22
Deleted: Saint-Louis-les 38
Deleted: Saint-Vincent-et-les 62
Deleted: Sortez-les 14
Deleted: brula 56
Deleted: brulaient 38
Deleted: brulait 27
Deleted: brulant 68
Deleted: brulante 45
Deleted: brulantes 38
Deleted: brulants 38
Deleted: brule 64
Deleted: brulent 57
Deleted: bruler 67
Deleted: brulera 31
Deleted: bruleur 38
Deleted: bruleurs 38
Deleted: brulez 22
Deleted: brulis 46
Deleted: brulot 36
Deleted: brulots 45
Deleted: brulure 49
Deleted: brulures 56
Deleted: brulèrent 60
Deleted: brulé 82
Deleted: brulée 71
Deleted: brulées 67
Deleted: brulés 74
Deleted: coutaient 43
Deleted: coutait 61
Deleted: coutant 58
Deleted: coutent 60
Deleted: couter 57
Deleted: coutera 60
Deleted: couterait 52
Deleted: couteuse 72
Deleted: couteusement 45
Deleted: couteuses 65
Deleted: couteux 81
Deleted: coutât 31
Deleted: coutèrent 52
Deleted: couté 81
Deleted: rent 51
Deleted: street 96
Added: déshabillez-moi 27
Added: déshabillons-les 22
Added: laisse-les 14
Added: pendez-les 34
Added: pendez-moi 14
Added: regardez-les 22
Added: sortez-les 14

>>> java/res/raw/main_en.dict
Header :
  date : 1393228155 <=> 1400639659
  version : 44 <=> 45
Body :
Deleted: SVD 73
Added: google 72

>>> java/res/raw/main_fr.dict
Header :
  date : 1393228135 <=> 1400639634
  version : 44 <=> 45
Body :
Deleted: Déshabillez-moi 27
Deleted: Déshabillons-les 22
Deleted: Laisse-les 14
Deleted: Pendez-les 34
Deleted: Pendez-moi 14
Deleted: Regardez-les 22
Deleted: Saint-Louis-les 38
Deleted: Saint-Vincent-et-les 62
Deleted: Sortez-les 14
Deleted: brula 56
Deleted: brulaient 38
Deleted: brulait 27
Deleted: brulant 68
Deleted: brulante 45
Deleted: brulantes 38
Deleted: brulants 38
Deleted: brule 64
Deleted: brulent 57
Deleted: bruler 67
Deleted: brulera 31
Deleted: bruleur 38
Deleted: bruleurs 38
Deleted: brulez 22
Deleted: brulis 46
Deleted: brulot 36
Deleted: brulots 45
Deleted: brulure 49
Deleted: brulures 56
Deleted: brulèrent 60
Deleted: brulé 82
Deleted: brulée 71
Deleted: brulées 67
Deleted: brulés 74
Deleted: coutaient 43
Deleted: coutait 61
Deleted: coutant 58
Deleted: coutent 60
Deleted: couter 57
Deleted: coutera 60
Deleted: couterait 52
Deleted: couteuse 72
Deleted: couteusement 45
Deleted: couteuses 65
Deleted: couteux 81
Deleted: coutât 31
Deleted: coutèrent 52
Deleted: couté 81
Deleted: rent 51
Deleted: street 96
Added: déshabillez-moi 27
Added: déshabillons-les 22
Added: laisse-les 14
Added: pendez-les 34
Added: pendez-moi 14
Added: regardez-les 22
Added: sortez-les 14

Bug: 15065819
Bug: 13618068
Change-Id: I3dbe2f1d8868e0880ac76058d99346242bace8cc
2014-05-21 17:33:06 +09:00
Keisuke Kuroyanagi 17f326b745 Add beginning of sentence information in PrevWordsInfo.
Bug: 14119293
Bug: 14425059
Change-Id: I65320920e840082b0b697bb621676716d0933e0c
2014-05-21 15:40:08 +09:00
Keisuke Kuroyanagi 17ae0eb7e7 Use enabled subtypes for Keyboard in DistracterFilter.
Bug: 13142176
Bug: 15094186
Change-Id: I142eeaa11f838080a4fc5a342155e5d470eab3d4
2014-05-21 14:08:39 +09:00
Tadashi G. Takaoka f621ef52d0 Merge "Update action key and shift key backgrounds of LXX" 2014-05-21 03:54:50 +00:00
Tadashi G. Takaoka 79a7f133d4 Reuse KLP more keys key background for LXX
Change-Id: I239bae6bd622119c560d39c6d9c0559fd0380669
2014-05-21 12:43:07 +09:00
Tadashi G. Takaoka f675209456 Update action key and shift key backgrounds of LXX
Bug: 14419121
Change-Id: Ic5aaff21ce55dc24dcd766d017879cb7b17a9c95
2014-05-21 12:41:56 +09:00
Tadashi G. Takaoka 73788ea154 Merge "Refactor MoreKeysKeyboardView to use Key class" 2014-05-21 03:06:43 +00:00
Tadashi G. Takaoka 5fc1510bc1 Refactor MoreKeysKeyboardView to use Key class
This can make MoreSuggestionsView to use extended Key class to hold
a index of a suggested word.

Change-Id: I54d03d2447b04e3caf3e19e7cadcd391cbf58dd5
2014-05-21 11:19:01 +09:00
Keisuke Kuroyanagi e507d92aa3 Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.
Bug: 14119293
Bug: 14425059
Bug: 15102610
Change-Id: Ib482390f8d15b37d44a1a54e8c243a9eaec3f815
2014-05-21 11:15:38 +09:00
Baligh Uddin d8be429bfa Import translations. DO NOT MERGE
Change-Id: I7e57cae745daf12d9e6e7ffa18e58f2e5dac9270
Auto-generated-cl: translation import
2014-05-20 16:13:29 -07:00
Baligh Uddin cd61bfebe5 Import translations. DO NOT MERGE
Change-Id: I22f466b3d3afb2ab096fc8cbae11ec156fa5623b
Auto-generated-cl: translation import
2014-05-20 16:09:51 -07:00
Ken Wakasa 06dd0ef877 Merge "Revert "Use PrevWordsInfo for get/add/remove n-gram(bigram) entry."" 2014-05-20 14:01:34 +00:00
Ken Wakasa 4e21d3711f Revert "Use PrevWordsInfo for get/add/remove n-gram(bigram) entry."
This reverts commit ff50b39176.

Bug: 14119293
Bug: 14425059
Bug: 15102610

Change-Id: If278b4ab236e38d20d8cdc0761b0438911bd4ff9
2014-05-20 14:01:06 +00:00
Tadashi G. Takaoka 305778b53a Support accessibility TalkBack in emoji palette
Bug: 11452158
Change-Id: I699e4e9f4baec4bb0fb9cd7875f675044f20465f
2014-05-20 17:35:39 +09:00
Tadashi G. Takaoka f22285006a Move generic hover event handling to KeyboardAccessibilityDelegate
This is a follow up of I0d73b4cf60.

Change-Id: Iecfe124321682c8fc307ccf4c79e836390403d95
2014-05-20 17:25:19 +09:00
Tadashi G. Takaoka 4d146d5e3e Separate MainKeyboardView specific accessibility code
Change-Id: I0d73b4cf60145b6e34bd89f72eb49de3c686f5e3
2014-05-20 15:34:25 +09:00
Tadashi G. Takaoka 524392adfa Merge "Refactor accessibility classes to be more generic" 2014-05-20 06:19:30 +00:00
Tadashi G. Takaoka c6d40dfa5c Merge "Remove preliminary subtypes for L-preview" 2014-05-20 06:08:41 +00:00
Tadashi G. Takaoka 7b90d2c432 Refactor accessibility classes to be more generic
Change-Id: Ifad1905f304bccdc39f0d5fbcab8a6353e0b4f76
2014-05-20 15:07:45 +09:00
Keisuke Kuroyanagi 1afaf6770b Merge "Use PrevWordsInfo for get/add/remove n-gram(bigram) entry." 2014-05-20 05:36:10 +00:00
Tadashi G. Takaoka d2f968847a Remove preliminary subtypes for L-preview
Bug: 13966540
Bug: 13779052
Bug: 10028772
Bug: 7963632
Change-Id: I38552cdbdd6165ee5d9b1a89a822653459fb2b38
2014-05-20 13:56:04 +09:00
Tadashi G. Takaoka 5b7c85ec32 Merge "Update key preview popup and shift icons of LXX_Dark" 2014-05-20 04:49:22 +00:00
Tadashi G. Takaoka cf3b5df3ba Update key preview popup and shift icons of LXX_Dark
Bug: 14419121
Change-Id: I808ea58a8d00be3c64d0f4a17e61c55299f8583a
2014-05-20 13:37:54 +09:00
Keisuke Kuroyanagi ff50b39176 Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.
Bug: 14119293
Bug: 14425059

Change-Id: I12e9ba977c153b514c6591ab52940712fd0874e3
2014-05-20 13:37:04 +09:00
Tadashi G. Takaoka 9fb2797714 Fix number password field handling
Bug: 15088419
Change-Id: Ie88375c8c8203c318d9b410692c527443cb0a2d5
2014-05-20 10:26:26 +09:00
Tadashi G. Takaoka 437be2d5c4 Refactor Emoji tab indicators to refer keyboard theme
Bug: 14419121
Change-Id: I7086923fff153039c2d011bbccbfd04eb687a76a
2014-05-20 01:16:25 +09:00
Tadashi G. Takaoka 27ca9f1bf1 Remove Emoji label tab
Change-Id: Ia2f3482363b462c16a51f2baac59d6bcae96ffab
2014-05-19 23:11:39 +09:00
Tadashi G. Takaoka 3bfacd445e Merge "Remove Emoji delete key UX hack" 2014-05-19 05:33:28 +00:00
Tadashi G. Takaoka 6ea0dab845 Remove Emoji delete key UX hack
The Emoji delete key UX hack that changes key background color based
on the key state isn't keyboard theme compliant.

Change-Id: I0fa43a91cdd6da944d6d4d1a5a09b771f852a081
2014-05-19 14:07:35 +09:00
Keisuke Kuroyanagi b52055bfd1 Merge "Use PrevWordsInfo instead of String in Java side." 2014-05-19 05:00:21 +00:00
Keisuke Kuroyanagi 83c40a2301 Use PrevWordsInfo instead of String in Java side.
Bug: 14119293
Bug: 14425059

Change-Id: I3d5da84881a49a04550180dd9aac2c37da2ed762
2014-05-19 13:55:40 +09:00
Tadashi G. Takaoka 10bd458efc Rename Emoji related resource names more consistent
Change-Id: I318a98feeaf7b8bc4d2ed6d54475a144e2dca0a1
2014-05-19 13:54:00 +09:00
Tadashi G. Takaoka 260b65478f Rename key background drawables more consistent
This CL also deletes the following unused drawables.
- btn_keyboard_key_dark_normal_on.9.png
- btn_keyboard_key_dark_normal_off.9.png
- btn_keyboard_key_dark_pressed_off.9.png

Change-Id: I3e4e14fc1e631245ebb36a0a1c7ffc76f75fd217
2014-05-19 12:58:27 +09:00
Tadashi G. Takaoka 193584ce6a Update Enter and key preview popup of Quantum Dark
Bug: 14419121
Change-Id: Ibdac3caaf9b7ec2c2c7f226ed7f66285587d4d5c
2014-05-19 11:54:49 +09:00
Tadashi G. Takaoka 04e2a494e2 Rename LXX theme to LXX_Dark
Bug: 14419121
Change-Id: I3d73c51d339eafec26871a659575d8b7b8cc441c
2014-05-19 10:27:36 +09:00
Keisuke Kuroyanagi 23246ed18d Use dedicated DictionaryFacilitator for DistracterFilter
Bug: 15002249
Change-Id: Ic77eaa7d627d406daad7dcd15cb4884d9f647312
2014-05-17 01:18:08 +09:00
Keisuke Kuroyanagi 96013c9605 Merge "Revert "Use dedicated DictionaryFacilitator for DistracterFilter"" 2014-05-16 11:17:45 +00:00
Keisuke Kuroyanagi f9377c8920 Revert "Use dedicated DictionaryFacilitator for DistracterFilter"
This reverts commit 7122fe76e3.

Change-Id: I341089864a2b58de6e0f35844a12fb632bd1eabb
2014-05-16 11:16:54 +00:00
Keisuke Kuroyanagi 0dac17f5fb Merge "Use dedicated DictionaryFacilitator for DistracterFilter" 2014-05-16 10:49:02 +00:00
Tadashi G. Takaoka 060e63835a Merge "Fix keyboard theme selection logic" 2014-05-16 09:59:22 +00:00
Tadashi G. Takaoka 3b12718537 Fix keyboard theme selection logic
Bug: 15002666
Change-Id: I5cc52db71ee609edffdb2613e93245e92ac6fc6a
2014-05-16 18:45:09 +09:00
Keisuke Kuroyanagi 7122fe76e3 Use dedicated DictionaryFacilitator for DistracterFilter
Bug: 15002249
Change-Id: I2ebf1941fb0453ea4b97c0e539f8b36e5e0262c1
2014-05-16 18:39:31 +09:00
Keisuke Kuroyanagi d1f9ce00db Merge "Make session id mandatory for getSuggestions." 2014-05-16 09:33:28 +00:00
Keisuke Kuroyanagi 09c72207c6 Make session id mandatory for getSuggestions.
Bug: 15008504
Change-Id: Ic4a17a4b7242118ae74fd89c695da2bb52204fb2
2014-05-16 17:57:03 +09:00
Tadashi G. Takaoka 91e4ba742a Merge "Fix typeface weight and suggestions strip background" 2014-05-16 07:59:30 +00:00
Keisuke Kuroyanagi f1b3518d71 Merge "Fix: StringIndexOutOfBoundsException." 2014-05-16 07:47:52 +00:00
Keisuke Kuroyanagi 34873a66f0 Fix: StringIndexOutOfBoundsException.
Bug: 14985751
Change-Id: I9df2f737555ab02e24e0fbd231a97c1eec26bc57
2014-05-16 15:32:12 +09:00
Keisuke Kuroyanagi cfd3093362 Merge "Fix: NPE when context.getFilesDir() returns null." 2014-05-16 05:35:57 +00:00
Tadashi G. Takaoka 496879a2e2 Fix typeface weight and suggestions strip background
Changes the typeface weight from bold to regular.

Bug: 14419121
Change-Id: Ia80f82a32344114cf66cad882e403985e6bb1044
2014-05-16 11:24:09 +09:00
Tadashi G. Takaoka 812d7d935a Merge "Support 9-patch drawable for spacebar icon" 2014-05-16 01:28:04 +00:00
Baligh Uddin 346e96bb5c Merge "Import translations. DO NOT MERGE" 2014-05-15 14:35:22 +00:00
Keisuke Kuroyanagi a545e8dd23 Fix: NPE when context.getFilesDir() returns null.
Bug: 14517587
Change-Id: Ib99bea14eab3a25ddb5042527b757133734a6ba6
2014-05-15 20:20:13 +09:00
Tadashi G. Takaoka 41808192d3 Support 9-patch drawable for spacebar icon
Bug: 14419121
Change-Id: I901ea2a5bfae870b3aae8fea3bc38d999b2354b8
2014-05-15 18:40:16 +09:00
Tadashi G. Takaoka 2ddaf9543d Remove unused auto correction led for spacebar feature
Change-Id: Ie1544bd0d28684d9b7887fddff37b224ed4f8201
2014-05-15 17:53:43 +09:00
Tadashi G. Takaoka c007e8863c Swap space and dot of number keyboard of phone
Bug: 14419121
Change-Id: I0968b46cfabd3d0a37a705451e38bd922b69e7ec
2014-05-15 16:31:09 +09:00
Tadashi G. Takaoka 591ec83e40 Merge "Use slightly dimmed text color for functional keys" 2014-05-15 07:09:53 +00:00
Tadashi G. Takaoka 28289ece59 Merge "Fix NPE in KeyboardSwitcher while orientation change" 2014-05-15 07:09:44 +00:00
Keisuke Kuroyanagi e810a266fd Merge "Quit use bigram probability diff for ver4 dict." 2014-05-15 07:07:25 +00:00
Tadashi G. Takaoka afdcc15ca8 Fix NPE in KeyboardSwitcher while orientation change
This is a follow up of I8a737e2b73.

Bug: 14981300
Bug: 14419121
Change-Id: I87f910adbff248d9606d074c351aa951c9539163
2014-05-15 16:07:15 +09:00
Keisuke Kuroyanagi 64341927d2 Quit use bigram probability diff for ver4 dict.
Change-Id: I2cfcfbcf351877d1dff466a24974dbb05908f14e
2014-05-15 16:02:58 +09:00
Tadashi G. Takaoka 37ec0fe984 Use slightly dimmed text color for functional keys
This CL introduces two new key attributes to achieve this.
- KeyboardView.functionalTextColor
- followFunctionalTextColor flag for Key.keyLabelFlags

Bug: 14419121
Change-Id: I45ca433dcc9cc8c6cf891e21d5316ee4048b0cad
2014-05-15 15:39:59 +09:00
Yohei Yukawa f0fc320b4e Merge "Simplify StatsUtils" 2014-05-15 06:35:42 +00:00
Baligh Uddin bdc4b1876a Import translations. DO NOT MERGE
Change-Id: Ied3af9b4df35ee65da5734d910cf45af16d84e9e
Auto-generated-cl: translation import
2014-05-14 22:17:29 -07:00
Tadashi G. Takaoka 34e0fad723 Update L icons
This CL must be checked in together with I27755f45fd.

Bug: 14419121
Change-Id: Iaf032f638c9ed36f2d3b924fdd42f0502abf487e
2014-05-15 13:45:02 +09:00
Xiaojun Bi 3686bdfcc1 Fix off-device build
This CL fixed the breakage caused by DistracterFilter.
It should be checked in together with I8f53e9481c0f

Bug: 14911612
Bug: 13142176
Change-Id: I33c3526165cea58926d10404552f1fadc385c2e5
2014-05-14 17:39:02 -07:00
Yohei Yukawa 9aa7f66a15 Simplify StatsUtils
With this CL, the implementation of StatsUtils no longer
needs to know how to read settings from the system.

Insted, the LatinIME class is now responsible for notifying
StatsUtils whenever the settings is changed.

BUG: 14324207
Change-Id: Ic3d26ec31c8d2c082d3e7487b578b323aad2f960
2014-05-15 00:11:13 +09:00
Keisuke Kuroyanagi aa7329de15 Merge "Add VERSION4_DEV(402) in Java side and use it for tests." 2014-05-14 13:42:24 +00:00
Keisuke Kuroyanagi 04536f14b0 Add VERSION4_DEV(402) in Java side and use it for tests.
Bug: 13406708
Change-Id: I7c9c53bf34d12dced7331a359a83f6444490783a
2014-05-14 22:37:07 +09:00
Keisuke Kuroyanagi ee59975420 Merge "Fix a NPE in DistracterFilter.isDistracterToWordsInDictionaries()" 2014-05-14 12:20:10 +00:00
Jean Chalard babde55bf8 Merge "Fix a bug where changing languages kills the composition." 2014-05-14 11:36:43 +00:00
Jean Chalard 5ce39dfa78 Fix a bug where changing languages kills the composition.
Bug: 14926896
Change-Id: Id2a06c68a51f833db4d8bbc858a232c2696afb6e
2014-05-14 20:34:32 +09:00
Tadashi G. Takaoka 9f4d62cc42 Create com.android.inputmethod.keyboard.emoji package
Change-Id: Idd12c2fa4f5add7bb50bd7349ff9a74fffe82cfd
2014-05-14 19:32:00 +09:00
Tadashi G. Takaoka 71f4c6b8ea Merge "Fix NPE that happens only in some unit tests" 2014-05-14 10:01:15 +00:00
Tadashi G. Takaoka 268bf2cdfe Fix NPE that happens only in some unit tests
Bug: 14922410
Change-Id: Ica801e102d302e9faa7c24721b37634f1e812af3
2014-05-14 18:55:14 +09:00
Jean Chalard 08476dc107 Merge "Don't send empty composing texts." 2014-05-14 09:50:25 +00:00
Tadashi G. Takaoka 83da26422c Merge "Rename LMP to LXX just in case" 2014-05-14 09:43:27 +00:00
Tadashi G. Takaoka 3610039723 Rename LMP to LXX just in case
This CL must be checked in together with I7e2ba67f31.

Change-Id: I51cb982f9cf0ace173d535a60293bb4be83bbb75
2014-05-14 18:39:39 +09:00
Tadashi G. Takaoka d7c520bb74 Merge "Make Emoji palette more Quantum light compliant" 2014-05-14 09:33:43 +00:00
Keisuke Kuroyanagi 0a04f8be93 Merge "Output dictionary format version for dump." 2014-05-14 09:07:56 +00:00
Tadashi G. Takaoka c1094d6913 Make Emoji palette more Quantum light compliant
Bug: 14419121
Change-Id: I8a737e2b73a000ad66e7e30a695677fe0bcc66fb
2014-05-14 18:01:24 +09:00
Tadashi G. Takaoka ae1c53bead Merge "Separate functional key background from normal one" 2014-05-14 09:00:43 +00:00
Tadashi G. Takaoka c1e6100bde Separate functional key background from normal one
This CL also moves spacebarBackground attribute from MainKeyboardView
to KeyboardView.

This CL must be checked in together with I48c383ca97.

Bug: 14419121
Change-Id: Id356d0086a8fb21375fb5c66076873258fb3d63e
2014-05-14 17:57:51 +09:00
Jean Chalard 309ab664a8 Don't send empty composing texts.
Bug: 13160467
Change-Id: I5e3204ac8aaa18fe9219cc6b564b832ab6cf94fc
2014-05-14 16:55:32 +09:00
Jean Chalard a1b7f66eb2 Merge "Implement backspace in the current cluster for Myanmar" 2014-05-14 07:18:35 +00:00
Jean Chalard d23d1970b0 Implement backspace in the current cluster for Myanmar
Bug: 13945569
Change-Id: I738b01ede25fd731a2e10c4775f5511ce9bb54c8
2014-05-14 16:09:33 +09:00
Tadashi G. Takaoka ead058b002 Make EmojiCategory and EmojiPalettesAdapter as top level classes
Change-Id: Iea8087a240cb46e410b8de1f6a784b2995e7a6fb
2014-05-14 16:01:00 +09:00
Xiaojun Bi eb4f8506d6 Fix a NPE in DistracterFilter.isDistracterToWordsInDictionaries()
Bug: 14904706
Change-Id: I3b52bb01b9c59cbba2eba0bd1d91dffb4419c019
2014-05-13 21:00:28 -07:00
Tadashi G. Takaoka 83be21a563 Fix emoji category page indicator height
Bug: 14419121
Change-Id: I67f2072c67c2c4da0e5ac21a90f5cc7313f70f59
2014-05-14 12:35:40 +09:00
Tadashi G. Takaoka 161fa05d03 Update LMP colors and temporal drawables
Bug: 14419121
Change-Id: I84ce3d82636a88f3e63c3858012d1ade44f0cfd2
2014-05-14 12:03:20 +09:00
Keisuke Kuroyanagi 935150795b Output dictionary format version for dump.
Change-Id: I13873727dbb25550a5087c883968a77094d2115d
2014-05-14 11:39:28 +09:00
Tadashi G. Takaoka 7edd345bf2 Remove unused drawables
Change-Id: I27612d5a47ea780a9c9b6244e33ab6ff8fc4a37a
2014-05-14 10:54:13 +09:00
Tadashi G. Takaoka 08103a0e07 Show voice key even when important notice is showing
Bug: 14822080
Change-Id: I2a55bb630cf544b6dc31a5e0e6b932c6af268c71
2014-05-14 09:11:35 +09:00
Xiaojun Bi 25ec32f635 Merge "Implement the distracter filter" 2014-05-13 23:08:40 +00:00
Xiaojun Bi ac20253806 Implement the distracter filter
Bug: 13142176

Change-Id: I85a048cdcbbad3d6020a25f900250d8d7a0fe3da
2014-05-13 15:52:14 -07:00
Baligh Uddin f8297dc54d Merge "Import translations. DO NOT MERGE" 2014-05-13 16:03:45 +00:00
Tadashi G. Takaoka 5fc93fadd6 Merge "Add content description to the voice key" 2014-05-13 07:53:02 +00:00
Tadashi G. Takaoka cda11fb3a4 Merge "Show icon on action key when it is defined in keyboard theme" 2014-05-13 07:49:37 +00:00
Tadashi G. Takaoka 06d1cdd5dc Add content description to the voice key
Bug: 14849593
Change-Id: I1664b6a4ef54b78a09df65adbffff7861b54c4a9
2014-05-13 16:33:31 +09:00
Tadashi G. Takaoka aaffc46e82 Fix inconsistent TalkBack descriptions of keyboard modes
The previous "symbols shift mode" is renamed as "more symbols
mode". This CL also simplifies the shift key on various keyboard
modes.

Bug: 14461550
Change-Id: I8ed48805eaf95892e0f12f5edcdf97937d5c2bd4
2014-05-13 15:55:32 +09:00
Tadashi G. Takaoka dcd74ba929 Merge "Optimize drawing key text shadow layer" 2014-05-13 05:21:08 +00:00