Commit graph

8494 commits

Author SHA1 Message Date
Jean Chalard
a7d0ab80a0 Fix an off-by-one error.
These variables were meant to represent the (x,y) coordinate of the
last pixel of the grid, to avoid going one pixel too far. But the last
pixel of the grid, of course, has coord (width - 1, height - 1).

This bug only ever happens in a rare case because to reproduce,
it needs the right (resp. bottom) coordinate of the rightmost
(resp. bottommost) plus the threshold plus half the grid width
(resp. height) to be exactly the number of pixels of the grid,
which is pretty unlikely... unless there are more tiles in the
grid than pixels on the screen, in which case the grid width is
1 and this becomes likely.

This fixes the fencepost error and renames the variables to
clarify their meaning.

Bug: 10537485
Change-Id: Iecfe2c0f29ee17776ee2cceaa4b1db722276b1f3
2013-09-19 13:43:09 +09:00
Ken Wakasa
8cbb86ead5 am 142d68cf: Disable Nepali layouts temporarily per product call
* commit '142d68cfd034d452c8119c014b55d199efdeae52':
  Disable Nepali layouts temporarily per product call
2013-09-18 21:17:42 -07:00
Satoshi Kataoka
dea94e992d Show emoji key on PC layout
Bug: 10812167
Change-Id: Ie1e22a1651f8ec40e4078c01d161d6c113de582e
2013-09-19 13:17:33 +09:00
Keisuke Kuroyanagi
40f66795a2 Quit skipping user history dictionary for gesture.
Bug: 6669677
Change-Id: Id4344f2a30e9827f210055d6c65ee7776d3a63e3
2013-09-19 13:12:11 +09:00
Ken Wakasa
142d68cfd0 Disable Nepali layouts temporarily per product call
bug: 6910787
bug: 9833890
Change-Id: Id58cdf117d145c03c96f8737a12bb1b11bd4e636
2013-09-19 13:02:12 +09:00
Satoshi Kataoka
1866b90f0f am 7635ada2: Merge "Fix test in SubtypeLocaleUtilsTests"
* commit '7635ada2463730ab9e356922bb21cf5cf2a2716e':
  Fix test in SubtypeLocaleUtilsTests
2013-09-18 19:57:29 -07:00
Satoshi Kataoka
7635ada246 Merge "Fix test in SubtypeLocaleUtilsTests" 2013-09-19 02:53:57 +00:00
Satoshi Kataoka
cf08ddbdb7 Fix test in SubtypeLocaleUtilsTests
Change-Id: I4f7bf70ec7a0a67ad5d2129afed314b1b1a93a6c
2013-09-19 11:45:11 +09:00
Jean Chalard
dbb3b98a1d am 86780628: Merge "Fix an NPE."
* commit '8678062853291f46ea0b994375b251b6604c42a6':
  Fix an NPE.
2013-09-18 05:44:36 -07:00
Jean Chalard
1defb939c5 am 08bc97f8: Merge "Allow double-space-to-period after a plus char"
* commit '08bc97f86fd82b51a59e1d0c6532b093c54dd3b5':
  Allow double-space-to-period after a plus char
2013-09-18 05:44:34 -07:00
Jean Chalard
8678062853 Merge "Fix an NPE." 2013-09-18 12:42:16 +00:00
Jean Chalard
08bc97f86f Merge "Allow double-space-to-period after a plus char" 2013-09-18 12:40:29 +00:00
Jean Chalard
673275cbc6 Fix an NPE.
Apparently, it is possible that File#getPath() returns null.
In this case, we'll have a null AssetFileAddress and an NPE
later down the road.

Bug: 9944824
Change-Id: Id6ceac1cb55439660f9811cf0fe3b574200d5a20
2013-09-18 21:39:30 +09:00
Jean Chalard
ba99d8cd0b Allow double-space-to-period after a plus char
Bug: 10704936
Change-Id: I30fdaea648605ef7e7fea6c093581ed5c6de03f3
2013-09-18 21:04:25 +09:00
Satoshi Kataoka
3d184ea47b am 957a2337: Merge "Set EmojiCapable"
* commit '957a2337eee3a075957d6c397396996febd78982':
  Set EmojiCapable
