/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | Space.java | 58 * If mode is AT_MOST, return the child size instead of the parent size 61 private static int getDefaultSize2(int size, int measureSpec) { argument 62 int result = size; 68 result = size; 71 result = Math.min(size, specSize);
|
/frameworks/av/camera/ |
H A D | CameraParameters2.cpp | 40 size_t size = mMap.size(); local 42 for (size_t i = 0; i < size; i++) { 50 if (i != size-1) 354 ALOGD("dump: mMap.size = %zu", mMap.size()); 355 for (size_t i = 0; i < mMap.size(); i++) { 369 snprintf(buffer, 255, "CameraParameters2::dump: mMap.size = %zu\n", mMap.size()); 371 for (size_t i = 0; i < mMap.size(); [all...] |
/frameworks/av/camera/camera2/ |
H A D | CaptureRequest.cpp | 56 int32_t size; local 57 if ((err = parcel->readInt32(&size)) != OK) { 58 ALOGE("%s: Failed to read surface list size from parcel", __FUNCTION__); 61 ALOGV("%s: Read surface list size = %d", __FUNCTION__, size); 64 for (int i = 0; i < size; ++i) { 113 int32_t size = static_cast<int32_t>(mSurfaceList.size()); local 116 parcel->writeInt32(size); 118 for (int32_t i = 0; i < size; [all...] |
/frameworks/av/include/media/ |
H A D | mediascanner.h | 48 static MediaAlbumArt *fromData(int32_t size, const void* data); 50 static void init(MediaAlbumArt* instance, int32_t size, const void* data); 58 int32_t size() { function in struct:android::MediaAlbumArt
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | ABuffer.h | 39 size_t size() const { return mRangeLength; } function in struct:android::ABuffer 42 void setRange(size_t offset, size_t size);
|
/frameworks/av/media/libaudiohal/ |
H A D | EffectBufferHalLocal.cpp | 28 size_t size, sp<EffectBufferHalInterface>* buffer) { 29 *buffer = new EffectBufferHalLocal(size); 35 void* external, size_t size, sp<EffectBufferHalInterface>* buffer) { 36 *buffer = new EffectBufferHalLocal(external, size); 40 EffectBufferHalLocal::EffectBufferHalLocal(size_t size) argument 41 : mOwnBuffer(new uint8_t[size]), 42 mBufferSize(size), mFrameCountChanged(false), 46 EffectBufferHalLocal::EffectBufferHalLocal(void* external, size_t size) argument 48 mBufferSize(size), mFrameCountChanged(false), 27 allocate( size_t size, sp<EffectBufferHalInterface>* buffer) argument 34 mirror( void* external, size_t size, sp<EffectBufferHalInterface>* buffer) argument
|
/frameworks/av/media/libmedia/ |
H A D | MediaCodecBuffer.cpp | 48 size_t MediaCodecBuffer::size() const { function in class:android::MediaCodecBuffer 49 return mBuffer->size(); 56 status_t MediaCodecBuffer::setRange(size_t offset, size_t size) { argument 57 mBuffer->setRange(offset, size);
|
/frameworks/av/media/libmedia/include/media/ |
H A D | mediascanner.h | 48 static MediaAlbumArt *fromData(int32_t size, const void* data); 50 static void init(MediaAlbumArt* instance, int32_t size, const void* data); 58 int32_t size() { function in struct:android::MediaAlbumArt
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerStreamListener.cpp | 55 void NuPlayer::NuPlayerStreamListener::queueBuffer(size_t index, size_t size) { argument 59 entry.mSize = size; 96 void *data, size_t size, sp<AMessage> *extra) { 97 CHECK_GT(size, 0u); 143 if (copy > size) { 144 copy = size; 147 if (entry->mIndex >= mBuffers.size()) { 152 if (mem == NULL || mem->size() < copy || mem->size() - copy < entry->mOffset) { 95 read( void *data, size_t size, sp<AMessage> *extra) argument
|
/frameworks/av/media/libstagefright/ |
H A D | DataConverter.cpp | 32 size_t size = targetSize(source->size()); local 34 if (size > target->capacity()) { 35 ALOGE("data size (%zu) is greater than buffer capacity (%zu)", 36 size, // this is the data received/to be converted 37 target->capacity()); // this is out buffer size 42 target->setRange(0, err == OK ? size : 0); 48 memcpy(target->base(), source->data(), source->size()); 66 ALOGW("limiting source size due to overflow (%zu*%zu/%zu)", 77 ALOGW("limiting target size du [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | pp_semaphore_chroma_inter.cpp | 33 size = total number of pixel in the current luminance VOP (int) 120 int32 size, /* i */ 168 /* (pstprcTypPrv + (size>>6)). */ 172 pp_prev1 = pstprcTypPrv + (size >> 6) + nmvx + nmvy * (mvwidth >> 1) ; 211 /* = size/256 = size>>8 */ 212 mv_loc = (size >> 8); 111 pp_semaphore_chroma_inter( int xpred, int ypred, uint8 *pp_dec_u, uint8 *pstprcTypPrv, int dx, int dy, int mvwidth, int height, int32 size, int mv_loc, uint8 msk_deblock ) argument
|
/frameworks/av/media/libstagefright/foundation/include/foundation/ |
H A D | ABuffer.h | 39 size_t size() const { return mRangeLength; } function in struct:android::ABuffer 42 void setRange(size_t offset, size_t size);
|
/frameworks/av/media/libstagefright/include/foundation/ |
H A D | ABuffer.h | 39 size_t size() const { return mRangeLength; } function in struct:android::ABuffer 42 void setRange(size_t offset, size_t size);
|
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | Parameters.cpp | 24 sp<Parameters> Parameters::Parse(const char *data, size_t size) { argument 26 status_t err = params->parse(data, size); 39 status_t Parameters::parse(const char *data, size_t size) { argument 41 while (i < size) { 43 while (i < size && data[i] != ':') { 47 if (i == size || i == nameStart) { 59 while (i + 1 < size && (data[i] != '\r' || data[i + 1] != '\n')) { 68 while (i + 1 < size && data[i] == '\r' && data[i + 1] == '\n') {
|
/frameworks/av/media/utils/ |
H A D | MemoryLeakTrackUtil.cpp | 76 // The memory is sorted based on total size which is useful for finding 81 size_t size; // bit 31 is set if this is zygote allocated memory member in struct:android::AllocEntry 88 oss << (e->size * e->allocations) 89 << " bytes ( " << e->size << " bytes * " << e->allocations << " allocations )\n";
|
/frameworks/av/services/medialog/ |
H A D | IMediaLogService.cpp | 43 virtual void registerWriter(const sp<IMemory>& shared, size_t size, const char *name) { argument 47 data.writeInt64((int64_t) size); 82 size_t size = (size_t) data.readInt64(); local 84 registerWriter(shared, size, name);
|
/frameworks/base/cmds/incidentd/src/ |
H A D | FdBuffer.cpp | 44 const int N = mBuffers.size(); 65 if (mBuffers.size() == MAX_BUFFER_COUNT) { 113 FdBuffer::size() function in class:FdBuffer 115 return ((mBuffers.size() - 1) * BUFFER_SIZE) + mCurrentWritten; 121 const int N = mBuffers.size() - 1;
|
/frameworks/base/core/java/android/os/ |
H A D | Parcelable.java | 50 * public MyParcelable[] newArray(int size) { 51 * return new MyParcelable[size]; 149 * @param size Size of the array. 153 public T[] newArray(int size); argument
|
/frameworks/base/core/java/android/util/ |
H A D | LongArray.java | 62 * @throws IndexOutOfBoundsException when index < 0 || index > size() 163 public int size() { method in class:LongArray
|
/frameworks/base/core/java/android/view/ |
H A D | HandlerActionQueue.java | 93 public int size() { method in class:HandlerActionQueue
|
/frameworks/base/core/jni/hwbinder/ |
H A D | EphemeralStorage.cpp | 37 hidl_string *EphemeralStorage::allocStringArray(size_t size) { argument 41 item.mPtr = new hidl_string[size]; 47 void *EphemeralStorage::allocTemporaryStorage(size_t size) { argument 51 item.mPtr = malloc(size); 68 hidl_string *s = allocStringArray(1 /* size */); 115 for (size_t i = mItems.size(); i--;) {
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
H A D | MemoryIntArrayTest.java | 47 assertEquals("size must be three", 3, array.size()); 134 array.size(); 210 fail("Cannot use over max size"); 295 fail("MemoryIntArray should catch ahshmem size changing under it"); 299 private native int nativeCreateAshmem(String name, int size); argument 300 private native void nativeSetAshmemSize(int fd, int size); argument
|
/frameworks/base/libs/hwui/utils/ |
H A D | RingBuffer.h | 35 size_t size() const { return mCount; } function in class:android::uirenderer::RingBuffer 50 return (*this)[size() - 1];
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaDataSource.cpp | 72 ssize_t JMediaDataSource::readAt(off64_t offset, size_t size) { argument 78 if (size > kBufferSize) { 79 size = kBufferSize; 84 (jlong)offset, mByteArrayObj, (jint)0, (jint)size); 102 if ((size_t)numread > size) { 108 ALOGV("readAt %lld / %zu => %d.", (long long)offset, size, numread); 113 status_t JMediaDataSource::getSize(off64_t* size) { argument 120 *size = mCachedSize; 125 *size = env->CallLongMethod(mMediaDataSourceObj, mGetSizeMethod); 130 // After returning an error, size should [all...] |
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_native_buffer.cpp | 20 char* GetJBufferData(JNIEnv* env, jobject buffer, int* size) { argument 29 if (size) { 30 *size = env->GetIntField(buffer, size_field); 39 bool AttachDataToJBuffer(JNIEnv* env, jobject buffer, char* data, int size) { argument 48 env->SetIntField(buffer, size_field, size); 53 jboolean Java_android_filterfw_core_NativeBuffer_allocate(JNIEnv* env, jobject thiz, jint size) { argument 54 char* data = new char[size]; 55 return ToJBool(AttachDataToJBuffer(env, thiz, data, size)); 72 int size; local 73 char* source_data = GetJBufferData(env, thiz, &size); [all...] |