in android/tooling/rib-intellij-plugin/native/intellij-broadcast-rib/src/main/java/com/uber/debug/broadcast/rib/RibHierarchyUtils.java [49:58]
static boolean viewIncludesTarget(View view, int targetX, int targetY) {
int[] location = new int[2];
view.getLocationInWindow(location);
int x = location[0];
int y = location[1];
return x <= targetX
&& y <= targetY
&& x + view.getWidth() >= targetX
&& y + view.getHeight() >= targetY;
}