2013-09-18 01:52:26 -07:00
Satoshi Kataoka
85df7bcd6c am 8837deab: Merge "Fix Emoji recents"
* commit '8837deab730658c67e64c92548168e4aaab1ebc2':
  Fix Emoji recents
2013-09-18 01:49:14 -07:00
Satoshi Kataoka
957a2337ee Merge "Set EmojiCapable" 2013-09-18 08:48:35 +00:00
Satoshi Kataoka
8837deab73 Merge "Fix Emoji recents" 2013-09-18 08:46:25 +00:00
Satoshi Kataoka
ea7bfa5cd5 Fix Emoji recents
Bug: 10538430

Change-Id: Ia2e423eb1843195b3c3218afc79a5820b8cd729b
2013-09-18 17:44:16 +09:00
Ken Wakasa
3255b9dad5 am 256937b4: Merge "Fix getChildrenPosition."
* commit '256937b475a8183ac8bfa7964188071497d4fe7d':
  Fix getChildrenPosition.
2013-09-18 01:38:37 -07:00
Ken Wakasa
256937b475 Merge "Fix getChildrenPosition." 2013-09-18 08:36:48 +00:00
Satoshi Kataoka
51f275d8be Set EmojiCapable
Bug: 10240645
Change-Id: I891309c2a82f8d10f8fdb0872403a7a235e27b5f
2013-09-18 17:29:23 +09:00
Jean Chalard
6e0bdd58be am 59418672: Merge "Don\'t resume suggestion on digits."
* commit '59418672a140db38b9f17fee6d7df399897fbb39':
  Don't resume suggestion on digits.
2013-09-18 00:09:05 -07:00
Jean Chalard
59418672a1 Merge "Don't resume suggestion on digits." 2013-09-18 07:05:01 +00:00
Keisuke Kuroyanagi
7b303cf648 am 4ad4b9d9: Merge "Fix contacts/user dictionary writing."
* commit '4ad4b9d976c4d269a4cce8373b284279b851c90c':
  Fix contacts/user dictionary writing.
2013-09-18 00:02:36 -07:00
Keisuke Kuroyanagi
4ad4b9d976 Merge "Fix contacts/user dictionary writing." 2013-09-18 07:00:58 +00:00
Yuichiro Hanada
d0c87576ff Fix getChildrenPosition.
Change-Id: Ic39592dbf0d4e6d2e4879cdb1a95b65d46a57e92
2013-09-18 15:50:10 +09:00
Keisuke Kuroyanagi
0011ab4bf3 Fix contacts/user dictionary writing.
Bug: 10743878
Change-Id: I5d61b7955ef69a635f994f01cc575fb23fdf942b
2013-09-18 15:31:06 +09:00
Keisuke Kuroyanagi
bb11d26649 am 9465819c: Merge "Add BinaryDictionary.getBigramProbabilityNative()."
* commit '9465819cf6f2e6c2074daaae60c5efc0c170185e':
  Add BinaryDictionary.getBigramProbabilityNative().
2013-09-17 21:12:09 -07:00
Keisuke Kuroyanagi
9465819cf6 Merge "Add BinaryDictionary.getBigramProbabilityNative()." 2013-09-18 04:10:38 +00:00
Jean Chalard
f71e1db2da Don't resume suggestion on digits.
Bug: 10780016
Change-Id: I94fad06e4c71eddc96bdda1765925f98bed160f3
2013-09-18 11:37:19 +09:00
Keisuke Kuroyanagi
4d02a2d44d Add BinaryDictionary.getBigramProbabilityNative().
Bug: 10197478
Change-Id: Id16e3ee22a17679c46cc7a0199a9e28065177aa3
2013-09-18 11:18:28 +09:00
Jean Chalard
ef518bfd1c am 9b78241d: Merge "Improve trailing quotes processing"
* commit '9b78241dff6b785408ae19512f6875e63771b349':
  Improve trailing quotes processing
