Searched refs:otherItem (Results 1 – 4 of 4) sorted by relevance
59 val otherItem = other as? OptionItemViewModel<*> ?: return false in equals() constant62 return this.payload == otherItem.payload && in equals()63 this.text == otherItem.text && in equals()64 this.isSelected.value == otherItem.isSelected.value && in equals()65 this.isEnabled == otherItem.isEnabled && in equals()66 this.onLongClicked == otherItem.onLongClicked in equals()
81 final WifiSliceItem otherItem = (WifiSliceItem) other; in equals() local82 if (!TextUtils.equals(getKey(), otherItem.getKey())) { in equals()85 if (getConnectedState() != otherItem.getConnectedState()) { in equals()88 if (getLevel() != otherItem.getLevel()) { in equals()91 if (shouldShowXLevelIcon() != otherItem.shouldShowXLevelIcon()) { in equals()94 if (!TextUtils.equals(getSummary(), otherItem.getSummary())) { in equals()97 if (isInstantHotspotNetwork() != otherItem.isInstantHotspotNetwork()) { in equals()100 if (getInstantHotspotDeviceType() != otherItem.getInstantHotspotDeviceType()) { in equals()
45 private static final Comparator<WidgetItem> WIDGET_SHORTCUT_COMPARATOR = (item, otherItem) -> {46 if (item.widgetInfo != null && otherItem.widgetInfo == null) return -1;48 if (item.widgetInfo == null && otherItem.widgetInfo != null) return 1;49 if (item.spanY == otherItem.spanY) {50 if (item.spanX == otherItem.spanX) return 0;51 return item.spanX > otherItem.spanX ? 1 : -1;53 return item.spanY > otherItem.spanY ? 1 : -1;
97 public boolean hasSameType(WidgetItem otherItem) { in hasSameType() argument98 if (widgetInfo != null && otherItem.widgetInfo != null) { in hasSameType()101 if (activityInfo != null && otherItem.activityInfo != null) { in hasSameType()