maiacore android keyboard app or something
 
 
 
 
Go to file
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
dictionaries Update dictionaries 2013-08-19 16:41:09 +09:00
java Fix an off-by-one error. 2013-09-19 13:43:09 +09:00
native Change name of header_reading_utlis.* 2013-09-18 18:27:01 +09:00
tests Merge "Add dictionary header writing methods." 2013-09-18 09:17:54 +00:00
tools Fix issues with Nepali layouts 2013-09-16 02:08:51 +09:00
Android.mk Build native subdirectories first 2013-01-28 20:07:31 -08:00
CleanSpec.mk Pass the touch position correction data to native. 2011-09-29 17:00:49 +09:00