MCPcopy Create free account
hub / github.com/Snapchat/Valdi / fillEventTime

Function fillEventTime

valdi_core/src/valdi_core/cpp/Events/TouchEvents.cpp:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18namespace Valdi {
19
20void fillEventTime(ValueMap& map) {
21 static auto kEventTimeKey = STRING_LITERAL("eventTime");
22 map[kEventTimeKey] = Value(TimePoint::now().getTime());
23}
24
25void fillPosition(ValueMap& map, double x, double y) {
26 static auto xKey = STRING_LITERAL("x");

Callers 2

fillEventFunction · 0.85
makeScrollEventMethod · 0.85

Calls 3

getTimeMethod · 0.80
ValueClass · 0.50
nowFunction · 0.50

Tested by

no test coverage detected