HomeSort by relevance Sort by last modified time
    Searched refs:mByteBuffer (Results 1 - 24 of 24) sorted by null

  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/libcore/io/
BridgeBufferIterator.java 29 private final ByteBuffer mByteBuffer;
33 mByteBuffer = buffer;
39 mByteBuffer.position(offset);
44 int newPosition = mByteBuffer.position() + byteCount;
46 mByteBuffer.position(newPosition);
52 mByteBuffer.get(dst, dstOffset, byteCount);
57 return mByteBuffer.get();
62 return mByteBuffer.getInt();
68 dst[dstOffset++] = mByteBuffer.getInt();
74 return mByteBuffer.getShort()
    [all...]
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
OrderedDataOutputStream.java 26 private final ByteBuffer mByteBuffer = ByteBuffer.allocate(4);
33 mByteBuffer.order(order);
38 mByteBuffer.rewind();
39 mByteBuffer.putShort(value);
40 out.write(mByteBuffer.array(), 0, 2);
45 mByteBuffer.rewind();
46 mByteBuffer.putInt(value);
47 out.write(mByteBuffer.array());
CountedDataInputStream.java 33 private final ByteBuffer mByteBuffer = ByteBuffer.wrap(mByteArray);
92 mByteBuffer.order(order);
96 return mByteBuffer.order();
101 mByteBuffer.rewind();
102 return mByteBuffer.getShort();
111 mByteBuffer.rewind();
112 return mByteBuffer.getInt();
121 mByteBuffer.rewind();
122 return mByteBuffer.getLong();
ExifModifier.java 31 private final ByteBuffer mByteBuffer;
49 mByteBuffer = byteBuffer;
59 mByteBuffer.position(0);
72 is = new ByteBufferInputStream(mByteBuffer);
141 mByteBuffer.order(getByteOrder());
152 mByteBuffer.position(offset + mOffsetBase);
158 mByteBuffer.put(buf);
160 mByteBuffer.put(buf);
161 mByteBuffer.put((byte) 0);
167 mByteBuffer.putInt((int) tag.getValueAt(i))
    [all...]
  /packages/apps/Camera2/src/com/android/camera/exif/
