Lines Matching refs:other

265     public DisplayInfo(DisplayInfo other) {
266 copyFrom(other);
278 public boolean equals(DisplayInfo other) {
279 return other != null
280 && layerStack == other.layerStack
281 && flags == other.flags
282 && type == other.type
283 && Objects.equal(address, other.address)
284 && Objects.equal(uniqueId, other.uniqueId)
285 && appWidth == other.appWidth
286 && appHeight == other.appHeight
287 && smallestNominalAppWidth == other.smallestNominalAppWidth
288 && smallestNominalAppHeight == other.smallestNominalAppHeight
289 && largestNominalAppWidth == other.largestNominalAppWidth
290 && largestNominalAppHeight == other.largestNominalAppHeight
291 && logicalWidth == other.logicalWidth
292 && logicalHeight == other.logicalHeight
293 && overscanLeft == other.overscanLeft
294 && overscanTop == other.overscanTop
295 && overscanRight == other.overscanRight
296 && overscanBottom == other.overscanBottom
297 && rotation == other.rotation
298 && modeId == other.modeId
299 && defaultModeId == other.defaultModeId
300 && colorMode == other.colorMode
301 && Arrays.equals(supportedColorModes, other.supportedColorModes)
302 && Objects.equal(hdrCapabilities, other.hdrCapabilities)
303 && logicalDensityDpi == other.logicalDensityDpi
304 && physicalXDpi == other.physicalXDpi
305 && physicalYDpi == other.physicalYDpi
306 && appVsyncOffsetNanos == other.appVsyncOffsetNanos
307 && presentationDeadlineNanos == other.presentationDeadlineNanos
308 && state == other.state
309 && ownerUid == other.ownerUid
310 && Objects.equal(ownerPackageName, other.ownerPackageName)
311 && removeMode == other.removeMode;
319 public void copyFrom(DisplayInfo other) {
320 layerStack = other.layerStack;
321 flags = other.flags;
322 type = other.type;
323 address = other.address;
324 name = other.name;
325 uniqueId = other.uniqueId;
326 appWidth = other.appWidth;
327 appHeight = other.appHeight;
328 smallestNominalAppWidth = other.smallestNominalAppWidth;
329 smallestNominalAppHeight = other.smallestNominalAppHeight;
330 largestNominalAppWidth = other.largestNominalAppWidth;
331 largestNominalAppHeight = other.largestNominalAppHeight;
332 logicalWidth = other.logicalWidth;
333 logicalHeight = other.logicalHeight;
334 overscanLeft = other.overscanLeft;
335 overscanTop = other.overscanTop;
336 overscanRight = other.overscanRight;
337 overscanBottom = other.overscanBottom;
338 rotation = other.rotation;
339 modeId = other.modeId;
340 defaultModeId = other.defaultModeId;
341 supportedModes = Arrays.copyOf(other.supportedModes, other.supportedModes.length);
342 colorMode = other.colorMode;
344 other.supportedColorModes, other.supportedColorModes.length);
345 hdrCapabilities = other.hdrCapabilities;
346 logicalDensityDpi = other.logicalDensityDpi;
347 physicalXDpi = other.physicalXDpi;
348 physicalYDpi = other.physicalYDpi;
349 appVsyncOffsetNanos = other.appVsyncOffsetNanos;
350 presentationDeadlineNanos = other.presentationDeadlineNanos;
351 state = other.state;
352 ownerUid = other.ownerUid;
353 ownerPackageName = other.ownerPackageName;
354 removeMode = other.removeMode;