private boolean isHit(final int x, final int y, final View v) {
            if (v == null) {
                return false;
            }
            final int[] location = new int[2];
            v.getLocationOnScreen(location);
            return (x >= location[0]) && (x <= location[0] + v.getWidth()) && (y >= location[1]) && (y <= location[1] + v.getHeight());
        }
can be made static if nonstatic inner clases could have static methods
main/src/main/java/cgeo/geocaching/maps/google/v2/GoogleMapView.java