Searched refs:otherIcon (Results 1 – 2 of 2) sorted by relevance
590 public boolean sameAs(@NonNull Icon otherIcon) { in sameAs() argument591 if (otherIcon == this) { in sameAs()594 if (mType != otherIcon.getType()) { in sameAs()600 return getBitmap() == otherIcon.getBitmap(); in sameAs()602 return getDataLength() == otherIcon.getDataLength() in sameAs()603 && getDataOffset() == otherIcon.getDataOffset() in sameAs()604 && Arrays.equals(getDataBytes(), otherIcon.getDataBytes()); in sameAs()606 return getResId() == otherIcon.getResId() in sameAs()607 && Objects.equals(getResPackage(), otherIcon.getResPackage()); in sameAs()610 return Objects.equals(getUriString(), otherIcon.getUriString()); in sameAs()
419 PointerIcon otherIcon = (PointerIcon) other; in equals() local420 if (mType != otherIcon.mType in equals()421 || mSystemIconResourceId != otherIcon.mSystemIconResourceId) { in equals()425 if (mSystemIconResourceId == 0 && (mBitmap != otherIcon.mBitmap in equals()426 || mHotSpotX != otherIcon.mHotSpotX in equals()427 || mHotSpotY != otherIcon.mHotSpotY)) { in equals()