Commit Graph

31794 Commits (3d972f85d21716098cdc9fb11a8cee5cecddfc1a)

Author SHA1 Message Date
Jean Chalard 5feda45a6f Merge "[CB15] Remove a redundant variable." 2014-03-27 08:05:23 +00:00
Jean Chalard 05c46f59fd [CB16] Remove unused stuff
Bug: 13406701
Change-Id: Ib863c5181e1f5d74cfa4458060afc49d1ee8109e
2014-03-27 16:47:30 +09:00
Jean Chalard 0de7a6d1a2 [CB15] Remove a redundant variable.
This is a tiny bit slower, but probably unnoticeable.
Still, it gains some performance in other places,
saves memory, and more importantly makes for simpler
code, so it's certainly better.

Change-Id: Id1ab4f73f71acd73f5920bc729817abd22cf0d07
2014-03-27 16:47:27 +09:00
Keisuke Kuroyanagi 83ef574f56 am 6008898b: Merge "Move code only used for dicttool and tests under tests."
* commit '6008898b99a14ecdf87f90311c47799e2159d1c8':
  Move code only used for dicttool and tests under tests.
2014-03-27 06:40:43 +00:00
Keisuke Kuroyanagi 6008898b99 Merge "Move code only used for dicttool and tests under tests." 2014-03-27 06:37:10 +00:00
Keisuke Kuroyanagi 93cda5bb39 Move code only used for dicttool and tests under tests.
Bug: 13035567
Change-Id: I13c6df013ef2b67c9bf67455d9c32d283bf9ea2e
2014-03-27 15:30:32 +09:00
Keisuke Kuroyanagi 79fccd5432 am 3c38e1f2: Merge "Fix: NPE in isValidWord after dictionaries are closed."
* commit '3c38e1f269ad34a663db672e5cfb291fb1931987':
  Fix: NPE in isValidWord after dictionaries are closed.
2014-03-27 03:16:40 +00:00
Keisuke Kuroyanagi 3c38e1f269 Merge "Fix: NPE in isValidWord after dictionaries are closed." 2014-03-27 03:12:07 +00:00
Keisuke Kuroyanagi 7b516d496d Fix: NPE in isValidWord after dictionaries are closed.
Bug: 13650542
Change-Id: I1bdc838fca48d6ef12db5e70d40273d1236128d1
2014-03-27 12:03:58 +09:00
Tadashi G. Takaoka f60c43d34a am 94f111f8: Remove "sRGB IEC61966-2.1" profile to supress libpng warning
* commit '94f111f88176063aad45622a914a662a9e992c2f':
  Remove "sRGB IEC61966-2.1" profile to supress libpng warning
2014-03-27 02:53:46 +00:00
Tadashi G. Takaoka 94f111f881 Remove "sRGB IEC61966-2.1" profile to supress libpng warning
The above ICC profile causes the following libpng warnings while APK
packaging.

* libpng warning: iCCP: known incorrect sRGB profile
* libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not
  permitted on grayscale PNG

Bug: 11869853
Change-Id: Ida296d9e3bbd2abaae7c7500d77c8dc54d8b2382
2014-03-27 11:37:52 +09:00
Ken Wakasa 582f30bdae am a8cd7647: Merge "RegisterNatives() returns 0 on success."
* commit 'a8cd7647fe99e39a828f476d6685000c2afedb05':
  RegisterNatives() returns 0 on success.
2014-03-27 02:26:57 +00:00
Ken Wakasa a8cd7647fe Merge "RegisterNatives() returns 0 on success." 2014-03-27 02:20:58 +00:00
Tadashi G. Takaoka ba5720b927 am 4cb15268: Fix crash while entering emoticons
* commit '4cb152682d1ebb09b7a5356e81b78b7fed11de69':
  Fix crash while entering emoticons
2014-03-27 02:15:52 +00:00
Tadashi G. Takaoka 4cb152682d Fix crash while entering emoticons
Bug: 13652919
Change-Id: Idd66240ac882fa890cfb28a477403ee09dc716ce
2014-03-27 11:08:11 +09:00
Baligh Uddin a0ea344cc7 Import translations. DO NOT MERGE
Change-Id: Ia5b2ec8549346f3b4b1c2ffd569abde6cdecae3e
Auto-generated-cl: translation import
2014-03-26 17:32:17 -07:00
Baligh Uddin d357d960a0 Import translations. DO NOT MERGE
Change-Id: I3edab05b4043bb083b1b5286b3b08d4d23e272ad
Auto-generated-cl: translation import
2014-03-26 17:31:04 -07:00
Ken Wakasa 63b48311b0 RegisterNatives() returns 0 on success.
cf. http://docs.oracle.com/javase/6/docs/technotes/guides/jni/spec/functions.html#wp5833

