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.h60 int32_t deviceWidth; member
80 deviceWidth(0), in DisplayViewport()
93 deviceWidth == other.deviceWidth && deviceHeight == other.deviceHeight &&
117 deviceWidth = width; in setNonDisplayViewport()
134 physicalLeft, physicalTop, physicalRight, physicalBottom, deviceWidth, in toString()
/frameworks/base/core/jni/
Dandroid_hardware_display_DisplayViewport.cpp41 jfieldID deviceWidth; member
66 viewport->deviceWidth = env->GetIntField(viewportObj, gDisplayViewportClassInfo.deviceWidth); in android_hardware_display_DisplayViewport_toNative()
116 gDisplayViewportClassInfo.deviceWidth = GetFieldIDOrDie(env, in register_android_hardware_display_DisplayViewport()
/frameworks/base/core/java/android/nfc/
DNfcAntennaInfo.java43 public NfcAntennaInfo(int deviceWidth, int deviceHeight, boolean deviceFoldable, in NfcAntennaInfo() argument
45 this.mDeviceWidth = deviceWidth; in NfcAntennaInfo()
/frameworks/base/libs/input/
DMouseCursorController.cpp180 width = viewport.deviceWidth; in getNonRotatedSize()
232 x = oldViewport.deviceWidth - x; in setDisplayViewport()
238 y = oldViewport.deviceWidth - temp; in setDisplayViewport()
252 x = viewport.deviceWidth - x; in setDisplayViewport()
257 x = viewport.deviceWidth - y; in setDisplayViewport()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDevice.java369 viewport.deviceWidth = isRotated ? info.height : info.width; in populateViewportLocked()
/frameworks/native/services/inputflinger/tests/
DFakeInputReaderPolicy.cpp96 v.deviceWidth = isRotated ? height : width; in addDisplayViewport()
DInputReader_test.cpp7040 v.deviceWidth = rotatedWidth; in configurePhysicalDisplay()
/frameworks/base/libs/input/tests/
DPointerController_test.cpp200 viewport.deviceWidth = 400; in ensureDisplayViewportIsSet()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp88 ui::Size rotatedDisplaySize{viewport.deviceWidth, viewport.deviceHeight}; in getNaturalDisplaySize()
896 const float xScale = static_cast<float>(mViewport.deviceWidth) / rotatedRawSize.width; in computeInputTransforms()
910 ui::Transform(viewportRotation, mViewport.deviceWidth, mViewport.deviceHeight) in computeInputTransforms()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayManagerServiceTest.java390 assertEquals(width, virtualViewport.deviceWidth);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt19861 Landroid/hardware/display/DisplayViewport;->deviceWidth:I