Searched defs:size (Results 101 - 125 of 850) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/
H A DDataConverter.cpp32 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);
47 memcpy(target->base(), source->data(), source->size());
65 ALOGW("limiting source size due to overflow (%zu*%zu/%zu)",
76 ALOGW("limiting target size du
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpp_semaphore_chroma_inter.cpp33 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/wifi-display/
H A DParameters.cpp24 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/base/core/java/android/app/backup/
H A DBackupDataOutput.java35 * and the total size of the binary value for the record. After the header has been
82 * @param dataSize The size in bytes of this record's data. Passing a dataSize
99 * @param size The number of bytes to be sent in this chunk
103 public int writeEntityData(byte[] data, int size) throws IOException { argument
104 int result = writeEntityData_native(mBackupWriter, data, size);
131 private native static int writeEntityData_native(long mBackupWriter, byte[] data, int size); argument
/frameworks/base/core/java/android/os/
H A DParcelable.java45 * public MyParcelable[] newArray(int size) {
46 * return new MyParcelable[size];
131 * @param size Size of the array.
135 public T[] newArray(int size); argument
/frameworks/base/core/java/android/util/
H A DLongArray.java62 * @throws IndexOutOfBoundsException when index &lt; 0 || index &gt; size()
163 public int size() { method in class:LongArray
/frameworks/base/core/java/android/view/
H A DHandlerActionQueue.java95 public int size() { method in class:HandlerActionQueue
/frameworks/base/libs/hwui/tests/common/scenes/
H A DListViewAnimation.cpp47 cards.push_back(createCard(cards.size(), y));
51 for (size_t ci = 0; ci < cards.size(); ci++) {
68 for (size_t ci = 0; ci < cards.size(); ci++) {
70 auto card = cards[(ci + cardIndexOffset) % cards.size()];
83 int size = cardHeight - (dp(10) * 2); local
84 SkBitmap bitmap = TestUtils::createSkBitmap(size, size);
92 canvas.drawCircle(size / 2, size / 2, size /
[all...]
/frameworks/base/libs/hwui/utils/
H A DRingBuffer.h35 size_t size() const { return mCount; } function in class:android::uirenderer::RingBuffer
50 return (*this)[size() - 1];
/frameworks/base/media/jni/
H A Dandroid_media_MediaDataSource.cpp72 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 Djni_native_buffer.cpp20 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...]
H A Djni_vertex_frame.cpp26 jint size) {
27 return ToJBool(WrapObjectInJava(new VertexFrame(size), env, thiz, true));
24 Java_android_filterfw_core_VertexFrame_nativeAllocate(JNIEnv* env, jobject thiz, jint size) argument
/frameworks/base/obex/javax/obex/
H A DPrivateOutputStream.java69 public int size() { method in class:PrivateOutputStream
70 return mArray.size();
86 if (mArray.size() == mMaxPacketSize) {
110 while ((mArray.size() + remainLength) >= mMaxPacketSize) {
111 int bufferLeft = mMaxPacketSize - mArray.size();
124 * @param size the size of the array to return
127 public synchronized byte[] readBytes(int size) { argument
128 if (mArray.size() > 0) {
131 byte[] result = new byte[size];
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDocumentsApplication.java43 public static ThumbnailCache getThumbnailsCache(Context context, Point size) { argument
46 if (!size.equals(app.mThumbnailsSize)) {
48 app.mThumbnailsSize = size;
96 mThumbnails.trimToSize(mThumbnails.size() / 2);
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMtpFileWriter.java52 int write(long offset, int size, byte[] bytes) throws IOException, ErrnoException { argument
54 Preconditions.checkArgumentNonnegative(size, "size");
55 Preconditions.checkArgument(size <= bytes.length);
56 if (size == 0) {
61 return Os.write(mCacheFd.getFileDescriptor(), bytes, 0, size);
79 // Create the target object info with a correct file size and upload the file.
80 final long size = Os.lseek(mCacheFd.getFileDescriptor(), 0, OsConstants.SEEK_END);
82 .setCompressedSize(size)
99 size);
[all...]
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
H A DSharedStorageAgent.java67 public void onRestoreFile(ParcelFileDescriptor data, long size, argument
95 FullBackup.restoreFile(data, size, type, -1, mtime, outFile);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DResizingSpace.java75 * If mode is AT_MOST, return the child size instead of the parent size
78 private static int getDefaultSize2(int size, int measureSpec) { argument
79 int result = size;
85 result = size;
88 result = Math.min(size, specSize);
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DUnmodifiableSparseArray.java33 public int size() { method in class:UnmodifiableSparseArray
34 return mArray.size();
H A DUnmodifiableSparseIntArray.java33 public int size() { method in class:UnmodifiableSparseIntArray
34 return mArray.size();
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DThroughput.java26 public Throughput(int totalFrames, int periodFrames, long periodTime, int size) { argument
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DAbstractLayoutTest.java42 public View create(Context context, String name, int size) { argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DParserFactory.java72 long size, boolean isLayout) throws XmlPullParserException {
75 stream = readAndClose(stream, name, size);
101 long size) throws XmlPullParserException {
103 if (size > Integer.MAX_VALUE) {
106 int intSize = (int) size;
115 // get the size to read.
71 create(@onNull InputStream stream, @Nullable String name, long size, boolean isLayout) argument
100 readAndClose(@onNull InputStream stream, @Nullable String name, long size) argument
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
H A DUnsafeByteSequence.java38 public int size() { method in class:UnsafeByteSequence
/frameworks/compile/mclinker/include/mcld/ADT/
H A Dilist_sort.h22 void sort(llvm::iplist<T, Alloc>& xs, size_t size, Comparator is_less_than) { argument
26 assert(xs.size() == size && "Incorrect list size argument");
29 switch (size) {
46 size_t mid = size / 2;
55 sort(ys, size - mid, is_less_than);
79 detail::sort(list, list.size(), is_less_than);
/frameworks/compile/mclinker/include/mcld/LD/
H A DNamePool.h91 size_type size() const { return m_Table.numOfEntries(); } function in class:mcld::NamePool

Completed in 637 milliseconds

1234567891011>>