Searched defs:otherIcon (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
H A DIcon.java468 * @param otherIcon the other icon
472 public boolean sameAs(Icon otherIcon) { argument
473 if (otherIcon == this) {
476 if (mType != otherIcon.getType()) {
481 return getBitmap() == otherIcon.getBitmap();
483 return getDataLength() == otherIcon.getDataLength()
484 && getDataOffset() == otherIcon.getDataOffset()
485 && getDataBytes() == otherIcon.getDataBytes();
487 return getResId() == otherIcon.getResId()
488 && Objects.equals(getResPackage(), otherIcon
[all...]

Completed in 40 milliseconds