Searched refs:size (Results 126 - 150 of 1468) sorted by relevance

1234567891011>>

/frameworks/base/drm/libdrmframework/plugins/common/util/src/
H A DMimeTypeUtil.cpp43 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/base/libs/hwui/
H A DTextDropShadowCache.cpp35 INIT_LOGD(" Setting drop shadow cache size to %sMB", property);
38 INIT_LOGD(" Using default drop shadow cache size of %.2fMB",
88 LOGD("Shadow texture deleted, size = %d", texture->bitmapSize);
121 const uint32_t size = shadow.width * shadow.height; local
122 texture->bitmapSize = size;
125 if (size < mMaxSize) {
126 while (mSize + size > mMaxSize) {
143 if (size < mMaxSize) {
145 LOGD("Shadow texture created, size = %d", texture->bitmapSize);
150 mSize += size;
[all...]
/frameworks/base/libs/rs/driver/
H A DrsdVertexArray.cpp47 size = 0;
54 void RsdVertexArray::Attrib::set(uint32_t type, uint32_t size, uint32_t stride, argument
59 this->size = size;
70 LOGV("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/base/media/libstagefright/
H A DMPEG2TSWriter.cpp156 size_t size; local
157 if (!meta->findData(kKeyESDS, &type, &data, &size)) {
162 ESDS esds((const char *)data, size);
186 size_t size; local
187 if (!meta->findData(kKeyAVCC, &type, &data, &size)) {
200 size -= 6;
203 CHECK(size >= 2);
207 size -= 2;
209 CHECK(size >= length);
211 CHECK_LE(out->size()
489 MPEG2TSWriter( void *cookie, ssize_t (*write)(void *cookie, const void *data, size_t size)) argument
961 internalWrite(const void *data, size_t size) argument
[all...]
/frameworks/base/media/libstagefright/foundation/
H A Dbase64.cpp25 if ((s.size() % 4) != 0) {
29 size_t n = s.size();
39 size_t outLen = 3 * s.size() / 4 - padding;
99 const void *_data, size_t size, AString *out) {
105 for (i = 0; i < (size / 3) * 3; i += 3) {
115 switch (size % 3) {
98 encodeBase64( const void *_data, size_t size, AString *out) argument
/frameworks/compile/libbcc/lib/ExecutionEngine/
H A DScriptCompiled.h102 return mExportVars.size();
106 return mExportFuncs.size();
110 return mPragmas.size();
114 return mEmittedFunctions.size();
118 return mObjectSlots.size();
155 return mCompiler.getELF().size();
/frameworks/compile/linkloader/include/
H A DELFObject.h77 void *allocateSHNCommonData(size_t size, size_t align = 1) { argument
78 rsl_assert(size > 0 && align != 0);
80 rsl_assert(SHNCommonDataPtr && "Must init common data size before use!");
89 // Ensure the free size is sufficient
90 if (SHNCommonDataFreeSize < size) {
96 SHNCommonDataPtr += size;
97 SHNCommonDataFreeSize -= size;
108 for (size_t i = 0; i < stab.size(); ++i) {
/frameworks/media/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorUtils.cpp57 size_t size; local
86 if (meta->findData(kKeyESDS, &type, &data, &size)) {
87 LOG1("displayMetaData kKeyESDS type=%d size=%d", type, size);
89 if (meta->findData(kKeyAVCC, &type, &data, &size)) {
90 LOG1("displayMetaData kKeyAVCC data=0x%X type=%d size=%d",
91 *((unsigned int*)data), type, size);
93 if (meta->findData(kKeyVorbisInfo, &type, &data, &size)) {
94 LOG1("displayMetaData kKeyVorbisInfo type=%d size=%d", type, size);
264 buildAVCCodecSpecificData(uint8_t **pOutputData, size_t *pOutputSize, const uint8_t *data, size_t size, MetaData *param) argument
[all...]
/frameworks/base/media/libstagefright/httplive/
H A DLiveSession.cpp189 for (size_t i = 0; i < playlist->size(); ++i) {
201 CHECK_GT(mBandwidthItems.size(), 0u);
247 off64_t size; local
248 status_t err = source->getSize(&size);
251 size = 65536;
254 sp<ABuffer> buffer = new ABuffer(size);
258 size_t bufferRemaining = buffer->capacity() - buffer->size();
264 buffer->size() + bufferRemaining);
266 sp<ABuffer> copy = new ABuffer(buffer->size() + bufferRemaining);
267 memcpy(copy->data(), buffer->data(), buffer->size());
[all...]
/frameworks/base/media/libstagefright/timedtext/
H A DTimedTextPlayer.cpp93 mTextTrackVector.size() + mTextOutOfBandVector.size()) {
99 if (index < mTextTrackVector.size()) { // start an in-band text
110 mTextOutOfBandVector.itemAt(index - mTextTrackVector.size());
200 (int)(mTextTrackVector.size() + mTextOutOfBandVector.size())) {
349 size_t size = 0; local
359 size = mTextBuffer->size();
366 size
383 size_t size = 0; local
[all...]
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
H A DBitcodeReader.h60 unsigned size() const { return ValuePtrs.size(); } function in class:llvm_2_7::BitcodeReaderValueList
72 assert(i < ValuePtrs.size());
80 assert(N <= size() && "Invalid shrinkTo request!");
107 unsigned size() const { return MDValuePtrs.size(); }
116 assert(i < MDValuePtrs.size());
121 assert(N <= size() && "Invalid shrinkTo request!");
233 if (ID >= FunctionBBs.size()) return 0; // Invalid ID
237 if (i-1 < MAttributes.size())
[all...]
/frameworks/base/core/java/android/animation/
H A DAnimatorSet.java145 if (items != null && items.size() > 0) {
184 if (items != null && items.size() > 0) {
186 if (items.size() == 1) {
189 for (int i = 0; i < items.size() - 1; ++i) {
302 } else if (mSortedNodes.size() > 0) {
326 if (mSortedNodes.size() != mNodes.size()) {
339 if (mSortedNodes.size() > 0) {
463 int numSortedNodes = mSortedNodes.size();
468 if (oldListeners != null && oldListeners.size() >
[all...]
/frameworks/base/core/java/android/accounts/
H A DAccountManagerResponse.java75 public AccountManagerResponse[] newArray(int size) {
76 return new AccountManagerResponse[size];
/frameworks/base/core/java/android/app/backup/
H A DRestoreSet.java77 public RestoreSet[] newArray(int size) {
78 return new RestoreSet[size];
/frameworks/base/core/java/android/content/pm/
H A DPathPermission.java64 public PathPermission[] newArray(int size) {
65 return new PathPermission[size];
H A DVerifierInfo.java79 public VerifierInfo[] newArray(int size) {
80 return new VerifierInfo[size];
/frameworks/base/core/java/android/net/
H A DNetworkQuotaInfo.java77 public NetworkQuotaInfo[] newArray(int size) {
78 return new NetworkQuotaInfo[size];
/frameworks/base/core/java/android/nfc/
H A DLlcpPacket.java81 public LlcpPacket[] newArray(int size) {
82 return new LlcpPacket[size];
H A DTechListParcel.java62 public TechListParcel[] newArray(int size) {
63 return new TechListParcel[size];
/frameworks/base/core/java/android/view/
H A DAbsSavedState.java85 public AbsSavedState[] newArray(int size) {
86 return new AbsSavedState[size];
H A DInputEvent.java133 public InputEvent[] newArray(int size) {
134 return new InputEvent[size];
/frameworks/base/core/java/android/view/inputmethod/
H A DExtractedTextRequest.java78 public ExtractedTextRequest[] newArray(int size) {
79 return new ExtractedTextRequest[size];
/frameworks/base/core/java/com/android/internal/net/
H A DLegacyVpnInfo.java65 public LegacyVpnInfo[] newArray(int size) {
66 return new LegacyVpnInfo[size];
/frameworks/base/core/tests/coretests/src/android/text/
H A DPackedIntVectorTest.java42 at = p.size() - i;
55 assertEquals(p.size(), i + 1);
128 while (p.size() > 0) {
129 int osize = p.size();
139 assertEquals(p.size(), osize - del);
147 for (int i = at; i < p.size(); i++) {
149 assertEquals(p.getValue(i, j), (i + height - p.size()) * j);
154 assertEquals(0, p.size());
/frameworks/base/include/binder/
H A DMemoryDealer.h37 MemoryDealer(size_t size, const char* name = 0);
39 virtual sp<IMemory> allocate(size_t size);

Completed in 372 milliseconds

1234567891011>>