aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2014-08-27Remove redundant code.•••Change-Id: I173eac15dc128e84893881ec4ee0ad1ad2fce44b Keisuke Kuroyanagi1-2/+0
2014-08-27Use IntArrayView for dictionary structure policy.•••Change-Id: I0dc94908259d70d5085ff22abf422d90affb1452 Keisuke Kuroyanagi11-113/+117
2014-08-27Remove bigram dict content.•••Bug: 14425059 Change-Id: I75918c6761a50832da511088eb83becd56b23662 Keisuke Kuroyanagi15-1044/+15
2014-08-27Get entry count after truncation using LanguageModelDictContent.•••Bug: 14425059 Change-Id: I41b237c1c22c21740946d52e3be9d6f963c9cd54 Keisuke Kuroyanagi3-9/+26
2014-08-27Simplify onComputeInsets of LatinIME•••This CL expands SoftInputWindow to the entire screen. Thus a key review backing view is eliminated and onComputeInsets() gets simplified too. Bug: 17212702 Bug: 10841052 Bug: 10541453 Change-Id: I2d859f4e4698c64cabe399000821f13bab729996 Tadashi G. Takaoka7-101/+129
2014-08-27Import translations. DO NOT MERGE•••Change-Id: I0e264ee268375e1de7cd887a15f5b5e58e088329 Auto-generated-cl: translation import Baligh Uddin73-15/+234
2014-08-27Import translations. DO NOT MERGE•••Change-Id: I6a2cd642c61009394a29147643b0f240479cba5c Auto-generated-cl: translation import Baligh Uddin57-8/+179
2014-08-27Import translations. DO NOT MERGE•••Change-Id: I632754d86444b86051d9d27becef3994c82a9458 Auto-generated-cl: translation import Baligh Uddin1-1/+1
2014-08-27Straighten the dead char implementation.•••This now supports all cases, including cases not supported by the framework. Now rebased on top of the right change, and renamed Change-Id: I7886f0dcbb86cdb4dccec09aa7c52ad339680e04 Jean Chalard4-24/+463
2014-08-27Set highlight color along with the commit indicator•••With this CL, the text highlight color is applied when the commit indicator is displayed. Note that the underline is not rendered when the background color is enabled. This is a known issue. Change-Id: Ia19355e1303e3a10e8a7d69bc47c779feb70248a Yohei Yukawa1-2/+39
2014-08-27Set the text bgcolor only when CursorAnchorInfo is available•••When CursorAnchorInfo is unavailable, we shouldn't try to show the commit indicator and set the text highlight color. With this CL, RichInputConnection can be used to track if the application responded that it does support CursorAnchorInfo or not. This result will be taken into consideration when InputLogic needs to determine whether the commit indicator should be displayed or not. Change-Id: I945d70eeb02a7a5f3d9b22459b23d7028508910f Yohei Yukawa3-14/+53
2014-08-26Introduce a mechanism to hide the indicator speculatively•••This is an optional optimization to reduce the UI latency. Imagine that the commit indicator is now displayed and the composing text is being updated, it is highly likely that the commit indicator will disappear unless the application rejects the setComposingText request. If we assume that the application will accept the new composing text without any modifications, we can hide the indicator without waiting for the arrival of new CursorAnchorInfo event. This optimization isn't dangerous because we can show the indicator again when we receive new CursorAnchorInfo event and the assumption is turned out to be invalid. Change-Id: Id59c6607a1029782410611e768791af9984f14ac Yohei Yukawa2-16/+52
2014-08-27Add TimeKeeperTest.•••Change-Id: Id35823414f8552fd6820a5a559d6c9d54c7d6cb6 Keisuke Kuroyanagi2-1/+40
2014-08-26Introduce commit/add-to-dictionary indicators•••This CL introduces commit/add-to-dictionary indicators. Note that the text is not yet highlighted when the commit indicator is displayed. It will be addressed in subsequent CLs. Change-Id: I7e9b0fcfdc0776a50a1d8cfb41ee0add813317dd Yohei Yukawa7-15/+1066
2014-08-26Fix a bug where mic/emoji key wouldn't work.•••Bug: 17272902 Bug: 17269948 Change-Id: I561609fa84a6265f8148db7d2411bc1fd38dd163 Jean Chalard5-17/+23
2014-08-26Fix a bug where the top prediction would disappear.•••This is because prediction can't be easily distinguished in style. This fixes the bug by simulating the right members, but some refactoring should be done to remove useless booleans. Bug: 17271923 Change-Id: Ib88f3fb95678021624e59535492926dd315d26fb Jean Chalard8-45/+41
2014-08-26Adds documentation for a few methods.•••Change-Id: I6bdae25a8b81cdac931f2591f33570b01e34fb2c David Faden2-4/+26
2014-08-26Use word id to construct DicNode instead of isTerminal flag.•••Bug: 14425059 Change-Id: I8484d34756bd76668ece34211e7366a4758d7bf5 Keisuke Kuroyanagi11-16/+23
2014-08-26Use LanguageModelDictContent in getWordProperty().•••Bug: 14425059 Change-Id: Ic230f764ff5570f24ce6ce930023798718f326df Keisuke Kuroyanagi2-48/+25
2014-08-26Use LanguageModelDictContent in iterateNgramEntries().•••Bug: 14425059 Change-Id: I8a5028657ea5a4eeee8ef40db52a80f09b878972 Keisuke Kuroyanagi1-5/+15
2014-08-26Add a method to iterate entries in LanguageModelDictContent.•••Bug: 14425059 Change-Id: I4e9c3a97891c020f762fa709f806d333c067f496 Keisuke Kuroyanagi4-1/+98
2014-08-25Add SparseTableTest.•••Change-Id: I5684a24f9584cd326e014274c2298773aa3a91ca Keisuke Kuroyanagi3-1/+48
2014-08-25Use more descriptive names for some internal fields•••This CL clarifies that delay parameters are specified with milliseconds. Change-Id: I401a60b8c09c2a04201af5b74babcdb091c07f4a Yohei Yukawa3-18/+20
2014-08-25Fix unit tests•••Change-Id: I48bfa4e4dd80f36d2fe0a1e9d2a2706533cc722e Jean Chalard4-10/+17
2014-08-25Add ByteArrayUtilsTest.•••Change-Id: I4695a2573b4d2d8331fc9ce1e9ff83397791a586 Keisuke Kuroyanagi4-2/+95
2014-08-25Introduce onEvent() to improve testability•••...and prepare for the future Change-Id: Ieed96ab552993fd148e80b9c3355f1b569bd716f Jean Chalard2-21/+34
2014-08-25Show view even when IME is explicitly shown with physical keyboard•••Bug: 17242477 Bug: 13988700 Change-Id: I519c0481760a9aa93a5d9bee68e0f6a3a8fc4d9d Tadashi G. Takaoka1-0/+12
2014-08-25Get dynamic dict stats via DictionaryFacilitator•••Bug: 16553957 Change-Id: Ida08ceaf34708daed52d61b3d5adfbdb48e42c71 Keisuke Kuroyanagi1-0/+12
2014-08-25Fix NPE when pressing ALT key•••Bug: 17203708 Change-Id: I4f203603496e9401dacba4db21372e3353916418 Tadashi G. Takaoka1-0/+3
2014-08-25Revert "Revert "[ML1] Introduce RichInputMethodSubtype""•••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 Jean Chalard18-284/+354
2014-08-24Fix build due to an illegal character•••Change-Id: I597ab26db70387b80ddcd7d51de6ae751380030d Yohei Yukawa1-1/+1
2014-08-24Introduce #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 Yohei Yukawa1-8/+15
2014-08-25Fix 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 Tadashi G. Takaoka39-292/+592
2014-08-24Dismiss "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 Yohei Yukawa1-2/+7
2014-08-24Allow 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 Yohei Yukawa2-4/+97
2014-08-24Indroduce 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 Yohei Yukawa2-21/+82
2014-08-22Support Accept typed word UI•••Change-Id: I58e95b2791a45afdc7dae8e26dcfc200b3b4b854 Tadashi G. Takaoka6-72/+378
2014-08-22Get bigram probability using language model dict content.•••Bug: 14425059 Change-Id: Ia0493ed94e9bd47e9396d8cda94511b47820db0d Keisuke Kuroyanagi1-10/+17
2014-08-22Truncate entries in language model dict content.•••Bug: 14425059 Change-Id: I023c1d5109a2c43fcea3bb11a0fd7198c82891ba Keisuke Kuroyanagi3-0/+152
2014-08-22Update probabilities in language model dict content for GC.•••Bug: 14425059 Change-Id: I354408afd8e5c1955ff0acea3d0243d628fe3843 Keisuke Kuroyanagi5-21/+72
2014-08-22Revert "[ML1] Introduce RichInputMethodSubtype"•••This reverts commit 8ffe4bc9321e582a4d882f21e465d5886616f489. Change-Id: I9d4c98b0adfdb78b0f4d376f7691e50d1bd2228f Jean Chalard18-354/+284
2014-08-22Revert "[HW17] Straighten the dead char implementation."•••This reverts commit c6612ff05185503bedc56dc610aa300d01be2e82. Change-Id: I750d9bff9cb89a6ab13af7a33567c3a0fe2af381 Jean Chalard4-463/+24
2014-08-22[ML1] Introduce RichInputMethodSubtype•••Bug: 11230254 Change-Id: Ic7a1bf938a5a186dcff527b556295aba2406e8b9 Jean Chalard18-284/+354
2014-08-22Pass a new argument to StatsUtils.•••Change-Id: I61e32c7a455a273e8daf9a5487d7969923802488 Bug: 17013677 Mohammadinamul Sheik3-3/+7
2014-08-22[HW17] Straighten the dead char implementation.•••This now supports all cases, including cases not supported by the framework. Change-Id: I9dfbe2829c28c5bcb64b0b5a2551e7806990c00f Jean Chalard4-24/+463
2014-08-21follow-up to API change in I4a577bfd02b37b•••BUG: 17182367 BUG: 17185263 Change-Id: Id54ca29c191b9752fa82ffe5a960113b2e97e5c1 Yohei Yukawa3-113/+24
2014-08-22Add ExpandableBinaryDictionary#getDictionaryStats().•••Bug: 16553957 Change-Id: I05866624d0ba9f32ea7a71cb231ba501dde4376c Keisuke Kuroyanagi2-0/+46
2014-08-21Add Hinglish (hi_ZZ) subtype•••Bug: 17169632 Change-Id: Ibee088d76c2b19f1d62a3c9c119452726e856ec8 Tadashi G. Takaoka11-5/+159
2014-08-21Update FormatSpec.java•••Change-Id: I27d14697f931c9511420a459c49312ea6e10c366 Keisuke Kuroyanagi1-83/+10
2014-08-21Remove unused dictionary writing methods.•••Change-Id: Ica6ac057c0d0f037b7dd5539ab5b591c83bfa4d7 Keisuke Kuroyanagi4-37/+0