/frameworks/native/include/ui/ |
H A D | GraphicBufferAllocator.h | 80 size_t size; member in struct:android::GraphicBufferAllocator::alloc_rec_t
|
/frameworks/native/include/utils/ |
H A D | String16.h | 58 inline size_t size() const; 140 inline size_t String16::size() const function in class:android::String16 171 return strzcmp16(mString, size(), other.mString, other.size()); 176 return strzcmp16(mString, size(), other.mString, other.size()) < 0; 181 return strzcmp16(mString, size(), other.mString, other.size()) <= 0; 186 return strzcmp16(mString, size(), other.mString, other.size()) [all...] |
/frameworks/native/libs/gui/ |
H A D | Sensor.cpp | 164 status_t Sensor::unflatten(void const* buffer, size_t size) argument
|
/frameworks/native/libs/ui/ |
H A D | PixelFormat.cpp | 27 size_t size; member in struct:android::Info 68 size_t size; local 71 size = (width * bitsPerPixel)>>3; 73 size = width * bytesPerPixel; 75 return size; 128 info->bytesPerPixel = i->size;
|
/frameworks/native/opengl/libagl/ |
H A D | TextureObjectManager.h | 57 inline size_t size() const { return mSize; } function in class:android::EGLTextureObject
|
/frameworks/native/opengl/libs/GLES_CM/ |
H A D | gl.cpp | 42 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride, 46 GL_API void GL_APIENTRY glTexCoordPointerBounds(GLint size, GLenum type, 48 GL_API void GL_APIENTRY glVertexPointerBounds(GLint size, GLenum type, 52 GL_API void GL_APIENTRY glMatrixIndexPointerOESBounds(GLint size, GLenum type, 54 GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type, 58 void glColorPointerBounds(GLint size, GLenum type, GLsizei stride, argument 60 glColorPointer(size, type, stride, ptr); 66 void glTexCoordPointerBounds(GLint size, GLenum type, argument 68 glTexCoordPointer(size, type, stride, pointer); 70 void glVertexPointerBounds(GLint size, GLenu argument 80 glMatrixIndexPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 85 glWeightPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument [all...] |
/frameworks/opt/emoji/ |
H A D | EmojiFactory.cpp | 107 size_t size = g_factories->size(); local 108 for (size_t i = 0; i < size; ++i) { 125 size_t size = g_factories->size(); local 126 for (size_t i = 0; i < size; ++i) { 133 size_t size = g_handles->size(); local 134 for (size_t i = 0; i < size; ++i) { 153 size_t size local 166 size_t size = g_factories->size(); local [all...] |
/frameworks/rs/driver/ |
H A D | rsdVertexArray.cpp | 47 size = 0; 54 void RsdVertexArray::Attrib::set(uint32_t type, uint32_t size, uint32_t stride, argument 59 this->size = size; 70 ALOGV("va %i: slot=%i name=%s buf=%i ptr=%p size=%i type=0x%x stride=0x%x norm=%i offset=0x%x", 75 mAttribs[idx].size, 111 mAttribs[ct].size,
|
/frameworks/wilhelm/src/android/ |
H A D | AacBqToPcmCbRenderer.cpp | 25 // ADTS header size is 7, but frame size information ends on byte 6 (when counting from byte 1) 29 * Returns the size of an AAC ADTS frame. 30 * Note that if the returned value + offset > size, it means that a partial frame starts at that 31 * offset, but this function will still return the size of the full frame. 34 * @param size the size in bytes of the data block starting at data 35 * @return the size in bytes of the AAC ADTS frame starting at the given offset of the given 38 static size_t getAdtsFrameSize(const uint8_t *data, off64_t offset, size_t size) { argument 41 if (!(offset + ADTS_HEADER_SIZE_UP_TO_FRAMESIZE < size)) { 83 validateBufferStartEndOnFrameBoundaries(void* data, size_t size) argument [all...] |
H A D | BufferQueueSource.cpp | 34 sizeof(SLuint32), // item size 57 ssize_t BufferQueueSource::readAt(off64_t offset, void *data, size_t size) { argument 58 SL_LOGD("BufferQueueSource::readAt(offset=%lld, data=%p, size=%d)", offset, data, size); 99 if (offset + size <= mStreamToBqOffset + oldFront->mDataSize) { 102 if (offset - mStreamToBqOffset + size == oldFront->mDataSize) { 124 memcpy(data, pSrc, size); 125 readSize = size; 165 status_t BufferQueueSource::getSize(off64_t *size) { argument 168 *size [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IBufferQueue.c | 46 SLresult IBufferQueue_Enqueue(SLBufferQueueItf self, const void *pBuffer, SLuint32 size) argument 49 //SL_LOGV("IBufferQueue_Enqueue(%p, %p, %u)", self, pBuffer, size); 53 if (NULL == pBuffer || 0 == size) { 66 oldRear->mSize = size;
|
/frameworks/base/media/jni/mediaeditor/ |
H A D | VideoEditorOsal.cpp | 260 size_t size, 269 pData = (M4VSS3GPP_EditSettings*)M4OSA_32bitAlignedMalloc(size, 0, (M4OSA_Char*)pDescription); 273 memset((void *)pData, 0,size); 257 videoEditOsal_alloc( bool* pResult, JNIEnv* pEnv, size_t size, const char* pDescription) argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | MutableFrameFormat.java | 57 public void setDimensions(int size) { argument 59 dimensions[0] = size;
|
H A D | NativeBuffer.java | 59 public int size() { method in class:NativeBuffer 126 private native boolean allocate(int size); argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
H A D | Rectangle.java | 38 public Rectangle(Point origin, Point size) { argument 40 origin.plus(size.x, 0.0f), 41 origin.plus(0.0f, size.y), 42 origin.plus(size.x, size.y)); 45 public static Rectangle fromRotatedRect(Point center, Point size, float rotation) { argument 46 Point p0 = new Point(center.x - size.x/2f, center.y - size.y/2f); 47 Point p1 = new Point(center.x + size.x/2f, center.y - size 60 fromCenterVerticalAxis(Point center, Point vAxis, Point size) argument [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsHelper.java | 145 void setLocaleData(byte[] data, int size) { argument 155 String localeCode = new String(data, 0, size); 157 String country = size > 4 ? new String(data, 3, 2) : "";
|
/frameworks/av/drm/libdrmframework/plugins/common/util/src/ |
H A D | MimeTypeUtil.cpp | 43 int size; // Number of bytes. e.g. "audio/" = 6 bytes member in struct:android::MimeGroup 49 int size; // Number of bytes. e.g. "x-mpeg" = 6 bytes member in struct:android::MimeTypeList 138 if (0 == strncmp(pMimeType, pGroup->pGroup, pGroup->size)) { 147 len = strlen (pMimeType+pGroup->size); 150 (len == pMimeItem->size) && 151 (0 == strcmp(pMimeType+pGroup->size, pMimeItem->pMimeExt))) {
|
/frameworks/av/libvideoeditor/vss/3gpwriter/src/ |
H A D | M4MP4W_Utils.c | 86 M4OSA_ERR M4MP4W_putBlock(const M4OSA_UChar* Block, M4OSA_UInt32 size, argument 90 M4OSA_ERR err = fileFunction->writeData(context, (M4OSA_MemAddr8)Block, size);
|
/frameworks/av/media/libmedia/ |
H A D | AudioParameter.cpp | 76 size_t size = mParameters.size(); local 77 for (size_t i = 0; i < size; i++) { 81 if (i < (size - 1)) str += ";"; 173 if (mParameters.size() > index) {
|
H A D | IAudioTrack.cpp | 120 virtual status_t allocateTimedBuffer(size_t size, sp<IMemory>* buffer) { argument 123 data.writeInt32(size);
|
H A D | IEffect.cpp | 72 int size = cmdSize; local 74 size = 0; 76 data.writeInt32(size); 77 if (size) { 78 data.write(pCmdData, size); 81 size = 0; 83 size = *pReplySize; 85 data.writeInt32(size); 95 size = reply.readInt32(); 96 if (size ! [all...] |
H A D | IHDCP.cpp | 87 const void *inData, size_t size, uint32_t streamCTR, 91 data.writeInt32(size); 92 data.write(inData, size); 105 reply.read(outData, size); 177 size_t size = data.readInt32(); local 179 void *inData = malloc(2 * size); 180 void *outData = (uint8_t *)inData + size; 182 data.read(inData, size); 186 status_t err = encrypt(inData, size, streamCTR, &inputCTR, outData); 192 reply->write(outData, size); 86 encrypt( const void *inData, size_t size, uint32_t streamCTR, uint64_t *outInputCTR, void *outData) argument [all...] |
H A D | IStreamSource.cpp | 62 data.writeInt32(static_cast<int32_t>(buffers.size())); 63 for (size_t i = 0; i < buffers.size(); ++i) { 142 virtual void queueBuffer(size_t index, size_t size) { argument 146 data.writeInt32(static_cast<int32_t>(size)); 178 size_t size = static_cast<size_t>(data.readInt32()); local 180 queueBuffer(index, size);
|
H A D | MediaScannerClient.cpp | 156 for (int i = 0; i < mNames->size(); i++) { 203 int size = mNames->size(); local 207 for (int i = 0; i < mNames->size(); i++) 215 for (int i = 0; i < mNames->size(); i++) {
|
H A D | MemoryLeakTrackUtil.cpp | 59 size_t size() const { function in struct:android::MyString8 77 size_t size; member in struct:android::__anon493 104 e->size = *reinterpret_cast<size_t *>(ptr); 114 // Now we need to sort the entries. They come sorted by size but 123 bool swap = e1->size < e2->size; 124 if (e1->size == e2->size) { 145 snprintf(buffer, SIZE, "size %8i, dup %4i, ", e->size, [all...] |