Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/display/
DDisplayViewport.java53 public int deviceWidth; field in DisplayViewport
65 deviceWidth = viewport.deviceWidth; in copyFrom()
95 && deviceWidth == other.deviceWidth in equals()
109 result += prime * result + deviceWidth; in hashCode()
124 + ", deviceWidth=" + deviceWidth in toString()
/frameworks/native/include/input/
DDisplayViewport.h40 int32_t deviceWidth; member
48 deviceWidth(0), deviceHeight(0) { in DisplayViewport()
62 && deviceWidth == other.deviceWidth
86 deviceWidth = width; in setNonDisplayViewport()
/frameworks/base/core/jni/
Dandroid_hardware_display_DisplayViewport.cpp40 jfieldID deviceWidth; member
58 viewport->deviceWidth = env->GetIntField(viewportObj, gDisplayViewportClassInfo.deviceWidth); in android_hardware_display_DisplayViewport_toNative()
96 gDisplayViewportClassInfo.deviceWidth = GetFieldIDOrDie(env, in register_android_hardware_display_DisplayViewport()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDevice.java225 viewport.deviceWidth = isRotated ? info.height : info.width; in populateViewportLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java143 assertEquals(width, dv.deviceWidth); in testCreateVirtualDisplay_sentToInputManager()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1267 jint deviceWidth, jint deviceHeight, jstring uniqueId) { in nativeSetDisplayViewport() argument
1281 v.deviceWidth = deviceWidth; in nativeSetDisplayViewport()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java197 int deviceWidth, int deviceHeight, String uniqueId); in nativeSetDisplayViewport() argument
440 viewport.deviceWidth, viewport.deviceHeight, viewport.uniqueId); in setDisplayViewport()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp220 v.deviceWidth = isRotated ? height : width; in createDisplayViewport()