Searched refs:otherIcon (Results 1 – 2 of 2) sorted by relevance
472 public boolean sameAs(Icon otherIcon) { in sameAs() argument473 if (otherIcon == this) { in sameAs()476 if (mType != otherIcon.getType()) { in sameAs()481 return getBitmap() == otherIcon.getBitmap(); in sameAs()483 return getDataLength() == otherIcon.getDataLength() in sameAs()484 && getDataOffset() == otherIcon.getDataOffset() in sameAs()485 && getDataBytes() == otherIcon.getDataBytes(); in sameAs()487 return getResId() == otherIcon.getResId() in sameAs()488 && Objects.equals(getResPackage(), otherIcon.getResPackage()); in sameAs()490 return Objects.equals(getUriString(), otherIcon.getUriString()); in sameAs()
384 PointerIcon otherIcon = (PointerIcon) other; in equals() local385 if (mType != otherIcon.mType in equals()386 || mSystemIconResourceId != otherIcon.mSystemIconResourceId) { in equals()390 if (mSystemIconResourceId == 0 && (mBitmap != otherIcon.mBitmap in equals()391 || mHotSpotX != otherIcon.mHotSpotX in equals()392 || mHotSpotY != otherIcon.mHotSpotY)) { in equals()