Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ hitTest
Method
hitTest
valdi/src/valdi/runtime/Views/View.cpp:41–43 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
39
}
40
41
ViewHitTestResult View::hitTest(float x, float y) {
42
return ViewHitTestResultUseDefault;
43
}
44
45
bool View::canBeReused() const {
46
return _canBeReused;
Callers
4
`hitTest identity hierarchy - point inside child returns true`
Method · 0.45
`hitTest identity hierarchy - point outside child returns false`
Method · 0.45
`hitTest scaleY=-1 parent - child hit-test reflects to correct screen rect`
Method · 0.45
`hitTest root view with translation - non-identity matrix path runs without error`
Method · 0.45
Calls
no outgoing calls
Tested by
4
`hitTest identity hierarchy - point inside child returns true`
Method · 0.36
`hitTest identity hierarchy - point outside child returns false`
Method · 0.36
`hitTest scaleY=-1 parent - child hit-test reflects to correct screen rect`
Method · 0.36
`hitTest root view with translation - non-identity matrix path runs without error`
Method · 0.36