Commit Graph

16762 Commits (ea189991ac9a590926d5a771ed35d9d9ab211776)

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
Yuichiro Hanada fa68e2cdf5 Add a new option for version 4 to dicttool.
Change-Id: I18fd48c1f6921758d30330fbc77f4a917c33f1c8
2013-09-19 11:59:42 +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
Keisuke Kuroyanagi 438b1b32d6 am 75feb0f6: Merge "Change name of header_reading_utlis.*"
* commit '75feb0f648f1449c9e25781c331b3f9806419459':
  Change name of header_reading_utlis.*
2013-09-18 02:42:27 -07:00
Keisuke Kuroyanagi 75feb0f648 Merge "Change name of header_reading_utlis.*" 2013-09-18 09:40:43 +00:00
Keisuke Kuroyanagi e28927dfb6 Change name of header_reading_utlis.*
Bug: 6669677
Change-Id: I91389050148237580ef640d3a58b935ea752954e
2013-09-18 18:27:01 +09:00
Keisuke Kuroyanagi c190a33a01 am 561a8311: Merge "Add dictionary header writing methods."
* commit '561a83118c0d6b23ffa50591664eb13300f5067b':
  Add dictionary header writing methods.
2013-09-18 02:20:15 -07:00
Keisuke Kuroyanagi 561a83118c Merge "Add dictionary header writing methods." 2013-09-18 09:17:54 +00:00
Keisuke Kuroyanagi 484fa7b59c Add dictionary header writing methods.
Bug: 6669677
Change-Id: I392ac4776b55779903cbaa17e683005d80017a41
2013-09-18 18:08:33 +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 b4f01d8e71 am 72e53a1e: Merge "Implement dictionary flush."
* commit '72e53a1e384e1c0deff7f7e74db18f39f0841548':
  Implement dictionary flush.
2013-09-17 22:22:40 -07:00
Keisuke Kuroyanagi 72e53a1e38 Merge "Implement dictionary flush." 2013-09-18 05:20:05 +00:00
Keisuke Kuroyanagi 1560543754 Implement dictionary flush.
Bug: 6669677
Change-Id: I1d70ac6319fb6d8700074de382568c2108887960
2013-09-18 13:19:14 +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 9b78241dff Merge "Improve trailing quotes processing" 2013-09-17 13:41:51 +00:00
Jean Chalard e8f717943f Improve trailing quotes processing
Bug: 10445496
Change-Id: Ib7bd05aea59ae6c9b8ce31299ef2235521b0e350
2013-09-17 22:17:22 +09:00
Keisuke Kuroyanagi 97f53a9fe7 am 4e17b42d: Output input index of second word\'s first char.
* commit '4e17b42d0fd104ec2cd3a79db2473863228ecb62':
  Output input index of second word's first char.
2013-09-17 04:56:05 -07:00
Keisuke Kuroyanagi 4e17b42d0f Output input index of second word's first char.
This is for partial commit.

Bug: 9059617

Change-Id: I77a0245b63c29b7234fd9b06d362e05aebf30051
2013-09-17 20:31:34 +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