Searched refs:existingRectangle (Results 1 – 1 of 1) sorted by relevance
416 final RectF existingRectangle = extractor.apply(list.get(index)); in mergeRectangleIntoList() local417 if (existingRectangle.contains(candidate)) { in mergeRectangleIntoList()420 if (candidate.contains(existingRectangle)) { in mergeRectangleIntoList()421 existingRectangle.setEmpty(); in mergeRectangleIntoList()425 final boolean rectanglesContinueEachOther = candidate.left == existingRectangle.right in mergeRectangleIntoList()426 || candidate.right == existingRectangle.left; in mergeRectangleIntoList()427 final boolean canMerge = candidate.top == existingRectangle.top in mergeRectangleIntoList()428 && candidate.bottom == existingRectangle.bottom in mergeRectangleIntoList()429 && (RectF.intersects(candidate, existingRectangle) in mergeRectangleIntoList()433 candidate.union(existingRectangle); in mergeRectangleIntoList()[all …]