Home
last modified time | relevance | path

Searched refs:mDataSize (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/print/
DPrintDocumentInfo.java107 private long mDataSize; field in PrintDocumentInfo
125 mDataSize = prototype.mDataSize; in PrintDocumentInfo()
137 mDataSize = parcel.readLong(); in PrintDocumentInfo()
180 return mDataSize; in getDataSize()
191 mDataSize = dataSize; in setDataSize()
204 parcel.writeLong(mDataSize); in writeToParcel()
214 result = prime * result + (int) mDataSize; in hashCode()
215 result = prime * result + (int) mDataSize >> 32; in hashCode()
240 if (mDataSize != other.mDataSize) { in equals()
253 builder.append(", dataSize=").append(mDataSize); in toString()
/frameworks/base/libs/hwui/
DDrawProfiler.cpp63 , mDataSize(0) in DrawProfiler()
112 mCurrentFrame = (mCurrentFrame + 1) % mDataSize; in finishFrame()
149 mDataSize = property_get_int32(PROPERTY_PROFILE_MAXFRAMES, DEFAULT_MAX_FRAMES); in createData()
150 if (mDataSize <= 0) mDataSize = 1; in createData()
151 if (mDataSize > 4096) mDataSize = 4096; // Reasonable maximum in createData()
152 mData = (FrameTimingData*) calloc(mDataSize, sizeof(FrameTimingData)); in createData()
156 mRects[i] = (float*) calloc(mDataSize, 4 * sizeof(float)); in createData()
178 for (int i = 0; i < mDataSize; i++) { in prepareShapes()
193 canvas->drawRects(mRects[i], mDataSize * 4, &paint); in drawGraph()
265 for (int frameOffset = 1; frameOffset <= mDataSize; frameOffset++) { in dumpData()
[all …]
DDrawProfiler.h74 int mDataSize; variable
/frameworks/rs/
DrsFileA3D.cpp43 mDataSize = 0; in FileA3D()
137 if (lengthRemaining < sizeof(mDataSize)) { in load()
142 memcpy(&mDataSize, localData, sizeof(mDataSize)); in load()
143 localData += sizeof(mDataSize); in load()
144 lengthRemaining -= sizeof(mDataSize); in load()
146 if (lengthRemaining < mDataSize) { in load()
192 len = fread(&mDataSize, 1, sizeof(mDataSize), f); in load()
193 if (len != sizeof(mDataSize) || mDataSize == 0) { in load()
197 ALOGV("file open size = %" PRIi64, mDataSize); in load()
200 mAlloc = malloc(mDataSize); in load()
[all …]
DrsFileA3D.h87 uint64_t mDataSize; variable
/frameworks/native/libs/binder/
DParcel.cpp332 return (mDataSize > mDataPos ? mDataSize : mDataPos); in dataSize()
361 mDataSize = size; in setDataSize()
362 ALOGV("setDataSize Setting data size of %p to %zu", this, mDataSize); in setDataSize()
384 mDataSize = len; in setData()
405 if ((offset > parcel->mDataSize) in appendFrom()
406 || (len > parcel->mDataSize) in appendFrom()
407 || (offset + len > parcel->mDataSize)) { in appendFrom()
423 if ((mDataSize+len) > mDataCapacity) { in appendFrom()
434 mDataSize += len; in appendFrom()
567 if (mDataPos > mDataSize) { in finishWrite()
[all …]
/frameworks/wilhelm/src/android/
DBufferQueueSource.cpp99 if (offset + size <= mStreamToBqOffset + oldFront->mDataSize) { in readAt()
102 if (offset - mStreamToBqOffset + size == oldFront->mDataSize) { in readAt()
104 oldFront->mDataSizeConsumed = oldFront->mDataSize; in readAt()
105 mStreamToBqOffset += oldFront->mDataSize; in readAt()
140 dataSize = oldFront->mDataSize; in readAt()
Dandroid_StreamPlayer.cpp206 if (oldFront->mDataSizeConsumed + buffSize < oldFront->mDataSize) { in pullFromBuffQueue()
218 size_t consumed = oldFront->mDataSize - oldFront->mDataSizeConsumed; in pullFromBuffQueue()
220 oldFront->mDataSizeConsumed = oldFront->mDataSize; in pullFromBuffQueue()
256 dataSize = oldFront->mDataSize; in pullFromBuffQueue()
/frameworks/base/libs/androidfw/tests/
DIdmap_test.cpp54 targetName, targetName, &mData, &mDataSize)); in SetUp()
64 size_t mDataSize; member in __anonc4376d930111::IdmapTest
68 ASSERT_EQ(NO_ERROR, mTargetTable.add(overlay_arsc, overlay_arsc_len, mData, mDataSize)); in TEST_F()
85 ASSERT_EQ(NO_ERROR, mTargetTable.add(overlay_arsc, overlay_arsc_len, mData, mDataSize)); in TEST_F()
101 ASSERT_EQ(NO_ERROR, mTargetTable.add(overlay_arsc, overlay_arsc_len, mData, mDataSize)); in TEST_F()
/frameworks/av/media/libstagefright/
DWAVExtractor.cpp126 mWaveFormat, mBitsPerSample, mDataOffset, mDataSize); in getTrack()
279 mDataSize = chunkSize; in init()
311 1000000LL * (mDataSize / 65 * 320) / 8000; in init()
315 1000000LL * (mDataSize / (mNumChannels * bytesPerSample)) in init()
/frameworks/av/media/libstagefright/include/
DWAVExtractor.h54 size_t mDataSize; variable
/frameworks/base/tools/aapt/
DAaptAssets.cpp470 mDataSize = size; in editData()
479 mDataSize = size; in editData()
492 *outSize = mDataSize; in editData()
499 const size_t extra = mDataSize%wordSize; in padData()
504 size_t initial = mDataSize; in padData()
514 size_t end = mDataSize; in writeData()
528 mDataSize = 0; in clearData()
DAaptAssets.h156 , mDataSize(0) in AaptFile()
173 size_t getSize() const { return mDataSize; } in getSize()
201 size_t mDataSize; variable
/frameworks/wilhelm/src/itf/
DIAndroidBufferQueue.c375 oldRear->mDataSize = dataLength; in IAndroidBufferQueue_Enqueue()
581 i, hdr->mDataBuffer, hdr->mDataSize, hdr->mDataSizeConsumed,
/frameworks/wilhelm/src/
Dsles_allinclusive.h254 SLuint32 mDataSize; member
/frameworks/native/include/binder/
DParcel.h257 size_t mDataSize; variable