Searched refs:getSize (Results 1 - 25 of 433) sorted by relevance

1234567891011>>

/frameworks/av/media/libeffects/dynamicsproc/dsp/
H A DSHCircularBuffer.h42 if (mWriteIndex >= getSize()) {
47 ALOGE("Error: SHCircularBuffer no space to write. allocated size %zu ", getSize());
54 if (mReadIndex >= getSize()) {
67 return getSize() - mReadAvailable;
69 inline size_t getSize() const { function in class:SHCircularBuffer
/frameworks/base/libs/hwui/tests/unit/
H A DGradientCacheTests.cpp36 ASSERT_EQ((uint32_t)texture->objectSize(), cache.getSize());
37 ASSERT_TRUE(cache.getSize());
39 ASSERT_EQ(cache.getSize(), 0u);
H A DTextDropShadowCacheTests.cpp52 ASSERT_EQ((uint32_t)texture->objectSize(), cache.getSize());
53 ASSERT_TRUE(cache.getSize());
55 ASSERT_EQ(cache.getSize(), 0u);
H A DTextureCacheTests.cpp28 ASSERT_EQ(cache.getSize(), 0u);
/frameworks/base/media/java/android/media/
H A DMedia2DataSource.java62 public abstract long getSize() throws IOException; method in class:Media2DataSource
H A DMediaDataSource.java60 public abstract long getSize() throws IOException; method in class:MediaDataSource
H A DIMediaHTTPConnection.aidl30 long getSize();
/frameworks/support/media/src/main/java/androidx/media/
H A DMedia2DataSource.java61 public abstract long getSize() throws IOException; method in class:Media2DataSource
/frameworks/av/media/ndk/
H A DNdkMediaDataSource.cpp42 AMediaDataSourceGetSize getSize; member in struct:AMediaDataSource
49 AMediaDataSource_setGetSize(mDataSource, dataSource->getSize);
64 if (mDataSource->getSize == NULL || mDataSource->userdata == NULL) {
70 status_t NdkDataSource::getSize(off64_t *size) { function in class:NdkDataSource
72 if (mDataSource->getSize == NULL || mDataSource->userdata == NULL) {
76 *size = mDataSource->getSize(mDataSource->userdata);
102 mSource->getSize = NULL;
126 void AMediaDataSource_setGetSize(AMediaDataSource *mSource, AMediaDataSourceGetSize getSize) { argument
127 mSource->getSize = getSize;
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DNativeFrame.java38 int capacity = format.getSize();
111 if (ints.length * nativeIntSize() > getFormat().getSize()) {
114 (getFormat().getSize() / nativeIntSize()) + " integers).");
122 return getNativeInts(getFormat().getSize());
128 if (floats.length * nativeFloatSize() > getFormat().getSize()) {
131 (getFormat().getSize() / nativeFloatSize()) + " floats).");
139 return getNativeFloats(getFormat().getSize());
152 } else if (getFormat().getSize() != length) {
154 "Frame size is " + getFormat().getSize() + " bytes, but " +
163 byte[] data = getNativeData(getFormat().getSize());
[all...]
H A DVertexFrame.java36 if (getFormat().getSize() <= 0) {
39 if (!nativeAllocate(getFormat().getSize())) {
91 if (getFormat().getSize() != bytes.length) {
/frameworks/base/libs/hwui/
H A DGammaFontRenderer.h56 uint32_t getSize() const { return mRenderer ? mRenderer->getSize() : 0; } function in class:android::uirenderer::GammaFontRenderer
H A DCaches.cpp164 log.appendFormat(" TextureCache %8d / %8d\n", textureCache.getSize(),
181 log.appendFormat(" RenderBufferCache %8d / %8d\n", renderBufferCache.getSize(),
183 log.appendFormat(" GradientCache %8d / %8d\n", gradientCache.getSize(),
185 log.appendFormat(" PathCache %8d / %8d\n", pathCache.getSize(),
187 log.appendFormat(" TessellationCache %8d / %8d\n", tessellationCache.getSize(),
189 log.appendFormat(" TextDropShadowCache %8d / %8d\n", dropShadowCache.getSize(),
191 log.appendFormat(" PatchCache %8d / %8d\n", patchCache.getSize(),
197 log.appendFormat(" FboCache %8d / %8d\n", fboCache.getSize(),
200 total += textureCache.getSize();
201 total += renderBufferCache.getSize();
[all...]
H A DFboCache.h64 uint32_t getSize();
H A DRenderBufferCache.cpp61 uint32_t RenderBufferCache::getSize() { function in class:android::uirenderer::RenderBufferCache
90 mSize -= buffer->getSize();
113 mSize -= buffer->getSize();
133 const uint32_t size = buffer->getSize();
/frameworks/base/core/java/android/webkit/
H A DWebBackForwardList.java55 public abstract int getSize(); method in class:WebBackForwardList
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DIconEvent.java24 public int getSize() { method in class:IconEvent
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DLinearLayoutManagerWrapContentWithAspectRatioTest.java152 int parentDim = getSize((View) recyclerView.getParent(), testOrientation);
155 assertThat("first child test size", getSize(itemView1, testOrientation),
157 assertThat("first child dependant size", getSize(itemView1, mConfig.mOrientation),
161 assertThat("second child test size", getSize(itemView2, testOrientation),
163 assertThat("second child dependant size", getSize(itemView2, mConfig.mOrientation),
167 assertThat("third child test size", getSize(itemView3, testOrientation),
169 assertThat("third child dependant size", getSize(itemView3, mConfig.mOrientation),
203 final int totalScrollSize = getSize(itemView1, mConfig.mOrientation)
204 + getSize(itemView2, mConfig.mOrientation)
205 + getSize(itemView
[all...]
/frameworks/base/core/java/android/os/
H A DMemoryFile.java116 return mSharedMemory.getSize();
237 public static int getSize(FileDescriptor fd) throws IOException { method in class:MemoryFile
249 if (mOffset >= mSharedMemory.getSize()) {
252 return mSharedMemory.getSize() - mOffset;
302 if (mOffset + n > mSharedMemory.getSize()) {
303 n = mSharedMemory.getSize() - mOffset;
/frameworks/av/include/media/stagefright/
H A DDataURISource.h33 virtual status_t getSize(off64_t *size);
/frameworks/av/media/img_utils/include/img_utils/
H A DByteArrayOutput.h67 virtual size_t getSize() const;
H A DTiffWritable.h53 virtual size_t getSize() const = 0;
/frameworks/av/media/img_utils/src/
H A DByteArrayOutput.cpp45 size_t ByteArrayOutput::getSize() const { function in class:android::img_utils::ByteArrayOutput
/frameworks/av/media/libmedia/include/media/
H A DMediaHTTPConnection.h36 virtual off64_t getSize() = 0;
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DDataURISource.h33 virtual status_t getSize(off64_t *size);

Completed in 367 milliseconds

1234567891011>>