Home
last modified time | relevance | path

Searched refs:viewportType (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp195 void setDisplayViewport(int32_t viewportType, const DisplayViewport& viewport);
405 ViewportType viewportType = static_cast<ViewportType>(type); in setDisplayViewport() local
407 if (viewportType == ViewportType::VIEWPORT_EXTERNAL) { in setDisplayViewport()
409 } else if (viewportType == ViewportType::VIEWPORT_INTERNAL) { in setDisplayViewport()
417 if (viewportType == ViewportType::VIEWPORT_INTERNAL) { in setDisplayViewport()
1205 jint viewportType, jint displayId, jint orientation, in nativeSetDisplayViewport() argument
1228 im->setDisplayViewport(viewportType, v); in nativeSetDisplayViewport()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java195 private static native void nativeSetDisplayViewport(long ptr, int viewportType, in nativeSetDisplayViewport() argument
432 private void setDisplayViewport(int viewportType, DisplayViewport viewport) { in setDisplayViewport() argument
433 nativeSetDisplayViewport(mPtr, viewportType, in setDisplayViewport()
/frameworks/native/services/inputflinger/
DInputReader.h195 bool getDisplayViewport(ViewportType viewportType, const String8* displayId,
197 void setPhysicalDisplayViewport(ViewportType viewportType, const DisplayViewport& viewport);
DInputReader.cpp230 bool InputReaderConfiguration::getDisplayViewport(ViewportType viewportType, in getDisplayViewport() argument
233 if (viewportType == ViewportType::VIEWPORT_VIRTUAL && uniqueDisplayId != NULL) { in getDisplayViewport()
240 } else if (viewportType == ViewportType::VIEWPORT_EXTERNAL) { in getDisplayViewport()
242 } else if (viewportType == ViewportType::VIEWPORT_INTERNAL) { in getDisplayViewport()
253 void InputReaderConfiguration::setPhysicalDisplayViewport(ViewportType viewportType, in setPhysicalDisplayViewport() argument
255 if (viewportType == ViewportType::VIEWPORT_EXTERNAL) { in setPhysicalDisplayViewport()
257 } else if (viewportType == ViewportType::VIEWPORT_INTERNAL) { in setPhysicalDisplayViewport()