aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-08-25Revert "Revert "[ML1] Introduce RichInputMethodSubtype""Jean Chalard14-112/+202
This reverts commit a63d0a8ee6cb05bcddb69bf9a6018853d89d886a. 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-24Introduce #shouldShowAddToDictionaryHintYohei Yukawa1-8/+15
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-25Fix the bottom row of tablet keyboard layoutTadashi G. Takaoka39-292/+592
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-24Allow to add/remove background color to/from the committed textYohei Yukawa2-4/+97
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-24Indroduce SuggestedWords#getTypedWordInfoOrNullYohei Yukawa2-21/+82
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-22Support Accept typed word UITadashi G. Takaoka6-72/+378
Change-Id: I58e95b2791a45afdc7dae8e26dcfc200b3b4b854
2014-08-22Get bigram probability using language model dict content.Keisuke Kuroyanagi1-10/+17
Bug: 14425059 Change-Id: Ia0493ed94e9bd47e9396d8cda94511b47820db0d
2014-08-22Truncate entries in language model dict content.Keisuke Kuroyanagi3-0/+152
Bug: 14425059 Change-Id: I023c1d5109a2c43fcea3bb11a0fd7198c82891ba
2014-08-22Update probabilities in language model dict content for GC.Keisuke Kuroyanagi5-21/+72
Bug: 14425059 Change-Id: I354408afd8e5c1955ff0acea3d0243d628fe3843
2014-08-22Revert "[ML1] Introduce RichInputMethodSubtype"Jean Chalard18-354/+284
This reverts commit 8ffe4bc9321e582a4d882f21e465d5886616f489. Change-Id: I9d4c98b0adfdb78b0f4d376f7691e50d1bd2228f
2014-08-22Revert "[HW17] Straighten the dead char implementation."Jean Chalard4-463/+24
This reverts commit c6612ff05185503bedc56dc610aa300d01be2e82. Change-Id: I750d9bff9cb89a6ab13af7a33567c3a0fe2af381
2014-08-22[ML1] Introduce RichInputMethodSubtypeJean Chalard18-284/+354
Bug: 11230254 Change-Id: Ic7a1bf938a5a186dcff527b556295aba2406e8b9
2014-08-22Pass a new argument to StatsUtils.Mohammadinamul Sheik3-3/+7
Change-Id: I61e32c7a455a273e8daf9a5487d7969923802488 Bug: 17013677
2014-08-22[HW17] Straighten the dead char implementation.Jean Chalard4-24/+463
This now supports all cases, including cases not supported by the framework. Change-Id: I9dfbe2829c28c5bcb64b0b5a2551e7806990c00f
2014-08-21follow-up to API change in I4a577bfd02b37bYohei Yukawa3-113/+24
BUG: 17182367 BUG: 17185263 Change-Id: Id54ca29c191b9752fa82ffe5a960113b2e97e5c1
2014-08-22Add ExpandableBinaryDictionary#getDictionaryStats().Keisuke Kuroyanagi2-0/+46
Bug: 16553957 Change-Id: I05866624d0ba9f32ea7a71cb231ba501dde4376c
2014-08-21Add Hinglish (hi_ZZ) subtypeTadashi G. Takaoka11-5/+159
Bug: 17169632 Change-Id: Ibee088d76c2b19f1d62a3c9c119452726e856ec8
2014-08-21Update FormatSpec.javaKeisuke Kuroyanagi1-83/+10
Change-Id: I27d14697f931c9511420a459c49312ea6e10c366
2014-08-21Remove unused dictionary writing methods.Keisuke Kuroyanagi4-37/+0
Change-Id: Ica6ac057c0d0f037b7dd5539ab5b591c83bfa4d7
2014-08-21Use #onStartInputInternal to initialize cursor rect retrievalYohei Yukawa1-12/+12
This CL simply moves the method calls of #requestCursorAnchorInfo into #onStartInputInternal just to consolidate the logic. Change-Id: Ia205738b9614e9ae375c1dab767a91d2e1f6d0d3
2014-08-20Support more methods in the wrapper of CursorAnchorInfoYohei Yukawa2-43/+156
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-18Import translations. DO NOT MERGEBaligh Uddin1-1/+1
Change-Id: I3cae3b62faf27fea8cc7c24051ac18f415934399 Auto-generated-cl: translation import
2014-08-18Import translations. DO NOT MERGEBaligh Uddin58-133/+76
Change-Id: I9d51675746cc1b3987f2c7a2469a3deced820e69 Auto-generated-cl: translation import
2014-08-18Import translations. DO NOT MERGEBaligh Uddin1-1/+1
Change-Id: Iacc87d9f13f21de7584cd5028527ec59c7c12802 Auto-generated-cl: translation import
2014-08-18Import translations. DO NOT MERGEBaligh Uddin2-38/+38
Change-Id: Ieef69130fa6f1f9c9f95a8f308175fbec470af86 Auto-generated-cl: translation import
2014-08-18Import translations. DO NOT MERGEBaligh Uddin2-32/+32
Change-Id: I0b7fb1fc18139ff80343703ab7a6caa2166fa519 Auto-generated-cl: translation import
2014-08-19Use FrameLayout for the backing viewYohei Yukawa1-1/+1
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-18Have the "add to dictionary" hint display the right wordJean Chalard1-8/+8
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