Searched refs:ptr_index (Results 1 – 1 of 1) sorted by relevance
195 public void constructEventMessage(ByteBuffer bb, MotionEvent event, int ptr_index) { in constructEventMessage() argument196 bb.putInt(event.getPointerId(ptr_index)); in constructEventMessage()198 bb.putInt((int) (event.getX(ptr_index) / mDx)); in constructEventMessage()199 bb.putInt((int) (event.getY(ptr_index) / mDy)); in constructEventMessage()201 bb.putInt((int) (event.getY(ptr_index) / mDy)); in constructEventMessage()202 bb.putInt((int) (getWidth() - event.getX(ptr_index) / mDx)); in constructEventMessage()206 int pressure = (int) (event.getPressure(ptr_index) * 100); in constructEventMessage()