Home
last modified time | relevance | path

Searched refs:deviceWidth (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/hardware/display/
DDisplayViewport.java73 public int deviceWidth; field in DisplayViewport
91 deviceWidth = viewport.deviceWidth; in copyFrom()
124 && deviceWidth == other.deviceWidth in equals()
141 result += prime * result + deviceWidth; in hashCode()
163 + ", deviceWidth=" + deviceWidth in toString()
/frameworks/native/include/input/
DDisplayViewport.h63 int32_t deviceWidth; member
83 deviceWidth(0), in DisplayViewport()
96 deviceWidth == other.deviceWidth && deviceHeight == other.deviceHeight &&
120 deviceWidth = width; in setNonDisplayViewport()
138 physicalLeft, physicalTop, physicalRight, physicalBottom, deviceWidth, in toString()
/frameworks/base/core/jni/
Dandroid_hardware_display_DisplayViewport.cpp41 jfieldID deviceWidth; member
65 viewport->deviceWidth = env->GetIntField(viewportObj, gDisplayViewportClassInfo.deviceWidth); in android_hardware_display_DisplayViewport_toNative()
115 gDisplayViewportClassInfo.deviceWidth = GetFieldIDOrDie(env, in register_android_hardware_display_DisplayViewport()
/frameworks/base/libs/input/
DMouseCursorController.cpp204 width = viewport.deviceWidth; in getNonRotatedSize()
258 x = oldViewport.deviceWidth - x; in setDisplayViewport()
264 y = oldViewport.deviceWidth - temp; in setDisplayViewport()
276 x = viewport.deviceWidth - x; in setDisplayViewport()
281 x = viewport.deviceWidth - y; in setDisplayViewport()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDevice.java280 viewport.deviceWidth = isRotated ? info.height : info.width; in populateViewportLocked()
/frameworks/base/libs/input/tests/
DPointerController_test.cpp178 viewport.deviceWidth = 400; in ensureDisplayViewportIsSet()
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp207 mDisplayWidth = internalViewport->deviceWidth; in configure()
DTouchInputMapper.cpp681 naturalDeviceHeight = mViewport.deviceWidth; in configureSurface()
688 naturalPhysicalLeft = mViewport.deviceWidth - mViewport.physicalRight; in configureSurface()
690 naturalDeviceWidth = mViewport.deviceWidth; in configureSurface()
699 naturalPhysicalTop = mViewport.deviceWidth - mViewport.physicalRight; in configureSurface()
701 naturalDeviceHeight = mViewport.deviceWidth; in configureSurface()
711 naturalDeviceWidth = mViewport.deviceWidth; in configureSurface()
4019 rotatePoint(orientation, x, y, mViewport.deviceWidth, mViewport.deviceHeight); in getMouseCursorPosition()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java241 assertEquals(width, virtualViewport.deviceWidth); in testCreateVirtualDisplay_sentToInputManager()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java604 v.logicalFrame.set(0, 0, v.deviceWidth, v.deviceHeight); in setDisplayViewportsInternal()
605 v.physicalFrame.set(0, 0, v.deviceWidth, v.deviceHeight); in setDisplayViewportsInternal()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp334 v.deviceWidth = isRotated ? height : width; in createDisplayViewport()
8344 internalViewport->deviceWidth = DISPLAY_HEIGHT; in halfDisplayToCenterHorizontal()
8357 internalViewport->deviceWidth = DISPLAY_WIDTH; in halfDisplayToCenterHorizontal()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt22739 Landroid/hardware/display/DisplayViewport;->deviceWidth:I