MCPcopy Create free account
hub / github.com/LeongAndroid/Launcher3 / pointInView

Method pointInView

src/com/android/launcher3/Utilities.java:220–223  ·  view source on GitHub ↗

Utility method to determine whether the given point, in local coordinates, is inside the view, where the area of the view is expanded by the slop factor. This method is called while processing touch-move events to determine if the event is still within the view.

(View v, float localX, float localY, float slop)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

onInterceptTouchEventMethod · 0.95
onTouchEventMethod · 0.95
onMotionEventMethod · 0.95
onTouchEventMethod · 0.95
onTouchEventMethod · 0.95

Calls 2

getWidthMethod · 0.45
getHeightMethod · 0.45

Tested by

no test coverage detected