2013-09-17 06:45:48 -07:00
Jean Chalard
e8f717943f Improve trailing quotes processing
Bug: 10445496
Change-Id: Ib7bd05aea59ae6c9b8ce31299ef2235521b0e350
2013-09-17 22:17:22 +09:00
Jean Chalard
ae08b27cd6 am 060917ed: [AC9] Resize an array
* commit '060917ed9abff0e777e6b99e43cc4b826d1ac0c8':
  [AC9] Resize an array
2013-09-17 03:23:05 -07:00
Jean Chalard
060917ed9a [AC9] Resize an array
It's not easy for native code to only output the first
result, so let's supply enough room for it to output all.

Bug: 9059617
Change-Id: Ie93b7e54284c8c5d01fdc15846cf52d3442287b6
2013-09-17 19:05:30 +09:00
Jean Chalard
3cf85c105a am 5cab0eb7: Merge "[AC8] Restrict the suggestion strip to the correct part"
* commit '5cab0eb75b430fe15f59f7af828416b6b087dbe8':
  [AC8] Restrict the suggestion strip to the correct part
2013-09-17 02:49:23 -07:00
Jean Chalard
5cab0eb75b Merge "[AC8] Restrict the suggestion strip to the correct part" 2013-09-17 09:48:02 +00:00
Jean Chalard
b1e98c2f4f [AC8] Restrict the suggestion strip to the correct part
...for phrase gesture.

Bug: 9059617
Change-Id: Ic5c0616f28af4ba45ca72a5721d1926029adc1c5
2013-09-17 18:43:12 +09:00
Keisuke Kuroyanagi
2715b01de4 am ac7e005e: Merge "Prepare dictionary saving in native code."
* commit 'ac7e005ef0013fdd9af173e7bce968e26100949d':
  Prepare dictionary saving in native code.
2013-09-17 02:19:48 -07:00
Keisuke Kuroyanagi
d0246277fd Prepare dictionary saving in native code.
Bug: 6669677

Change-Id: I0787f66409e2b183c6328fa05805945520e1e93a
2013-09-17 18:07:16 +09:00
Jean Chalard
092263c50a am 7e51989b: Merge "[AC7] Actually auto-commit."
* commit '7e51989b3fba9b3cc25e48ca5640d569a2195fab':
  [AC7] Actually auto-commit.
2013-09-17 01:35:10 -07:00
Jean Chalard
7e51989b3f Merge "[AC7] Actually auto-commit." 2013-09-17 08:20:47 +00:00
Satoshi Kataoka
55fd8c23ae am d2cafb03: Merge "Temporary disable saving keys of emoticons to recents"
* commit 'd2cafb03050dfd6239e56f5e4a844931aa0faa79':
  Temporary disable saving keys of emoticons to recents
2013-09-17 00:47:33 -07:00
Satoshi Kataoka
8f7471d986 am f1f0b325: Fix Emoji key pressed background
* commit 'f1f0b3254960527aa805ac1e3f92723b88353f04':
  Fix Emoji key pressed background
2013-09-17 00:47:32 -07:00
Satoshi Kataoka
d2cafb0305 Merge "Temporary disable saving keys of emoticons to recents" 2013-09-17 07:44:57 +00:00
Keisuke Kuroyanagi
e8754aba1c [AC7] Actually auto-commit.
Bug: 9059617
Change-Id: I7e5d89a9037b9181a0a6456c12043b4bfda8fe4b
2013-09-17 16:44:50 +09:00
Satoshi Kataoka
fb9b50671d Temporary disable saving keys of emoticons to recents
Bug: 10538430
Change-Id: I4c3d0d692eecdd3bb5e780bdaca46f3310065471
2013-09-17 16:40:13 +09:00
Satoshi Kataoka
f1f0b32549 Fix Emoji key pressed background
Bug: 10538430
Change-Id: I933f075c5e84b637c4d171a7dcc685f0dc8a88df
2013-09-17 16:29:40 +09:00
Satoshi Kataoka
50ba876976 am 7bcb1513: Merge "Support multiple screen size of Emoji keyboard"
* commit '7bcb1513426c0be400f9e86efd6702e06db3dda3':
  Support multiple screen size of Emoji keyboard
