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.cpp204 void setDisplayViewport(int32_t viewportType, const DisplayViewport& viewport);
418 ViewportType viewportType = static_cast<ViewportType>(type); in setDisplayViewport() local
420 if (viewportType == ViewportType::VIEWPORT_EXTERNAL) { in setDisplayViewport()
422 } else if (viewportType == ViewportType::VIEWPORT_INTERNAL) { in setDisplayViewport()
430 if (viewportType == ViewportType::VIEWPORT_INTERNAL) { in setDisplayViewport()
1261 jint viewportType, jint displayId, jint orientation, in nativeSetDisplayViewport() argument
1284 im->setDisplayViewport(viewportType, v); in nativeSetDisplayViewport()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java198 private static native void nativeSetDisplayViewport(long ptr, int viewportType, in nativeSetDisplayViewport() argument
438 private void setDisplayViewport(int viewportType, DisplayViewport viewport) { in setDisplayViewport() argument
439 nativeSetDisplayViewport(mPtr, viewportType, in setDisplayViewport()
/frameworks/native/services/inputflinger/
DInputReader.h204 bool getDisplayViewport(ViewportType viewportType, const String8* displayId,
206 void setPhysicalDisplayViewport(ViewportType viewportType, const DisplayViewport& viewport);
DInputReader.cpp256 bool InputReaderConfiguration::getDisplayViewport(ViewportType viewportType, in getDisplayViewport() argument
259 if (viewportType == ViewportType::VIEWPORT_VIRTUAL && uniqueDisplayId != NULL) { in getDisplayViewport()
266 } else if (viewportType == ViewportType::VIEWPORT_EXTERNAL) { in getDisplayViewport()
268 } else if (viewportType == ViewportType::VIEWPORT_INTERNAL) { in getDisplayViewport()
279 void InputReaderConfiguration::setPhysicalDisplayViewport(ViewportType viewportType, in setPhysicalDisplayViewport() argument
281 if (viewportType == ViewportType::VIEWPORT_EXTERNAL) { in setPhysicalDisplayViewport()
283 } else if (viewportType == ViewportType::VIEWPORT_INTERNAL) { in setPhysicalDisplayViewport()