aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com (follow)
Commit message (Expand)AuthorAgeFilesLines
* Use user-history bigrams when no input if available.•••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 Jean Chalard2011-04-221-0/+67
* Move language-specific keyboard setting to resources.•••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 Jean Chalard2011-04-201-1/+1
* Refactoring keyboard drawing code and KeyDetector•••Change-Id: I55009bf38b1422301223bd90463f837562559dc5 Tadashi G. Takaoka2011-04-151-3/+2
* Auto mini keyboard layout•••Bug: 4280617 Change-Id: I34c344cbf350fe125589aa14ad69e4bd1f4e6f66 Tadashi G. Takaoka2011-04-152-207/+1311
* Add different ways of reading the dictionary file.•••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 Jean Chalard2011-03-181-1/+3
* Refactor BinaryDictionary a bit•••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 Tadashi G. Takaoka2011-03-161-1/+1
* Add whitelist dictionary•••Bug: 3447571 Change-Id: I538e4e706982129b666ca1ab1085f1b68b69f87f satok2011-03-081-1/+2
* Fix unit test helper•••Change-Id: I161b451404bbecb30d8e229004786b9e9882e41c Tadashi G. Takaoka2011-03-031-0/+1
* Add createKeyboardId helper method•••Change-Id: Ibb356e95e4acd965a0dfbf695de1cebcefc5cd9e Tadashi G. Takaoka2011-02-254-8/+13
* Add proximity info to native•••Bug: 3311719 Change-Id: Ie596304070e321ad23fb67a13bf05e2b6af1b54b satok2011-02-231-4/+4
* Add "passwordInput" attribute to case tag of Keyboard•••This change also introduces number password (a.k.a. PIN) layout. The text password layout will follow. Bug: 3384942 Change-Id: I50b5e413e47a28d5285fd0468115e11ce46c7f18 Tadashi G. Takaoka2011-02-201-3/+4
* Fix unit test failure•••Change-Id: I6814986f04a0cdf91837cfa60c7eca81a687236b Tadashi G. Takaoka2011-02-201-3/+3
* Remove next letters frequency handling•••Bug: 3428942 Change-Id: Id62f467ce4e50c60a56d59bf96770e799a4659e2 Tadashi G. Takaoka2011-02-171-1/+1
* Add method to retreive suggestions from SuggestionHelper•••Bug: 3414081 Change-Id: I96ffdd1c60fad933b32f7df023c51a9d10fcc53f Tadashi G. Takaoka2011-02-141-0/+5
* Reorganize suggestion related unit test•••Bug: 3414081 Change-Id: Ie98c7935b25d17f1547955f8fb6ba2c5c1edb997 Tadashi G. Takaoka2011-02-148-358/+500
* Move and rename computeProximityThreshold•••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 Tadashi G. Takaoka2011-02-081-1/+1
* Automatically layout mini keyboard•••Bug: 2214959 Change-Id: I06370e1c9e0683666ad19454a2fb501008af95c0 Tadashi G. Takaoka2011-01-251-0/+312
* Fix build breakage•••Change-Id: I055d23c912f297c1958da0ba2c40b1d0843ff915 Tadashi G. Takaoka2011-01-211-2/+2
* Refine InputMethodInfo API•••bug: 3370297 Change-Id: I16073e6b8b90a06a20e506dac66e3ca25b4712d0 Ken Wakasa2011-01-201-20/+7
* Add unit test for SubtypeLocale•••Change-Id: Id0605a64786b96176960b6ea0eb2add2f0c30a64 Tadashi G. Takaoka2011-01-171-0/+106
* Load main dic in native•••Follow up to Id57dce51 bug: 3219819 Change-Id: I00e11ef21d0252ffa88c12dffb9c55b0f2e19a66 Ken Wakasa2011-01-074-41/+7
* Remove multi-tap feature•••Change-Id: Ife44b3f9d420d77d2cfb51044a8356f02ed63e8b Tadashi G. Takaoka2010-12-202-108/+80
* Add popupKeyboardTemplate attribute to Keyboard•••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 Tadashi G. Takaoka2010-12-172-0/+325
* Fix unit test to run•••Note that two tests in SuggestTests fail. Commented out these for now. Change-Id: I652ffa1dd8e7b742ea0491ddd7efc14cea1430d4 Tadashi G. Takaoka2010-12-161-2/+4
* Fix auto correction threshold values array reference•••This change also removes unused argument from Suggest.getSuggestions(). Change-Id: I512f8695d22898bb906e136a66e0ee6b521cd1d1 Tadashi G. Takaoka2010-12-131-8/+8
* Introduce SuggestedWords class to represent suggestions list•••Change-Id: I81677a785640d37296be8b42c7a74bd0c00edf46 Tadashi G. Takaoka2010-12-121-10/+10
* Remove Tutorial class and unused debug feature•••This change also cleanups compiler warnings. Bug: 2897373 Change-Id: If972cf45c1eb40436adbddbf71969e5409f4c9c5 Tadashi G. Takaoka2010-12-101-9/+0
* Remove LatinIME prefix from classes•••This change also cleanups preference key string constants Change-Id: I58510f220a90d00d71a935731abeab87384675bb Tadashi G. Takaoka2010-12-091-9/+9
* Move some inner static class to top class in new package•••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 Tadashi G. Takaoka2010-12-021-1/+1
* Add an auto complete's threshold option.•••Change-Id: I3a6821ced8642ab8f954e79a25e31766e4a18eb8 Mitsuhiro Shimoda2010-10-051-0/+107
* Refactor SwipeTracker class•••This change moves SwipeTracker out from LatinKeyboardBaseView. Also this introduces EventBuffer class for swipe tracking buffer. Bug: 2910379 Change-Id: I48ff714226a248ca063cbaf9755cf45e458f7402 Tadashi G. Takaoka2010-08-261-0/+154
* Move ImeLoggerTests.java from package to vendor•••Change-Id: I002dcd43b91f9a7911b52ef1d5b7b16acb01209d Ken Wakasa2010-08-251-59/+0
* DO NOT MERGE. Backport LatinIME from master to Gingerbread•••TODO: Cleanup will follow. Change-Id: I4a68ba9f2f55760aa24187f1f13fdfa8a0b70963 satok2010-08-205-0/+725