Change-Id: I2c599f2d8765a7475c7076e6b049f77ad79feb79
2014-03-26 20:47:14 +09:00
Tadashi G. Takaoka 70f8f4453e am 317075e0: Merge "Suppress warnings related to string resource"
* commit '317075e00dc3e2eaa097604e7b1dc36ee1c61299':
  Suppress warnings related to string resource
2014-03-26 03:15:58 -07:00
Tadashi G. Takaoka 317075e00d Merge "Suppress warnings related to string resource" 2014-03-26 10:12:52 +00:00
Tadashi G. Takaoka 65ed97a31d am c4b558d3: Merge "Rename text resources consistently"
* commit 'c4b558d375c6db58bb976b8d089aa157e54534b8':
  Rename text resources consistently
2014-03-26 03:10:21 -07:00
Tadashi G. Takaoka c4b558d375 Merge "Rename text resources consistently" 2014-03-26 10:06:34 +00:00
Tadashi G. Takaoka a95e306d7f Suppress warnings related to string resource
Change-Id: I03073981313ae4f10a12b32ed9f524d0d50c2aa7
2014-03-26 19:05:29 +09:00
Baligh Uddin e986e036ed am f6422f06: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'f6422f06953e7720f33ddecb9f76efcfaae742a9':
  Import translations. DO NOT MERGE
2014-03-25 13:49:28 -07:00
Baligh Uddin b6091d1442 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-03-25 20:42:44 +00:00
Baligh Uddin f6422f0695 Merge "Import translations. DO NOT MERGE" 2014-03-25 20:42:42 +00:00
Jean Chalard c170d27976 am 071b9c1a: Merge "[CB14] Implement backspace in the combiner chain"
* commit '071b9c1a054bd2bfe3131572de02b30442b01ea3':
  [CB14] Implement backspace in the combiner chain
2014-03-25 03:49:37 -07:00
Jean Chalard 071b9c1a05 Merge "[CB14] Implement backspace in the combiner chain" 2014-03-25 10:46:32 +00:00
Keisuke Kuroyanagi b872061ab2 am eddbb7ac: Merge DicNodeStatePrevWord into DicNoteStateOutput.
* commit 'eddbb7ac88c3174ffdc38a9dd799029302f55d03':
  Merge DicNodeStatePrevWord into DicNoteStateOutput.
2014-03-25 02:25:19 -07:00
Keisuke Kuroyanagi 90f6411899 Remove DicNode.isFirstWord().
Change-Id: I825c0f7cf1fcf66c6309e0bab8e0fdd767170107
2014-03-25 18:07:14 +09:00
Keisuke Kuroyanagi eddbb7ac88 Merge DicNodeStatePrevWord into DicNoteStateOutput.
Before:
(0)  2232.70 (0.86%)
(1)  255258.50 (98.89%)
(2)  585.73 (0.23%)
(66)  0.26 (0.00%)
Total 258126.46 (sum of others 258077.18)

After:
(0)  2249.23 (0.93%)
(1)  239883.63 (98.83%)
(2)  554.82 (0.23%)
(66)  0.35 (0.00%)
Total 242734.38 (sum of others 242688.04)

Change-Id: I9760cae5b98b3d1f4804b6b60317887eaa3ff71c
2014-03-25 18:07:09 +09:00
Jean Chalard 1079665c3c [CB14] Implement backspace in the combiner chain
Bug: 13622107
Bug: 13406701
Change-Id: I0023b398c4451253f9f717e2bd990b8a054004bc
2014-03-25 17:57:03 +09:00
Keisuke Kuroyanagi ab0f3721fa am adfb2627: Remove logic related to dictionary loading from LatinIME.
* commit 'adfb262797023c4ca57bb470e547f90c88f638ca':
  Remove logic related to dictionary loading from LatinIME.
2014-03-24 23:46:24 -07:00
Keisuke Kuroyanagi adfb262797 Remove logic related to dictionary loading from LatinIME.
Make mSuggest final and give DictionaryFacilitator the
responsibility to manage dictionary loading state.
This can simplify the logic to decide how to deal with
additional dictionaries when loading settings or language
switching.