2013-09-16 21:24:50 -07:00
Satoshi Kataoka
7bcb151342 Merge "Support multiple screen size of Emoji keyboard" 2013-09-17 04:21:48 +00:00
Satoshi Kataoka
f5e0317701 am fc51a820: Merge "Disable smooth scroll of Emoji pager"
* commit 'fc51a82079f4c9105f9d2f0f9e857dd75604c075':
  Disable smooth scroll of Emoji pager
2013-09-16 20:54:16 -07:00
Satoshi Kataoka
fc51a82079 Merge "Disable smooth scroll of Emoji pager" 2013-09-17 03:51:47 +00:00
Satoshi Kataoka
1aae38a132 Support multiple screen size of Emoji keyboard
Bug: 10538430
Change-Id: Ic27b687fb2f8d3c3f2af6a886e55cc1d4e3fafb3
2013-09-17 12:51:22 +09:00
Jean Chalard
7074307bee am 73d607fb: Merge "[AC5] Introduce the setting for phrase gesture."
* commit '73d607fb70b96954d109a3c1410719b59af2aacf':
  [AC5] Introduce the setting for phrase gesture.
2013-09-16 20:43:43 -07:00
Jean Chalard
73d607fb70 Merge "[AC5] Introduce the setting for phrase gesture." 2013-09-17 03:42:38 +00:00
Satoshi Kataoka
44220e7271 Disable smooth scroll of Emoji pager
Bug: 10538430
Change-Id: Ib9dfa28bf6b642cc8895022ead9e6b2d64001097
2013-09-17 11:46:34 +09:00
Satoshi Kataoka
4e3d778211 am f3f00006: Save & restore emoji keyboard state
* commit 'f3f00006cbe2046abbad3a901b436d67497a40f9':
  Save & restore emoji keyboard state
2013-09-16 07:14:15 -07:00
Satoshi Kataoka
f3f00006cb Save & restore emoji keyboard state
Bug: 10538430
Change-Id: I7982f53f5dfa44071e74da63826acffcdc2547e6
2013-09-16 19:39:20 +09:00
Satoshi Kataoka
6b7e1a4173 am c65f6c30: Merge "Split Emoji categories fitting the pager"
* commit 'c65f6c3001ca0371a6265f37a00e3f02ff23b169':
  Split Emoji categories fitting the pager
2013-09-16 02:34:12 -07:00
Satoshi Kataoka
c65f6c3001 Merge "Split Emoji categories fitting the pager" 2013-09-16 09:31:47 +00:00
Satoshi Kataoka
5dfbc8af24 Split Emoji categories fitting the pager
Bug: 10538430
Change-Id: Ic023ac0b9db8a1fe16c73ab5fd12dfcd7cbbe6a3
2013-09-16 18:27:20 +09:00
Ken Wakasa
cbc417be41 am 187dd85a: Additional fix for Lao; No spaces used between words
* commit '187dd85a4047a50b4f4f147d08c090983671bd1e':
  Additional fix for Lao; No spaces used between words
2013-09-15 23:03:41 -07:00
Ken Wakasa
187dd85a40 Additional fix for Lao; No spaces used between words
bug: 6911140
Change-Id: I1b1141c203175b9f9a818564272c0aa49df33888
2013-09-16 12:03:30 +09:00
Ken Wakasa
aeeaca93ec am 0f317a56: Fix issues with Nepali layouts
* commit '0f317a56030ce6ffb3ff08c1ab3b2ff120e68aea':
  Fix issues with Nepali layouts
2013-09-15 10:58:04 -07:00
Ken Wakasa
0f317a5603 Fix issues with Nepali layouts
- Added the missing ZWNJ/ZWJ key
- Fix a wrong letter in the shift layout of Nepali Romaized layout
- Put the currency symbol for Nepalese Rupee
- Fix the missing 2nd symbols layout
- Use the Devanagari numbers just like Hindi layout
- Fix the Main/Symbols switch key label just like Hindi layout

