Home
last modified time | relevance | path

Searched refs:bb (Results 1 – 4 of 4) sorted by relevance

/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/
DMultiTouchActivity.java167 ByteBuffer bb = null; in onTouch() local
178 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 …]
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/views/
DMultiTouchView.java195 public void constructEventMessage(ByteBuffer bb, MotionEvent event, int ptr_index) { in constructEventMessage() argument
196 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()
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/
DChannel.java404 ByteBuffer bb = ByteBuffer.allocate(ProtocolConstants.MESSAGE_HEADER_SIZE + len); in sendMessage() local
405 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() local
543 bb.order(mEndian); in sendQueryResponse()
[all …]
/sdk/templates/docs/
Djquery-1.8.0.min.js2bb(){return!0}function bh(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function bi(a,b){… function