/frameworks/support/swiperefreshlayout/src/androidTest/java/androidx/swiperefreshlayout/widget/ |
H A D | SwipeRefreshLayoutActions.java | 54 public static ViewAction setSize(final int size) { argument 63 return "Set SwipeRefreshLayout size"; 71 swipeRefreshLayout.setSize(size);
|
/frameworks/av/camera/include/camera/ |
H A D | CameraParameters2.h | 89 // Retrieve the preferred preview size (width and height) in pixels 123 size_t size() const { function in struct:android::CameraParameters2::OrderedKeyedVector 124 return mList.size(); 144 for (; vectorIdx < mList.size(); ++vectorIdx) {
|
/frameworks/av/cmds/stagefright/ |
H A D | WaveWriter.h | 49 void Append(const void *data, size_t size) { argument 50 fwrite(data, 1, size, mFile); 51 mTotalBytes += size;
|
/frameworks/av/drm/common/ |
H A D | ReadWriteUtils.cpp | 85 int size = data.size(); local 86 if (FAILURE != ftruncate(fd, size)) { 87 if (size != write(fd, data.string(), size)) { 102 int size = data.size(); local 103 if (size != write(fd, data.string(), size)) {
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
H A D | CryptoFactory.cpp | 39 const void* data, size_t size, 47 sessionId.appendArray(reinterpret_cast<const uint8_t*>(data), size); local 37 createPlugin( const uint8_t uuid[16], const void* data, size_t size, android::CryptoPlugin** plugin) argument
|
/frameworks/av/include/camera/ |
H A D | CameraParameters2.h | 89 // Retrieve the preferred preview size (width and height) in pixels 123 size_t size() const { function in struct:android::CameraParameters2::OrderedKeyedVector 124 return mList.size(); 144 for (; vectorIdx < mList.size(); ++vectorIdx) {
|
/frameworks/av/media/libaudioclient/ |
H A D | AudioPolicy.cpp | 73 size_t size = (size_t)parcel->readInt32(); local 74 if (size > MAX_CRITERIA_PER_MIX) { 75 size = MAX_CRITERIA_PER_MIX; 77 for (size_t i = 0; i < size; i++) { 96 size_t size = mCriteria.size(); local 97 if (size > MAX_CRITERIA_PER_MIX) { 98 size = MAX_CRITERIA_PER_MIX; 101 parcel->writeInt32(size); 102 size_t finalSize = size; [all...] |
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
H A D | DelayAllPass_Sat_32x16To32.c | 31 LVM_UINT16 size, /* Delay size */ 86 if (DelayOffset >= size) 91 if (AllPassOffset >= size) 30 DelayAllPass_Sat_32x16To32( LVM_INT32 *delay, LVM_UINT16 size, LVM_INT16 coeff, LVM_UINT16 DelayOffset, LVM_UINT16 *pAllPassOffset, LVM_INT32 *dst, LVM_INT16 n) argument
|
H A D | DelayMix_16x16.c | 30 LVM_INT16 size, /* Delay size */ 61 if (Offset >= size) 75 LVM_INT16 size, /* Delay size */ 106 if (Offset >= size) 28 DelayMix_16x16(const LVM_INT16 *src, LVM_INT16 *delay, LVM_INT16 size, LVM_INT16 *dst, LVM_INT16 *pOffset, LVM_INT16 n) argument 73 DelayMix_Float(const LVM_FLOAT *src, LVM_FLOAT *delay, LVM_INT16 size, LVM_FLOAT *dst, LVM_INT16 *pOffset, LVM_INT16 n) argument
|
/frameworks/av/media/libmedia/ |
H A D | MediaCodecBuffer.cpp | 46 size_t MediaCodecBuffer::size() const { function in class:android::MediaCodecBuffer 47 return mBuffer->size(); 54 status_t MediaCodecBuffer::setRange(size_t offset, size_t size) { argument 55 mBuffer->setRange(offset, size);
|
H A D | MidiIoWrapper.cpp | 27 static int readAt(void *handle, void *buffer, int pos, int size) { argument 28 return ((android::MidiIoWrapper*)handle)->readAt(buffer, pos, size); 30 static int size(void *handle) { function 31 return ((android::MidiIoWrapper*)handle)->size(); 44 MidiIoWrapper::MidiIoWrapper(int fd, off64_t offset, int64_t size) { argument 48 mLength = size; 71 int MidiIoWrapper::readAt(void *buffer, int offset, int size) { 72 ALOGV("readAt(%p, %d, %d)", buffer, offset, size); 75 return mDataSource->readAt(offset, buffer, size); 82 if (offset + size > mLengt [all...] |
/frameworks/av/media/libstagefright/ |
H A D | BufferImpl.cpp | 35 : MediaCodecBuffer(format, new ABuffer(mem->pointer(), mem->size())), 46 SecureBuffer::SecureBuffer(const sp<AMessage> &format, const void *ptr, size_t size) argument 47 : MediaCodecBuffer(format, new ABuffer(nullptr, size)), 52 const sp<AMessage> &format, const sp<NativeHandle> &handle, size_t size) 53 : MediaCodecBuffer(format, new ABuffer(nullptr, size)), 51 SecureBuffer( const sp<AMessage> &format, const sp<NativeHandle> &handle, size_t size) argument
|
H A D | DataURISource.cpp | 45 for (size_t i = encoded.size(); i > 0;) { 60 size_t dataLen = strlen(uri) - tmp.size() - 6; 88 ssize_t DataURISource::readAt(off64_t offset, void *data, size_t size) { argument 89 if ((offset < 0) || (offset >= (off64_t)mBuffer->size())) { 93 size_t copy = mBuffer->size() - offset; 94 if (copy > size) { 95 copy = size; 103 status_t DataURISource::getSize(off64_t *size) { argument 104 *size = mBuffer->size(); [all...] |
H A D | ThrottledSource.cpp | 34 ssize_t ThrottledSource::readAt(off64_t offset, void *data, size_t size) { argument 37 ssize_t n = mSource->readAt(offset, data, size);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | mem_align.c | 40 mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecID) argument 49 MemInfo.Size = size + 1; 55 pMemop->Set(CodecID, mem_ptr, 0, size + 1); 64 MemInfo.Size = size + alignment; 71 pMemop->Set(CodecID, tmp, 0, size + alignment);
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ABuffer.cpp | 68 void ABuffer::setRange(size_t offset, size_t size) { argument 70 CHECK_LE(offset + size, mCapacity); 73 mRangeLength = size;
|
H A D | hexdump.cpp | 42 void hexdump(const void *_data, size_t size, size_t indent, AString *appendTo) { argument 46 while (offset < size) { 60 if (offset + i >= size) { 71 if (offset + i >= size) {
|
/frameworks/av/media/mtp/ |
H A D | MtpStringBuffer.h | 55 inline int size() const { return mString.length(); } function in class:android::MtpStringBuffer
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupDataInputStream.java | 29 * {@link BackupDataInput}. The entity's key string and total data size are available 30 * through this class's {@link #getKey()} and {@link #size()} methods, respectively. 33 * source, nor read more than {@link #size()} bytes from the stream.</p> 53 * an integer value. If more than {@link #size()} bytes of data 68 * Read up to {@code size} bytes of data into a byte array, beginning at position 74 * @param size The number of bytes to read in this operation. If insufficient 80 public int read(byte[] b, int offset, int size) throws IOException { argument 81 return mData.readEntityData(b, offset, size); 113 public int size() { method in class:BackupDataInputStream
|
/frameworks/base/core/java/android/app/usage/ |
H A D | EventList.java | 39 * Returns the size of the list 42 public int size() { method in class:EventList 43 return mEvents.size(); 55 * @param index the index of the event to return, such that {@code 0 <= index < size()} 69 final int size = mEvents.size(); 71 if (size == 0 || event.mTimeStamp >= mEvents.get(size - 1).mTimeStamp) { 87 * {@code true}, or {@link #size() size} i [all...] |
/frameworks/base/core/java/android/os/ |
H A D | ProxyFileDescriptorCallback.java | 45 * Returns size of bytes provided by the file descriptor. 55 * It needs to return exact requested size of bytes unless it reaches file end. 59 * @param size Size for read bytes. 64 public int onRead(long offset, int size, byte[] data) throws ErrnoException { argument 73 * @param size Size for write bytes. 78 public int onWrite(long offset, int size, byte[] data) throws ErrnoException { argument
|
/frameworks/base/core/java/android/util/ |
H A D | FastImmutableArraySet.java | 51 public int size() { method in class:FastImmutableArraySet
|
H A D | SparseSetArray.java | 67 if (set.size() == 0) { 79 public int size() { method in class:SparseSetArray 80 return mData.size(); 92 return set.size();
|
/frameworks/base/core/java/android/util/apk/ |
H A D | MemoryMappedFileDataSource.java | 44 * @param size size (in bytes) of the region. 46 MemoryMappedFileDataSource(FileDescriptor fd, long position, long size) { argument 49 mSize = size; 53 public long size() { method in class:MemoryMappedFileDataSource 58 public void feedIntoDataDigester(DataDigester md, long offset, int size) argument 71 // that the start offset in the file must be a multiple of memory page size. We thus may 77 long mmapRegionSize = size + dataStartOffsetInMmapRegion; 88 size,
|
/frameworks/base/core/java/android/widget/ |
H A D | Space.java | 72 * If mode is AT_MOST, return the child size instead of the parent size 75 private static int getDefaultSize2(int size, int measureSpec) { argument 76 int result = size; 82 result = size; 85 result = Math.min(size, specSize);
|