aboutsummaryrefslogtreecommitdiffstats
path: root/tests/res (follow)
Commit message (Expand)AuthorAgeFilesLines
* Update language to comply with Android's inclusive language guidance•••See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Change-Id: I171bc299e660f96f20041a67a3052bd8a2ed781c Jeff Sharkey2020-07-311-1/+1
* Add label and icon to the test app•••This helps us easilty distinguish between the different test targets visually. Bug: 17946996 Change-Id: I822a29cfb9b5bc5df3d93a884ffdf7d050737e04 Sandeep Siddhartha2014-10-142-0/+22
* Add !string/<resource_name> reference•••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 Tadashi G. Takaoka2014-09-251-8/+10
* Rename text resources consistently•••- 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 Tadashi G. Takaoka2014-03-251-1/+1
* Fix KeySpecParserSplitTests•••Change-Id: Icf4525c735cda0330a3bd0f9628165ec722b64a8 Tadashi G. Takaoka2013-07-231-0/+3
* Fix confusable "label" usage, use "text" instead•••* Rename makelabel tool to maketext * Rename KeyboardLablesSet class to KeyboardTextsSet * Rename "!label/name" to "!text/name" Change-Id: Ia9494a89fe56f20ca8e8fedb253adbcf8b771bd3 Tadashi G. Takaoka2012-04-201-9/+9
* Make KeySpecParser case insensitive•••Change-Id: I76c3e9179dd8777d3cf3138ad76513d83672debf Tadashi G. Takaoka2012-04-201-0/+6
* Generate KeyboardLabelsSet from donottranslate-more-keys.xml•••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 Tadashi G. Takaoka2012-04-111-3/+3
* Remove obsolete tests•••Change-Id: Ibfbe6b39580ae13e4c32fb2ceab7a6c6f3a24ccb Tadashi G. Takaoka2012-03-021-0/+0
* Recursively resolve @string/resource reference in key key spec parsing•••Change-Id: I9d172605e90e828e00f7c4c8d49548498aa3b50d Tadashi G. Takaoka2012-02-031-0/+3
* Parse escaped sequence strictly in CSV parser•••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 Tadashi G. Takaoka2012-02-021-0/+3
* Move string resources for unit test to donottranslate.xml•••Bug: 5904617 Change-Id: I2eb677a4dd9686f87fec9f11051775a5c9c670a1 Tadashi G. Takaoka2012-01-241-0/+0
* Support @string reference in moreKeys attribute•••Change-Id: If0056d0601149d2ddd0e231a81e7b2409b37fc06 Tadashi G. Takaoka2012-01-201-0/+50
* Fix SuggestTests•••We need revised scoring test because dictionary look up algorithm has been changed significantly since this SuggestTests was made. Change-Id: I69d527a6bfa24ed0dc189fddad1afab0566c6eb8 Tadashi G. Takaoka2012-01-131-0/+0
* Code cleanup•••Change-Id: I7df8c813038adec750eda260740bcc8a4da41acf Ken Wakasa2011-08-161-24/+0
* - separate dict (uses xml)•••- retrieve bigrams that only starts with character typed and neighbor keys - contacts bigram - performance measure bug: 2873133 Change-Id: If97c005b18c82f3fafef50009dd2dfd972b0ab8f Jae Yong Sung2010-07-281-0/+24
* added bigram prediction••• - 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 Jae Yong Sung2010-07-131-0/+0
* Tests and some new constructors to help in testing.•••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. Amith Yamasani2010-05-071-0/+0