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.cpp54 status_t android_hardware_display_DisplayViewport_toNative(JNIEnv* env, jobject viewportObj, in android_hardware_display_DisplayViewport_toNative() argument
56 viewport->displayId = env->GetIntField(viewportObj, gDisplayViewportClassInfo.displayId); in android_hardware_display_DisplayViewport_toNative()
57 viewport->orientation = env->GetIntField(viewportObj, gDisplayViewportClassInfo.orientation); in android_hardware_display_DisplayViewport_toNative()
58 viewport->deviceWidth = env->GetIntField(viewportObj, gDisplayViewportClassInfo.deviceWidth); in android_hardware_display_DisplayViewport_toNative()
59 viewport->deviceHeight = env->GetIntField(viewportObj, gDisplayViewportClassInfo.deviceHeight); in android_hardware_display_DisplayViewport_toNative()
62 jstring(env->GetObjectField(viewportObj, gDisplayViewportClassInfo.uniqueId)); in android_hardware_display_DisplayViewport_toNative()
68 env->GetObjectField(viewportObj, gDisplayViewportClassInfo.logicalFrame); in android_hardware_display_DisplayViewport_toNative()
75 env->GetObjectField(viewportObj, gDisplayViewportClassInfo.physicalFrame); in android_hardware_display_DisplayViewport_toNative()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp393 jobject viewportObj = env->GetObjectArrayElement(viewportObjArray, i); in setVirtualDisplayViewports() local
394 if (! viewportObj) { in setVirtualDisplayViewports()
399 android_hardware_display_DisplayViewport_toNative(env, viewportObj, &viewport); in setVirtualDisplayViewports()
403 env->DeleteLocalRef(viewportObj); in setVirtualDisplayViewports()