Commit Graph

34707 Commits (bc66b2bcb4a2a90766b46b2af5b85a1327d83424)

Author SHA1 Message Date
Keisuke Kuroyanagi 5ce1a5eb48 am e5e7a91b: Merge "Add ByteArrayUtilsTest."
* commit 'e5e7a91b490eb1214ee19031cada5f9754b45933':
  Add ByteArrayUtilsTest.
2014-08-25 09:10:41 +00:00
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
Keisuke Kuroyanagi e5e7a91b49 Merge "Add ByteArrayUtilsTest." 2014-08-25 09:06:08 +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
Keisuke Kuroyanagi c04ae77583 Add ByteArrayUtilsTest.
Change-Id: I4695a2573b4d2d8331fc9ce1e9ff83397791a586
2014-08-25 16:52:12 +09: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 4a782da382 am f145fff0: Merge "Fix NPE when pressing ALT key" into lmp-dev
* commit 'f145fff0855cedb83551021c7682e05e1783f5b2':
  Fix NPE when pressing ALT key
2014-08-25 07:11:12 +00: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
Keisuke Kuroyanagi ba8d5e6b85 am e38f7918: Merge "Get bigram probability using language model dict content."
* commit 'e38f79182d61c2b965cc3b47065c17107865df46':
  Get bigram probability using language model dict content.
2014-08-25 05:54:17 +00:00
Keisuke Kuroyanagi e38f79182d Merge "Get bigram probability using language model dict content." 2014-08-25 05:47:10 +00: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 2d508203c6 am 8681287c: Fix build due to an illegal character
* commit '8681287cd65f9d96187aab0703121881c8eba6c6':
  Fix build due to an illegal character
2014-08-25 04:41:35 +00:00
Yohei Yukawa 0271608315 am 5eebaddc: Merge "Dismiss "Add to dictionary" hint with non-special char event" into lmp-dev
* commit '5eebaddccbdbd59669d658245eea6e8aca560fc6':
  Dismiss "Add to dictionary" hint with non-special char event
2014-08-25 04:25:01 +00:00
Yohei Yukawa b65a1e46ce am 2c4cce8d: Merge "Introduce #shouldShowAddToDictionaryHint" into lmp-dev
* commit '2c4cce8d6c92dc4492e4376a2b3973d76a016fdd':
  Introduce #shouldShowAddToDictionaryHint
2014-08-25 04:25:00 +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
Tadashi G. Takaoka 129af92713 am 5e7a6fe0: Merge "Fix the bottom row of tablet keyboard layout" into lmp-dev
* commit '5e7a6fe09824a5d1ba875bc5aaed183cb1a0bc27':
  Fix the bottom row of tablet keyboard layout
2014-08-25 04:02:07 +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
Keisuke Kuroyanagi aec45a5336 am 39467767: Merge "Truncate entries in language model dict content."
* commit '394677674bffec54f8e04dd84468128232d248aa':
  Truncate entries in language model dict content.
2014-08-25 03:55:18 +00:00
Yohei Yukawa e0d0080308 am 4a71d2c4: Allow to add/remove background color to/from the committed text
* commit '4a71d2c48021351e10bd61d5ee007533651da627':
  Allow to add/remove background color to/from the committed text
2014-08-25 03:53:28 +00:00
Keisuke Kuroyanagi 394677674b Merge "Truncate entries in language model dict content." 2014-08-25 03:46:07 +00: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
Keisuke Kuroyanagi 64bf62e25e am 094a8a68: Merge "Update probabilities in language model dict content for GC."
* commit '094a8a68e3ec4d7d5cacd9be08fa4558b096a93f':
  Update probabilities in language model dict content for GC.
2014-08-25 03:16:06 +00:00
Keisuke Kuroyanagi 094a8a68e3 Merge "Update probabilities in language model dict content for GC." 2014-08-25 03:08:58 +00:00
Yohei Yukawa 7d146cdbe8 am cd6ef9a8: Indroduce SuggestedWords#getTypedWordInfoOrNull
* commit 'cd6ef9a8b117b82623251510fac72ee108ec1a2a':
  Indroduce SuggestedWords#getTypedWordInfoOrNull
2014-08-24 23:52:49 +00: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 7ecc2301b9 am 19a7012d: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '19a7012db59efdc45d58c86085c2e8c871806761':
  Import translations. DO NOT MERGE
2014-08-22 18:37:16 +00:00
Baligh Uddin 46abcd8563 am bf32c265: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'bf32c265786b3a91424936d0b290f725c75d87ff':
  Import translations. DO NOT MERGE
2014-08-22 18:37:15 +00:00
Baligh Uddin 84f348617f am dafd54f0: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'dafd54f055d98d1dbbdb6e452a6930639b4e66af':
  Import translations. DO NOT MERGE
2014-08-22 18:37:14 +00:00