Searched refs:otherIcon (Results 1 – 3 of 3) sorted by relevance
56 final Icon otherIcon = ((ImageTransformState) otherState).mIcon; in sameAs() local57 return mIcon == otherIcon || (mIcon != null && otherIcon != null && mIcon.sameAs( in sameAs()58 otherIcon)); in sameAs()
724 public boolean sameAs(@NonNull Icon otherIcon) { in sameAs() argument725 if (otherIcon == this) { in sameAs()728 if (mType != otherIcon.getType()) { in sameAs()734 return getBitmap() == otherIcon.getBitmap(); in sameAs()736 return getDataLength() == otherIcon.getDataLength() in sameAs()737 && getDataOffset() == otherIcon.getDataOffset() in sameAs()738 && Arrays.equals(getDataBytes(), otherIcon.getDataBytes()); in sameAs()740 return getResId() == otherIcon.getResId() in sameAs()741 && Objects.equals(getResPackage(), otherIcon.getResPackage()) in sameAs()742 && mUseMonochrome == otherIcon.mUseMonochrome in sameAs()[all …]
429 PointerIcon otherIcon = (PointerIcon) other; in equals() local430 if (mType != otherIcon.mType) { in equals()434 if (mBitmap != otherIcon.mBitmap in equals()435 || mHotSpotX != otherIcon.mHotSpotX in equals()436 || mHotSpotY != otherIcon.mHotSpotY) { in equals()