Tadashi G. Takaoka
9d5d01a543
Add null analysis annotations to keyboard package
...
Change-Id: I6f020ece3c45d584d413e4265d6d3fbdf1ea8bd8
2014-11-27 12:37:38 +09:00
Tadashi G. Takaoka
8523720b22
Remove deprecated Canvas.clipRegion(Region) call
...
Change-Id: I88e0a8d327c17bf4bafbe44cdfa265f5d0acb879
2014-10-31 14:06:30 +09:00
Tadashi G. Takaoka
be708c4e59
Consolidate TimerHandler.Callbacks with PointerTracker.DrawingProxy
...
Change-Id: I654f7483d1c013ac2685a45af4eb2af15fa219ad
2014-10-30 18:28:40 +09:00
Ken Wakasa
9342484e8d
Move Constants.java to the latin.common package
...
Our intention is to have classes of latinime-common under the common
package as much as we can.
Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
2014-10-23 20:27:37 +09:00
Tadashi G. Takaoka
dad7a5dffd
Fix drawing of custom action label key
...
Bug: 17488054
Change-Id: I433561ed19ec2a79402867a0395a3e388730f087
2014-09-16 18:21:49 +09:00
Tadashi G. Takaoka
486c4894ce
Keep aspect ratio of Material action key background
...
Bug: 15681452
Change-Id: Ie4b823dca541b76b68cade580845a21ff0b21e2f
2014-09-09 14:28:46 +09:00
Tadashi G. Takaoka
db776143d9
Revert "Revert "Align hint label to bottom""
...
This reverts commit 02c4a80afe
.
2014-08-07 23:44:34 +09:00
Tadashi G. Takaoka
0b5d12c6b4
Revert "Revert "Add Key label off center attribute""
...
This reverts commit 787e9a37b4
.
Change-Id: I177b8f5d08eb487c19180c09101cc073222c4efe
2014-08-07 14:31:47 +00:00
Ken Wakasa
787e9a37b4
Revert "Add Key label off center attribute"
...
This reverts commit ba49920e80
.
Due to unit test breakage.
Bug: 14419121
Change-Id: I6f4fc30b86227e59c883d202551b162dc91b4166
2014-08-07 11:38:36 +00:00
Ken Wakasa
02c4a80afe
Revert "Align hint label to bottom"
...
This reverts commit f1784266ec
.
Due to unit test breakage.
Bug: 14419121
Change-Id: Ibc201649e71135292530b26337d9305a6681f446
2014-08-07 11:35:26 +00:00
Tadashi G. Takaoka
f1784266ec
Align hint label to bottom
...
Bug: 14419121
Change-Id: I9147d3c4a3687ed745ffdddfff221d88652919b2
2014-08-07 18:42:47 +09:00
Tadashi G. Takaoka
ba49920e80
Add Key label off center attribute
...
This CL adds two Key attributes to control how much a label should be
off centered.
- keyLabelOffCenterRatio
- keyHintLabelOffCenterRatio
Bug: 14419121
Change-Id: I26650eefdd375f0eeca8a1ca6034a8339d2a3182
2014-08-07 14:39:57 +09:00
Tadashi G. Takaoka
e19c520b41
Align space key icon to bottom of a key
...
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
2014-08-07 12:42:27 +09:00
Tadashi G. Takaoka
3410e16907
Make popup hint letter theme-aware
...
Bug: 16351091
Change-Id: I6af18ea210c00916157138b9cfbeb073aee6ca1b
2014-08-05 17:32:53 +09:00
Tadashi G. Takaoka
639c93f43b
Remove unused Key.keyLabelFlags' values
...
Change-Id: Iae3cd6674448f258ee0a4bf2966bf3c347876b4f
2014-07-19 12:31:50 -07:00
Tadashi G. Takaoka
51ee5a47b8
Remove LatinImeLogger and UsabilityStudyLogUtils
...
This CL must be checked in together with Ie52007dc5c.
Bug: 15318007
Change-Id: Ie665f296e43b5485ae8ba7e949aa262794ee0dcc
2014-05-29 18:03:03 +09:00
Tadashi G. Takaoka
bbf556e8e1
Remove researcher logger
...
This CL must be checked in together with I5cc76807e3.
Bug: 15318007
Change-Id: I61423c3377ddc299fb332e742d6626c2e47145bb
2014-05-29 15:10:28 +09:00
Tadashi G. Takaoka
a91561aa58
Use Java 7 diamond operator
...
Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
2014-05-24 01:05:42 +09:00
Tadashi G. Takaoka
41808192d3
Support 9-patch drawable for spacebar icon
...
Bug: 14419121
Change-Id: I901ea2a5bfae870b3aae8fea3bc38d999b2354b8
2014-05-15 18:40:16 +09:00
Tadashi G. Takaoka
c1e6100bde
Separate functional key background from normal one
...
This CL also moves spacebarBackground attribute from MainKeyboardView
to KeyboardView.
This CL must be checked in together with I48c383ca97.
Bug: 14419121
Change-Id: Id356d0086a8fb21375fb5c66076873258fb3d63e
2014-05-14 17:57:51 +09:00
Tadashi G. Takaoka
41f9f1ef70
Optimize drawing key text shadow layer
...
Change-Id: Id226fe8042ba0f538d5109459a3615d7e7113d7f
2014-05-13 14:16:33 +09:00
Tadashi G. Takaoka
c13c1adfa7
Sort keys from top-left to bottom-right order
...
Change-Id: I228748824de62e9e46fa43db200d23f41eb6d2ce
2014-04-21 18:36:11 -07:00
Tadashi G. Takaoka
d227b00a72
Remove hack from EmojiPalettesView.startEmojiPalettes
...
Bug: 12115967
Change-Id: I91c567a9577012ec28c08430c55e56e9c2e25b5f
2014-02-24 19:45:50 +09:00
Tadashi G. Takaoka
fe39aec08a
Use the same label of switch-to-alphabet key on Emoji palette
...
Bug: 12115967
Change-Id: I61cf80db933aa2ab220ddcaa88a4c9af7beeb35c
2014-02-17 14:54:39 +09:00
Ken Wakasa
2fa3693c26
Reset to 9bd6dac470
...
The bulk merge from -bayo to klp-dev should not have been merged to master.
Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
2013-12-13 17:13:32 +09:00
Ken Wakasa
8cf2a5e59f
Prep for RAM footprint optimization for Emoji palettes
...
bug: 10902556
Change-Id: I313948c73b60cd33c437cf02e8d3fb61c288a240
2013-10-08 17:09:24 +09:00
Ken Wakasa
814acafaea
Address a couple more issues in Khmer layout
...
bug: 6910993
Change-Id: If866629268040cf7696d9667dbca66fac6a60374
2013-09-20 16:27:30 +09:00
Tadashi G. Takaoka
0b3d5e12e3
Add copy constructor to Keyboard
...
Change-Id: Ib207039f53346f420cca050080e3c4f452e63ff6
2013-08-26 14:21:45 +09:00
Tadashi G. Takaoka
7dc60f9db7
Add getters and copy constructor to Key class
...
Change-Id: I78eb96dcc26378926dc63acbfeb4828cbd44435d
2013-08-15 20:12:46 +09:00
Tadashi G. Takaoka
4f1fdc30be
Small clean up of KeyboardView.onMeasure
...
Change-Id: I46830f8482b46c6999b80793c8b4ae860b46e429
2013-08-08 19:15:13 +09:00
Ken Wakasa
6333ed3801
Small cleanup
...
Change-Id: I7a35eb4cb7cee4c120236a2bc1974d7b345f4188
2013-08-02 20:22:51 +09:00
Ken Wakasa
52876bbefd
Remove unnecessary setLayerType() calls
...
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
2013-08-02 19:30:05 +09:00
Ken Wakasa
e68d565d0f
Deallocate offscreen buffer for non-HW-accel draw
...
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
2013-08-01 18:01:48 +09:00
Tadashi G. Takaoka
ccf4a31027
Move TypefaceUtils and ViewUtils to utils package
...
Change-Id: Iccd47c27670248c43de9a539c1951111d7733111
2013-07-05 19:24:59 +09:00
Ken Wakasa
e28eba5074
Move util classes to the latin/utils directory
...
Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
2013-06-24 17:04:40 +09:00
Tadashi G. Takaoka
43ad100d8b
Disable long press timer while sliding input mode
...
Bug: 8915171
Change-Id: Id8685f90766c7de55b56476de83abf97150a186d
2013-05-13 17:40:26 +09:00
Tadashi G. Takaoka
08ae0d5ca0
Add TypefaceUtils
...
Change-Id: I2d939bc1e3279253902b28ff12bbf7861716b64d
2013-04-11 14:27:42 +09:00
Ken Wakasa
9c3860ce46
Rename ProductionFlag.IS_EXPERIMENTAL to USES_DEVELOPMENT_ONLY_DIAGNOSTICS
...
bug: 8393568
Change-Id: Ie5edf44a3627aca9416145aff56bf05bbf2a05f3
2013-03-18 23:15:47 +09:00
Tadashi G. Takaoka
18e21d58f7
Remove closing method from KeyboardView
...
This is a follow up of Ie00ba827. After the change, the
KeyboardView.closing() method does nothing important.
Change-Id: I9659ea56ce82a95f8798a4136bf93f164b67fae7
2013-02-27 17:35:20 +09:00
Tadashi G. Takaoka
016046eb4e
Keep Keyboard object while closing KeyboardView
...
Bug: 8217626
Change-Id: Ie00ba827bc391aa152427965c57488b66308a75c
2013-02-27 17:30:16 +09:00
Tadashi G. Takaoka
a729377395
Cache MoreKeysKeyboard instead of container view of it
...
This change also cleans up MoreKeysPanel related stuff.
Bug: 8047165
Change-Id: I4f2211e00c7d08469a7413568db039c1c597fb3c
2013-01-22 17:34:36 +09:00
Tadashi G. Takaoka
f3c4cd45a5
Move dimming keyboard to MainKeyboardView
...
Change-Id: Id44d4b758c8b92d1120d3a8b06812dc1fc26390c
2013-01-21 16:54:08 +09:00
Tadashi G. Takaoka
375982106b
Move PointerTracker.DrawingProxy to MainKeyboardView (step 2)
...
Change-Id: If15d5ee683b8026d1871a3fe438dba498944faa7
2013-01-21 16:09:25 +09:00
Tadashi G. Takaoka
0e4f0da449
Move PointerTracker.DrawingProxy to MainKeyboardView (step 1)
...
Change-Id: I86014de147416453503b6412eb862a2d172426aa
2013-01-21 16:06:50 +09:00
Tadashi G. Takaoka
d9449ccf3c
Move MoreKeysPanel.Controller implementation to MainKeyboardView
...
Change-Id: Iffa298d51ca21a7dcd1e77c633217532d96d2cf5
2013-01-21 15:28:17 +09:00
Tadashi G. Takaoka
b9f219c935
Remove unused Keyboard.purgeKeyboardAndClosing method
...
Change-Id: Ia09ac04b0edca2a22d64ba83e054b115fe8851a6
2013-01-21 14:26:33 +09:00
Tadashi G. Takaoka
50d902ac6f
Show final suggested word when batch input is finished
...
This change moves dismiss timer of gesture floating preview text from
PreviewPlacerView to KeyboardView.
Bug: 7967461
Change-Id: I0ca5beddc93cb4bc4a405f914d217d37b997402b
2013-01-10 16:25:05 +09:00
Tadashi G. Takaoka
813692c956
Rename variables related to key preview popup
...
Change-Id: I0161e5844dd325af9afba80ac54a569b16c80660
2013-01-10 11:47:18 +09:00
Xiaojun Bi
d52730a2d7
[mdfp] Refactoring Gesture Floating Preview Text Code
...
This change moves gesture preview text code from PreviewPlacerView.java
to separate classes.
Change-Id: Id8d17eff38e714c3b06aafd0b24985a9bd2d2f52
2013-01-07 10:39:23 -08:00
Tom Ouyang
ac69ab400d
Refactor more keys menu framework (part 3)
...
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
2012-12-13 21:45:51 -08:00