HomeSort by relevance Sort by last modified time
    Searched full:bytebuffer (Results 476 - 500 of 935) sorted by null

<<11121314151617181920>>

  /external/jmonkeyengine/engine/src/core/com/jme3/effect/
ParticlePointMesh.java 41 import java.nio.ByteBuffer;
77 ByteBuffer cb = BufferUtils.createByteBuffer(numParticles * 4);
120 ByteBuffer colors = (ByteBuffer) cvb.getData();
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
GImpactCollisionShape.java 45 import java.nio.ByteBuffer;
55 protected ByteBuffer triangleIndexBase, vertexBase;
111 triangleIndexBase = ByteBuffer.wrap(capsule.readByteArray("triangleIndexBase", new byte[0]));
112 vertexBase = ByteBuffer.wrap(capsule.readByteArray("vertexBase", new byte[0]));
MeshCollisionShape.java 45 import java.nio.ByteBuffer;
54 protected ByteBuffer triangleIndexBase, vertexBase;
107 triangleIndexBase = ByteBuffer.wrap(capsule.readByteArray("triangleIndexBase", new byte[0]));
108 vertexBase = ByteBuffer.wrap(capsule.readByteArray("vertexBase", new byte[0]));
  /frameworks/base/core/java/android/ddm/
DdmHandleProfiling.java 25 import java.nio.ByteBuffer;
103 ByteBuffer in = wrapChunk(request);
145 ByteBuffer in = wrapChunk(request);
200 ByteBuffer in = wrapChunk(request);
  /frameworks/base/core/java/android/hardware/usb/
