mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix PointerTracker debug output to reflect new KeyDetector
Change-Id: I913ec290ddfd0ae4cc6e600ba95b7442167f0989
This commit is contained in:
parent
a32803cefe
commit
7a750ca50d
@ -676,10 +676,10 @@ public final class PointerTracker implements PointerTrackerQueue.Element,
|
|||||||
|
|
||||||
private void onDownEvent(final int x, final int y, final long eventTime,
|
private void onDownEvent(final int x, final int y, final long eventTime,
|
||||||
final KeyDetector keyDetector) {
|
final KeyDetector keyDetector) {
|
||||||
|
setKeyDetectorInner(keyDetector);
|
||||||
if (DEBUG_EVENT) {
|
if (DEBUG_EVENT) {
|
||||||
printTouchEvent("onDownEvent:", x, y, eventTime);
|
printTouchEvent("onDownEvent:", x, y, eventTime);
|
||||||
}
|
}
|
||||||
setKeyDetectorInner(keyDetector);
|
|
||||||
// Naive up-to-down noise filter.
|
// Naive up-to-down noise filter.
|
||||||
final long deltaT = eventTime - mUpTime;
|
final long deltaT = eventTime - mUpTime;
|
||||||
if (deltaT < sParams.mTouchNoiseThresholdTime) {
|
if (deltaT < sParams.mTouchNoiseThresholdTime) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user