Searched refs:bb (Results 1 – 4 of 4) sorted by relevance
167 ByteBuffer bb = null; in onTouch() local178 bb = ByteBuffer.allocate( in onTouch()180 bb.order(h.getEndian()); in onTouch()182 mImageView.constructEventMessage(bb, event, n); in onTouch()189 bb = ByteBuffer.allocate(ProtocolConstants.MT_EVENT_ENTRY_SIZE); in onTouch()190 bb.order(h.getEndian()); in onTouch()191 mImageView.constructEventMessage(bb, event, action_pid_index); in onTouch()197 bb = ByteBuffer.allocate(ProtocolConstants.MT_EVENT_ENTRY_SIZE); in onTouch()198 bb.order(h.getEndian()); in onTouch()199 bb.putInt(event.getPointerId(action_pid_index)); in onTouch()[all …]
404 ByteBuffer bb = ByteBuffer.allocate(ProtocolConstants.MESSAGE_HEADER_SIZE + len); in sendMessage() local405 bb.order(mEndian); in sendMessage()408 bb.putInt(ProtocolConstants.PACKET_SIGNATURE); in sendMessage()409 bb.putInt(ProtocolConstants.MESSAGE_HEADER_SIZE + len); in sendMessage()410 bb.putInt(ProtocolConstants.PACKET_TYPE_MESSAGE); in sendMessage()411 bb.putInt(msg_type); in sendMessage()415 bb.put(msg, 0, len); in sendMessage()418 socket.send(bb.array()); in sendMessage()542 ByteBuffer bb = ByteBuffer.allocate(ProtocolConstants.QUERY_RESP_HEADER_SIZE + len); in sendQueryResponse() local543 bb.order(mEndian); in sendQueryResponse()[all …]
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()211 bb.putInt(pressure); in constructEventMessage()
2 …bb(){return!0}function bh(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function bi(a,b){… function