| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Change-Id: Ia08c8194f460271c831702675cfb687ab9f6678b
|
| |
|
|
| |
Change-Id: I6f020ece3c45d584d413e4265d6d3fbdf1ea8bd8
|
| |
|
|
|
|
|
| |
Our intention is to have classes of latinime-common under the common
package as much as we can.
Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL fixes the following compiler warnings.
- Indirect access to static member
- Access to a non-accessible member of an enclosing type
- Parameter assignment
- Method can be static
- Local variable declaration hides another field or variable
- Value of local variable is not used
- Unused import
- Unused private member
- Unnecessary 'else' statement
- Unnecessary declaration of throw exception
- Redundant type arguments
- Missing '@Override' annotation
- Unused '@SuppressWarning' annotations
Bug: 18003991
Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The locale is used to determine additional proximity characters. This
is dependent on the dictionary language, but was passed as a function
of the layout, which is wrong and would have given bad suggestions in
multi-lingual mode.
Ideally, additional proximity characters should be inserted in the
dictionary header, but for now it's a rather simple change to get
it from the dictionary's locale instead of the proximity info locale.
Also, that allows us to remove completely the locale parameter from
proximity info, which is a much needed change.
This change has zero effect on unit tests and on regression tests.
Bug: 11230254
Change-Id: If95157155db7dccd1f00b8ba55ccb3600283f9e4
|
| |
|
|
| |
Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
|
| |
|
|
| |
Change-Id: I09c0aeee979e883af199f5c533d526a089064987
|
| |
|
|
| |
Change-Id: I228748824de62e9e46fa43db200d23f41eb6d2ce
|
| |
|
|
| |
Change-Id: I85a0b18d2d78632e9a9f074eda1de9225001f876
|
| |
|
|
| |
Change-Id: Ic9084b08fa9a1f25b7f4b98c627350583c401c12
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
Bug: 10537485
Change-Id: I185f17dcb2cd9e3af17a1eafefaa487804d5cce9
|
| |
|
|
| |
Change-Id: I78eb96dcc26378926dc63acbfeb4828cbd44435d
|
| |
|
|
| |
Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
|
| |
|
|
|
|
|
|
|
|
|
| |
This cuts the time spent in computeNearestNeigbors by
a factor of 6 to 20, with an average at about 8.
This method representing about 25% of the total time
spent when switching keyboards, this change is a
20% improvement in layout switching time.
Bug: 8689779
Change-Id: Icb465f6010b317c7156057891c3341e51a198688
|
| |
|
|
|
|
| |
Bug: 8783170
Change-Id: I067486e5ec1ae7cdef8e2121392464ba71ee8add
|
| |
|
|
|
| |
Bug: 8550980
Change-Id: I5e432dea0e025ccea196f80e90a6bf945488e130
|
| |
|
|
| |
Change-Id: I544eec9d661796d57749dbaa2163bc1e2a891353
|
| |
|
|
| |
Change-Id: I18a997503de4033b5341b564145bca862a872098
|
| |
|
|
| |
Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
|
| |
|
|
| |
Change-Id: Ie11ff000675601acff5fbb00e9e9f48eb32c5071
|
| |
|
|
|
| |
Bug: 7601672
Change-Id: I15faa4829b98f7b4dd07013fdd58bc2c527bcd6f
|
| |
|
|
| |
Change-Id: Iee01d4d2b916d0b584531104ac865ae6e6370a3d
|
| |
|
|
| |
Change-Id: Ieec33894a348602fd71d6fe473142b43eb2551b6
|
| |
|
|
|
|
|
|
| |
This change also disables touch position correction for Phone/Dvorak
keyboard.
Bug: 7243101
Change-Id: Idfcc7ad1feabbe6a81635dceba5be087401fa18b
|
| |
|
|
|
| |
Bug: 7225811
Change-Id: I3dcc0385ed633585d6810fdb742e0f88c2efbbd2
|
| |
|
|
| |
Change-Id: Ia3969bd5ddec5aa5d81d05ad4cf676d818587922
|
| |
|
|
| |
Change-Id: I7863936cca18b28bf0117afcbcf544a5fd7f185d
|
| |
|
|
|
|
|
|
|
|
|
| |
And, use C++ style casts and use float math functions rather than double ones to save memory space.
Also, stop using FloatMath and NativeUtils as standard Math methods are faster now.
See http://code.google.com/p/android/issues/detail?id=36199 and https://android-review.googlesource.com/40700
multi-project commit with I4259fb5ab8a15ac5760a7f04fc8f4c860529f04a
Change-Id: I0b81cff8c91769f7559a59b9528c75a5aabb4211
|
| |
|
|
| |
Change-Id: Id962e670ee1a5164e6c69deb84625139bf5e7974
|
| |
|
|
| |
Change-Id: I56b4a99f670ad38708ad83d76b93a631295e3333
|
| |
|
|
|
|
| |
Bug: 6548943
Change-Id: I7b4fbe20615a28151a74875be43b9f4a20e0dce9
|
| |
|
|
| |
Change-Id: Ia3df1baae4b92eca828c53c17f68ff26b25e525c
|
| |
|
|
| |
Change-Id: I94a29784591208af1849d4941a3b4789b93782de
|
| |
|
|
| |
Change-Id: I93ed4d88ede4058f081dd8d634b00dfff4e96d07
|
| |
|
|
|
|
| |
In conjunction with I596b2deb
Change-Id: I42f059158ae78e1c1c807ed4d3688edbcf18c006
|
| |
|
|
|
| |
Bug: 6242539
Change-Id: Ic0467d54c9d85d0653812d4e127328878ef15b94
|
| |
|
|
|
|
|
|
| |
This results in the computation being done in native code
and the correct proximity being used.
Bug: 6181080
Change-Id: I08fa05c781d607e4feca2caeda353ec19c133a3d
|
| |
|
|
|
|
|
|
| |
This wasn't very obvious, but the actual values are critical, so
make it more readable
Bug: 6181080
Change-Id: I07461d2df4c796dad0cb6f5283e41a28036d023c
|
| |
|
|
|
| |
Bug: 4343280
Change-Id: I57c0f9e20d9d8911009ea97057251a7f7a81512f
|
| |
|
|
|
| |
Bug: 4343280
Change-Id: Id24935f9f0f66ebaa799bb92537d842033427c4c
|
| |
|
|
| |
Change-Id: Ie0554362b73967bfcbbab6ad19c24683066a608e
|
| |
|
|
| |
Change-Id: I8f73b9b33cca56b3fa44ec6259c0896be22f4a47
|
| |
|
|
|
|
| |
Bug: 4343280
Change-Id: I9bbc5cab2fef1ee80c1fe32017df811ef8af10bc
|
| |\ |
|
| | |
| |
| |
| | |
Change-Id: I09e91675fe7d573dad8c933ad513b21d7e409144
|
| |/
|
|
|
|
| |
Bug: 4343280
Change-Id: I17f8f6295b01900948b98680d0267753f33a46cf
|
| |
|
|
| |
Change-Id: I4b4dc6f86d659491d8b9a74ed120092eab964345
|
| |
|
|
| |
Change-Id: Ie4c85e8ca5a1f41a420aae5c1cd9c1cb07e237e5
|
| |
|
|
| |
Change-Id: Ifbe0d7e4eafea1926bbce968eae4724dd5769689
|