aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Expand)AuthorAgeFilesLines
* Fix when to show important notice•••This CL introduces a timeout duration to show an important notice message. When the timeout has passed, the important notice message will be suppressed without user intervention. This CL also adds unit tests and fixes a bug in getNextImportantNoticeTitle(). Bug: 17181982 Change-Id: If321c0060cc2f7ca14ad0631b84f4990f88bd659 Tadashi G. Takaoka2014-09-221-5/+36
* Merge "(DO NOT MERGE) Fix showing important notice even at beginning of sente...Tadashi G. Takaoka2014-09-185-17/+41
|\
| * (DO NOT MERGE) Fix showing important notice even at beginning of sentence•••Bug: 17536096 Change-Id: Ic72d6fecc3241c1a9aba87b82a46750cbd69e001Tadashi G. Takaoka2014-09-185-17/+41
* | Merge "Use Add-To-Dictionary indicator only" into lmp-devYohei Yukawa2014-09-185-156/+121
|\ \ | |/ |/|
| * Use Add-To-Dictionary indicator only•••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 Yohei Yukawa2014-09-185-156/+121
* | Suppress voice input key on textWebEmailAddress field•••Bug: 17486589 Change-Id: Ie9bf9266ee423b7e03cebcaa5f522accdd1a7802 Tadashi G. Takaoka2014-09-181-1/+1
|/
* Merge "Reorganize settings in Google Keyboard" into lmp-devJatin Matani2014-09-127-54/+81
|\
| * Reorganize 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. Takaoka2014-09-127-54/+81
* | Merge "Fix not always showing input view with physical keyboard connected" in...Tadashi G. Takaoka2014-09-121-17/+19
|\ \
| * | Fix not always showing input view with physical keyboard connected•••Bug: 17163374 Change-Id: I57f7eeac0c9ac0a15d3d55927e18a2d97849c508 Tadashi G. Takaoka2014-09-121-17/+19
| |/
* / Only do double-space-period on real text fields.•••Bug: 15559216 Change-Id: Id6ecadc58c03889496967d67371457e4050d695b Jean Chalard2014-09-122-1/+13
|/
* Support 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 Yukawa2014-09-112-2/+286
* Don'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 Chalard2014-09-081-41/+72
* Fix a bug where recorrection would stop on connectors•••Bug: 16733686 Change-Id: I7a9f79a81e33a1f5bf5f3daf0b78d0f1e4447e7a Jean Chalard2014-09-083-8/+32
* Resolve an old TODO.•••This is cleaner. Bug: 17347779 Change-Id: I5b612783b1ec98a1a11401f00d68db49654f3023 Jean Chalard2014-09-053-6/+21
* Create donottranslate debug settings string resources file•••This is a follow up of the I26e4d292de. Bug: 15678343 Bug: 17385083 Change-Id: I2c2b08b8dd991ac981aa8f8c8436de9e4399da5f Tadashi G. Takaoka2014-09-051-1/+1
* Follow up API signature change•••This is a follow up CL for API signature change in I772c48ff18918e48a81e807b48ff907614485c09 BUG: 17320996 Change-Id: Ic8b6162bda12bf74fae79af212c5d81c400eb9e8 Yohei Yukawa2014-09-032-4/+4
* Add theme aware key popup preview animation•••Bug: 15678343 Change-Id: I26e4d292deab37724387cc9ebc03033fcd698c60 Tadashi G. Takaoka2014-09-023-24/+53
* Support RTL layout in custom input style settings•••Bug: 17322353 Change-Id: I3b211ab8729121271563a8a243558a58ee7847c2 Tadashi G. Takaoka2014-08-291-3/+23
* Fix an IOOB exception•••Bug: 17316001 Change-Id: Iaa2cfd30ebbe0d49e10a5c3a30336e06817d0a8b Jean Chalard2014-08-291-1/+1
* Clear keyboard cache when system locale is changed•••Bug: 17310080 Change-Id: I2b388772f269f1e7610a5bd32de80793da2df16e Tadashi G. Takaoka2014-08-282-24/+14
* 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
* 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-273-67/+77
* 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
* 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-261-8/+25
* 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-263-15/+200
* 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-265-34/+29
* 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
* | 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
|/
* Fix build due to an illegal character•••Change-Id: I597ab26db70387b80ddcd7d51de6ae751380030d Yohei Yukawa2014-08-241-1/+1
* 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
* | 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
* | 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
|/
* 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
* Support Accept typed word UI•••Change-Id: I58e95b2791a45afdc7dae8e26dcfc200b3b4b854 Tadashi G. Takaoka2014-08-223-71/+153
* follow-up to API change in I4a577bfd02b37b•••BUG: 17182367 BUG: 17185263 Change-Id: Id54ca29c191b9752fa82ffe5a960113b2e97e5c1 Yohei Yukawa2014-08-211-13/+1
* Merge "Use #onStartInputInternal to initialize cursor rect retrieval" into lm...Yohei Yukawa2014-08-201-12/+12
|\
| * Use #onStartInputInternal to initialize cursor rect retrieval•••This CL simply moves the method calls of #requestCursorAnchorInfo into #onStartInputInternal just to consolidate the logic. Change-Id: Ia205738b9614e9ae375c1dab767a91d2e1f6d0d3 Yohei Yukawa2014-08-211-12/+12
* | DO NOT MERGE: Abolish source code overlay and introduce overridable src dir•••This should make IDEs happy with appropriate source code directory selection. Change-Id: Ic734bd4d20aa050c688a3158b1a382ae0ac18991 (cherry picked from commit fb74ab15c1343084740d65ef8744cad33a678e82)Ken Wakasa2014-08-2012-458/+0
|/
* Let the backing view cover the entire content area•••With this CL, the backing view starts covering the content area entirely. This allows the IME to render its UI elements at an arbitrary position on the screen. Change-Id: I8b4173410931b776964dddf66de2fe247e51d9de Yohei Yukawa2014-08-163-7/+8
* Add the input style to SuggestedWords.•••Change-Id: I81f37d08659d449822b027d3d5912e11eec8b8ff Jean Chalard2014-08-146-54/+92
* Enable CursorAnchorInfo callback when necessary•••Change-Id: If3dda7442418053600ac935da50baaddb0e31d37 Yohei Yukawa2014-08-132-4/+7
* Add stub implementation of #onUpdateCursorAnchorInfo•••This CL never changes existing behavior because ProductionFlags.ENABLE_CURSOR_ANCHOR_INFO_CALLBACK is not yet turned on. Change-Id: I4bcbd2aebd05977b07231e8aa14acdcf6d8e1fa0 Yohei Yukawa2014-08-131-0/+12
* Add setting boolean for showing UI to accept typed word•••Change-Id: Iedd90d07b904362d9debc9994ce86cd78a0303b9 Tadashi G. Takaoka2014-08-134-0/+11
* (DO NOT MERGE) Add debug setting to force hardware special key•••Bug: 13988700 Change-Id: If23f8a14097431e76a303a6d6c24e8d9835fb655 (cherry picked from commit 3659c70fc3174b00ac24e105677d7e480596bf56) Tadashi G. Takaoka2014-08-134-2/+14
* Add BuildCompatUtils to get an effective platfrom API version•••This CL removes reference of VERSION_CODES.CUR_DEVELOPMENT. Bug: 13888366 Change-Id: I5c8499a175473a220c8fb04ead219760c585a19a Tadashi G. Takaoka2014-08-131-3/+2
* (DO NOT MERGE) Add SpecialkeyDetector•••Bug: 13988700 Change-Id: I215e879ad33b149370c1d0a5fdcf2203c0fc8b4a (cherry picked from commit 34541bfeb68e63bad71b83f1b7eba7922cca1723) Tadashi G. Takaoka2014-08-122-3/+44