aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Expand)AuthorAgeFilesLines
* Straighten the dead char implementation, take 3.•••Change-Id: I4f70f6eebe076c7d2b780d25e3a2c1d3faa2edfa Jean Chalard2014-08-284-24/+250
* Merge "Create DictionaryFacilitatorLruCache."Keisuke Kuroyanagi2014-08-282-114/+164
|\
| * Create DictionaryFacilitatorLruCache.•••This class is separated from AndroidSpellCheckerService Bug: 16547557 Change-Id: I3e58521207395588cecb2977234b89067d6da8c3 Keisuke Kuroyanagi2014-08-272-114/+164
* | am 8d0d2363: am acce1aa5: Make sure to obtain the IC before requesting Cursor...•••* commit '8d0d236394548be4e2302a03960ce4ee363a5483': Make sure to obtain the IC before requesting CursorAnchorInfo Yohei Yukawa2014-08-271-2/+8
|\ \
| * | Make sure to obtain the IC before requesting CursorAnchorInfo•••RichInputConnection#requestUpdateCursorAnchorInfo must make sure to obtain the input connection before calling methods of it. BUG: 17299587 Change-Id: I8e0cd473a4cc32583cd47634c227d702f7c69c6c Yohei Yukawa2014-08-271-2/+8
* | | Merge "Revert "Straighten the dead char implementation.""Ken Wakasa2014-08-273-248/+24
|\ \ \
| * | | Revert "Straighten the dead char implementation."•••This reverts commit 5ef447aeea97c755008785b36468715922b7ccc1. Reverting because this broke a bunch of unit tests -- https://sponge.corp.google.com/target?id=b6439742-099e-46cb-8f00-d0c602a4d9bb&target=com.google.android.inputmethod.latin.tests&searchFor=&show=FAILED&sortBy=STATUS Change-Id: Ibbd9e11372993f62e630fd9da37158ffcf47c17a Ken Wakasa2014-08-273-248/+24
* | | | Merge "Straighten the dead char implementation."Jean Chalard2014-08-273-24/+248
|\| | | | |_|/ |/| |
| * | Straighten 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 Chalard2014-08-273-24/+248
* | | am 68a2a69a: am 37beaf15: Simplify onComputeInsets of LatinIME•••* commit '68a2a69ae35352650a4c6dfc0b0c69069c4a1e1d': Simplify onComputeInsets of LatinIME Tadashi G. Takaoka2014-08-274-68/+78
|\ \ \ | | |/ | |/|
| * | Simplify 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. Takaoka2014-08-274-68/+78
* | | am c925ca43: am 97681ebd: Set highlight color along with the commit indicator•••* commit 'c925ca43a6e0b3175feb002ce6b5577ef7d66507': Set highlight color along with the commit indicator Yohei Yukawa2014-08-271-2/+39
|\| |
| * | Set 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 Yukawa2014-08-271-2/+39
* | | resolved conflicts for merge of 8159336b to master•••Change-Id: I9dd726593c6768b1db35305935ee69b0937358ef Ken Wakasa2014-08-274-30/+105
|\| |
| * | Set 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 Yukawa2014-08-273-14/+53
| * | Introduce 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 Yukawa2014-08-262-16/+52
* | | resolved conflicts for merge of 0268f736 to master•••Change-Id: Ib89ef55a8752f9b5e357eed3a05c79dd28d0ec0e Ken Wakasa2014-08-276-15/+939
|\| | | |/ |/|
| * Introduce 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 Yukawa2014-08-266-15/+939
* | Merge "Fix a bug where mic/emoji key wouldn't work."Ken Wakasa2014-08-264-15/+16
|\ \
| * | Fix a bug where mic/emoji key wouldn't work.•••Bug: 17272902 Bug: 17269948 Change-Id: I561609fa84a6265f8148db7d2411bc1fd38dd163 Jean Chalard2014-08-264-15/+16
* | | am 2a2d324e: am 8380f921: Fix a bug where the top prediction would disappear.•••* commit '2a2d324eb627807a9d09b491fbb4ac78ffb253fc': Fix a bug where the top prediction would disappear. Jean Chalard2014-08-266-35/+30
|\ \ \ | |/ / |/| / | |/
| * Fix 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 Chalard2014-08-266-35/+30
* | Adds documentation for a few methods.•••Change-Id: I6bdae25a8b81cdac931f2591f33570b01e34fb2c David Faden2014-08-262-4/+26
* | Merge "Get dynamic dict stats via DictionaryFacilitator"Keisuke Kuroyanagi2014-08-251-0/+12
|\ \
| * | Get dynamic dict stats via DictionaryFacilitator•••Bug: 16553957 Change-Id: Ida08ceaf34708daed52d61b3d5adfbdb48e42c71 Keisuke Kuroyanagi2014-08-251-0/+12
* | | am abf05cc0: am fdfe73ff: Merge "Use more descriptive names for some internal...•••* commit 'abf05cc0da1ead7e270a7c99bf9f000dabf91f5b': Use more descriptive names for some internal fields Yohei Yukawa2014-08-252-15/+17
|\ \ \ | | |/ | |/|
| * | Merge "Use more descriptive names for some internal fields" into lmp-devYohei Yukawa2014-08-252-15/+17
| |\ \
| | * | Use more descriptive names for some internal fields•••This CL clarifies that delay parameters are specified with milliseconds. Change-Id: I401a60b8c09c2a04201af5b74babcdb091c07f4a Yohei Yukawa2014-08-252-15/+17
* | | | Merge "Introduce onEvent() to improve testability"Jean Chalard2014-08-251-18/+28
|\ \ \ \
| * | | | Introduce onEvent() to improve testability•••...and prepare for the future Change-Id: Ieed96ab552993fd148e80b9c3355f1b569bd716f Jean Chalard2014-08-251-18/+28
* | | | | am c500700f: am 19dd34a0: Show view even when IME is explicitly shown with ph...•••* commit 'c500700faec11b7a6d54a821009be4d657c43394': Show view even when IME is explicitly shown with physical keyboard Tadashi G. Takaoka2014-08-251-0/+12
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Show view even when IME is explicitly shown with physical keyboard•••Bug: 17242477 Bug: 13988700 Change-Id: I519c0481760a9aa93a5d9bee68e0f6a3a8fc4d9d Tadashi G. Takaoka2014-08-251-0/+12
* | | | | Merge "Fix unit tests"Jean Chalard2014-08-252-3/+8
|\ \ \ \ \
| * | | | | Fix unit tests•••Change-Id: I48bfa4e4dd80f36d2fe0a1e9d2a2706533cc722e Jean Chalard2014-08-252-3/+8
* | | | | | am 4a782da3: am f145fff0: Merge "Fix NPE when pressing ALT key" into lmp-dev•••* commit '4a782da382b83164ea5c23c771b771e73bbe31b3': Fix NPE when pressing ALT key Tadashi G. Takaoka2014-08-251-0/+3
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge "Fix NPE when pressing ALT key" into lmp-devTadashi G. Takaoka2014-08-251-0/+3
| |\ \ \ \ \ | | |_|_|/ / | |/| | | |
| | * | | | Fix NPE when pressing ALT key•••Bug: 17203708 Change-Id: I4f203603496e9401dacba4db21372e3353916418 Tadashi G. Takaoka2014-08-251-0/+3
* | | | | | am 2d508203: am 8681287c: Fix build due to an illegal character•••* commit '2d508203c64f50ed47fb87c24ae5ebbfb0610a36': Fix build due to an illegal character Yohei Yukawa2014-08-251-1/+1
|\| | | | |
| * | | | | Fix build due to an illegal character•••Change-Id: I597ab26db70387b80ddcd7d51de6ae751380030d Yohei Yukawa2014-08-241-1/+1
* | | | | | am 02716083: am 5eebaddc: Merge "Dismiss "Add to dictionary" hint with non-sp...•••* commit '02716083158c3affbcfc719ff6471112d7397578': Dismiss "Add to dictionary" hint with non-special char event Yohei Yukawa2014-08-251-2/+7
|\| | | | |
| * | | | | Merge "Dismiss "Add to dictionary" hint with non-special char event" into lmp...Yohei Yukawa2014-08-251-2/+7
| |\ \ \ \ \
| | * | | | | 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 Yohei Yukawa2014-08-241-2/+7
* | | | | | | am b65a1e46: am 2c4cce8d: Merge "Introduce #shouldShowAddToDictionaryHint" in...•••* commit 'b65a1e46ce06adc462dfc4cbde302ac27a79b695': Introduce #shouldShowAddToDictionaryHint Yohei Yukawa2014-08-251-8/+15
|\| | | | | |
| * | | | | | 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 Yohei Yukawa2014-08-241-8/+15
| | |/ / / / | |/| | | |
* | | | | | am e0d00803: am 4a71d2c4: Allow to add/remove background color to/from the co...•••* commit 'e0d00803087ac2f873332d43a78453c068633545': Allow to add/remove background color to/from the committed text Yohei Yukawa2014-08-252-4/+97
|\| | | | |
| * | | | | 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 Yohei Yukawa2014-08-242-4/+97
| |/ / / /
* | / / / am 7d146cdb: am cd6ef9a8: Indroduce SuggestedWords#getTypedWordInfoOrNull•••* commit '7d146cdbe86692f153fb5b7f781f701a8c04050d': Indroduce SuggestedWords#getTypedWordInfoOrNull Yohei Yukawa2014-08-251-0/+15
|\| | | | | |/ / / |/| | |
| * | | 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 Yohei Yukawa2014-08-241-0/+15
* | | | Merge "Revert "Revert "[ML1] Introduce RichInputMethodSubtype"""Jean Chalard2014-08-2514-112/+202
|\ \ \ \ | |_|/ / |/| | |
| * | | Revert "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 Chalard2014-08-2514-112/+202