Searched refs:otherIcon (Results 1 – 2 of 2) sorted by relevance
574 public boolean sameAs(Icon otherIcon) { in sameAs() argument575 if (otherIcon == this) { in sameAs()578 if (mType != otherIcon.getType()) { in sameAs()584 return getBitmap() == otherIcon.getBitmap(); in sameAs()586 return getDataLength() == otherIcon.getDataLength() in sameAs()587 && getDataOffset() == otherIcon.getDataOffset() in sameAs()588 && Arrays.equals(getDataBytes(), otherIcon.getDataBytes()); in sameAs()590 return getResId() == otherIcon.getResId() in sameAs()591 && Objects.equals(getResPackage(), otherIcon.getResPackage()); in sameAs()594 return Objects.equals(getUriString(), otherIcon.getUriString()); in sameAs()
418 PointerIcon otherIcon = (PointerIcon) other; in equals() local419 if (mType != otherIcon.mType in equals()420 || mSystemIconResourceId != otherIcon.mSystemIconResourceId) { in equals()424 if (mSystemIconResourceId == 0 && (mBitmap != otherIcon.mBitmap in equals()425 || mHotSpotX != otherIcon.mHotSpotX in equals()426 || mHotSpotY != otherIcon.mHotSpotY)) { in equals()