Lines Matching refs:evt
63 void anp_logPluginEvent(void* npp, const ANPEvent* evt, int16_t returnVal, int elapsedTime) { in anp_logPluginEvent() argument
65 switch(evt->eventType) { in anp_logPluginEvent()
72 if(evt->data.key.action < ARRAY_COUNT(inputActions)) { in anp_logPluginEvent()
74 npp, returnVal, elapsedTime, inputActions[evt->data.key.action], in anp_logPluginEvent()
75 evt->data.key.nativeCode, evt->data.key.virtualCode, in anp_logPluginEvent()
76 evt->data.key.unichar, evt->data.key.repeatCount, in anp_logPluginEvent()
77 evt->data.key.modifiers); in anp_logPluginEvent()
84 if(evt->data.mouse.action < ARRAY_COUNT(inputActions)) { in anp_logPluginEvent()
86 returnVal, elapsedTime, inputActions[evt->data.mouse.action], in anp_logPluginEvent()
87 evt->data.touch.x, evt->data.touch.y); in anp_logPluginEvent()
94 if(evt->data.touch.action < ARRAY_COUNT(inputActions)) { in anp_logPluginEvent()
98 inputActions[evt->data.touch.action], evt->data.touch.x, in anp_logPluginEvent()
99 evt->data.touch.y); in anp_logPluginEvent()
106 if (evt->data.draw.model == kBitmap_ANPDrawingModel) { in anp_logPluginEvent()
108 npp, elapsedTime, evt->data.draw.data.bitmap.format, in anp_logPluginEvent()
109 evt->data.draw.clip.left, evt->data.draw.clip.top, in anp_logPluginEvent()
110 evt->data.draw.clip.right, evt->data.draw.clip.bottom); in anp_logPluginEvent()
111 } else if (evt->data.draw.model == kOpenGL_ANPDrawingModel) { in anp_logPluginEvent()
113 npp, elapsedTime, evt->data.draw.data.surface.width, in anp_logPluginEvent()
114 evt->data.draw.data.surface.height); in anp_logPluginEvent()
121 if(evt->data.lifecycle.action < ARRAY_COUNT(lifecycleActions)) { in anp_logPluginEvent()
123 lifecycleActions[evt->data.lifecycle.action]); in anp_logPluginEvent()