Lines Matching defs:other
44 * density, instead allow the platform to scale from other densities
229 * Returns true if these display metrics equal the other display metrics.
231 * @param other The display metrics with which to compare.
234 public boolean equals(DisplayMetrics other) {
235 return equalsPhysical(other)
236 && scaledDensity == other.scaledDensity
237 && noncompatScaledDensity == other.noncompatScaledDensity;
245 * @param other The display metrics with which to compare.
249 public boolean equalsPhysical(DisplayMetrics other) {
250 return other != null
251 && widthPixels == other.widthPixels
252 && heightPixels == other.heightPixels
253 && density == other.density
254 && densityDpi == other.densityDpi
255 && xdpi == other.xdpi
256 && ydpi == other.ydpi
257 && noncompatWidthPixels == other.noncompatWidthPixels
258 && noncompatHeightPixels == other.noncompatHeightPixels
259 && noncompatDensity == other.noncompatDensity
260 && noncompatDensityDpi == other.noncompatDensityDpi
261 && noncompatXdpi == other.noncompatXdpi
262 && noncompatYdpi == other.noncompatYdpi;