HomeSort by relevance Sort by last modified time
    Searched defs:ByteBuffer (Results 26 - 50 of 76) sorted by null

12 3 4

  /external/libgdx/extensions/gdx-jnigen/src/com/badlogic/gdx/jnigen/parsing/
JavaMethodParser.java 65 "jdouble"), Buffer("jobject"), ByteBuffer("jobject"), CharBuffer("jobject"), ShortBuffer("jobject"), IntBuffer("jobject"), LongBuffer(
99 if (this == ByteBuffer) return "char*";
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
AACTrackImpl.java 29 import java.nio.ByteBuffer;
77 private List<ByteBuffer> samples;
100 samples = new LinkedList<ByteBuffer>();
164 ByteBuffer data = descriptor.serialize();
203 public List<ByteBuffer> getSamples() {
222 ByteBuffer bb = ByteBuffer.wrap(data);
253 ByteBuffer bb = ByteBuffer.wrap(header);
275 samples.add(ByteBuffer.wrap(data))
    [all...]
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));
  /packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
TaskCompressImageToJpeg.java 43 import java.nio.ByteBuffer;
63 private final LruResourcePool<Integer, ByteBuffer> mByteBufferDirectPool;
76 LruResourcePool<Integer, ByteBuffer> byteBufferResourcePool) {
85 public int compressJpegFromYUV420Image(ImageProxy img, ByteBuffer outBuf, int quality,
119 ByteBuffer compressedData;
121 Resource<ByteBuffer> byteBufferResource = null;
132 ByteBuffer origBuffer = img.proxy.getPlanes().get(0).getBuffer();
133 compressedData = ByteBuffer.allocate(origBuffer.limit());
218 compressedData = ByteBuffer.allocate(croppedResult.length);
219 compressedData.put(ByteBuffer.wrap(croppedResult))
    [all...]
  /libcore/ojluni/src/main/java/java/nio/
ByteBuffer.java 194 public abstract class ByteBuffer
196 implements Comparable<ByteBuffer> {
209 ByteBuffer(int mark, int pos, int lim, int cap, // package-private
218 ByteBuffer(int mark, int pos, int lim, int cap) { // package-private
235 public static ByteBuffer allocateDirect(int capacity) {
258 public static ByteBuffer allocate(int capacity) {
288 public static ByteBuffer wrap(byte[] array,
311 public static ByteBuffer wrap(byte[] array) {
333 public abstract ByteBuffer slice();
350 public abstract ByteBuffer duplicate()
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
ByteBufferTest.java 22 import java.nio.ByteBuffer;
35 * Tests java.nio.ByteBuffer
42 protected ByteBuffer buf;
45 buf = ByteBuffer.allocate(10);
136 ByteBuffer readonly = buf.asReadOnlyBuffer();
169 ByteBuffer ret = buf.compact();
223 ByteBuffer other = ByteBuffer.allocate(buf.capacity());
240 assertTrue(ByteBuffer.wrap(new byte[21]).compareTo(ByteBuffer.allocateDirect(21)) == 0)
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapTest.java 36 import java.nio.ByteBuffer;
127 mBitmap.copyPixelsToBuffer(ByteBuffer.allocate(tooSmall));
133 ByteBuffer byteBuf = ByteBuffer.allocate(pixSize);
140 mBitmap.copyPixelsToBuffer(ByteBuffer.allocate(tooSmall));
153 mBitmap.copyPixelsToBuffer(ByteBuffer.allocate(tooSmall));
    [all...]
  /external/protobuf/java/src/main/java/com/google/protobuf/nano/
CodedOutputByteBufferNano.java 35 import java.nio.ByteBuffer;
56 private final ByteBuffer buffer;
60 this(ByteBuffer.wrap(buffer, offset, length));
63 private CodedOutputByteBufferNano(final ByteBuffer buffer) {
400 * Encodes {@code sequence} into UTF-8, in {@code byteBuffer}. For a string, this method is
412 * {@code byteBuffer}'s remaining space.
413 * @throws ReadOnlyBufferException if {@code byteBuffer} is a read-only buffer.
415 private static void encode(CharSequence sequence, ByteBuffer byteBuffer) {
416 if (byteBuffer.isReadOnly())
    [all...]
  /cts/tests/tests/keystore/src/android/keystore/cts/
BlockCipherTestBase.java 26 import java.nio.ByteBuffer;
659 assertEquals(0, update(ByteBuffer.allocate(1), ByteBuffer.allocate(getBlockSize())));
669 assertEquals(0, update(ByteBuffer.allocate(1), ByteBuffer.allocate(getBlockSize())));
702 ByteBuffer inputBuffer = ByteBuffer.wrap(
706 ByteBuffer actualOutputBuffer = ByteBuffer.allocate(expectedOutput.length);
711 (ByteBuffer) ByteBuffer.wrap(expectedOutput).position(expectedOutput.length)
    [all...]
  /libcore/dex/src/main/java/com/android/dex/
Dex.java 33 import java.nio.ByteBuffer;
60 private ByteBuffer data;
75 this(ByteBuffer.wrap(data));
78 private Dex(ByteBuffer data) throws IOException {
88 this.data = ByteBuffer.wrap(new byte[byteCount]);
125 public static Dex create(ByteBuffer data) throws IOException {
154 this.data = ByteBuffer.wrap(bytesOut.toByteArray());
167 ByteBuffer data = this.data.duplicate(); // positioned ByteBuffers aren't thread safe
191 ByteBuffer sectionData = data.duplicate();
203 ByteBuffer sectionData = data.duplicate()
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/
BufferTest.java 27 import java.nio.ByteBuffer;
49 private static ByteBuffer allocateMapped(int size) throws Exception {
117 testByteSwappedBulkGet(ByteBuffer.allocateDirect(10));
121 testByteSwappedBulkGet(ByteBuffer.allocate(10));
128 private void testByteSwappedBulkGet(ByteBuffer b) throws Exception {
201 private static String toString(ByteBuffer b) {
210 testByteSwappedBulkPut(ByteBuffer.allocateDirect(10));
214 testByteSwappedBulkPut(ByteBuffer.allocate(10));
221 private void testByteSwappedBulkPut(ByteBuffer b) throws Exception {
263 testByteBufferByteOrder(ByteBuffer.allocateDirect(10), false)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DatagramChannelTest.java 29 import java.nio.ByteBuffer;
132 * Test method for 'java.nio.channels.DatagramChannel.read(ByteBuffer)'
140 ByteBuffer[] readBuf = null;
155 readBuf = new ByteBuffer[bufSize];
169 * Test method for 'java.nio.channels.DatagramChannel.read(ByteBuffer)'
176 ByteBuffer[] readBuf = null;
195 * Test method for 'java.nio.channels.DatagramChannel.write(ByteBuffer)'
202 ByteBuffer[] readBuf = null;
215 readBuf = new ByteBuffer[bufSize];
231 * Test method for 'java.nio.channels.DatagramChannel.write(ByteBuffer)'
    [all...]
SocketChannelTest.java 33 import java.nio.ByteBuffer;
130 java.nio.ByteBuffer[] buf = new java.nio.ByteBuffer[1];
131 buf[0] = java.nio.ByteBuffer.allocateDirect(CAPACITY_NORMAL);
227 * Test method for 'java.nio.channels.SocketChannel.read(ByteBuffer[])'
230 java.nio.ByteBuffer[] byteBuf = null;
242 byteBuf = new java.nio.ByteBuffer[CAPACITY_NORMAL];
260 * Test method for 'java.nio.channels.SocketChannel.read(ByteBuffer[])'
263 java.nio.ByteBuffer[] byteBuf = null;
288 * Test method for 'java.nio.channels.SocketChannel.write(ByteBuffer[])'
    [all...]
  /prebuilts/tools/common/m2/repository/tightvnc/
tightvnc.jar 
  /external/guice/extensions/persist/lib/
antlr-2.7.5h3.jar 
  /prebuilts/tools/common/m2/repository/antlr/antlr/2.7.7/
antlr-2.7.7.jar 
  /external/robolectric/v3/runtime/
shadows-core-3.1-SNAPSHOT-16.jar 
shadows-core-3.1-SNAPSHOT-17.jar 
shadows-core-3.1-SNAPSHOT-18.jar 
shadows-core-3.1-SNAPSHOT-19.jar 
shadows-core-3.1-SNAPSHOT-21.jar 
shadows-core-3.1-SNAPSHOT-22.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
com.ibm.icu_4.2.1.v20100412.jar 
  /prebuilts/tools/common/m2/repository/itext/itext/2.0.8/
itext-2.0.8.jar 
  /development/tools/checkstyle/
checkstyle.jar 

Completed in 560 milliseconds

12 3 4