Lines Matching refs:other

119         public boolean copyTo(State other) {
120 if (other == null) throw new IllegalArgumentException();
121 if (!other.getClass().equals(getClass())) throw new IllegalArgumentException();
122 final boolean changed = !Objects.equals(other.icon, icon)
123 || !Objects.equals(other.iconSupplier, iconSupplier)
124 || !Objects.equals(other.label, label)
125 || !Objects.equals(other.contentDescription, contentDescription)
126 || !Objects.equals(other.dualLabelContentDescription,
128 || !Objects.equals(other.expandedAccessibilityClassName,
130 || !Objects.equals(other.disabledByPolicy, disabledByPolicy)
131 || !Objects.equals(other.state, state)
132 || !Objects.equals(other.isTransient, isTransient)
133 || !Objects.equals(other.dualTarget, dualTarget)
134 || !Objects.equals(other.slash, slash);
135 other.icon = icon;
136 other.iconSupplier = iconSupplier;
137 other.label = label;
138 other.contentDescription = contentDescription;
139 other.dualLabelContentDescription = dualLabelContentDescription;
140 other.expandedAccessibilityClassName = expandedAccessibilityClassName;
141 other.disabledByPolicy = disabledByPolicy;
142 other.state = state;
143 other.dualTarget = dualTarget;
144 other.isTransient = isTransient;
145 other.slash = slash != null ? slash.copy() : null;
183 public boolean copyTo(State other) {
184 final BooleanState o = (BooleanState) other;
185 final boolean changed = super.copyTo(other) || o.value != value;
214 public boolean copyTo(State other) {
215 final SignalState o = (SignalState) other;
224 return super.copyTo(other) || changed;
250 public boolean copyTo(State other) {
251 final AirplaneBooleanState o = (AirplaneBooleanState) other;
252 final boolean changed = super.copyTo(other) || o.isAirplaneMode != isAirplaneMode;