/frameworks/av/libvideoeditor/lvpp/ |
H A D | PreviewRenderer.h | 58 ANativeWindowBuffer *mBuf; member in class:android::PreviewRenderer
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | BitwiseInputStream.java | 30 private byte[] mBuf; field in class:BitwiseInputStream 53 mBuf = buf; 81 int data = (mBuf[index] & 0xFF) << 8; 82 if (offset < 8) data |= mBuf[index + 1] & 0xFF;
|
H A D | BitwiseOutputStream.java | 30 private byte[] mBuf; field in class:BitwiseOutputStream 53 mBuf = new byte[startingLength]; 66 System.arraycopy(mBuf, 0, newBuf, 0, len); 78 System.arraycopy(mBuf, 0, newBuf, 0, mEnd >>> 3); 79 mBuf = newBuf; 102 mBuf[index] |= data >>> 8; 103 if (offset < 8) mBuf[index + 1] |= data & 0xFF;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ByteBufferInputStream.java | 24 private ByteBuffer mBuf; field in class:ByteBufferInputStream 27 mBuf = buf; 32 if (!mBuf.hasRemaining()) { 35 return mBuf.get() & 0xFF; 40 if (!mBuf.hasRemaining()) { 44 len = Math.min(len, mBuf.remaining()); 45 mBuf.get(bytes, off, len);
|
/frameworks/native/include/gui/ |
H A D | IGraphicBufferConsumer.h | 82 // mBuf is the slot index of this buffer 83 int mBuf; member in class:android::IGraphicBufferConsumer::BufferItem
|
/frameworks/base/core/java/android/speech/srec/ |
H A D | UlawEncoderInputStream.java | 43 private final byte[] mBuf = new byte[1024]; field in class:UlawEncoderInputStream 146 int n = mIn.read(mBuf, mBufCount, Math.min(length * 2, mBuf.length - mBufCount)); 153 encode(mBuf, 0, buf, offset, n, mMax); 155 // move data to bottom of mBuf 157 for (int i = 0; i < mBufCount; i++) mBuf[i] = mBuf[i + n * 2];
|
/frameworks/base/media/java/android/media/ |
H A D | AmrInputStream.java | 47 private final byte[] mBuf = new byte[SAMPLES_PER_FRAME * 2]; field in class:AmrInputStream 87 int n = mInputStream.read(mBuf, i, SAMPLES_PER_FRAME * 2 - i); 93 mBufIn = GsmAmrEncoderEncode(mGae, mBuf, 0, mBuf, 0); 98 System.arraycopy(mBuf, mBufOut, b, offset, length);
|
H A D | ResampleInputStream.java | 45 private byte[] mBuf; field in class:ResampleInputStream 87 // ensure that mBuf is big enough to cover requested 'length' 89 if (mBuf == null) { 90 mBuf = new byte[nIn]; 91 } else if (nIn > mBuf.length) { 93 System.arraycopy(mBuf, 0, bf, 0, mBufCount); 94 mBuf = bf; 104 // TODO: should mBuf.length below be nIn instead? 105 int n = mInputStream.read(mBuf, mBufCount, mBuf [all...] |
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_context.h | 37 GLvoid *mBuf; member in class:android::gltrace::ElementArrayBuffer 41 ElementArrayBuffer():mBuf(NULL), mSize(0) {}
|
/frameworks/av/media/libstagefright/omx/ |
H A D | GraphicBufferSource.h | 127 int mBuf; member in struct:android::GraphicBufferSource::CodecBuffer
|
/frameworks/base/include/androidfw/ |
H A D | Asset.h | 245 virtual bool isAllocated(void) const { return mBuf != NULL; } 262 unsigned char* mBuf; // for read member in class:android::_FileAsset 302 virtual bool isAllocated(void) const { return mBuf != NULL; } 315 unsigned char* mBuf; // for getBuffer() member in class:android::_CompressedAsset
|
/frameworks/base/core/java/android/net/http/ |
H A D | Connection.java | 103 private byte[] mBuf; field in class:Connection 517 if (mBuf == null) mBuf = new byte[8192]; 518 return mBuf;
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicColorMatrix.cpp | 158 unsigned char *mBuf; member in class:android::renderscript::RsdCpuScriptIntrinsicColorMatrix 413 mBuf = (uint8_t *)mmap(0, mBufSize, PROT_READ | PROT_WRITE, 415 if (!mBuf) { 419 uint8_t *buf = mBuf; 655 int ret = mprotect(mBuf, mBufSize, PROT_READ | PROT_EXEC); 661 cacheflush((long)mBuf, (long)mBuf + mBufSize, 0); 869 if (mBuf) munmap(mBuf, mBufSize); 870 mBuf [all...] |