UsbRequest.java 21 import java.nio.ByteBuffer;
45 private ByteBuffer mBuffer;
135 public boolean queue(ByteBuffer buffer, int length) {
182 private native boolean native_queue_direct(ByteBuffer buffer, int length, boolean out);
  /frameworks/base/core/java/android/net/arp/
ArpPeer.java 29 import java.nio.ByteBuffer;
84 ByteBuffer buf = ByteBuffer.allocate(MAX_LENGTH);
88 // construct ARP request packet, using a ByteBuffer as a
  /frameworks/base/core/jni/
android_hardware_SerialPort.cpp 197 jniThrowException(env, "java/lang/IllegalArgumentException", "ByteBuffer not direct");
231 jniThrowException(env, "java/lang/IllegalArgumentException", "ByteBuffer not direct");
252 {"native_read_direct", "(Ljava/nio/ByteBuffer;I)I",
256 {"native_write_direct", "(Ljava/nio/ByteBuffer;I)V",
  /frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DisplaySourceService.java 35 import java.nio.ByteBuffer;
81 public void onMessageReceived(int service, int what, ByteBuffer content) {
223 ByteBuffer[] buffers = null;
231 ByteBuffer buffer = buffers[index];
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
histogram.h 17 // Native function to extract histogram from image (handed down as ByteBuffer).
  /libcore/luni/src/main/java/java/nio/charset/
CharsetDecoder.java 21 import java.nio.ByteBuffer;
29 * {@link java.nio.ByteBuffer ByteBuffer} and the output character sequence is a
35 * <li>invoking the {@link #decode(ByteBuffer, CharBuffer, boolean) decode}
39 * <li>invoking the {@link #decode(ByteBuffer, CharBuffer, boolean) decode}
46 * The {@link #decode(ByteBuffer, CharBuffer, boolean) decode} method will
74 * {@link #decodeLoop(ByteBuffer, CharBuffer) decodeLoop} method for the basic
179 public final CharBuffer decode(ByteBuffer in) throws CharacterCodingException {
277 * {@link #decodeLoop(ByteBuffer, CharBuffer) decodeLoop} method to
292 * if the {@link #decodeLoop(ByteBuffer, CharBuffer) decodeLoop
    [all...]
CharsetDecoderICU.java 17 import java.nio.ByteBuffer;
129 @Override protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) {
183 private int getArray(ByteBuffer in) {
213 private void setPosition(ByteBuffer in) {
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
FatFile.java 26 import java.nio.ByteBuffer;
76 * {@link #write(long, java.nio.ByteBuffer) writing} to the file will grow
111 public void read(long offset, ByteBuffer dest) throws IOException {
144 public void write(long offset, ByteBuffer srcBuf)
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
AccelerometerTestRenderer.java 21 import java.nio.ByteBuffer;
70 ByteBuffer vbb = ByteBuffer.allocateDirect(VERTS * 6 * 4);
74 ByteBuffer tbb = ByteBuffer.allocateDirect(VERTS * 2 * 4);
78 ByteBuffer ibb = ByteBuffer.allocateDirect(VERTS * 8 * 2);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
SpriteTextRenderer.java 21 import java.nio.ByteBuffer;
292 ByteBuffer vbb = ByteBuffer.allocateDirect(VERTS * 3 * 4);
296 ByteBuffer tbb = ByteBuffer.allocateDirect(VERTS * 2 * 4);
300 ByteBuffer ibb = ByteBuffer.allocateDirect(VERTS * 2);
  /external/chromium/third_party/libjingle/source/talk/session/phone/
rtpdump.cc 32 #include "talk/base/bytebuffer.h"
50 void RtpDumpFileHeader::WriteToByteBuffer(talk_base::ByteBuffer* buf) {
112 talk_base::ByteBuffer buf(header, sizeof(header));
140 talk_base::ByteBuffer buf(header, sizeof(header));
273 talk_base::ByteBuffer buffer;
309 talk_base::ByteBuffer buf;
330 talk_base::ByteBuffer buf;
  /external/chromium_org/third_party/libjingle/source/talk/media/devices/
filevideocapturer.cc 30 #include "talk/base/bytebuffer.h"
68 // Convert the frame header to bytebuffer.
69 talk_base::ByteBuffer buffer;
79 // Write the bytebuffer to file.
275 // buffer, then construct a bytebuffer from the memory buffer, and finally
276 // read the frame header from the bytebuffer.
291 talk_base::ByteBuffer buffer(header, CapturedFrame::kFrameHeaderSize);
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
EC3TrackImpl.java 13 import java.nio.ByteBuffer;
36 private List<ByteBuffer> samples;
121 samples = new LinkedList<ByteBuffer>();
128 public List<ByteBuffer> getSamples() {
176 ByteBuffer bb = ByteBuffer.wrap(data);
400 samples.add(ByteBuffer.wrap(data));
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
ESDescriptor.java 23 import java.nio.ByteBuffer;
84 public void parseDetail(ByteBuffer bb) throws IOException {
177 public ByteBuffer serialize() {
178 ByteBuffer out = ByteBuffer.allocate(serializedSize()); // Usually is around 30 bytes, so 200 should be enough...
195 ByteBuffer dec = decoderConfigDescriptor.serialize();
196 ByteBuffer sl = slConfigDescriptor.serialize();
  /frameworks/base/media/java/android/media/
MediaExtractor.java 28 import java.nio.ByteBuffer;
49 * ByteBuffer inputBuffer = ByteBuffer.allocate(...)
210 ByteBuffer rawpssh = (ByteBuffer) formatMap.get("pssh");
214 // parse the flat pssh bytebuffer into something more manageable
289 public native int readSampleData(ByteBuffer byteBuf, int offset);
  /libcore/luni/src/main/java/java/nio/channels/
Channels.java 27 import java.nio.ByteBuffer;
220 ByteBuffer buffer = ByteBuffer.wrap(target, byteOffset, byteCount);
263 ByteBuffer buffer = ByteBuffer.wrap(source, offset, length);
297 public synchronized int read(ByteBuffer target) throws IOException {
336 public synchronized int write(ByteBuffer source) throws IOException {
  /libcore/luni/src/main/java/libcore/io/
ForwardingOs.java 24 import java.nio.ByteBuffer;
101 public int pread(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException { return os.pread(fd, buffer, offset); }
103 public int pwrite(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException { return os.pwrite(fd, buffer, offset); }
105 public int read(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException { return os.read(fd, buffer); }
108 public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { return os.recvfrom(fd, buffer, flags, srcAddress); }
113 public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException { return os.sendto(fd, buffer, flags, inetAddress, port); }
143 public int write(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException { return os.write(fd, buffer); }
Posix.java 24 import java.nio.ByteBuffer;
95 public int pread(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException {
107 public int pwrite(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException {
119 public int read(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException {
132 public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException {
147 public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException {
193 public int write(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException {
  /packages/apps/Nfc/src/com/android/nfc/
FireflyRenderer.java 29 import java.nio.ByteBuffer;
104 ByteBuffer vbb = ByteBuffer.allocateDirect(mVertices.length * 4); // Float => 4 bytes
110 ByteBuffer ibb = ByteBuffer.allocateDirect(mIndices.length * 2); // Short => 2 bytes
116 ByteBuffer tbb = ByteBuffer.allocateDirect(mTextCoords.length * 4);
  /cts/tests/tests/holo/src/android/holo/cts/
LayoutTestActivity.java 36 import java.nio.ByteBuffer;
187 ByteBuffer buffer1 = ByteBuffer.allocate(bitmap.getByteCount());
188 ByteBuffer buffer2 = ByteBuffer.allocate(reference.getByteCount());
  /external/chromium_org/media/base/android/java/src/org/chromium/media/
AudioRecordInput.java 20 import java.nio.ByteBuffer;
40 private ByteBuffer mBuffer;
117 mBuffer = ByteBuffer.allocateDirect(bytesPerBuffer);
118 // Rather than passing the ByteBuffer with every OnData call (requiring
247 ByteBuffer buffer);

Completed in 1052 milliseconds

<<11121314151617181920>>