aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* | Allow to add/remove background color to/from the committed textYohei Yukawa2014-08-242-4/+97
|/ | | | | | | | | | | | | | 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
* Indroduce SuggestedWords#getTypedWordInfoOrNullYohei Yukawa2014-08-241-0/+15
| | | | | | | This is a groundwork for subsequent CLs whith need to do certain things for and only for the typed word. Change-Id: I374b79cbc79470f57f523c996010301ea5701a61
* Support Accept typed word UITadashi G. Takaoka2014-08-223-71/+153
| | | | Change-Id: I58e95b2791a45afdc7dae8e26dcfc200b3b4b854
* follow-up to API change in I4a577bfd02b37bYohei Yukawa2014-08-211-13/+1
| | | | | | BUG: 17182367 BUG: 17185263 Change-Id: Id54ca29c191b9752fa82ffe5a960113b2e97e5c1
* Merge "Use #onStartInputInternal to initialize cursor rect retrieval" into ↵Yohei Yukawa2014-08-201-12/+12
|\ | | | | | | lmp-dev
| * Use #onStartInputInternal to initialize cursor rect retrievalYohei Yukawa2014-08-211-12/+12
| | | | | | | | | | | | | | This CL simply moves the method calls of #requestCursorAnchorInfo into #onStartInputInternal just to consolidate the logic. Change-Id: Ia205738b9614e9ae375c1dab767a91d2e1f6d0d3
* | DO NOT MERGE: Abolish source code overlay and introduce overridable src dirKen Wakasa2014-08-2012-458/+0
|/ | | | | | | This should make IDEs happy with appropriate source code directory selection. Change-Id: Ic734bd4d20aa050c688a3158b1a382ae0ac18991 (cherry picked from commit fb74ab15c1343084740d65ef8744cad33a678e82)
* Let the backing view cover the entire content areaYohei Yukawa2014-08-163-7/+8
| | | | | | | | 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
* Add the input style to SuggestedWords.Jean Chalard2014-08-146-54/+92
| | | | Change-Id: I81f37d08659d449822b027d3d5912e11eec8b8ff
* Enable CursorAnchorInfo callback when necessaryYohei Yukawa2014-08-132-4/+7
| | | | Change-Id: If3dda7442418053600ac935da50baaddb0e31d37
* Add stub implementation of #onUpdateCursorAnchorInfoYohei Yukawa2014-08-131-0/+12
| | | | | | | | This CL never changes existing behavior because ProductionFlags.ENABLE_CURSOR_ANCHOR_INFO_CALLBACK is not yet turned on. Change-Id: I4bcbd2aebd05977b07231e8aa14acdcf6d8e1fa0
* Add setting boolean for showing UI to accept typed wordTadashi G. Takaoka2014-08-134-0/+11
| | | | Change-Id: Iedd90d07b904362d9debc9994ce86cd78a0303b9
* (DO NOT MERGE) Add debug setting to force hardware special keyTadashi G. Takaoka2014-08-134-2/+14
| | | | | | Bug: 13988700 Change-Id: If23f8a14097431e76a303a6d6c24e8d9835fb655 (cherry picked from commit 3659c70fc3174b00ac24e105677d7e480596bf56)
* Add BuildCompatUtils to get an effective platfrom API versionTadashi G. Takaoka2014-08-131-3/+2
| | | | | | | This CL removes reference of VERSION_CODES.CUR_DEVELOPMENT. Bug: 13888366 Change-Id: I5c8499a175473a220c8fb04ead219760c585a19a
* (DO NOT MERGE) Add SpecialkeyDetectorTadashi G. Takaoka2014-08-122-3/+44
| | | | | | Bug: 13988700 Change-Id: I215e879ad33b149370c1d0a5fdcf2203c0fc8b4a (cherry picked from commit 34541bfeb68e63bad71b83f1b7eba7922cca1723)
* (DO NOT MERGE) Show InputView even when hardware keyboard is connectedTadashi G. Takaoka2014-08-121-0/+21
| | | | | | Bug: 13988700 Change-Id: I4aeb01bf3571afc97959c213474a6424d7896120 (cherry picked from commit 06514f00f43f15e702ad3d8287e0d90bff555b7f)
* Help & feedback should be the very last item in the menuKen Wakasa2014-08-081-2/+2
| | | | | | bug: 16717930 Change-Id: I7ce73fe067bb7f9a639b414875780c39bb1de12d
* Merge "Rename distracter filter class." into lmp-devKeisuke Kuroyanagi2014-08-072-5/+7
|\
| * Rename distracter filter class.Keisuke Kuroyanagi2014-08-082-5/+7
| | | | | | | | | | | | Bug: 13142176 Bug: 15531638 Change-Id: I89cef5264073eed25ffb5be10fdff731df0a3138
* | Merge "Use suggestions in the distracter filter." into lmp-devKeisuke Kuroyanagi2014-08-071-6/+162
|\|
| * Use suggestions in the distracter filter.Keisuke Kuroyanagi2014-08-081-6/+162
| | | | | | | | | | | | | | Bug: 13142176 Bug: 15531638 Change-Id: I609fa61fccf2a0c738726985806b7d9248eadf49
* | Initial implementation of Help & feedbackKen Wakasa2014-08-082-10/+13
|/ | | | | | bug: 16717930 Change-Id: Iddc8e831c3f01ec7eb02ed1bc5d5e103d497e177
* Merge "Use DistracterFilterCheckingIsInDictionary for User History" into lmp-devKeisuke Kuroyanagi2014-08-042-17/+45
|\
| * Use DistracterFilterCheckingIsInDictionary for User HistoryKeisuke Kuroyanagi2014-08-072-17/+45
| | | | | | | | | | | | Bug: 13142176 Bug: 15531638 Change-Id: I7e4e5afa05c5cee6eedef62c053d81edac5fa6af
* | Merge "Revert "Introduce onEvent() to improve testability"" into lmp-devKen Wakasa2014-08-051-26/+17
|\ \
| * | Revert "Introduce onEvent() to improve testability"Ken Wakasa2014-08-061-26/+17
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit ef74e737f580f7ac0b3bd70d6255dde3c87d9078. Apparently, this CL broke several unit tests. Change-Id: I86cf5f1ffb0214707afe99ee97f92ba8c5157f3f
* | | Revert "[HS1] Save some data in startInputView"Jean Chalard2014-08-061-29/+7
| | | | | | | | | | | | | | | | | | | | | This reverts commit f1accd4f04b13f764e1ffa7c7964e4b7c41ddf4b. Bug: 16830599 Change-Id: I4c9367f742b8ee8463920e91263b05c2195f8480
* | | Revert "[HS2] Move more stuff to onStartInput"Jean Chalard2014-08-062-58/+51
|/ / | | | | | | | | | | | | This reverts commit 93b00a314e307cb257abf1cab88cb24d57ff3885. Bug: 16830599 Change-Id: I955e7da77978c3a495660aa29247e010d489c36b
* / Introduce onEvent() to improve testabilityJean Chalard2014-08-061-17/+26
|/ | | | | | ...and prepare for the future Change-Id: Ieed96ab552993fd148e80b9c3355f1b569bd716f
* Merge "Fix an NPE when running with Keep." into lmp-devJean Chalard2014-08-051-4/+4
|\
| * Fix an NPE when running with Keep.Jean Chalard2014-08-061-4/+4
| | | | | | | | Change-Id: Ie703e14bff42d34608f11d0c2d7758950b84c88c
* | Merge "Use add icon for add custom input style menu" into lmp-devTadashi G. Takaoka2014-08-051-4/+2
|\ \ | |/ |/|
| * Use add icon for add custom input style menuTadashi G. Takaoka2014-08-061-4/+2
| | | | | | | | | | Bug: 16805043 Change-Id: I9730a6aa5d761924457edaabcee25db930e20f02
* | [HS3] Fix a bug on ICSJean Chalard2014-08-062-0/+23
| | | | | | | | | | | | | | | | | | | | There is a bug in ICS where the input connection won't take any writing commands after rotation until the cursor moves. This fixes it by wiggling the cursor position once before trying to do anything. Bug: 16810766 Change-Id: Ib14c70bd0550420cecfa86dea501d13a1a91e296
* | [HS2] Move more stuff to onStartInputJean Chalard2014-08-062-51/+62
|/ | | | | Bug: 8152758 Change-Id: Ida05df7d151ceb582886e2ad06c5bdf0b59978ee
* [HW16] Implement processing event chains.Jean Chalard2014-08-051-7/+11
| | | | Change-Id: I4e1e4f101050ebda77c629a61c548d3c8efb330f
* [HW15] Pass events instead of reading them from the transactionJean Chalard2014-08-051-42/+51
| | | | | | | | It's probably cleaner to just pass the events rather than read them from a transaction, especially when a transaction may be associated with several events in a chain. Change-Id: I27830f0f3f3f32fe77ea8b9cad505b7ebee648af
* Merge "[HW14] Cleanup" into lmp-devJean Chalard2014-08-042-38/+15
|\
| * [HW14] CleanupJean Chalard2014-08-052-38/+15
| | | | | | | | | | | | | | Do away with the didAutoCorrect local variables which are unnatural to return out of all these functions. Change-Id: I22024004d2c489de018beff812c2c589bfd8ca32
* | Merge "[HW13] Split up onCodeInput" into lmp-devJean Chalard2014-08-051-110/+164
|\|
| * [HW13] Split up onCodeInputJean Chalard2014-08-051-110/+164
| | | | | | | | Change-Id: I503c5403dcaea5db632eba85ae3fae9ba9a1f946
* | [HS1] Save some data in startInputViewJean Chalard2014-08-041-7/+25
|/ | | | | Bug: 8152758 Change-Id: Ic57d3918b08e775769d4ba5d73ba5c31231e0d6a
* [HW12] Use the consumed status of the Event.Jean Chalard2014-08-042-2/+21
| | | | Change-Id: I1619f6132f8f71bc1291fd6a5604a5e1e3431ae2