Home
last modified time | relevance | path

Searched refs:INVALID_SIZE (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DSizeVoteTest.kt44 summary.width = Vote.INVALID_SIZE in updates size if width and height not set and display resolution voting disabled()
45 summary.height = Vote.INVALID_SIZE in updates size if width and height not set and display resolution voting disabled()
61 summary.height = Vote.INVALID_SIZE in does not update size if width set and display resolution voting disabled()
68 assertThat(summary.height).isEqualTo(Vote.INVALID_SIZE) in does not update size if width set and display resolution voting disabled()
76 summary.width = Vote.INVALID_SIZE in does not update size if height set and display resolution voting disabled()
83 assertThat(summary.width).isEqualTo(Vote.INVALID_SIZE) in does not update size if height set and display resolution voting disabled()
/frameworks/base/services/core/java/com/android/server/display/mode/
DVoteSummary.java97 if (height == Vote.INVALID_SIZE || width == Vote.INVALID_SIZE) { in adjustSize()
362 width = Vote.INVALID_SIZE; in updateSummaryWithBestAllowedResolution()
363 height = Vote.INVALID_SIZE; in updateSummaryWithBestAllowedResolution()
391 width = Vote.INVALID_SIZE; in reset()
392 height = Vote.INVALID_SIZE; in reset()
DSizeVote.java58 if (summary.width == Vote.INVALID_SIZE && summary.height == Vote.INVALID_SIZE) { in updateSummary()
DVote.java177 int INVALID_SIZE = -1; field
/frameworks/base/core/java/com/android/internal/widget/
DOrientationHelper.java35 private static final int INVALID_SIZE = Integer.MIN_VALUE; field in OrientationHelper
43 private int mLastTotalSpace = INVALID_SIZE;
71 return INVALID_SIZE == mLastTotalSpace ? 0 : getTotalSpace() - mLastTotalSpace; in getTotalSpaceChange()