OrderedDataOutputStream.java 26 private final ByteBuffer mByteBuffer = ByteBuffer.allocate(4);
33 mByteBuffer.order(order);
38 mByteBuffer.rewind();
39 mByteBuffer.putShort(value);
40 out.write(mByteBuffer.array(), 0, 2);
45 mByteBuffer.rewind();
46 mByteBuffer.putInt(value);
47 out.write(mByteBuffer.array());
CountedDataInputStream.java 33 private final ByteBuffer mByteBuffer = ByteBuffer.wrap(mByteArray);
92 mByteBuffer.order(order);
96 return mByteBuffer.order();
101 mByteBuffer.rewind();
102 return mByteBuffer.getShort();
111 mByteBuffer.rewind();
112 return mByteBuffer.getInt();
121 mByteBuffer.rewind();
122 return mByteBuffer.getLong();
ExifModifier.java 31 private final ByteBuffer mByteBuffer;
49 mByteBuffer = byteBuffer;
59 mByteBuffer.position(0);
72 is = new ByteBufferInputStream(mByteBuffer);
141 mByteBuffer.order(getByteOrder());
152 mByteBuffer.position(offset + mOffsetBase);
158 mByteBuffer.put(buf);
160 mByteBuffer.put(buf);
161 mByteBuffer.put((byte) 0);
167 mByteBuffer.putInt((int) tag.getValueAt(i))
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
OrderedDataOutputStream.java 26 private final ByteBuffer mByteBuffer = ByteBuffer.allocate(4);
33 mByteBuffer.order(order);
38 mByteBuffer.rewind();
39 mByteBuffer.putShort(value);
40 out.write(mByteBuffer.array(), 0, 2);
45 mByteBuffer.rewind();
46 mByteBuffer.putInt(value);
47 out.write(mByteBuffer.array());
CountedDataInputStream.java 33 private final ByteBuffer mByteBuffer = ByteBuffer.wrap(mByteArray);
92 mByteBuffer.order(order);
96 return mByteBuffer.order();
101 mByteBuffer.rewind();
102 return mByteBuffer.getShort();
111 mByteBuffer.rewind();
112 return mByteBuffer.getInt();
121 mByteBuffer.rewind();
122 return mByteBuffer.getLong();
ExifModifier.java 32 private final ByteBuffer mByteBuffer;
50 mByteBuffer = byteBuffer;
60 mByteBuffer.position(0);
73 is = new ByteBufferInputStream(mByteBuffer);
142 mByteBuffer.order(getByteOrder());
153 mByteBuffer.position(offset + mOffsetBase);
159 mByteBuffer.put(buf);
161 mByteBuffer.put(buf);
162 mByteBuffer.put((byte) 0);
168 mByteBuffer.putInt((int) tag.getValueAt(i))
    [all...]
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
OrderedDataOutputStream.java 26 private final ByteBuffer mByteBuffer = ByteBuffer.allocate(4);
33 mByteBuffer.order(order);
38 mByteBuffer.rewind();
39 mByteBuffer.putShort(value);
40 out.write(mByteBuffer.array(), 0, 2);
45 mByteBuffer.rewind();
46 mByteBuffer.putInt(value);
47 out.write(mByteBuffer.array());
CountedDataInputStream.java 33 private final ByteBuffer mByteBuffer = ByteBuffer.wrap(mByteArray);
92 mByteBuffer.order(order);
96 return mByteBuffer.order();
101 mByteBuffer.rewind();
102 return mByteBuffer.getShort();
111 mByteBuffer.rewind();
112 return mByteBuffer.getInt();
121 mByteBuffer.rewind();
122 return mByteBuffer.getLong();
ExifModifier.java 31 private final ByteBuffer mByteBuffer;
49 mByteBuffer = byteBuffer;
59 mByteBuffer.position(0);
72 is = new ByteBufferInputStream(mByteBuffer);
141 mByteBuffer.order(getByteOrder());
152 mByteBuffer.position(offset + mOffsetBase);
158 mByteBuffer.put(buf);
160 mByteBuffer.put(buf);
161 mByteBuffer.put((byte) 0);
167 mByteBuffer.putInt((int) tag.getValueAt(i))
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/util/exif/
OrderedDataOutputStream.java 26 private final ByteBuffer mByteBuffer = ByteBuffer.allocate(4);
33 mByteBuffer.order(order);
38 mByteBuffer.rewind();
39 mByteBuffer.putShort(value);
40 out.write(mByteBuffer.array(), 0, 2);
45 mByteBuffer.rewind();
46 mByteBuffer.putInt(value);
47 out.write(mByteBuffer.array());
CountedDataInputStream.java 33 private final ByteBuffer mByteBuffer = ByteBuffer.wrap(mByteArray);
96 mByteBuffer.order(order);
100 return mByteBuffer.order();
105 mByteBuffer.rewind();
106 return mByteBuffer.getShort();
115 mByteBuffer.rewind();
116 return mByteBuffer.getInt();
125 mByteBuffer.rewind();
126 return mByteBuffer.getLong();
ExifModifier.java 32 private final ByteBuffer mByteBuffer;
50 mByteBuffer = byteBuffer;
60 mByteBuffer.position(0);
73 is = new ByteBufferInputStream(mByteBuffer);
142 mByteBuffer.order(getByteOrder());
153 mByteBuffer.position(offset + mOffsetBase);
159 mByteBuffer.put(buf);
161 mByteBuffer.put(buf);
162 mByteBuffer.put((byte) 0);
168 mByteBuffer.putInt((int) tag.getValueAt(i))
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
YUVImage.java 107 private final ByteBuffer mByteBuffer;
118 mByteBuffer = buffer.slice();
119 mByteBuffer.limit(length);
134 return mByteBuffer;
MediaSyncTest.java 607 public ByteBuffer mByteBuffer;
611 mByteBuffer = byteBuffer;
811 if (audioBuffer.mByteBuffer != byteBuffer
  /frameworks/base/media/java/android/media/
MediaSync.java 173 public ByteBuffer mByteBuffer;
179 mByteBuffer = byteBuffer;
537 int size = audioBuffer.mByteBuffer.remaining();
547 audioBuffer.mByteBuffer,
596 callback.onAudioBufferConsumed(sync, audioBuffer.mByteBuffer,
MediaCodec.java     [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
MatrixTrackingGL.java 55 ByteBuffer mByteBuffer;
1060 if ( mByteBuffer == null) {
1063 mByteBuffer = ByteBuffer.allocateDirect(64);
1064 mByteBuffer.order(ByteOrder.nativeOrder());
1065 mFloatBuffer = mByteBuffer.asFloatBuffer();
1067 mgl.glGetIntegerv(oesMode, mByteBuffer.asIntBuffer());
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
Allocation.java 64 ByteBuffer mByteBuffer = null;
549 if (mByteBuffer == null || (mUsage & USAGE_IO_INPUT) != 0) {
550 mByteBuffer = mRS.nAllocationGetByteBuffer(getID(mRS), xBytesSize, mType.getY(), mType.getZ());
552 return mByteBuffer;
    [all...]
  /frameworks/base/rs/java/android/renderscript/
Allocation.java 88 private ByteBuffer mByteBuffer = null;
    [all...]
  /prebuilts/sdk/renderscript/lib/
javalib.jar 

Completed in 1431 milliseconds