aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-07-13Fix crash on adding a word in the user dictionary.Jean Chalard1-14/+26
When the User dictionary service is off, LatinIME still allows to add words to it and it crashed if the user tries to do so. This change fixes the crash; it does not however fix the interface. Bug: 5004408 Change-Id: I5bd2684ab3010963c1f737fc764e70e79aadbe8d
2011-07-13Show a suggestion strip by defaultsatok2-46/+0
Bug: 5024058 Change-Id: I5216e9a2e464c2bb3150b66779b6b1b5cd9027ff
2011-07-12Move PointerTrackerQueue into PointerTrackerTadashi G. Takaoka3-97/+98
Bug: 4768084 Change-Id: I1be83b38c48147827c871c92e17d37da3aeb0f95
2011-07-13Add a flag for a profilingsatok2-23/+33
Change-Id: Iae509a24fd0f0f416376c3f8051aa2eb92d48659
2011-07-13New dict format, step 7Jean Chalard4-68/+672
This actually implements the new dictionary format, but does not activate the implementation through #defines. Bug: 4392433 Change-Id: I9b26b9bcb4b823a36e0984799b69730acfc6f7f3
2011-07-12Fix mini keyboard behavior while chording inputTadashi G. Takaoka5-84/+147
This change makes PopupMiniKeyboardView based on KeyboardView, so that only LatinKeyboardBaseView can manage touch event and PointerTracker. Bug: 4768084 Change-Id: Id30b132f1fae45da6e79ce822745cf0a653b8eb3
2011-07-13Fix build breakageKen Wakasa1-1/+1
Change-Id: Id2c2d152f54d00842ef9e200ccdce1e13cc128cb
2011-07-12Add Right-To-Left delete iconTadashi G. Takaoka18-45/+53
Bug: 4161983 Bug: 4170083 Change-Id: Ife9a933353e97f3c7c3ede47623dc7528160f3c5
2011-07-13Small code cleanupKen Wakasa1-8/+7
Change-Id: I7075d85f745c3b186e6d06086b9fcd54e7459feb
2011-07-12Create proximity info just after parsing keyboard layoutssatok2-57/+65
Bug: 4807069 Change-Id: Ic18b2fc526efec58510841884a949a1a0201e7f5
2011-07-12Code cleanupKen Wakasa1-56/+52
Change-Id: Ie43181721ba18e0c04048eaa9e3016dcea9f5a49
2011-07-12Change variable names for readabilityKen Wakasa2-52/+52
Change-Id: I9face4e90af4bcd6040eb7e303b596af7d643934
2011-07-11Keep keyboard layout while orientation changeTadashi G. Takaoka1-1/+2
This change can retain symbols layout only, can't retain shift or shift lock state of the keyboard. Bug: 4311428 Change-Id: I6248ed9a6d762e1ca4b72e391fdca9bc9f55ac35
2011-07-11Fix event handling on non-distinct multi touch deviceTadashi G. Takaoka1-0/+3
This bug has been introduced by Idfbc9706. Bug: 4768084 Change-Id: If9e2a2d3ed1f6b4e6209c883e6fcca52286ede3f
2011-07-10Add KeyEventHandler interfaceTadashi G. Takaoka5-32/+45
This change also revert KeyboardView to non-abstract class. Bug: 4768084 Change-Id: I827defb58bfb28b345464f6a89aa4438e41cf1e2
2011-07-11Use InputMethodSettingsActivitysatok5-36/+5
Bug: 4979539 Change-Id: Ib721814bfe80822ded7b0d801f6bc0c854588da4
2011-07-10Pass KeyboardView to PointerTracker on down eventTadashi G. Takaoka4-12/+45
Bug: 4768084 Change-Id: I446b98daef8c9ec2408481e59cb2a88754ef9e01
2011-07-08Move processing MotionEvent out from PointerTrackerTadashi G. Takaoka2-34/+19
Bug: 4768084 Change-Id: Idfbc9706f9daeaa979edeee9064cb69326bd3bbc
2011-07-09Use InputMethodSettingsFragmentsatok4-2/+19
Bug: 4979539 Change-Id: I4f2010f785eb29ccd42b488c402ef9957633e0c2
2011-07-08Narrower key timer handler static inner class to TimerProxy interfaceTadashi G. Takaoka2-15/+29
Bug: 4768084 Change-Id: I8fdff864d09321b44d56a6a32e10aec3f0f5a4d1
2011-07-09Internal cleanup before using InputMethodSettingsFragment (Part 2)satok1-3/+3
Change-Id: I87751cf0e36b41e931b0712a09d114fd470f1001
2011-07-09Internal cleanup before using InputMethodSettingsFragmentsatok1-2/+5
Change-Id: I7e3211feadf7b87b789040f6dcd6dda84a9d454a
2011-07-08Merge PointerTrackerKeyState into PointerTrackerTadashi G. Takaoka2-149/+77
Bug: 4768084 Change-Id: I0be0e07bff2542db6ba764dcb13505dfbff6994e
2011-07-09Remove override which will be invalid.satok1-1/+0
Change-Id: I8b548e0167791c1f5e46971901d13ee1aadc45da
2011-07-08Compile code used in logging conditionally so that gcc does not complainDoug Kwan2-0/+10
about unused-but-set variables. Change-Id: I141f438694a1854d54d08cb5a74c23222dd9d85e
2011-07-08Remove swipe gestureTadashi G. Takaoka10-416/+50
Bug: 4971680 Change-Id: Ifff27f3bd3dd26417bfcb7072aaba074025b1bb7
2011-07-07Let KeyDetector hold KeyboardTadashi G. Takaoka7-28/+33
Bug: 4768084 Change-Id: Ia28d6971fc59086dd4e6fedc9fd1b50f13b59854
2011-07-07Remove stale TODO commentsTadashi G. Takaoka2-4/+0
Change-Id: I800e25ca1ecfb11580decd1de147b3f3ae5defb0
2011-07-07Override onSizeChanged only on main keyboard viewTadashi G. Takaoka3-6/+11
Bug: 4768084 Change-Id: I555efbd1bf75691a3a2724e9d9c1a9055039aacc
2011-07-07Holding PointerTrackerQueue inside PointerTrackerTadashi G. Takaoka3-43/+35
Bug: 4768084 Change-Id: Id5006e549c4018a656abd088f14a209415baafed
2011-07-07Import revised translations.Eric Fischer46-531/+2368
Change-Id: I6a63166506259331cd0481b41e97527d5133d52c
2011-07-07Fix missing suggestions after "Touch again to save"Ken Wakasa1-0/+1
This is an amendment to If848320c bug: 5000317 Change-Id: I7eed5759c6adc0538c51f540c84a597919e792fa
2011-07-06Fix improperly scaled drawableTadashi G. Takaoka1-0/+0
Bug: 4993127 Change-Id: Id16039058777b50f223458e190b32c1bc3b1fd53
2011-07-06Clear CandidateView in onStartInputViewTadashi G. Takaoka2-1/+3
Before starting input on new TextView, we must clear the CandidateView because it may hold the suggestion of previous TextView or even worse the suggestions pane has been expanded and keyboard has been hidden. Bug: 4995414 Change-Id: If848320c1a510e7018d36ed8ac61291be2fc6ce5
2011-07-06Make sure that each view has its own dedicated background drawableTadashi G. Takaoka1-3/+5
Bug: 4998490 Change-Id: I3527fc41f0f03bbb32e3d1880665c6995354aa57
2011-07-06Use the new settings activity class nameKen Wakasa1-1/+1
Follow up to I96230f05 Change-Id: I0ee7ccb5461764490ae9c977658883b10fe3ed3d
2011-07-04Narrower KeyboardView referenceTadashi G. Takaoka6-66/+67
This change also rename static inner class to more readable name and get rid of unnecessary object reference from PointerTracker. Bug: 4768084 Change-Id: Ie4e2b940d66b47d41efcae7eeac853cdae2e4d38
2011-07-04Move key hysteresis distance parameter to KeyDetector classTadashi G. Takaoka8-24/+41
Bug: 4768084 Change-Id: Ib8771afd7363a4a5590b2b4a586e3014c026be34
2011-07-04Removed unused importsatok2-3/+21
Change-Id: I87344f071e982dfc37b17553c5a7054e26009cc7
2011-07-04Move keyboard event handling code to separate LatinKeyboardBaseView classTadashi G. Takaoka8-591/+704
To sort out the issue, main keyboard and mini keyboard have to share the pointer trackers. In order to prepare for that, KeyboardView needs to be refactored as two separate classes. KeyboardView is responsible for drawing keyboard visual. And LatinKeyboardBaseView is responsible for handling key event and mini keyboard as well. Bug: 4768084 Change-Id: I5643e333b9bdfde0c939a0693cea76bd22f38897
2011-07-04Add SettingsActivitysatok3-2/+8
Change-Id: I26d9f90fe18bd7723f1c3c0c9fafbb659cb2f020
2011-07-04Fixed a visibility of a shortcut buttonsatok1-0/+2
Change-Id: I65e57f6742186b3434d6582ce7f2a1d5d91ce588
2011-07-04Disable auto-correction when application auto completion has setTadashi G. Takaoka1-2/+2
Change-Id: I3f4ecfe7f2d96613dd37d41d9195d94864f82b48
2011-07-04Use Key background for suggestions strip controlTadashi G. Takaoka2-10/+17
Change-Id: I5e43c0919e89972283fd18eb29d69f96f1bd0290
2011-07-04Specify Key gaps by percentageTadashi G. Takaoka10-90/+94
Change-Id: I4721bf831b5edbea1dd4309c6ce907544b098d62
2011-07-02Remove top padding parameter from MiniKeyboardBuilder constructorTadashi G. Takaoka2-80/+83
To keep unit test simple, instead of specifying top padding in the constructor, make separate setter for it. Change-Id: I8870622cc1bd97420637b8c465bdb6c9dd366062
2011-07-02Set candidates pane control visibility gone when touch-to-save is activatedTadashi G. Takaoka1-0/+1
Bug: 4985540 Change-Id: I9ca9e9bd990d9cdae0da22625be88bbfa4c7ee62
2011-07-01Add top padding to mini keyboardTadashi G. Takaoka2-80/+92
Because Key only has bottom padding, to make mini keyboard vertically symmetric and looks nicer, we should add mini keyboard top padding that equals to Key bottom padding (a.k.a. vertical gap). Change-Id: Icceb687d50edfa48e0f0830a60a1e230836c982f
2011-07-01Slightly larger key for ICS and phone combinationTadashi G. Takaoka2-2/+2
Compatible with Gingerbreada theme. Change-Id: Id05bb8992dac47a23e12af7ab62924b5bc25b7ca
2011-07-01Calculate text width more conservativelyTadashi G. Takaoka1-13/+15
Change-Id: If937ca0d05d50def115f6d275ed4b727c71e7bf4