Home
last modified time | relevance | path

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

/frameworks/native/services/vr/virtual_touchpad/
DDvrVirtualTouchpadClient.cpp11 android::dvr::VirtualTouchpad* FromC(DvrVirtualTouchpad* client) { in FromC() function
22 delete FromC(client); in dvrVirtualTouchpadDestroy()
26 return FromC(client)->Attach(); in dvrVirtualTouchpadAttach()
30 return FromC(client)->Detach(); in dvrVirtualTouchpadDetach()
35 return FromC(client)->Touch(touchpad, x, y, pressure); in dvrVirtualTouchpadTouch()
40 return FromC(client)->ButtonState(touchpad, buttons); in dvrVirtualTouchpadButtonState()
/frameworks/native/libs/vr/libvrsensor/
Dpose_client.cpp31 static PoseClient* FromC(DvrPose* client) { in FromC() function in android::dvr::PoseClient
285 void dvrPoseDestroy(DvrPose* client) { delete PoseClient::FromC(client); } in dvrPoseDestroy()
288 return PoseClient::FromC(client)->GetPose(vsync_count, out_pose); in dvrPoseGet()
292 return PoseClient::FromC(client)->GetVsyncCount(); in dvrPoseGetVsyncCount()
297 return PoseClient::FromC(client)->GetControllerPose(controller_id, in dvrPoseGetController()
302 return PoseClient::FromC(client)->LogController(enable); in dvrPoseLogController()
306 return PoseClient::FromC(client)->Poll(state); in dvrPosePoll()
310 return PoseClient::FromC(client)->Freeze(*frozen_state); in dvrPoseFreeze()
314 return PoseClient::FromC(client)->SetMode(mode); in dvrPoseSetMode()
318 return PoseClient::FromC(client)->GetMode(mode); in dvrPoseGetMode()
[all …]