Home
last modified time | relevance | path

Searched refs:getDisplayPosition (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLogicalDisplayTest.java129 assertEquals(new Point(0, 0), mLogicalDisplay.getDisplayPosition()); in testLetterbox()
150 assertEquals(new Point(0, DISPLAY_HEIGHT / 4), mLogicalDisplay.getDisplayPosition()); in testLetterbox()
180 assertEquals(new Point(0, 0), mLogicalDisplay.getDisplayPosition()); in testNoLetterbox_noAnisotropyCorrectionForInternalDisplay()
209 assertEquals(new Point(0, 0), mLogicalDisplay.getDisplayPosition()); in testNoLetterbox_anisotropyCorrection()
230 assertEquals(new Point(0, 75), mLogicalDisplay.getDisplayPosition()); in testLetterbox_anisotropyCorrectionYDpi()
267 assertEquals(new Point(75, 0), mLogicalDisplay.getDisplayPosition()); in testPillarbox()
296 assertEquals(new Point(50, 0), mLogicalDisplay.getDisplayPosition()); in testPillarbox_anisotropyCorrection()
325 assertEquals(new Point(0, 0), mLogicalDisplay.getDisplayPosition()); in testNoPillarbox_anisotropyCorrectionYDpi()
334 assertEquals(expectedPosition, mLogicalDisplay.getDisplayPosition()); in testGetDisplayPosition()
339 assertEquals(expectedPosition, mLogicalDisplay.getDisplayPosition()); in testGetDisplayPosition()
[all …]
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerInternal.java158 public abstract Point getDisplayPosition(int displayId); in getDisplayPosition() method in DisplayManagerInternal
/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplay.java628 Point getDisplayPosition() { in getDisplayPosition() method in LogicalDisplay
DDisplayManagerService.java4802 public Point getDisplayPosition(int displayId) { in getDisplayPosition() method in LocalService
4806 return display.getDisplayPosition(); in getDisplayPosition()