Lines Matching refs:other

68      * and that no other application should be able to interact with it.
139 * other sources. The name may be localized and displayed to the user.
287 public boolean equals(DisplayDeviceInfo other) {
288 return other != null && diff(other) == 0;
293 * Assumes other is not null.
295 public int diff(DisplayDeviceInfo other) {
297 if (state != other.state) {
300 if (colorMode != other.colorMode) {
303 if (!Objects.equal(name, other.name)
304 || !Objects.equal(uniqueId, other.uniqueId)
305 || width != other.width
306 || height != other.height
307 || modeId != other.modeId
308 || defaultModeId != other.defaultModeId
309 || !Arrays.equals(supportedModes, other.supportedModes)
310 || !Arrays.equals(supportedColorModes, other.supportedColorModes)
311 || !Objects.equal(hdrCapabilities, other.hdrCapabilities)
312 || densityDpi != other.densityDpi
313 || xDpi != other.xDpi
314 || yDpi != other.yDpi
315 || appVsyncOffsetNanos != other.appVsyncOffsetNanos
316 || presentationDeadlineNanos != other.presentationDeadlineNanos
317 || flags != other.flags
318 || touch != other.touch
319 || rotation != other.rotation
320 || type != other.type
321 || !Objects.equal(address, other.address)
322 || ownerUid != other.ownerUid
323 || !Objects.equal(ownerPackageName, other.ownerPackageName)) {
334 public void copyFrom(DisplayDeviceInfo other) {
335 name = other.name;
336 uniqueId = other.uniqueId;
337 width = other.width;
338 height = other.height;
339 modeId = other.modeId;
340 defaultModeId = other.defaultModeId;
341 supportedModes = other.supportedModes;
342 colorMode = other.colorMode;
343 supportedColorModes = other.supportedColorModes;
344 hdrCapabilities = other.hdrCapabilities;
345 densityDpi = other.densityDpi;
346 xDpi = other.xDpi;
347 yDpi = other.yDpi;
348 appVsyncOffsetNanos = other.appVsyncOffsetNanos;
349 presentationDeadlineNanos = other.presentationDeadlineNanos;
350 flags = other.flags;
351 touch = other.touch;
352 rotation = other.rotation;
353 type = other.type;
354 address = other.address;
355 state = other.state;
356 ownerUid = other.ownerUid;
357 ownerPackageName = other.ownerPackageName;