summaryrefslogtreecommitdiff
path: root/java/src/com/android/inputmethod/keyboard/KeyboardView.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix drawing of custom action label keyTadashi G. Takaoka2014-09-161-1/+3
| | | | | Bug: 17488054 Change-Id: I433561ed19ec2a79402867a0395a3e388730f087
* Keep aspect ratio of Material action key backgroundTadashi G. Takaoka2014-09-091-5/+19
| | | | | Bug: 15681452 Change-Id: Ie4b823dca541b76b68cade580845a21ff0b21e2f
* Revert "Revert "Align hint label to bottom""Tadashi G. Takaoka2014-08-071-12/+25
| | | | This reverts commit 02c4a80afea802859c5cb4d1033a7374c3132c96.
* Revert "Revert "Add Key label off center attribute""Tadashi G. Takaoka2014-08-071-8/+5
| | | | | | This reverts commit 787e9a37b41c67e8683e854538b2743a2bc8fdcd. Change-Id: I177b8f5d08eb487c19180c09101cc073222c4efe
* Revert "Add Key label off center attribute"Ken Wakasa2014-08-071-5/+8
| | | | | | | | | This reverts commit ba49920e8046ca592d6c914b2e3f7394bf9c281c. Due to unit test breakage. Bug: 14419121 Change-Id: I6f4fc30b86227e59c883d202551b162dc91b4166
* Revert "Align hint label to bottom"Ken Wakasa2014-08-071-25/+12
| | | | | | | | | This reverts commit f1784266ec80244dcefdbd70a43147f1cd847547. Due to unit test breakage. Bug: 14419121 Change-Id: Ibc201649e71135292530b26337d9305a6681f446
* Align hint label to bottomTadashi G. Takaoka2014-08-071-12/+25
| | | | | Bug: 14419121 Change-Id: I9147d3c4a3687ed745ffdddfff221d88652919b2
* Add Key label off center attributeTadashi G. Takaoka2014-08-071-8/+5
| | | | | | | | | | This CL adds two Key attributes to control how much a label should be off centered. - keyLabelOffCenterRatio - keyHintLabelOffCenterRatio Bug: 14419121 Change-Id: I26650eefdd375f0eeca8a1ca6034a8339d2a3182
* Align space key icon to bottom of a keyTadashi G. Takaoka2014-08-071-3/+7
| | | | | | | | | The Key.keyLabelFlags's flag "alignButtom" (misspelled) has been removed by Iae3cd66744. This CL re-introduce the same flag with "alignIconToBottom". Bug: 16803172 Change-Id: I412590f394c6ca9b36358d6acfe8675071403bdd
* Make popup hint letter theme-awareTadashi G. Takaoka2014-08-051-4/+9
| | | | | Bug: 16351091 Change-Id: I6af18ea210c00916157138b9cfbeb073aee6ca1b
* Remove unused Key.keyLabelFlags' valuesTadashi G. Takaoka2014-07-191-50/+4
| | | | Change-Id: Iae3cd6674448f258ee0a4bf2966bf3c347876b4f
* Remove LatinImeLogger and UsabilityStudyLogUtilsTadashi G. Takaoka2014-05-291-63/+1
| | | | | | | This CL must be checked in together with Ie52007dc5c. Bug: 15318007 Change-Id: Ie665f296e43b5485ae8ba7e949aa262794ee0dcc
* Remove researcher loggerTadashi G. Takaoka2014-05-291-9/+0
| | | | | | | This CL must be checked in together with I5cc76807e3. Bug: 15318007 Change-Id: I61423c3377ddc299fb332e742d6626c2e47145bb
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-241-2/+1
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Support 9-patch drawable for spacebar iconTadashi G. Takaoka2014-05-151-4/+14
| | | | | Bug: 14419121 Change-Id: I901ea2a5bfae870b3aae8fea3bc38d999b2354b8
* Separate functional key background from normal oneTadashi G. Takaoka2014-05-141-3/+15
| | | | | | | | | | This CL also moves spacebarBackground attribute from MainKeyboardView to KeyboardView. This CL must be checked in together with I48c383ca97. Bug: 14419121 Change-Id: Id356d0086a8fb21375fb5c66076873258fb3d63e
* Optimize drawing key text shadow layerTadashi G. Takaoka2014-05-131-5/+11
| | | | Change-Id: Id226fe8042ba0f538d5109459a3615d7e7113d7f
* Sort keys from top-left to bottom-right orderTadashi G. Takaoka2014-04-211-1/+1
| | | | Change-Id: I228748824de62e9e46fa43db200d23f41eb6d2ce
* Remove hack from EmojiPalettesView.startEmojiPalettesTadashi G. Takaoka2014-02-241-0/+4
| | | | | Bug: 12115967 Change-Id: I91c567a9577012ec28c08430c55e56e9c2e25b5f
* Use the same label of switch-to-alphabet key on Emoji paletteTadashi G. Takaoka2014-02-171-0/+1
| | | | | Bug: 12115967 Change-Id: I61cf80db933aa2ab220ddcaa88a4c9af7beeb35c
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20cKen Wakasa2013-12-131-29/+29
| | | | | | The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
* Prep for RAM footprint optimization for Emoji palettesKen Wakasa2013-10-081-0/+2
| | | | | bug: 10902556 Change-Id: I313948c73b60cd33c437cf02e8d3fb61c288a240
* Address a couple more issues in Khmer layoutKen Wakasa2013-09-201-2/+9
| | | | | bug: 6910993 Change-Id: If866629268040cf7696d9667dbca66fac6a60374
* Add copy constructor to KeyboardTadashi G. Takaoka2013-08-261-1/+1
| | | | Change-Id: Ib207039f53346f420cca050080e3c4f452e63ff6
* Add getters and copy constructor to Key classTadashi G. Takaoka2013-08-151-17/+17
| | | | Change-Id: I78eb96dcc26378926dc63acbfeb4828cbd44435d
* Small clean up of KeyboardView.onMeasureTadashi G. Takaoka2013-08-081-5/+6
| | | | Change-Id: I46830f8482b46c6999b80793c8b4ae860b46e429
* Small cleanupKen Wakasa2013-08-021-1/+1
| | | | Change-Id: I7a35eb4cb7cee4c120236a2bc1974d7b345f4188
* Remove unnecessary setLayerType() callsKen Wakasa2013-08-021-0/+6
| | | | | | | | | | Calling up setLayerType(LAYER_TYPE_HARDWARE, ..) on non-HW accelerated devices was ending up with having a drawing cache in View that is not quite needed for PreviewPlacerView. bug: 8967766 Change-Id: Ic8e6eeaf536530ff5f23eb353b0a8e5ba96fa0e2
* Deallocate offscreen buffer for non-HW-accel drawKen Wakasa2013-08-011-0/+4
| | | | | | | | | | Follow up to I5bc980c4dc41bc304be3c190934c1f7c55c9d244 This frees up 800KB on occam_svelte when LatinIME is in background. Confirmed the performance effect in keyboard-bring up speed was unperceivable. bug: 8967766 Change-Id: I0fab179c61179564bd3a0349c9825e7d61f7e1f2
* Move TypefaceUtils and ViewUtils to utils packageTadashi G. Takaoka2013-07-051-0/+1
| | | | Change-Id: Iccd47c27670248c43de9a539c1951111d7733111
* Move util classes to the latin/utils directoryKen Wakasa2013-06-241-1/+1
| | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* Disable long press timer while sliding input modeTadashi G. Takaoka2013-05-131-1/+1
| | | | | Bug: 8915171 Change-Id: Id8685f90766c7de55b56476de83abf97150a186d
* Add TypefaceUtilsTadashi G. Takaoka2013-04-111-91/+55
| | | | Change-Id: I2d939bc1e3279253902b28ff12bbf7861716b64d
* Rename ProductionFlag.IS_EXPERIMENTAL to USES_DEVELOPMENT_ONLY_DIAGNOSTICSKen Wakasa2013-03-181-2/+2
| | | | | bug: 8393568 Change-Id: Ie5edf44a3627aca9416145aff56bf05bbf2a05f3
* Remove closing method from KeyboardViewTadashi G. Takaoka2013-02-271-6/+0
| | | | | | | This is a follow up of Ie00ba827. After the change, the KeyboardView.closing() method does nothing important. Change-Id: I9659ea56ce82a95f8798a4136bf93f164b67fae7
* Keep Keyboard object while closing KeyboardViewTadashi G. Takaoka2013-02-271-1/+1
| | | | | Bug: 8217626 Change-Id: Ie00ba827bc391aa152427965c57488b66308a75c
* Cache MoreKeysKeyboard instead of container view of itTadashi G. Takaoka2013-01-221-3/+2
| | | | | | | This change also cleans up MoreKeysPanel related stuff. Bug: 8047165 Change-Id: I4f2211e00c7d08469a7413568db039c1c597fb3c
* Move dimming keyboard to MainKeyboardViewTadashi G. Takaoka2013-01-211-25/+1
| | | | Change-Id: Id44d4b758c8b92d1120d3a8b06812dc1fc26390c
* Move PointerTracker.DrawingProxy to MainKeyboardView (step 2)Tadashi G. Takaoka2013-01-211-193/+0
| | | | Change-Id: If15d5ee683b8026d1871a3fe438dba498944faa7
* Move PointerTracker.DrawingProxy to MainKeyboardView (step 1)Tadashi G. Takaoka2013-01-211-185/+17
| | | | Change-Id: I86014de147416453503b6412eb862a2d172426aa
* Move MoreKeysPanel.Controller implementation to MainKeyboardViewTadashi G. Takaoka2013-01-211-42/+4
| | | | Change-Id: Iffa298d51ca21a7dcd1e77c633217532d96d2cf5
* Remove unused Keyboard.purgeKeyboardAndClosing methodTadashi G. Takaoka2013-01-211-5/+1
| | | | Change-Id: Ia09ac04b0edca2a22d64ba83e054b115fe8851a6
* Show final suggested word when batch input is finishedTadashi G. Takaoka2013-01-101-1/+15
| | | | | | | | This change moves dismiss timer of gesture floating preview text from PreviewPlacerView to KeyboardView. Bug: 7967461 Change-Id: I0ca5beddc93cb4bc4a405f914d217d37b997402b
* Rename variables related to key preview popupTadashi G. Takaoka2013-01-101-13/+12
| | | | Change-Id: I0161e5844dd325af9afba80ac54a569b16c80660
* [mdfp] Refactoring Gesture Floating Preview Text CodeXiaojun Bi2013-01-071-2/+3
| | | | | | | This change moves gesture preview text code from PreviewPlacerView.java to separate classes. Change-Id: Id8d17eff38e714c3b06aafd0b24985a9bd2d2f52
* Refactor more keys menu framework (part 3)Tom Ouyang2012-12-131-4/+4
| | | | | | | | | Make it possible to re-enter gesture input even after triggering the long-press menu. This is useful for new users who may pause at the start of a word. Works for both single and bi-manual gestures. Bug: 7595193 Change-Id: Ieaecfd5385ed6c10ae9347b99c2e35a0de5e895d
* Refactor more keys menu framework (part 2)Tom Ouyang2012-12-131-1/+0
| | | | | | | | | - Integrate pointer tracking between more keys menu, more suggestions menu, and main keyboard. - Adds multi-touch support for more keys menus. Long press with one finger and select keys with another finger. Bug: 7508007 Change-Id: I394f28cd79e342d6bcfea573af72aa33b9def00f
* Refactor more keys menu framework (part 1)Tom Ouyang2012-12-071-1/+32
| | | | | | | Eliminate use of slower popup window for rendering the more keys menu and more suggestions menu. These menus are now drawn directly on the preview placer view. Change-Id: I40638724a6ffde2be4b5d0341d2a5db7ff7be930
* Dismiss sliding key input preview when touch event is canceledTadashi G. Takaoka2012-12-041-0/+5
| | | | | | | This is a follow up of Id807af31. Bug: 7662486 Change-Id: I13895140f1214592257d0023c1450875a4885ee9
* Groundwork for sliding key input previewTadashi G. Takaoka2012-12-031-9/+13
| | | | | Bug: 7548583 Change-Id: Id807af31f581c08ff8074ed1f6766337bea9469f