Bug: 13273534
Change-Id: I9f3d328272f25addfa186fbeedaaf8417455ba99
2014-03-25 15:35:20 +09:00
Tadashi G. Takaoka 393efd94e5 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
2014-03-25 13:02:09 +09:00
Tadashi G. Takaoka 0430f94e94 am 37b9562f: Fix talk back of emoji key
* commit '37b9562fd7b593c90d7ab383ec650f39a7c0f621':
  Fix talk back of emoji key
2014-03-24 20:12:18 -07:00
Tadashi G. Takaoka 37b9562fd7 Fix talk back of emoji key
Bug: 13629734
Change-Id: Ifff6f81c2ac99a32855cd333b3d9a01ad7155ffc
2014-03-25 11:58:59 +09:00
Baligh Uddin ea091b31a1 Import translations. DO NOT MERGE
Change-Id: If1481b48b8c94b80932584893c29d9218f3c3ebd
Auto-generated-cl: translation import
2014-03-24 16:32:00 -07:00
Baligh Uddin 6e7d2d9df8 Import translations. DO NOT MERGE
Change-Id: I472d53517a09d9f5610f5d893c096d5915ec2f4e
Auto-generated-cl: translation import
2014-03-24 16:30:59 -07:00
Yohei Yukawa 9aa2f8a764 am 8f1aba2e: Merge "Check null before passing to Integer.parseInt"
* commit '8f1aba2e25837a7737ab463f6580b6238407a635':
  Check null before passing to Integer.parseInt
2014-03-24 07:26:38 -07:00
Yohei Yukawa 8f1aba2e25 Merge "Check null before passing to Integer.parseInt" 2014-03-24 14:21:27 +00:00
Keisuke Kuroyanagi 683889298e am cf88cf65: Add a check for ForgettingCurveUtils::decodeProbability.
* commit 'cf88cf65936962373797d14694011b15d0f4c5f0':
  Add a check for ForgettingCurveUtils::decodeProbability.
2014-03-24 05:29:06 -07:00
Jean Chalard b2117af988 am a1719522: Merge "[CB13] Remove an unused method."
* commit 'a17195224b132563055bef762fda0f0d6840adcf':
  [CB13] Remove an unused method.
2014-03-24 05:29:03 -07:00
Keisuke Kuroyanagi 2923329b05 am 9695342f: Merge "Add boundary check for SparseTable."
* commit '9695342ff663954570c8172ac2e427c96ed2958f':
  Add boundary check for SparseTable.
2014-03-24 05:29:00 -07:00
Jean Chalard 8e73ea1aa5 am cbed462d: [CB12] Reset the combining state when resetting the composer
* commit 'cbed462d192d0c5af9614f5f997b2768f3d0eb56':
  [CB12] Reset the combining state when resetting the composer
2014-03-24 05:28:58 -07:00
Keisuke Kuroyanagi 750e3a4673 am 628a6484: Merge "Fix: wrong size checking in SparseTable."
* commit '628a64847c3313e36e21e6d2a4960c7aace989c7':
  Fix: wrong size checking in SparseTable.
2014-03-24 05:28:55 -07:00
Jean Chalard 12ee0d3a5a am 7f0e5fa6: Merge "[CB11] Get the result of the combination"
* commit '7f0e5fa66c7238b91999627dc8e75d234c1d9e75':
  [CB11] Get the result of the combination
2014-03-24 05:28:52 -07:00
Yohei Yukawa f1f5ed542d Check null before passing to Integer.parseInt
Just after user data is cleared, user preference associated with
PREF_KEYBOARD_LAYOUT is always empty. In such case, we might
want to return the default value immediately, rather than
calling Integer.parseInt(null) and catching NumberFormatException
unnecessarily.

BUG: 13472379
Change-Id: I8dca9a22780d057013c032bd1f56e730dcada3ce
2014-03-24 20:54:03 +09:00
Keisuke Kuroyanagi cf88cf6593 Add a check for ForgettingCurveUtils::decodeProbability.
Bug: 13607383
Change-Id: I1a56c52173d0e458864e65fb1c1f4603c0c81c6f
2014-03-24 11:11:07 +00:00
Jean Chalard a17195224b Merge "[CB13] Remove an unused method." 2014-03-24 10:22:19 +00:00