bug: 6910787
bug: 9833890
Change-Id: Ie6aa5a06008f1e9347d4fc08ededd48287df5d73
2013-09-16 02:08:51 +09:00
Baligh Uddin
900a748bdc Merge "Import translations. DO NOT MERGE" 2013-09-14 21:13:23 +00:00
Baligh Uddin
e8292f77d6 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-09-14 21:13:13 +00:00
Baligh Uddin
e0fff2dc21 Import translations. DO NOT MERGE
Change-Id: Ic9bf848940c7594c6012901e803c203e35df72b8
Auto-generated-cl: translation import
2013-09-14 05:49:10 -07:00
Baligh Uddin
afed2091f6 Import translations. DO NOT MERGE
Change-Id: Ib754ed7d332198f7e19f70a265cab80d12caea69
Auto-generated-cl: translation import
2013-09-14 05:43:32 -07:00
Ken Wakasa
28b8bbde3c am 1313d17d: Small tweak for label_to_more_symbol_for_tablet_key
* commit '1313d17d37af040fff9e2d430e00556fb667b56c':
  Small tweak for label_to_more_symbol_for_tablet_key
2013-09-14 00:24:53 -07:00
Ken Wakasa
1313d17d37 Small tweak for label_to_more_symbol_for_tablet_key
To make it a bit more consistent with the one for phones

Change-Id: Ia5775b07a0d70cabc5c51ff2b954c64ce4dc8c7c
2013-09-14 12:10:04 +09:00
Satoshi Kataoka
3c9c1103e5 am cdc2ce8c: Merge "Use DynamicGridKeyboard for EmojiPager"
* commit 'cdc2ce8c89608bc274d44c0b47beb61ee4474571':
  Use DynamicGridKeyboard for EmojiPager
2013-09-13 05:21:12 -07:00
Satoshi Kataoka
cdc2ce8c89 Merge "Use DynamicGridKeyboard for EmojiPager" 2013-09-13 12:20:14 +00:00
Satoshi Kataoka
b0bf7e729b Use DynamicGridKeyboard for EmojiPager
Bug: 10538430
Change-Id: Iff84e306faaa8e87d107e418d5c61c5613b57430
2013-09-13 21:18:57 +09:00
Ken Wakasa
db5ec99794 am 505b6ba1: Merge "Add Lao keyboard"
* commit '505b6ba10300812b29234f856db1be156e56dced':
  Add Lao keyboard
2013-09-13 05:14:51 -07:00
Ken Wakasa
505b6ba103 Merge "Add Lao keyboard" 2013-09-13 12:11:31 +00:00
Ken Wakasa
47761678f1 Add Lao keyboard
bug: 6911140
Change-Id: Id689be1fb9dbc89b5a9b7f142626751a62d931ed
2013-09-13 21:10:17 +09:00
Jean Chalard
3a3dab3ead am 41aaff6c: Merge "[AC4] Add native methods necessary for auto-commit"
* commit '41aaff6cdf6cc1edb41ec222695bb6985e646d23':
  [AC4] Add native methods necessary for auto-commit
2013-09-13 04:45:28 -07:00
Jean Chalard
a37bee2805 [AC5] Introduce the setting for phrase gesture.
Bug: 9059617
Change-Id: I6fa0f675f4edac10bd19228cd2f0c8fca97cebd6
2013-09-13 20:44:37 +09:00
Jean Chalard
41aaff6cdf Merge "[AC4] Add native methods necessary for auto-commit" 2013-09-13 11:41:55 +00:00
Jean Chalard
24aad5a4d5 [AC4] Add native methods necessary for auto-commit
Bug: 9059617
Change-Id: I7a47b0675446fc4f39628c60d16de9aea90d1b4d
2013-09-13 20:15:15 +09:00
Ken Wakasa
a2ce17a9e6 am fbc7e61a: Merge "Add Ver4DictEncoder."
* commit 'fbc7e61a3e04ddf0d4039b7b10e31e5639dde613':
  Add Ver4DictEncoder.
