flackr@ can you please take a preliminary look at the touch noise filtering code? This ...
5 years, 9 months ago
(2015-03-08 00:49:50 UTC)
#3
flackr@ can you please take a preliminary look at the touch noise filtering
code? This is mostly a copy and paste from the Chromium OS code base.
flackr
https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/touch_event_converter_evdev.cc File ui/events/ozone/evdev/touch_event_converter_evdev.cc (right): https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/touch_event_converter_evdev.cc#newcode285 ui/events/ozone/evdev/touch_event_converter_evdev.cc:285: std::vector<TouchEventParams> to_dispatch; If I understand correctly, we construct and ...
5 years, 9 months ago
(2015-03-10 05:23:40 UTC)
#4
https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/to...
File ui/events/ozone/evdev/touch_event_converter_evdev.cc (right):
https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/to...
ui/events/ozone/evdev/touch_event_converter_evdev.cc:285:
std::vector<TouchEventParams> to_dispatch;
If I understand correctly, we construct and copy changed events into this temp
vector, and then effectively reconstruct the events_ array in
touch_noise_remover from the changed events vector, and then search for canceled
touches in that copy of the touches array to remove from the to_dispatch vector,
so that we can iterate over it and dispatch.
This seems fairly inefficient. Couldn't we have touch_noise_remover look
directly at the events_ array and maintain a canceled touches bool array or even
update the event type to ET_TOUCH_CANCELLED as necessary? I recognize that this
will require a bit of refactoring of the filters to use the fields from events_
but this is called at 60Hz or more so it's probably worth making sure it's fast.
https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/to...
ui/events/ozone/evdev/touch_event_converter_evdev.cc:297: events_[i].type_ =
ET_TOUCH_MOVED;
Since we change the event type to MOVED regardless of whether the touch was
canceled, it seems very important that once a touch is cancelled it remain
cancelled by the touch_noise_remover_. It's probably worth enforcing this or
verifying this with a test to prevent suddenly getting moved events for a touch
for which you never got a start.
https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/to...
ui/events/ozone/evdev/touch_event_converter_evdev.cc:303:
touch_noise_remover_->RemoveNoise(&to_dispatch, delta);
Can't just remove updates for noisy touches and not dispatch events for them. In
some cases, we don't identify that a touch is noise on the very first frame in
which that finger shows up. If this happens we'll deliver a touch start, perhaps
some touch moves, and then never send a touch end.
Instead we need to dispatch an ET_TOUCH_CANCELLED event if an existing touch is
cancelled (doesn't hurt to always send a touch cancelled which is I believe the
current behavior in X). This will cancel any touch start effects (like :active
css pseudoclass) and prevent generation of timer based events (i.e. long press).
https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/to...
File ui/events/ozone/evdev/touch_noise/far_apart_taps_touch_noise_filter.cc
(right):
https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/to...
ui/events/ozone/evdev/touch_noise/far_apart_taps_touch_noise_filter.cc:84:
cur->canceled = true;
Since we're in chrome codebase now, we should add UMA stats to track canceled
touches (perhaps by filter) so that if we don't see many / any of a particular
kind of "noise" we can remove that filter.
https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/to...
File ui/events/ozone/evdev/touch_noise/touch_noise_filter.h (right):
https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/to...
ui/events/ozone/evdev/touch_noise/touch_noise_filter.h:15: static const int
kNumSlots = 64;
Should probably use the same number of slots as in EventDeviceInfo:
https://code.google.com/p/chromium/codesearch#chromium/src/ui/events/ozone/ev...https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/to...
File ui/events/ozone/evdev/touch_noise/touch_noise_remover.cc (right):
https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/to...
ui/events/ozone/evdev/touch_noise/touch_noise_remover.cc:37: if (slot < 0 ||
slot >= num_slots)
Why do we need to check for slot < 0 || slot >= num_slots? Shouldn't all touches
have valid slots?
https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/to...
ui/events/ozone/evdev/touch_noise/touch_noise_remover.cc:54: if (slot < 0 ||
slot >= num_slots || frame_.fingers[slot].canceled) {
ditto
https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/to...
ui/events/ozone/evdev/touch_noise/touch_noise_remover.cc:56: it =
touches->erase(it);
Should use std::remove_if for linear complexity.
https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/to...
File ui/events/ozone/evdev/touch_noise/touch_noise_remover_unittest.cc (right):
https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/to...
ui/events/ozone/evdev/touch_noise/touch_noise_remover_unittest.cc:142: }
Thanks for adding unit tests! The cancel behavior when a touch is canceled after
the PRESSED event is also important, perhaps we should have a test that verifies
cancel events will be delivered at least for in progress touches.
pkotwicz
Patchset #2 (id:40001) has been deleted
5 years, 9 months ago
(2015-03-13 03:10:28 UTC)
#5
Patchset #2 (id:40001) has been deleted
pkotwicz
Patchset #2 (id:60001) has been deleted
5 years, 9 months ago
(2015-03-13 03:15:04 UTC)
#6
Patchset #2 (id:60001) has been deleted
pkotwicz
Patchset #2 (id:80001) has been deleted
5 years, 9 months ago
(2015-03-13 03:22:00 UTC)
#7
Patchset #2 (id:80001) has been deleted
pkotwicz
Patchset #2 (id:100001) has been deleted
5 years, 9 months ago
(2015-03-13 03:25:12 UTC)
#8
Patchset #2 (id:100001) has been deleted
pkotwicz
Patchset #2 (id:120001) has been deleted
5 years, 9 months ago
(2015-03-13 03:31:16 UTC)
#9
Patchset #2 (id:120001) has been deleted
pkotwicz
Patchset #2 (id:140001) has been deleted
5 years, 9 months ago
(2015-03-13 03:33:38 UTC)
#10
Patchset #2 (id:140001) has been deleted
pkotwicz
Rob, can you please take another look? Sorry for the long delay. The new CL ...
5 years, 9 months ago
(2015-03-13 03:53:16 UTC)
#11
Rob, can you please take another look? Sorry for the long delay.
The new CL makes use of |TouchEventConverterEvdev::events_| in TouchNoiseFinder
so is pretty different from the previous CL
https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/to...
File ui/events/ozone/evdev/touch_event_converter_evdev.cc (right):
https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/to...
ui/events/ozone/evdev/touch_event_converter_evdev.cc:285:
std::vector<TouchEventParams> to_dispatch;
I have refactored this as you requested
https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/to...
ui/events/ozone/evdev/touch_event_converter_evdev.cc:303:
touch_noise_remover_->RemoveNoise(&to_dispatch, delta);
I have changed the code to dispatch ET_TOUCH_CANCELLED when a touch is
cancelled. This is slightly different from what events_x.cc does.
GetTouchEventType() drops cancelled ET_TOUCH_PRESSes and ET_TOUCH_MOVEs. It
converts cancelled ET_TOUCH_RELEASEs to ET_TOUCH_CANCELLEDs
I have added a test as you requested:
TouchEventConverterEvdevTouchNoiseTest.TouchNoiseFiltering
https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/to...
File ui/events/ozone/evdev/touch_noise/far_apart_taps_touch_noise_filter.cc
(right):
https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/to...
ui/events/ozone/evdev/touch_noise/far_apart_taps_touch_noise_filter.cc:84:
cur->canceled = true;
I'd rather do this in a separate CL. I have filed crbug.com/466429 My main goal
in this CL is that the code that I am adding can be checked for "the same
behavior" as the current code in ChromeOS.
For instance, we may want to remove the VLOG()s in favor of UMA stats.
https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/to...
File ui/events/ozone/evdev/touch_noise/touch_noise_filter.h (right):
https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/to...
ui/events/ozone/evdev/touch_noise/touch_noise_filter.h:15: static const int
kNumSlots = 64;
I have made the code use the same number of slots as TouchEventConverterEvdev
EVDEV_ABS_MT_COUNT is the number of multi-touch evdev bits (e.g.
ABS_MT_TOUCH_MAJOR) not the number of slots.
flackr
Thanks for integrating this, it looks good. Just a few comments. https://codereview.chromium.org/991533002/diff/20001/ui/events/ozone/evdev/touch_event_converter_evdev.cc File ui/events/ozone/evdev/touch_event_converter_evdev.cc (right): ...
5 years, 9 months ago
(2015-03-13 15:08:36 UTC)
#12
flackr@ can you please take another look? https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/touch_event_converter_evdev.cc File ui/events/ozone/evdev/touch_event_converter_evdev.cc (right): https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/touch_event_converter_evdev.cc#newcode319 ui/events/ozone/evdev/touch_event_converter_evdev.cc:319: // state ...
5 years, 9 months ago
(2015-03-17 16:51:23 UTC)
#19
lgtm https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/touch_event_converter_evdev.cc File ui/events/ozone/evdev/touch_event_converter_evdev.cc (right): https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/touch_event_converter_evdev.cc#newcode319 ui/events/ozone/evdev/touch_event_converter_evdev.cc:319: // state to determine whether future touches should ...
5 years, 9 months ago
(2015-03-17 16:59:04 UTC)
#20
lgtm
https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/t...
File ui/events/ozone/evdev/touch_event_converter_evdev.cc (right):
https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/t...
ui/events/ozone/evdev/touch_event_converter_evdev.cc:319: // state to determine
whether future touches should be cancelled.
On 2015/03/17 16:51:23, pkotwicz wrote:
> SinglePositionTouchNoiseFilter needs to know when a touch was actually
released
> (If we send ET_TOUCH_CANCELLED instead of ET_TOUCH_RELEASED to
> SinglePositionTouchNoiseFilter, we change the behavior)
Right, I was thinking that we might be able to recognize the difference from a
still active (but cancelled) touch and no touch from the tracking id in the
events structure. That being said it's not a big deal either way, getting the
original event types is a nice thing to have.
spang@, can you please take a look at the changes in ui/events/ozone/evdev ?
5 years, 9 months ago
(2015-03-17 17:04:50 UTC)
#22
spang@, can you please take a look at the changes in ui/events/ozone/evdev ?
spang
https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/touch_evdev_types.h File ui/events/ozone/evdev/touch_evdev_types.h (right): https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/touch_evdev_types.h#newcode33 ui/events/ozone/evdev/touch_evdev_types.h:33: size_t slot; Is it needed to duplicate the offset ...
5 years, 9 months ago
(2015-03-18 19:20:12 UTC)
#23
https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/t...
File ui/events/ozone/evdev/touch_evdev_types.h (right):
https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/t...
ui/events/ozone/evdev/touch_evdev_types.h:33: size_t slot;
Is it needed to duplicate the offset into the slots vector here as a field?
https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/t...
File ui/events/ozone/evdev/touch_event_converter_evdev.cc (right):
https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/t...
ui/events/ozone/evdev/touch_event_converter_evdev.cc:219:
events_[current_slot_].cancelled = false;
I think this block should be cut down to just:
events_[current_slot_].tracking_id = input.value;
events_[current_slot_].cancelled = false;
https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/t...
ui/events/ozone/evdev/touch_event_converter_evdev.cc:290: if
(touch_noise_finder_ && touch_noise_finder_->SlotHasNoise(event.slot)) {
Could we centralize determining the event type here? Something like:
bool contact = (event->tracking_id != -1);
EventType event_type = ET_UNKNOWN;
if (event->cancelled)
return;
if (touch_noise_finder_ && touch_noise_finder_->SlotHasNoise(event->slot)) {
event->cancelled = true;
event->client_contact = false;
event_type = ET_TOUCH_CANCELLED;
} else if (contact && event->client_contact) {
event_type = ET_TOUCH_MOVED;
} else if (contact && !event->client_contact) {
event_type = ET_TOUCH_PRESSED;
event->client_contact = true;
} else if (!contact && event->client_contact) {
event_type = ET_TOUCH_RELEASED;
event->client_contact = false;
}
dispatcher_->DispatchTouchEvent(...);
spang@ can you please take another look? https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/touch_evdev_types.h File ui/events/ozone/evdev/touch_evdev_types.h (right): https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/touch_evdev_types.h#newcode33 ui/events/ozone/evdev/touch_evdev_types.h:33: size_t slot; ...
5 years, 9 months ago
(2015-03-18 20:00:02 UTC)
#25
spang@ can you please take another look?
https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/t...
File ui/events/ozone/evdev/touch_evdev_types.h (right):
https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/t...
ui/events/ozone/evdev/touch_evdev_types.h:33: size_t slot;
Yes, it is a duplicate. It makes the interface of
TouchNoiseFinder::HandleTouches() much easier to document
https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/t...
ui/events/ozone/evdev/touch_evdev_types.h:34: EventType type;
It sounds like you are suggesting removing the |type| field from the struct. The
TouchNoiseFilters currently make use of the |type| field (e.g.
HorizontallyAlignedTouchNoiseFilter).
We can remove the |type| field if we add a |previous_tracking_id| field. This
would allow the TouchNoiseFilters to infer whether a touch is press or is a
move.
Alternatively, TouchNoiseFinder can keep track of the tracking ids for the
previous time that TouchNoiseFinder::HandleTouches() was called.
spang
https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/touch_evdev_types.h File ui/events/ozone/evdev/touch_evdev_types.h (right): https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/touch_evdev_types.h#newcode34 ui/events/ozone/evdev/touch_evdev_types.h:34: EventType type; On 2015/03/18 20:00:02, pkotwicz22 wrote: > It ...
5 years, 9 months ago
(2015-03-18 20:52:18 UTC)
#26
https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/t...
File ui/events/ozone/evdev/touch_evdev_types.h (right):
https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/t...
ui/events/ozone/evdev/touch_evdev_types.h:34: EventType type;
On 2015/03/18 20:00:02, pkotwicz22 wrote:
> It sounds like you are suggesting removing the |type| field from the struct.
Yes (or rather, breaking it into its constituent parts).
> The
> TouchNoiseFilters currently make use of the |type| field (e.g.
> HorizontallyAlignedTouchNoiseFilter).
>
> We can remove the |type| field if we add a |previous_tracking_id| field. This
> would allow the TouchNoiseFilters to infer whether a touch is press or is a
> move.
I proposed a new field "client_pressed" to track that.
Maybe it should be called "was_pressed" if it's also need for filtering, though.
> Alternatively, TouchNoiseFinder can keep track of the tracking ids for the
> previous time that TouchNoiseFinder::HandleTouches() was called.
5 years, 9 months ago
(2015-03-18 20:55:40 UTC)
#27
On 2015/03/18 20:52:18, spang wrote:
>
https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/t...
> File ui/events/ozone/evdev/touch_evdev_types.h (right):
>
>
https://codereview.chromium.org/991533002/diff/280001/ui/events/ozone/evdev/t...
> ui/events/ozone/evdev/touch_evdev_types.h:34: EventType type;
> On 2015/03/18 20:00:02, pkotwicz22 wrote:
> > It sounds like you are suggesting removing the |type| field from the struct.
>
> Yes (or rather, breaking it into its constituent parts).
>
> > The
> > TouchNoiseFilters currently make use of the |type| field (e.g.
> > HorizontallyAlignedTouchNoiseFilter).
> >
> > We can remove the |type| field if we add a |previous_tracking_id| field.
This
> > would allow the TouchNoiseFilters to infer whether a touch is press or is a
> > move.
>
> I proposed a new field "client_pressed" to track that.
>
> Maybe it should be called "was_pressed" if it's also need for filtering,
though.
Er, I actually said "client_contact".
>
> > Alternatively, TouchNoiseFinder can keep track of the tracking ids for the
> > previous time that TouchNoiseFinder::HandleTouches() was called.
pkotwicz
Patchset #5 (id:300001) has been deleted
5 years, 9 months ago
(2015-03-19 01:03:11 UTC)
#28
Patchset #5 (id:300001) has been deleted
pkotwicz
Patchset #5 (id:320001) has been deleted
5 years, 9 months ago
(2015-03-19 01:11:10 UTC)
#29
Patchset #5 (id:320001) has been deleted
pkotwicz
I have removed InProgressTouchEvdev::type and have added InProgressTouchEvdev::touching and InProgressTouchEvdev::was_touching I used InProgressTouchEvdev::touching/was_touching instead of ...
5 years, 9 months ago
(2015-03-19 01:18:07 UTC)
#30
I have removed InProgressTouchEvdev::type and have added
InProgressTouchEvdev::touching and InProgressTouchEvdev::was_touching
I used InProgressTouchEvdev::touching/was_touching instead of
InProgressTouchEvdev::pressed/was_pressed because I thought it would be clearer.
(I thought that "pressed" could be easily confused for ET_TOUCH_PRESSED)
spang
On 2015/03/19 01:18:07, pkotwicz wrote: > I have removed InProgressTouchEvdev::type and have added > InProgressTouchEvdev::touching ...
5 years, 9 months ago
(2015-03-19 17:08:50 UTC)
#31
On 2015/03/19 01:18:07, pkotwicz wrote:
> I have removed InProgressTouchEvdev::type and have added
> InProgressTouchEvdev::touching and InProgressTouchEvdev::was_touching
>
> I used InProgressTouchEvdev::touching/was_touching instead of
> InProgressTouchEvdev::pressed/was_pressed because I thought it would be
clearer.
> (I thought that "pressed" could be easily confused for ET_TOUCH_PRESSED)
I find this easier to read, thanks.
lgtm
spang
https://codereview.chromium.org/991533002/diff/340001/ui/events/ozone/evdev/touch_event_converter_evdev.cc File ui/events/ozone/evdev/touch_event_converter_evdev.cc (right): https://codereview.chromium.org/991533002/diff/340001/ui/events/ozone/evdev/touch_event_converter_evdev.cc#newcode211 ui/events/ozone/evdev/touch_event_converter_evdev.cc:211: events_[current_slot_].touching = false; Shouldn't we update the tracking id ...
5 years, 9 months ago
(2015-03-19 17:08:59 UTC)
#32
5 years, 9 months ago
(2015-03-23 15:07:18 UTC)
#33
Patchset #6 (id:360001) has been deleted
pkotwicz
Sadrul can you please take a look at the changes to ui/events/event_switches.* I ran the ...
5 years, 9 months ago
(2015-03-23 16:41:19 UTC)
#34
Sadrul can you please take a look at the changes to ui/events/event_switches.*
I ran the try bots on "Patch Set #6"
I am going to look at whether we can drop type A device support separately.
According to miletus@ the X11 driver might convert the type A protocol into type
B.
On 2015/03/23 16:41:19, pkotwicz wrote: > Sadrul can you please take a look at the ...
5 years, 9 months ago
(2015-03-23 16:51:41 UTC)
#36
On 2015/03/23 16:41:19, pkotwicz wrote:
> Sadrul can you please take a look at the changes to ui/events/event_switches.*
> I ran the try bots on "Patch Set #6"
>
> I am going to look at whether we can drop type A device support separately.
> According to miletus@ the X11 driver might convert the type A protocol into
type
> B.
Right, I don't think what we're doing now is actually correct because contact
can change identity between reports. It probably actually really screws things
up. We don't have any devices to test with, either.
The other thing is that it doesn't look like there are many protocol A drivers
in the kernel. It looks like only one driver uses it for a USB device ("ntrig"),
the rest seem to be I2C devices that we don't ship and therefore irrelevant.
So I do think it should be removed, and only added back if someone comes forward
with a device that needs it.
pkotwicz
Sadrul, can you please take a look. I have addressed spang@'s concern about type A ...
5 years, 9 months ago
(2015-03-24 00:10:45 UTC)
#37
Sadrul, can you please take a look at the change to ui/events/events_switches.* I have addressed ...
5 years, 9 months ago
(2015-03-24 21:06:36 UTC)
#39
Sadrul, can you please take a look at the change to ui/events/events_switches.*
I have addressed spang@'s concern about type A devices
sadrul
Please update the CL description to say what code this is based off of, and ...
5 years, 9 months ago
(2015-03-24 21:12:08 UTC)
#40
Please update the CL description to say what code this is based off of, and if
possible, what kind of filtering is done.
pkotwicz
I have updated the CL description. To my knowledge the algorithms that we used for ...
5 years, 9 months ago
(2015-03-25 19:29:15 UTC)
#41
I have updated the CL description. To my knowledge the algorithms that we used
for touch noise filtering do not have names. The touch noise filtering was only
done on the ChromeOS pixel. FarApartTapsFilter only "does something" on a
ChromeOS pixel because the taps need to be very very far apart. The default
screen resolution on the Lenovo Thinkpad Yoga 11e Chromebook (glimmer) is not
big enough for any taps to be considered noise
sadrul
Thanks! lgtm
5 years, 9 months ago
(2015-03-25 19:50:55 UTC)
#42
Thanks! lgtm
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
5 years, 9 months ago
(2015-03-25 21:17:38 UTC)
#43
A revert of this CL (patchset #8 id:410001) has been created in https://codereview.chromium.org/1033933004/ by skuhne@chromium.org. ...
5 years, 9 months ago
(2015-03-26 17:41:03 UTC)
#48
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:410001) has been created in
https://codereview.chromium.org/1033933004/ by skuhne@chromium.org.
The reason for reverting is: This patch breaks the PFQ for 32/64 bit due to some
string conversion problems:
0.2346.0_rc-r1:
../../../../../../../home/chrome-bot/chrome_root/src/ui/events/ozone/evdev/touch_noise/single_position_touch_noise_filter.cc:100:63:
error: format '%ld' expects argument of type 'long int', but argument 3 has type
'int64 {aka long long int}' [-Werror=format=] chromeos-chrome-43.0.2346.0_rc-r1:
touch.tracking_id, max_duration.InMilliseconds());
should I revert this - or do you want to land a patch for it?
Oh - there is also another one:
0.2346.0_rc-r1:
../../../../../../../home/chrome-bot/chrome_root/src/ui/events/ozone/evdev/touch_noise/horizontally_aligned_touch_noise_filter.cc:
In member function 'virtual void
ui::HorizontallyAlignedTouchNoiseFilter::Filter(const
std::vector<ui::InProgressTouchEvdev>&, base::TimeDelta, std::bitset<20u>*)':
chromeos-chrome-43.0.2346.0_rc-r1:
../../../../../../../home/chrome-bot/chrome_root/src/ui/events/ozone/evdev/touch_noise/horizontally_aligned_touch_noise_filter.cc:39:66:
error: format '%ld' expects argument of type 'long int', but argument 3 has type
'int64 {aka long long int}' [-Werror=format=] chromeos-chrome-43.0.2346.0_rc-r1:
other_touch.tracking_id, other_touch.x, other_touch.y);.
Issue 991533002: Port Chromium OS touch noise filtering to Chromium
(Closed)
Created 5 years, 9 months ago by pkotwicz
Modified 5 years, 9 months ago
Reviewers: flackr, spang, pkotwicz1, sadrul
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 33