aboutsummaryrefslogtreecommitdiffstats
path: root/tests/res (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add label and icon to the test appSandeep Siddhartha2014-10-142-0/+22
| | | | | | | This helps us easilty distinguish between the different test targets visually. Bug: 17946996 Change-Id: I822a29cfb9b5bc5df3d93a884ffdf7d050737e04
* Add !string/<resource_name> referenceTadashi G. Takaoka2014-09-251-8/+10
| | | | | | | | | | | | | | | This CL introduces new text reference notation !string/<resource_name> to refer a string resource on the fly. This notation is mainly used to represent action key labels may refer a string in a system locale in run-time. This notation is needed to implement Hinglish and Serbian-Latin keyboards that need to refer its own action key labels. Bug: 17169632 Bug: 9687668 Change-Id: I042f6bd04714e0e448cd92031730eb9fb422e6d3
* Rename text resources consistentlyTadashi G. Takaoka2014-03-251-1/+1
| | | | | | | | | | | - keylabel_<key>, the key label text of the <key> - keyspec_<key>, the key specification of the <key> - keyhintlabel_<key>, the hint label text of the <key> - morekeys_<key>, the more keys specifications of the <key> - additional_morekeys_<key>, the additional more keys specification of the <key> Change-Id: Ib2127f21fa33a2568e8a6eba65cfdb2cf78b480e
* Fix KeySpecParserSplitTestsTadashi G. Takaoka2013-07-231-0/+3
| | | | Change-Id: Icf4525c735cda0330a3bd0f9628165ec722b64a8
* Fix confusable "label" usage, use "text" insteadTadashi G. Takaoka2012-04-201-9/+9
| | | | | | | | * Rename makelabel tool to maketext * Rename KeyboardLablesSet class to KeyboardTextsSet * Rename "!label/name" to "!text/name" Change-Id: Ia9494a89fe56f20ca8e8fedb253adbcf8b771bd3
* Make KeySpecParser case insensitiveTadashi G. Takaoka2012-04-201-0/+6
| | | | Change-Id: I76c3e9179dd8777d3cf3138ad76513d83672debf
* Generate KeyboardLabelsSet from donottranslate-more-keys.xmlTadashi G. Takaoka2012-04-111-3/+3
| | | | | | | | This change introduces makelabel tool that reads all languages' donottranslate-more-keys and generate KeyboardLabelsSet.java source file. The makelabel command must be invoked prior to compile LatinIME. Change-Id: I7515c7919c535e30f9c80a37bdc831d0f682cd43
* Remove obsolete testsTadashi G. Takaoka2012-03-021-0/+0
| | | | Change-Id: Ibfbe6b39580ae13e4c32fb2ceab7a6c6f3a24ccb
* Recursively resolve @string/resource reference in key key spec parsingTadashi G. Takaoka2012-02-031-0/+3
| | | | Change-Id: I9d172605e90e828e00f7c4c8d49548498aa3b50d
* Parse escaped sequence strictly in CSV parserTadashi G. Takaoka2012-02-021-0/+3
| | | | | | | | | | | | | | | This change alters the CSV parser behavior. The parser only resolves * String resource reference. ["@string/res" -> "<content_of_res>"] * Other occurrence of escape sequence will be intact. ["\x" -> "\x"] Before this change, escape sequence in moreKeys string is parsed three times. At first in parsing string resource, next in CSV parser, and at last in KeySpecParser. So that representing single escape character itself is a bit annoying, "\\\\\\\\". Now we can represent single escape character itself in string resource by "\\\\". Change-Id: Ib978e17b779cc82585eed8241ac3857508b14bc7
* Move string resources for unit test to donottranslate.xmlTadashi G. Takaoka2012-01-241-0/+0
| | | | | Bug: 5904617 Change-Id: I2eb677a4dd9686f87fec9f11051775a5c9c670a1
* Support @string reference in moreKeys attributeTadashi G. Takaoka2012-01-201-0/+50
| | | | Change-Id: If0056d0601149d2ddd0e231a81e7b2409b37fc06
* Fix SuggestTestsTadashi G. Takaoka2012-01-131-0/+0
| | | | | | | We need revised scoring test because dictionary look up algorithm has been changed significantly since this SuggestTests was made. Change-Id: I69d527a6bfa24ed0dc189fddad1afab0566c6eb8
* Code cleanupKen Wakasa2011-08-161-24/+0
| | | | Change-Id: I7df8c813038adec750eda260740bcc8a4da41acf
* - separate dict (uses xml)Jae Yong Sung2010-07-281-0/+24
| | | | | | | | | | - retrieve bigrams that only starts with character typed and neighbor keys - contacts bigram - performance measure bug: 2873133 Change-Id: If97c005b18c82f3fafef50009dd2dfd972b0ab8f
* added bigram predictionJae Yong Sung2010-07-131-0/+0
| | | | | | | | | - after first character, only suggests bigram data (but doesn't autocomplete) - after second character, words from dictionary gets rearranged by using bigram - compatible with old dictionary - added preference option to disable bigram Change-Id: Ia8f4e8fa55e797e86d858fd499887cd396388411
* Tests and some new constructors to help in testing.Amith Yamasani2010-05-071-0/+0
Added tests for the dictionary lookup and correction logic on the primary dictionary. This exercises part of the Suggest class and the native dictionary lookup code.