aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/utils/StringUtils.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Move StringUtils under common.•••Bug: 18108776 Change-Id: Ia46a4102a0e86e71118ca5e641f9f531998e166b Jean Chalard2014-10-281-630/+0
* Reduce StringUtils dependency on the Android libs•••Bug: 18108776 Change-Id: I43feb25d79f89276d44462ba71788a14c4583277 Jean Chalard2014-10-281-65/+66
* Move Constants.java to the latin.common package•••Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d Ken Wakasa2014-10-231-4/+2
* Fix Javadoc and null analysis related warnings•••This CL also adds @SuppressWarning("unused" to java-overridable package. Bug: 18003991 Change-Id: If70527e30654384705d7a814f5efd181d9f539e1 Tadashi G. Takaoka2014-10-231-3/+3
* resolved conflicts for merge of 233a2f21 to master•••Change-Id: If391cc622367dfb4448c6a5c32b82111d352d86e Yohei Yukawa2014-09-181-0/+34
|\
| * Use Add-To-Dictionary indicator only•••With this CL, the previously used commit indicator was reverted. Instead we use the add-to-dictionary indicator only at the moment. This CL also fixes the indicator position in bidi context. BUG: 17335734 Change-Id: I5f7cf173ddc30876e2b01320acaff8ba4265edf6 Yohei Yukawa2014-09-181-0/+34
* | Straighten the dead char implementation, take 3.•••Change-Id: I4f70f6eebe076c7d2b780d25e3a2c1d3faa2edfa Jean Chalard2014-08-281-2/+2
* | Revert "Straighten the dead char implementation."•••This reverts commit 5ef447aeea97c755008785b36468715922b7ccc1. Reverting because this broke a bunch of unit tests -- https://sponge.corp.google.com/target?id=b6439742-099e-46cb-8f00-d0c602a4d9bb&target=com.google.android.inputmethod.latin.tests&searchFor=&show=FAILED&sortBy=STATUS Change-Id: Ibbd9e11372993f62e630fd9da37158ffcf47c17a Ken Wakasa2014-08-271-2/+2
* | Straighten the dead char implementation.•••This now supports all cases, including cases not supported by the framework. Now rebased on top of the right change, and renamed Change-Id: I7886f0dcbb86cdb4dccec09aa7c52ad339680e04 Jean Chalard2014-08-271-2/+2
* | Revert "[HW17] Straighten the dead char implementation."•••This reverts commit c6612ff05185503bedc56dc610aa300d01be2e82. Change-Id: I750d9bff9cb89a6ab13af7a33567c3a0fe2af381 Jean Chalard2014-08-221-2/+2
* | [HW17] Straighten the dead char implementation.•••This now supports all cases, including cases not supported by the framework. Change-Id: I9dfbe2829c28c5bcb64b0b5a2551e7806990c00f Jean Chalard2014-08-221-2/+2
|/
* Enable StringUtils to split CharSequence like String#split•••This is a groundwork for enabling LocaleSpan. To enable LocaleSpan everywhere, we need to switch to CharSequence from String so that Span infromation can be preserved end-to-end. To achieve this, we need to have CharSequence version of String#split. BUG: 16029304 Change-Id: I0dd103185dcf62fb1e25054a374340790e6a4678 Yohei Yukawa2014-07-191-0/+52
* Remove dead code to fix test failure due to NoSuchMethodError•••This CL removes following methods from StringUtils, which are no longer used since Id3c262386a7bc7ed75966b1395a50171abe550d3. - #joinCommaSplittableText - #appendToCommaSplittableTextIfNotExists BUG: 16000850 Change-Id: Ibdc9b7e463a19cdfac788b24c0a6322d0c5850c5 Yohei Yukawa2014-07-041-25/+0
* Revert "Move getPrevWordsInfoFromNthPreviousWord to StringUtlis."•••This reverts commit ba463c9a66f75e8d00f4658e32b763eb54215231 that broke the dicttool build. Bug: 14425059 Change-Id: Ie1685587104d26e4416624747c97f6087c13388a Ken Wakasa2014-06-271-77/+0
* Move getPrevWordsInfoFromNthPreviousWord to StringUtlis.•••Bug: 14425059 Change-Id: I3eb24e840c165e43f68c2a60fccf9974affb57a6 Keisuke Kuroyanagi2014-06-271-0/+77
* Remove a useless method•••Change-Id: I21a4219f682f43f4a84b1ab12d00dd930b35caa1 Jean Chalard2014-06-101-18/+0
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-241-2/+1
* Fix: StringIndexOutOfBoundsException.•••Bug: 14985751 Change-Id: I9df2f737555ab02e24e0fbd231a97c1eec26bc57 Keisuke Kuroyanagi2014-05-161-0/+9
* [CB25] Refactor some array copying•••Bug: 13406701 Change-Id: I09edd822f5cc2446b324d41c76d835bcff1191e6 Jean Chalard2014-04-091-2/+31
* [CB17] Remove a member.•••Bug: 13406701 Change-Id: I2e271f637f6b529a4191a7adc5cdfa5af437761b Jean Chalard2014-04-021-8/+9
* Add ActualKeyboardBuilder for testing keyboard layouts•••Bug: 13017434 Change-Id: I38b1f5c261ea1f3ff312c780d7d9b5fe3fba8aaf Tadashi G. Takaoka2014-03-071-0/+40
* Add a utility method to StringUtils.•••Bug: 12810574 Change-Id: I607803e924b9e99855df7690e67488b2861c120e Keisuke Kuroyanagi2014-02-041-1/+19
* Move some methods to StringUtils•••Change-Id: I29d87fdd65ec879d1c0bdf7e7792a677687c1693 Tadashi G. Takaoka2014-01-311-0/+18
* Try to figure out whether d.quotes open or close.•••Bug: 8911672 Change-Id: I5d5635949530a67f95e5208986907251b7bce903 Jean Chalard2014-01-271-1/+43
* [IL71.1] Add some javadoc.•••Change-Id: I382abd3104d535a1e868935d8cfb4e34ad8ebaed Jean Chalard2014-01-231-0/+7
* [IL71] Add indices to toCodePointArray.•••This is necessary for tests Bug: 8636060 Change-Id: I50ea401a22e4df72333eda61ca39aa180966ee4b Jean Chalard2014-01-231-2/+8
* Use sorted int[] to represent word separators•••Change-Id: I4103541d99fe59bfcf12379a1298a0a690497846 Tadashi G. Takaoka2014-01-201-9/+9
* Add SpacingAndPunctuationsTests•••Change-Id: I78d488ad84a11af809ee1f8d3d2fa01a89fbfa28 Tadashi G. Takaoka2014-01-201-0/+7
* Fix build.•••Change-Id: I6d0b572190080e58e95f72856ad39e72a49537b7 Jean Chalard2014-01-101-26/+0
* Passing SpacingAndPunctuations to StringUtils.looksValidForDictionaryInsertion•••This change must be checked in together with Iec437d6df0. Change-Id: Idf745b8870965f3bdf690de7ff3b22f83f6204bf Tadashi G. Takaoka2014-01-091-6/+3
* Fix a bug with languages without spaces and predictions•••This is simpler and more correct. Change-Id: I41806d2fc12b4ca25f76e32972b38f91f3d05c2b Jean Chalard2013-12-161-0/+18
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20c•••The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854 Ken Wakasa2013-12-131-76/+24
* Fix wrong commitText parameter in sendKeyCodePoint()•••Small optimization on generating a String instance from a single code point too. bug: 11181913 Change-Id: I0f905e4dc6ec7841092bb4d3d940daf3b2303f5b Ken Wakasa2013-10-131-0/+10
* Fix the offdevice regression test build•••Followup to If4e44eca3cdc5bb02cf2e0c8c44ecd4bf27fae57 bug: 10622489 Change-Id: If98b2c75725f8692f0c2b41c33e448086404479b Ken Wakasa2013-09-251-89/+0
* Copy only the spans we are interested in.•••The PARAGRAPH type of span is dangerous, as concatenating CharSequences that contain it may crash. We also don't use other spans than SuggestionSpans, so we don't copy them. Bug: 10622489 Change-Id: If4e44eca3cdc5bb02cf2e0c8c44ecd4bf27fae57 Jean Chalard2013-09-241-0/+89
* Fix Emoji recents•••Bug: 10538430 Change-Id: Ia2e423eb1843195b3c3218afc79a5820b8cd729b Satoshi Kataoka2013-09-181-2/+74
* Consolidate hex string utils•••Change-Id: Id4f4a287e3a2790b22bff7ad4a4617bf2ee82884 Satoshi Kataoka2013-08-191-0/+7
* Add hex string utils•••Bug: 9429906 Change-Id: I3267d1d86122ab471c3e63008c73e9f9b758fc8e Satoshi Kataoka2013-08-161-0/+26
* Fix test breakage•••Change-Id: I10bd8fcc68711a039e000f715d7a65ae42095965 Satoshi Kataoka2013-08-141-0/+2
* Add a method to import one bigram and string utilities•••Bug: 9429906 Change-Id: I73bbf65985196d62470552c576bb076a7cb95008 Satoshi Kataoka2013-08-141-0/+10
* Add looksValidForDictionaryInsertion•••...and test it. Also at the same time, add a facility to create a SettingsValues for test, and some minor performance improvement to surrounding methods. Change-Id: I13b629ae14755c244af2a9406a7e9b4a4a16090f Jean Chalard2013-08-141-4/+33
* Move util classes to the latin/utils directory•••Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa Ken Wakasa2013-06-241-0/+319