Searched refs:bb (Results 1 – 6 of 6) sorted by relevance
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
D | GLUtils.java | 47 FloatBuffer bb = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN).asFloatBuffer(); in formatFloats() local 49 StringBuilder sb = new StringBuilder(bb.capacity() * 3); in formatFloats() 51 while (bb.remaining() > 0) { in formatFloats() 52 sb.append(String.format("%.4f", bb.get())); in formatFloats() 61 IntBuffer bb = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN).asIntBuffer(); in formatInts() local 63 StringBuilder sb = new StringBuilder(bb.capacity() * 3); in formatInts() 65 while (bb.remaining() > 0) { in formatInts() 66 sb.append(bb.get()); in formatInts() 75 ShortBuffer bb = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN).asShortBuffer(); in formatShorts() local 77 StringBuilder sb = new StringBuilder(bb.capacity() * 3); in formatShorts() [all …]
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/ |
D | MultiTouchActivity.java | 167 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/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
D | BufferSubDataTransform.java | 49 ByteBuffer bb = ByteBuffer.wrap(mNewData); in apply() local 52 bb.put(mOldData); in apply() 53 bb.rewind(); in apply() 56 bb.position(mOffset); in apply() 57 bb.put(mSubData); in apply()
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/ |
D | Channel.java | 404 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/apps/SdkController/src/com/android/tools/sdkcontroller/views/ |
D | MultiTouchView.java | 195 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/templates/docs/ |
D | jquery-1.8.0.min.js | 2 …bb(){return!0}function bh(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function bi(a,b){… function
|