aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove swipe gestureTadashi G. Takaoka2011-07-081-154/+0
| | | | | Bug: 4971680 Change-Id: Ifff27f3bd3dd26417bfcb7072aaba074025b1bb7
* Move key hysteresis distance parameter to KeyDetector classTadashi G. Takaoka2011-07-041-2/+2
| | | | | Bug: 4768084 Change-Id: Ib8771afd7363a4a5590b2b4a586e3014c026be34
* Remove top padding parameter from MiniKeyboardBuilder constructorTadashi G. Takaoka2011-07-021-75/+75
| | | | | | | To keep unit test simple, instead of specifying top padding in the constructor, make separate setter for it. Change-Id: I8870622cc1bd97420637b8c465bdb6c9dd366062
* Add top padding to mini keyboardTadashi G. Takaoka2011-07-011-75/+75
| | | | | | | | 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
* Merge "Fix "Show settings key" option on 7" device"Tadashi G. Takaoka2011-06-231-1/+1
|\
| * Fix "Show settings key" option on 7" deviceTadashi G. Takaoka2011-06-241-1/+1
| | | | | | | | | | | | | | Cherry-pic I993ac772 from Honeycomb-MR2. Bug: 4586882 Change-Id: Ie74138523a3ae7958c7bec674c49aa0ab1a72d05
* | Move Key class out of internal packageTadashi G. Takaoka2011-06-231-1/+1
|/ | | | | Bug: 4903326 Change-Id: I2493d6dae613d2e37dfa8ce96b4cddc9a038160c
* Remove colorScheme attribute from KeyboardViewTadashi G. Takaoka2011-06-221-5/+4
| | | | Change-Id: I9de118e8be60b9a6fe1aecc00332ba08872db918
* Move icon declaration to Keyboard themeTadashi G. Takaoka2011-06-221-135/+146
| | | | | Bug: 4436327 Change-Id: I074014d28dcb323b60dbc8fd9e169c75c393e0b3
* Move keyboard related internal class to separate packageTadashi G. Takaoka2011-06-225-7/+9
| | | | Change-Id: Ic1459066b865cde5104b3734193f76c997959c68
* Add ArraysCompatUtils.binarySearchTadashi G. Takaoka2011-06-211-0/+103
| | | | | | | Until API version 9, java.util.Arrays.binarySearch(int[], int, int, int) doesn't exist. Change-Id: Ife0ed4fbac642eda069e7b6f6b8dd30e0cd5fdee
* Fix arguments order of KeyboardId constructorTadashi G. Takaoka2011-05-251-1/+1
| | | | Change-Id: I0b958f10e2146a3a70c9c0643f62ad48ae472631
* Merge "Reload keyboard after SoftInputWindow size changed"Tadashi G. Takaoka2011-05-202-4/+5
|\
| * Reload keyboard after SoftInputWindow size changedTadashi G. Takaoka2011-05-202-4/+5
| | | | | | | | | | Bug: 4450008 Change-Id: Ic6c457db808d8e7479bfaa509192c07a384453e2
* | Show full display names in the popup of the spacebar language swichersatok2011-05-181-1/+3
|/ | | | | | | - Multiply the speed of the slide Bug: 4427222 Change-Id: Ifd2de9843191296f0f311440ea7b8ab075c67d8d
* Use user-history bigrams when no input if available.Jean Chalard2011-04-221-0/+67
| | | | | | | | This also fixes a small inconsistency upon clicking on whitespace twice in a row. Also add some unit tests for an introduced and an existing method. Change-Id: I1be2fb53c9624f4d0f5299009632cb4384fdfc15
* Move language-specific keyboard setting to resources.Jean Chalard2011-04-201-1/+1
| | | | | | | | | | | | | | Some flag settings used to be stored in a keyboard layout extravalue setting. This change: - Introduces the capability of setting such specific flags in values/config.xml - Retains the ability to use extravalues (for layout-specific settings), though there is no more any such setting at the moment. - Fixes a bug where loading a dictionary from outside does not initialize the flags. - Moves Flag to another class. Note: this needs I705ec68c to avoid breaking the build Change-Id: Ia7703aae3215b06c0b3cb792821649806e8998c1
* Refactoring keyboard drawing code and KeyDetectorTadashi G. Takaoka2011-04-151-3/+2
| | | | Change-Id: I55009bf38b1422301223bd90463f837562559dc5
* Auto mini keyboard layoutTadashi G. Takaoka2011-04-152-207/+1311
| | | | | Bug: 4280617 Change-Id: I34c344cbf350fe125589aa14ad69e4bd1f4e6f66
* Add different ways of reading the dictionary file.Jean Chalard2011-03-181-1/+3
| | | | | | | | | | | | | | | | | | This change adds basic support for an external dictionary provider. It adds methods for reading the dictionary itself from an asset in the dictionary provider package directly, obtaining the file name through the ContentProvider interface; it also adds a way of getting the data through an InputStream and copying the file locally. Incidentally this change also adds the code needed to listen for updating the dictionary provider package and reloading it in time. This change also goes hand-in-hand with Iab31db6e, which implements the small closed part of this. Issue: 3414944 Change-Id: I5e4fff99a59bb99dbdb002102db6c90e6cb41c8a
* Refactor BinaryDictionary a bitTadashi G. Takaoka2011-03-161-1/+1
| | | | | | | | | This changes: * Flag initialization code in BinaryDictionary to be more unit test friendly. * Removing unnecessary class hierarchy of LatinIME inner class WordAlternatives. * Formatting normalized score neatly. Change-Id: I9f10c093d4f36258fe883cf3fb10cbbda2770497
* Add whitelist dictionarysatok2011-03-081-1/+2
| | | | | | Bug: 3447571 Change-Id: I538e4e706982129b666ca1ab1085f1b68b69f87f
* Fix unit test helperTadashi G. Takaoka2011-03-031-0/+1
| | | | Change-Id: I161b451404bbecb30d8e229004786b9e9882e41c
* Add createKeyboardId helper methodTadashi G. Takaoka2011-02-254-8/+13
| | | | Change-Id: Ibb356e95e4acd965a0dfbf695de1cebcefc5cd9e
* Add proximity info to nativesatok2011-02-231-4/+4
| | | | | | Bug: 3311719 Change-Id: Ie596304070e321ad23fb67a13bf05e2b6af1b54b
* Add "passwordInput" attribute to case tag of KeyboardTadashi G. Takaoka2011-02-201-3/+4
| | | | | | | | This change also introduces number password (a.k.a. PIN) layout. The text password layout will follow. Bug: 3384942 Change-Id: I50b5e413e47a28d5285fd0468115e11ce46c7f18
* Fix unit test failureTadashi G. Takaoka2011-02-201-3/+3
| | | | Change-Id: I6814986f04a0cdf91837cfa60c7eca81a687236b
* Remove next letters frequency handlingTadashi G. Takaoka2011-02-171-1/+1
| | | | | Bug: 3428942 Change-Id: Id62f467ce4e50c60a56d59bf96770e799a4659e2
* Add method to retreive suggestions from SuggestionHelperTadashi G. Takaoka2011-02-141-0/+5
| | | | | Bug: 3414081 Change-Id: I96ffdd1c60fad933b32f7df023c51a9d10fcc53f
* Reorganize suggestion related unit testTadashi G. Takaoka2011-02-148-358/+500
| | | | | Bug: 3414081 Change-Id: Ie98c7935b25d17f1547955f8fb6ba2c5c1edb997
* Move and rename computeProximityThresholdTadashi G. Takaoka2011-02-081-1/+1
| | | | | | | | | | | Move and rename KeyboardView.computeProximityThreshold to KeyDetector.getMostCommonKeyWidth. And make it public for unit test use. This is a part of multi-project change (If751659a, Idb18f362) Bug: 3414081 Change-Id: If751659a53c7412f836d6d28866760ffe84b179b
* Automatically layout mini keyboardTadashi G. Takaoka2011-01-251-0/+312
| | | | | | Bug: 2214959 Change-Id: I06370e1c9e0683666ad19454a2fb501008af95c0
* Fix build breakageTadashi G. Takaoka2011-01-211-2/+2
| | | | Change-Id: I055d23c912f297c1958da0ba2c40b1d0843ff915
* Refine InputMethodInfo APIKen Wakasa2011-01-201-20/+7
| | | | | bug: 3370297 Change-Id: I16073e6b8b90a06a20e506dac66e3ca25b4712d0
* Add unit test for SubtypeLocaleTadashi G. Takaoka2011-01-171-0/+106
| | | | Change-Id: Id0605a64786b96176960b6ea0eb2add2f0c30a64
* Load main dic in nativeKen Wakasa2011-01-074-41/+7
| | | | | | | Follow up to Id57dce51 bug: 3219819 Change-Id: I00e11ef21d0252ffa88c12dffb9c55b0f2e19a66
* Remove multi-tap featureTadashi G. Takaoka2010-12-202-108/+80
| | | | Change-Id: Ife44b3f9d420d77d2cfb51044a8356f02ed63e8b
* Add popupKeyboardTemplate attribute to KeyboardTadashi G. Takaoka2010-12-172-0/+325
| | | | | | | | | | | | | | This change - introduces the popupKeyboardTemplate attribute of Keyboard to specify XML Keyboard file for popup mini keyboard. - introduces the maxPopupKeyboardColumn attribute of Keyboard to specify the maximum column of popup mini keyboard. - changes the content format of the popupCharacters attribute of Key. It now represents keyLabel, codes and keyTextOutput of each key of popup mini keyboard using CSV format. Bug: 2214959 Change-Id: I539e310f7e38a049ee193de0b4ad5d7afdce37b1
* Fix unit test to runTadashi G. Takaoka2010-12-161-2/+4
| | | | | | Note that two tests in SuggestTests fail. Commented out these for now. Change-Id: I652ffa1dd8e7b742ea0491ddd7efc14cea1430d4
* Fix auto correction threshold values array referenceTadashi G. Takaoka2010-12-131-8/+8
| | | | | | This change also removes unused argument from Suggest.getSuggestions(). Change-Id: I512f8695d22898bb906e136a66e0ee6b521cd1d1
* Introduce SuggestedWords class to represent suggestions listTadashi G. Takaoka2010-12-121-10/+10
| | | | Change-Id: I81677a785640d37296be8b42c7a74bd0c00edf46
* Remove Tutorial class and unused debug featureTadashi G. Takaoka2010-12-101-9/+0
| | | | | | | This change also cleanups compiler warnings. Bug: 2897373 Change-Id: If972cf45c1eb40436adbddbf71969e5409f4c9c5
* Remove LatinIME prefix from classesTadashi G. Takaoka2010-12-091-9/+9
| | | | | | This change also cleanups preference key string constants Change-Id: I58510f220a90d00d71a935731abeab87384675bb
* Move some inner static class to top class in new packageTadashi G. Takaoka2010-12-021-1/+1
| | | | | | | | | This change introduces new package com.android.inputmethod.keyboard which hosts keyboard related classes. Also adds missing @Override and @SuppressWarning("unused") annotation Change-Id: I0317f5cfa317e13f3c77815f48ffc69b5d1ade05
* Add an auto complete's threshold option.Mitsuhiro Shimoda2010-10-051-0/+107
| | | | Change-Id: I3a6821ced8642ab8f954e79a25e31766e4a18eb8
* Refactor SwipeTracker classTadashi G. Takaoka2010-08-261-0/+154
| | | | | | | | | This change moves SwipeTracker out from LatinKeyboardBaseView. Also this introduces EventBuffer class for swipe tracking buffer. Bug: 2910379 Change-Id: I48ff714226a248ca063cbaf9755cf45e458f7402
* Move ImeLoggerTests.java from package to vendorKen Wakasa2010-08-251-59/+0
| | | | Change-Id: I002dcd43b91f9a7911b52ef1d5b7b16acb01209d
* DO NOT MERGE. Backport LatinIME from master to Gingerbreadsatok2010-08-205-0/+725
TODO: Cleanup will follow. Change-Id: I4a68ba9f2f55760aa24187f1f13fdfa8a0b70963