Home
last modified time | relevance | path

Searched refs:deviceWidth (Results 1 – 13 of 13) 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.h59 int32_t deviceWidth; member
79 deviceWidth(0), in DisplayViewport()
92 deviceWidth == other.deviceWidth && deviceHeight == other.deviceHeight &&
114 deviceWidth = width; in setNonDisplayViewport()
133 deviceWidth, deviceHeight, isActive); in toString()
/frameworks/base/core/jni/
Dandroid_hardware_display_DisplayViewport.cpp41 jfieldID deviceWidth; member
67 viewport->deviceWidth = env->GetIntField(viewportObj, gDisplayViewportClassInfo.deviceWidth); in android_hardware_display_DisplayViewport_toNative()
117 gDisplayViewportClassInfo.deviceWidth = GetFieldIDOrDie(env, in register_android_hardware_display_DisplayViewport()
/frameworks/base/nfc/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.cpp189 width = viewport.deviceWidth; in getNonRotatedSize()
241 x = oldViewport.deviceWidth - x; in setDisplayViewport()
247 y = oldViewport.deviceWidth - temp; in setDisplayViewport()
261 x = viewport.deviceWidth - x; in setDisplayViewport()
266 x = viewport.deviceWidth - y; in setDisplayViewport()
/frameworks/native/services/inputflinger/tests/
DFakeInputReaderPolicy.cpp102 v.deviceWidth = isRotated ? height : width; in addDisplayViewport()
DCursorInputMapper_test.cpp72 v.deviceWidth = isRotated ? DISPLAY_HEIGHT : DISPLAY_WIDTH; in createPrimaryViewport()
87 v.deviceWidth = DISPLAY_HEIGHT; in createSecondaryViewport()
DInputReader_test.cpp6371 v.deviceWidth = rotatedWidth; in configurePhysicalDisplay()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDevice.java399 viewport.deviceWidth = isRotated ? info.height : info.width; in populateViewportLocked()
/frameworks/base/libs/input/tests/
DPointerController_test.cpp219 viewport.deviceWidth = 400; in ensureDisplayViewportIsSet()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp104 ui::Size rotatedDisplaySize{viewport.deviceWidth, viewport.deviceHeight}; in getNaturalDisplaySize()
891 const float xScale = static_cast<float>(mViewport.deviceWidth) / rotatedRawSize.width; in computeInputTransforms()
905 ui::Transform(viewportRotation, mViewport.deviceWidth, mViewport.deviceHeight) in computeInputTransforms()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayManagerServiceTest.java508 assertEquals(width, virtualViewport.deviceWidth);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt19861 Landroid/hardware/display/DisplayViewport;->deviceWidth:I