aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/compat/InputMethodServiceCompatUtils.java (unfollow)
Commit message (Expand)AuthorFilesLines
2014-09-13Tune keyboard height and letter size of tablet•••The height of Google Keyboard is limited by maximum and minimum ratio to the display height. Because screen aspect ratio of some large tablet is close to 1:1, the height of the keyboard may become taller than expected. This CL lowers the minimum ratio to allow shorter height. This CL also increase text size of Material theme keyboard on tablet as well. Bug: 17050390 Change-Id: I87c5f49ce554950c525a1f31dfddfd1beb3fafda Tadashi G. Takaoka10-32/+60
2014-09-13Wording update for settings.•••"Appearance" -> "Appearance & layouts". bug: 11866784 Change-Id: I9843b76cadb0245973cec07134d07212c8c5667e Ken Wakasa1-2/+2
2014-09-12Reorganize settings in Google Keyboard•••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 Tadashi G. Takaoka13-78/+132
2014-09-12Only do double-space-period on real text fields.•••Bug: 15559216 Change-Id: Id6ecadc58c03889496967d67371457e4050d695b Jean Chalard2-1/+13
2014-09-12Fix not always showing input view with physical keyboard connected•••Bug: 17163374 Change-Id: I57f7eeac0c9ac0a15d3d55927e18a2d97849c508 Tadashi G. Takaoka2-24/+24
2014-09-12Update AOSP launcher icon•••Bug: 16635354 Bug: 16635354 Change-Id: I68f9c4ec21a01b9db0fc73c1785c972f5d7ac05b Tadashi G. Takaoka5-0/+0
2014-09-11Add xxxhdpi assets•••Bug: 17432407 Change-Id: I68e5f660425db567688d4e119c94fc34430f8ff3Tadashi G. Takaoka97-0/+0
2014-09-11Support CursorAnchorInfo in the full-screen mode•••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 Yohei Yukawa3-20/+291
2014-09-09Import translations. DO NOT MERGE•••Change-Id: I760fae2840e78c7dce10f6caf9cae4fffdef71c1 Auto-generated-cl: translation import Baligh Uddin73-685/+7
2014-09-09Keep aspect ratio of Material action key background•••Bug: 15681452 Change-Id: Ie4b823dca541b76b68cade580845a21ff0b21e2f Tadashi G. Takaoka9-26/+90
2014-09-08Don't resume suggestions with H/W keyboard•••...unless we do support a hardware keyboard, which we still do not at the moment. Change-Id: Iec24b1ae8ba5e23e0bbb7e5a468b7404296d4b18 Jean Chalard1-41/+72
2014-09-08Fix a bug where recorrection would stop on connectors•••Bug: 16733686 Change-Id: I7a9f79a81e33a1f5bf5f3daf0b78d0f1e4447e7a Jean Chalard4-26/+54
2014-09-08Mark isDefault="true" for all supported subtypes•••Bug: 17381393 Change-Id: I3a2852c76d6f3dda551529673e7d4e957ced53ca Tadashi G. Takaoka18-0/+432
2014-09-08Follow up API signature changes of CursorAnchorInfo•••This is a follow up CL for Ic8c6fab58c01206872a34e7ee604cdda. No behavior change is intended in this CL. BUG: 17365414 BUG: 17335734 Change-Id: I4299536d0cb0c660b7b564653c72c9cb409a7aa5 Yohei Yukawa2-13/+18
2014-09-08Revert "Use right arrow for the commit indicator"•••This reverts commit 2412d9ae3c89db4fea8943cca884f0fb105795ef. Change-Id: Ie8090735850e2f2d075d0bdaf3ef628d866b5514 Yohei Yukawa1-16/+10
2014-09-08Implement Floating Action Button more keys keyboard•••Bug: 15681452 Change-Id: I8484e4fe4d989b391f2b5230836dc9dfac218429 Tadashi G. Takaoka10-3/+117
2014-09-08Move more keys divider to MoreKeysKeyboardView•••Bug: 15681452 Change-Id: I1b32719cc927a24db4c41fdeb812b39f7e98a85c Tadashi G. Takaoka9-27/+49
2014-09-05Resolve an old TODO.•••This is cleaner. Bug: 17347779 Change-Id: I5b612783b1ec98a1a11401f00d68db49654f3023 Jean Chalard4-30/+37
2014-09-05Refactor action label/icon definitions•••Bug: 15782668 Change-Id: Ibf1205d46e9293d516a56030ba10841128f57450 Tadashi G. Takaoka7-268/+292
2014-09-05Create donottranslate debug settings string resources file•••This is a follow up of the I26e4d292de. Bug: 15678343 Bug: 17385083 Change-Id: I2c2b08b8dd991ac981aa8f8c8436de9e4399da5f Tadashi G. Takaoka4-41/+60
2014-09-04Import translations. DO NOT MERGE•••Change-Id: I198c14a1374a0b61bf5aa3cdf013fca8260bc97f Auto-generated-cl: translation import Baligh Uddin73-2972/+1336
2014-09-04Update active key backgrounds•••Bug: 15681452 Change-Id: I05f06b35748d090a58f3524df719586093431d07 Tadashi G. Takaoka16-0/+0
2014-09-04Add unit tests for enter key's more keys•••Bug: 15681452 Change-Id: I3070c46bb2c0cb8ccaae66eaea132b41c567e135 Tadashi G. Takaoka3-0/+380
2014-09-03Add shared abstract test class for action label test•••Bug: 15681452 Change-Id: I0ad21e6979aed1b5c8c210399c4edfd5993adbdc Tadashi G. Takaoka3-154/+179
2014-09-03Update spacebar background for Material•••Bug: 17318036 Change-Id: Iaa091b525433d56db9aca9e0301f3727ce392605 Tadashi G. Takaoka20-6/+6
2014-09-03Add new value "spacebar" to Key.backgroundType attribute•••Bug: 17318036 Change-Id: Ie84438a6aa3adc14a9db603d0cd4d5e37a55d612 Tadashi G. Takaoka8-8/+32
2014-09-03Removes "customAction" value from Key.backgroundType attribute•••Bug: 17318036 Change-Id: I6a36d50ba2e69eafbb0faa049014281bd4d4ddfc Tadashi G. Takaoka4-15/+0
2014-09-03Add new "keyboardTheme" <case> predicator•••Bug: 17318036 Change-Id: Ief386c84969d8646fb5cfe2050a2f59a7db16c88 Tadashi G. Takaoka9-22/+75
2014-09-03Follow up API signature change•••This is a follow up CL for API signature change in I772c48ff18918e48a81e807b48ff907614485c09 BUG: 17320996 Change-Id: Ic8b6162bda12bf74fae79af212c5d81c400eb9e8 Yohei Yukawa3-21/+19
2014-09-03Fix depedency of debug settings•••This is a follow of the I26e4d292de. Bug: 15678343 Change-Id: I364d6df386cf32102e4ebb0151d18e49dcc5bd2cTadashi G. Takaoka1-6/+6
2014-09-02Follow API signature change in CursorAnchorInfo•••This is just a follow up CL for Ia8cbb9f6b41cd9509fc0147fd68763df. No behavial change is intended. BUG: 17200900 Change-Id: Iba23b731ebde64ec2e816c5b4bef1d93632fce1e Yohei Yukawa2-33/+16
2014-09-02Add theme aware key popup preview animation•••Bug: 15678343 Change-Id: I26e4d292deab37724387cc9ebc03033fcd698c60 Tadashi G. Takaoka18-120/+352
2014-09-02Fix missing Material light more keys' background•••Bug: 15782668 Change-Id: I8b59d8a4dabe03418e520c18d5d64e2d10f4cae2 Tadashi G. Takaoka2-2/+22
2014-08-29Use right arrow for the commit indicator•••Change-Id: I5074acd2eec451f77b47378bf9a5f7a14c792ce6 Yohei Yukawa1-10/+16
2014-08-29Show the commit indicator only for word to be auto-corrected•••Change-Id: I61e25b960ae083857efc2704498a0761e0965ad3 Yohei Yukawa1-1/+1
2014-08-29Support RTL layout in custom input style settings•••Bug: 17322353 Change-Id: I3b211ab8729121271563a8a243558a58ee7847c2 Tadashi G. Takaoka3-40/+94
2014-08-29Fix an IOOB exception•••Bug: 17316001 Change-Id: Iaa2cfd30ebbe0d49e10a5c3a30336e06817d0a8b Jean Chalard2-1/+11
2014-08-29Fix the order of keys on more keys keyboard•••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 Tadashi G. Takaoka5-33/+2528
2014-08-28Clear keyboard cache when system locale is changed•••Bug: 17310080 Change-Id: I2b388772f269f1e7610a5bd32de80793da2df16e Tadashi G. Takaoka6-30/+36
2014-08-28Add action label tests in other locale than subtype's•••This unit test can catch the bug: 17310080. Bug: 17310080 Change-Id: I931561217647fd558929b954ee1ef58c1d49df07 Tadashi G. Takaoka3-122/+177
2014-08-28Add new attributes to our notification•••Bug: 17167221 Bug: 17128331 Change-Id: I6a045fd2398f40dbdc10c9d20993f7513e1f2cff Jean Chalard3-3/+95
2014-08-27Make 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 Yukawa1-2/+8
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-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-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 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-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-25Show view even when IME is explicitly shown with physical keyboard•••Bug: 17242477 Bug: 13988700 Change-Id: I519c0481760a9aa93a5d9bee68e0f6a3a8fc4d9d Tadashi G. Takaoka1-0/+12