2013-09-13 01:53:37 -07:00
Satoshi Kataoka
8780b6445b am ffebc9cf: Merge "Add shutdown and isTerminated to PrioritizedSerialExecutor."
* commit 'ffebc9cfa7e13fe87a389e6d50edf3fba6501c67':
  Add shutdown and isTerminated to PrioritizedSerialExecutor.
2013-09-13 01:53:35 -07:00
Ken Wakasa
fbc7e61a3e Merge "Add Ver4DictEncoder." 2013-09-13 08:51:58 +00:00
Satoshi Kataoka
ffebc9cfa7 Merge "Add shutdown and isTerminated to PrioritizedSerialExecutor." 2013-09-13 08:51:43 +00:00
Yuichiro Hanada
a099a3e341 Add shutdown and isTerminated to PrioritizedSerialExecutor.
Change-Id: Id185224d135c8571a39efe8a41a66ce769142903
2013-09-13 17:46:50 +09:00
Yuichiro Hanada
a141d8ef7d Add Ver4DictEncoder.
Bug: 9618601
Change-Id: I161d2845906f07c1251deb8005fdffe49c5b7940
2013-09-13 17:33:51 +09:00
Satoshi Kataoka
90aa110ceb am b9db10d6: Merge "Refactor RecentsKeyboard"
* commit 'b9db10d62eec89259705c979ed2a294be6ded51c':
  Refactor RecentsKeyboard
2013-09-13 00:41:59 -07:00
Satoshi Kataoka
b9db10d62e Merge "Refactor RecentsKeyboard" 2013-09-13 07:39:09 +00:00
Satoshi Kataoka
2c011c697b Refactor RecentsKeyboard
Bug: 10538430
Change-Id: I7a22d2d4a105b17b2a84a3fff2bc3981823d228d
2013-09-13 16:35:07 +09:00
Ken Wakasa
5bfb977760 am 610f3eb4: Merge "Update three letters in the Nepali (Traditional) layout"
* commit '610f3eb4ec7f073c9ed058598b33e637e8bd6188':
  Update three letters in the Nepali (Traditional) layout
2013-09-13 00:08:57 -07:00
Ken Wakasa
610f3eb4ec Merge "Update three letters in the Nepali (Traditional) layout" 2013-09-13 07:07:33 +00:00
Ken Wakasa
937d9c15f5 Update three letters in the Nepali (Traditional) layout
bug: 9833890
Change-Id: I19b3d0284e94e81cc25f2a0430b6a863673b7e1c
2013-09-13 16:03:13 +09:00
Satoshi Kataoka
f1374dfb90 am 1c6263ac: Fix more symbols keyboard for Armenian
* commit '1c6263ac9e72524a89b4c58da8f997b5af2dd60b':
  Fix more symbols keyboard for Armenian
2013-09-12 23:37:02 -07:00
Satoshi Kataoka
1c6263ac9e Fix more symbols keyboard for Armenian
Bug: 7963631
Change-Id: Ie8a5e70bd8baeaa440f339b3e4c5465ae819721c
2013-09-13 15:32:04 +09:00
Satoshi Kataoka
bebef28250 am e3a38af5: Merge "Fix emoji tabs"
* commit 'e3a38af5067551d8e6e1158c4bd3aa1ca3fe3436':
  Fix emoji tabs
2013-09-12 22:54:18 -07:00
Satoshi Kataoka
12ff349f29 Fix emoji tabs
Bug: 10541453
Change-Id: If920eafa0c48e437301fc0b7055ea7b7bbc04669
2013-09-13 14:48:52 +09:00
Satoshi Kataoka
786f9243aa am 244eca38: Merge "Fix emoji keyboard insets"
* commit '244eca3809317ebe3b9a7c4ecc73c04beac2b87e':
  Fix emoji keyboard insets
2013-09-12 22:27:19 -07:00
Satoshi Kataoka
c9e21e82da am 1f9c5bde: Show Emoji key on more symbols keyboard
* commit '1f9c5bde73fc3c4a2926fc6d7d733f56c380d9f9':
  Show Emoji key on more symbols keyboard
2013-09-12 22:27:17 -07:00