Home
last modified time | relevance | path

Searched refs:otherIcon (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DImageTransformState.java56 final Icon otherIcon = ((ImageTransformState) otherState).mIcon; in sameAs() local
57 return mIcon == otherIcon || (mIcon != null && otherIcon != null && mIcon.sameAs( in sameAs()
58 otherIcon)); in sameAs()
/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java724 public boolean sameAs(@NonNull Icon otherIcon) { in sameAs() argument
725 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 …]
/frameworks/base/core/java/android/view/
DPointerIcon.java429 PointerIcon otherIcon = (PointerIcon) other; in equals() local
430 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()