Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/display/
DDisplayViewport.java69 public int deviceWidth; field in DisplayViewport
86 deviceWidth = viewport.deviceWidth; in copyFrom()
118 && deviceWidth == other.deviceWidth in equals()
134 result += prime * result + deviceWidth; in hashCode()
153 + ", deviceWidth=" + deviceWidth in toString()
/frameworks/native/include/input/
DDisplayViewport.h68 int32_t deviceWidth; member
80 deviceWidth(0), deviceHeight(0), uniqueId(), physicalPort(std::nullopt), in DisplayViewport()
95 && deviceWidth == other.deviceWidth
121 deviceWidth = width; in setNonDisplayViewport()
141 deviceWidth, deviceHeight); in toString()
/frameworks/base/core/jni/
Dandroid_hardware_display_DisplayViewport.cpp40 jfieldID deviceWidth; member
63 viewport->deviceWidth = env->GetIntField(viewportObj, gDisplayViewportClassInfo.deviceWidth); in android_hardware_display_DisplayViewport_toNative()
110 gDisplayViewportClassInfo.deviceWidth = GetFieldIDOrDie(env, in register_android_hardware_display_DisplayViewport()
/frameworks/base/libs/input/
DPointerController.cpp365 width = viewport.deviceWidth; in getNonRotatedSize()
421 x = oldViewport.deviceWidth - x; in setDisplayViewport()
427 y = oldViewport.deviceWidth - temp; in setDisplayViewport()
439 x = viewport.deviceWidth - x; in setDisplayViewport()
444 x = viewport.deviceWidth - y; in setDisplayViewport()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDevice.java235 viewport.deviceWidth = isRotated ? info.height : info.width; in populateViewportLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java183 assertEquals(width, virtualViewport.deviceWidth); in testCreateVirtualDisplay_sentToInputManager()
/frameworks/native/services/inputflinger/
DInputReader.cpp3576 naturalDeviceHeight = mViewport.deviceWidth; in configureSurface()
3583 naturalPhysicalLeft = mViewport.deviceWidth - mViewport.physicalRight; in configureSurface()
3585 naturalDeviceWidth = mViewport.deviceWidth; in configureSurface()
3594 naturalPhysicalTop = mViewport.deviceWidth - mViewport.physicalRight; in configureSurface()
3596 naturalDeviceHeight = mViewport.deviceWidth; in configureSurface()
3606 naturalDeviceWidth = mViewport.deviceWidth; in configureSurface()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp267 v.deviceWidth = isRotated ? height : width; in createDisplayViewport()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt24287 Landroid/hardware/display/DisplayViewport;->deviceWidth:I