MCPcopy Create free account
hub / github.com/buggins/coolreader / checkBookmark

Method checkBookmark

android/src/org/coolreader/crengine/DocView.java:336–344  ·  view source on GitHub ↗

Check whether point of current document belongs to bookmark. @param x is X coordinate in document window @param y is Y coordinate in document window @return bookmark if point belongs to bookmark, null otherwise

(int x, int y)

Source from the content-addressed store, hash-verified

334 * @return bookmark if point belongs to bookmark, null otherwise
335 */
336 public Bookmark checkBookmark(int x, int y) {
337 synchronized(mutex) {
338 Bookmark dstBookmark = new Bookmark();
339 if (checkBookmarkInternal(x, y, dstBookmark)) {
340 return dstBookmark;
341 }
342 return null;
343 }
344 }
345
346
347 /**

Callers 1

workMethod · 0.80

Calls 1

checkBookmarkInternalMethod · 0.95

Tested by

no test coverage detected