Home
last modified time | relevance | path

Searched refs:viewportObj (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/jni/
Dandroid_hardware_display_DisplayViewport.cpp57 status_t android_hardware_display_DisplayViewport_toNative(JNIEnv* env, jobject viewportObj, in android_hardware_display_DisplayViewport_toNative() argument
62 viewport->displayId = env->GetIntField(viewportObj, gDisplayViewportClassInfo.displayId); in android_hardware_display_DisplayViewport_toNative()
63 viewport->isActive = env->GetBooleanField(viewportObj, gDisplayViewportClassInfo.isActive); in android_hardware_display_DisplayViewport_toNative()
64 viewport->orientation = env->GetIntField(viewportObj, gDisplayViewportClassInfo.orientation); in android_hardware_display_DisplayViewport_toNative()
65 viewport->deviceWidth = env->GetIntField(viewportObj, gDisplayViewportClassInfo.deviceWidth); in android_hardware_display_DisplayViewport_toNative()
66 viewport->deviceHeight = env->GetIntField(viewportObj, gDisplayViewportClassInfo.deviceHeight); in android_hardware_display_DisplayViewport_toNative()
69 jstring(env->GetObjectField(viewportObj, gDisplayViewportClassInfo.uniqueId)); in android_hardware_display_DisplayViewport_toNative()
75 jobject physicalPort = env->GetObjectField(viewportObj, gDisplayViewportClassInfo.physicalPort); in android_hardware_display_DisplayViewport_toNative()
80 viewport->type = static_cast<ViewportType>(env->GetIntField(viewportObj, in android_hardware_display_DisplayViewport_toNative()
84 env->GetObjectField(viewportObj, gDisplayViewportClassInfo.logicalFrame); in android_hardware_display_DisplayViewport_toNative()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp399 jobject viewportObj = env->GetObjectArrayElement(viewportObjArray, i); in setDisplayViewports() local
400 if (! viewportObj) { in setDisplayViewports()
405 android_hardware_display_DisplayViewport_toNative(env, viewportObj, &viewport); in setDisplayViewports()
410 env->DeleteLocalRef(viewportObj); in setDisplayViewports()