aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge "(DO NOT MERGE) Fix showing important notice even at beginning of ↵Tadashi G. Takaoka2014-09-185-17/+41
|\ | | | | | | sentence" into lmp-dev
| * (DO NOT MERGE) Fix showing important notice even at beginning of sentenceTadashi G. Takaoka2014-09-185-17/+41
| | | | | | | | Bug: 17536096 Change-Id: Ic72d6fecc3241c1a9aba87b82a46750cbd69e001
* | Merge "Use Add-To-Dictionary indicator only" into lmp-devYohei Yukawa2014-09-189-364/+264
|\ \ | |/ |/|
| * Use Add-To-Dictionary indicator onlyYohei Yukawa2014-09-189-364/+264
| | | | | | | | | | | | | | | | | | | | With this CL, the previously used commit indicator was reverted. Instead we use the add-to-dictionary indicator only at the moment. This CL also fixes the indicator position in bidi context. BUG: 17335734 Change-Id: I5f7cf173ddc30876e2b01320acaff8ba4265edf6
* | Suppress voice input key on textWebEmailAddress fieldTadashi G. Takaoka2014-09-181-1/+1
| | | | | | | | | | Bug: 17486589 Change-Id: Ie9bf9266ee423b7e03cebcaa5f522accdd1a7802
* | Fix drawing of custom action label keyTadashi G. Takaoka2014-09-162-1/+7
|/ | | | | Bug: 17488054 Change-Id: I433561ed19ec2a79402867a0395a3e388730f087
* Merge "Reorganize settings in Google Keyboard" into lmp-devJatin Matani2014-09-127-54/+81
|\
| * Reorganize settings in Google KeyboardTadashi G. Takaoka2014-09-127-54/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes : Input languages -> Languages Input preferences -> Preferences Multi lingual Options -> Multilingual Options Keyboard Theme -> Theme Gesture typing preferences -> Gesture typing **New Appearance -> Theme -> Custom input style **Removed Multilingual options from L dynamically Bug: 11866784 Change-Id: I07404c27868e1b087b0cafb63d2031a5b493a885
* | Merge "Fix not always showing input view with physical keyboard connected" ↵Tadashi G. Takaoka2014-09-122-24/+24
|\ \ | | | | | | | | | into lmp-dev
| * | Fix not always showing input view with physical keyboard connectedTadashi G. Takaoka2014-09-122-24/+24
| |/ | | | | | | | | Bug: 17163374 Change-Id: I57f7eeac0c9ac0a15d3d55927e18a2d97849c508
* / Only do double-space-period on real text fields.Jean Chalard2014-09-122-1/+13
|/ | | | | Bug: 15559216 Change-Id: Id6ecadc58c03889496967d67371457e4050d695b
* Support CursorAnchorInfo in the full-screen modeYohei Yukawa2014-09-113-20/+291
| | | | | | | | | | | | This CL allows to emulate the behavior of CursorAnchorInfo in the full-screen mode to work around the limitation of the framework. Basically this CL copies relevant code from the framework to LatinIME. This is actually a code duplicate which isn't great, but probably the only way that is available right now. Change-Id: I30bc8c3387c91c8e47252ba699cbd967d8927dad
* Keep aspect ratio of Material action key backgroundTadashi G. Takaoka2014-09-093-7/+26
| | | | | Bug: 15681452 Change-Id: Ie4b823dca541b76b68cade580845a21ff0b21e2f
* Don't resume suggestions with H/W keyboardJean Chalard2014-09-081-41/+72
| | | | | | | ...unless we do support a hardware keyboard, which we still do not at the moment. Change-Id: Iec24b1ae8ba5e23e0bbb7e5a468b7404296d4b18
* Fix a bug where recorrection would stop on connectorsJean Chalard2014-09-083-8/+32
| | | | | Bug: 16733686 Change-Id: I7a9f79a81e33a1f5bf5f3daf0b78d0f1e4447e7a
* Merge "Follow up API signature changes of CursorAnchorInfo" into lmp-devYohei Yukawa2014-09-082-13/+18
|\
| * Follow up API signature changes of CursorAnchorInfoYohei Yukawa2014-09-082-13/+18
| | | | | | | | | | | | | | | | | | | | This is a follow up CL for Ic8c6fab58c01206872a34e7ee604cdda. No behavior change is intended in this CL. BUG: 17365414 BUG: 17335734 Change-Id: I4299536d0cb0c660b7b564653c72c9cb409a7aa5
* | Merge "Resolve an old TODO." into lmp-devJean Chalard2014-09-084-30/+37
|\ \
| * | Resolve an old TODO.Jean Chalard2014-09-054-30/+37
| | | | | | | | | | | | | | | | | | | | | This is cleaner. Bug: 17347779 Change-Id: I5b612783b1ec98a1a11401f00d68db49654f3023
* | | Implement Floating Action Button more keys keyboardTadashi G. Takaoka2014-09-082-3/+15
| |/ |/| | | | | | | Bug: 15681452 Change-Id: I8484e4fe4d989b391f2b5230836dc9dfac218429
* | Move more keys divider to MoreKeysKeyboardViewTadashi G. Takaoka2014-09-082-22/+38
|/ | | | | Bug: 15681452 Change-Id: I1b32719cc927a24db4c41fdeb812b39f7e98a85c
* Create donottranslate debug settings string resources fileTadashi G. Takaoka2014-09-051-1/+1
| | | | | | | | This is a follow up of the I26e4d292de. Bug: 15678343 Bug: 17385083 Change-Id: I2c2b08b8dd991ac981aa8f8c8436de9e4399da5f
* Add new value "spacebar" to Key.backgroundType attributeTadashi G. Takaoka2014-09-031-1/+5
| | | | | Bug: 17318036 Change-Id: Ie84438a6aa3adc14a9db603d0cd4d5e37a55d612
* Removes "customAction" value from Key.backgroundType attributeTadashi G. Takaoka2014-09-031-4/+0
| | | | | Bug: 17318036 Change-Id: I6a36d50ba2e69eafbb0faa049014281bd4d4ddfc
* Add new "keyboardTheme" <case> predicatorTadashi G. Takaoka2014-09-032-11/+27
| | | | | Bug: 17318036 Change-Id: Ief386c84969d8646fb5cfe2050a2f59a7db16c88
* Follow up API signature changeYohei Yukawa2014-09-033-21/+19
| | | | | | | | This is a follow up CL for API signature change in I772c48ff18918e48a81e807b48ff907614485c09 BUG: 17320996 Change-Id: Ic8b6162bda12bf74fae79af212c5d81c400eb9e8
* Follow API signature change in CursorAnchorInfoYohei Yukawa2014-09-022-33/+16
| | | | | | | | This is just a follow up CL for Ia8cbb9f6b41cd9509fc0147fd68763df. No behavial change is intended. BUG: 17200900 Change-Id: Iba23b731ebde64ec2e816c5b4bef1d93632fce1e
* Add theme aware key popup preview animationTadashi G. Takaoka2014-09-027-112/+179
| | | | | Bug: 15678343 Change-Id: I26e4d292deab37724387cc9ebc03033fcd698c60
* Merge "Fix the order of keys on more keys keyboard" into lmp-devTadashi G. Takaoka2014-08-292-30/+59
|\
| * Fix the order of keys on more keys keyboardTadashi G. Takaoka2014-08-292-30/+59
| | | | | | | | | | | | | | | | | | | | This CL fixes the behavior of !autoColumnOrder!<n> flag in a more keys specification. Formerly the <n> value specifies the maximum number of column of more keys. With this CL, the <n> value specifies the exact number of column of more keys. Bug: 16603887 Change-Id: I2120620fa512ee30043bb146ad675a942a375129
* | Support RTL layout in custom input style settingsTadashi G. Takaoka2014-08-292-6/+39
| | | | | | | | | | Bug: 17322353 Change-Id: I3b211ab8729121271563a8a243558a58ee7847c2
* | Fix an IOOB exceptionJean Chalard2014-08-291-1/+1
|/ | | | | Bug: 17316001 Change-Id: Iaa2cfd30ebbe0d49e10a5c3a30336e06817d0a8b
* Clear keyboard cache when system locale is changedTadashi G. Takaoka2014-08-284-26/+24
| | | | | Bug: 17310080 Change-Id: I2b388772f269f1e7610a5bd32de80793da2df16e
* Add new attributes to our notificationJean Chalard2014-08-282-3/+93
| | | | | | Bug: 17167221 Bug: 17128331 Change-Id: I6a045fd2398f40dbdc10c9d20993f7513e1f2cff
* Make sure to obtain the IC before requesting CursorAnchorInfoYohei Yukawa2014-08-271-2/+8
| | | | | | | | | RichInputConnection#requestUpdateCursorAnchorInfo must make sure to obtain the input connection before calling methods of it. BUG: 17299587 Change-Id: I8e0cd473a4cc32583cd47634c227d702f7c69c6c
* Simplify onComputeInsets of LatinIMETadashi G. Takaoka2014-08-274-68/+78
| | | | | | | | | | | 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
* Set highlight color along with the commit indicatorYohei Yukawa2014-08-271-2/+39
| | | | | | | | | | 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
* Set the text bgcolor only when CursorAnchorInfo is availableYohei Yukawa2014-08-273-14/+53
| | | | | | | | | | | | | 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
* Introduce a mechanism to hide the indicator speculativelyYohei Yukawa2014-08-262-16/+52
| | | | | | | | | | | | | | | | | | | | 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
* Introduce commit/add-to-dictionary indicatorsYohei Yukawa2014-08-266-15/+939
| | | | | | | | | | 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
* Fix a bug where the top prediction would disappear.Jean Chalard2014-08-266-35/+30
| | | | | | | | | | 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
* Merge "Use more descriptive names for some internal fields" into lmp-devYohei Yukawa2014-08-252-15/+17
|\
| * Use more descriptive names for some internal fieldsYohei Yukawa2014-08-252-15/+17
| | | | | | | | | | | | | | This CL clarifies that delay parameters are specified with milliseconds. Change-Id: I401a60b8c09c2a04201af5b74babcdb091c07f4a
* | Show view even when IME is explicitly shown with physical keyboardTadashi G. Takaoka2014-08-251-0/+12
| | | | | | | | | | | | Bug: 17242477 Bug: 13988700 Change-Id: I519c0481760a9aa93a5d9bee68e0f6a3a8fc4d9d
* | Merge "Fix NPE when pressing ALT key" into lmp-devTadashi G. Takaoka2014-08-251-0/+3
|\ \ | |/ |/|
| * Fix NPE when pressing ALT keyTadashi G. Takaoka2014-08-251-0/+3
| | | | | | | | | | Bug: 17203708 Change-Id: I4f203603496e9401dacba4db21372e3353916418
* | Fix build due to an illegal characterYohei Yukawa2014-08-241-1/+1
| | | | | | | | Change-Id: I597ab26db70387b80ddcd7d51de6ae751380030d
* | Merge "Dismiss "Add to dictionary" hint with non-special char event" into ↵Yohei Yukawa2014-08-251-2/+7
|\ \ | | | | | | | | | lmp-dev
| * | Dismiss "Add to dictionary" hint with non-special char eventYohei Yukawa2014-08-241-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Introduce #shouldShowAddToDictionaryHintYohei Yukawa2014-08-241-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