Home
last modified time | relevance | path

Searched refs:getFlattenedSize (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/native/libs/ui/
DDisplayMode.cpp28 size_t DisplayMode::getFlattenedSize() const { in getFlattenedSize() function in android::ui::DisplayMode
29 return FlattenableHelpers::getFlattenedSize(id) + in getFlattenedSize()
30 FlattenableHelpers::getFlattenedSize(resolution) + in getFlattenedSize()
31 FlattenableHelpers::getFlattenedSize(xDpi) + in getFlattenedSize()
32 FlattenableHelpers::getFlattenedSize(yDpi) + in getFlattenedSize()
33 FlattenableHelpers::getFlattenedSize(refreshRate) + in getFlattenedSize()
34 FlattenableHelpers::getFlattenedSize(appVsyncOffset) + in getFlattenedSize()
35 FlattenableHelpers::getFlattenedSize(sfVsyncOffset) + in getFlattenedSize()
36 FlattenableHelpers::getFlattenedSize(presentationDeadline) + in getFlattenedSize()
37 FlattenableHelpers::getFlattenedSize(group); in getFlattenedSize()
[all …]
DDynamicDisplayInfo.cpp37 size_t DynamicDisplayInfo::getFlattenedSize() const { in getFlattenedSize() function in android::ui::DynamicDisplayInfo
38 return FlattenableHelpers::getFlattenedSize(supportedDisplayModes) + in getFlattenedSize()
39 FlattenableHelpers::getFlattenedSize(activeDisplayModeId) + in getFlattenedSize()
40 FlattenableHelpers::getFlattenedSize(supportedColorModes) + in getFlattenedSize()
41 FlattenableHelpers::getFlattenedSize(activeColorMode) + in getFlattenedSize()
42 FlattenableHelpers::getFlattenedSize(hdrCapabilities) + in getFlattenedSize()
43 FlattenableHelpers::getFlattenedSize(autoLowLatencyModeSupported) + in getFlattenedSize()
44 FlattenableHelpers::getFlattenedSize(gameContentTypeSupported) + in getFlattenedSize()
45 FlattenableHelpers::getFlattenedSize(preferredBootDisplayMode); in getFlattenedSize()
49 if (size < getFlattenedSize()) { in flatten()
DStaticDisplayInfo.cpp28 size_t StaticDisplayInfo::getFlattenedSize() const { in getFlattenedSize() function in android::ui::StaticDisplayInfo
29 return FlattenableHelpers::getFlattenedSize(connectionType) + in getFlattenedSize()
30 FlattenableHelpers::getFlattenedSize(density) + in getFlattenedSize()
31 FlattenableHelpers::getFlattenedSize(secure) + in getFlattenedSize()
32 FlattenableHelpers::getFlattenedSize(deviceProductInfo) + in getFlattenedSize()
33 FlattenableHelpers::getFlattenedSize(installOrientation); in getFlattenedSize()
37 if (size < getFlattenedSize()) { in flatten()
DDeviceProductInfo.cpp30 size_t DeviceProductInfo::getFlattenedSize() const { in getFlattenedSize() function in android::DeviceProductInfo
31 return FlattenableHelpers::getFlattenedSize(name) + in getFlattenedSize()
32 FlattenableHelpers::getFlattenedSize(manufacturerPnpId) + in getFlattenedSize()
33 FlattenableHelpers::getFlattenedSize(productId) + in getFlattenedSize()
34 FlattenableHelpers::getFlattenedSize(manufactureOrModelDate) + in getFlattenedSize()
35 FlattenableHelpers::getFlattenedSize(relativeAddress); in getFlattenedSize()
39 if (size < getFlattenedSize()) { in flatten()
DHdrCapabilities.cpp26 size_t HdrCapabilities::getFlattenedSize() const { in getFlattenedSize() function in android::HdrCapabilities
36 if (size < getFlattenedSize()) { in flatten()
DFrameStats.cpp25 size_t FrameStats::getFlattenedSize() const { in getFlattenedSize() function in android::FrameStats
35 if (size < getFlattenedSize()) { in flatten()
DFence.cpp156 size_t Fence::getFlattenedSize() const { in getFlattenedSize() function in android::Fence
165 if (size < getFlattenedSize() || count < getFdCount()) { in flatten()
184 if (size < getFlattenedSize()) { in unflatten()
/frameworks/native/libs/gui/
DIGraphicBufferProducerFlattenables.cpp34 size_t IGraphicBufferProducer::QueueBufferInput::getFlattenedSize() const { in getFlattenedSize() function in android::IGraphicBufferProducer::QueueBufferInput
36 fence->getFlattenedSize() + in getFlattenedSize()
37 surfaceDamage.getFlattenedSize() + in getFlattenedSize()
38 hdrMetadata.getFlattenedSize(); in getFlattenedSize()
48 if (size < getFlattenedSize()) { in flatten()
69 FlattenableUtils::advance(buffer, size, surfaceDamage.getFlattenedSize()); in flatten()
74 FlattenableUtils::advance(buffer, size, hdrMetadata.getFlattenedSize()); in flatten()
104 FlattenableUtils::advance(buffer, size, surfaceDamage.getFlattenedSize()); in unflatten()
109 FlattenableUtils::advance(buffer, size, hdrMetadata.getFlattenedSize()); in unflatten()
120 size_t IGraphicBufferProducer::QueueBufferOutput::getFlattenedSize() const { in getFlattenedSize() function in android::IGraphicBufferProducer::QueueBufferOutput
[all …]
DBufferItem.cpp92 size_t BufferItem::getFlattenedSize() const { in getFlattenedSize() function in android::BufferItem
95 size += mGraphicBuffer->getFlattenedSize(); in getFlattenedSize()
99 size += mFence->getFlattenedSize(); in getFlattenedSize()
102 size += mSurfaceDamage.getFlattenedSize(); in getFlattenedSize()
103 size += mHdrMetadata.getFlattenedSize(); in getFlattenedSize()
129 if (size < BufferItem::getFlattenedSize()) { in flatten()
155 FlattenableUtils::advance(buffer, size, mSurfaceDamage.getFlattenedSize()); in flatten()
159 FlattenableUtils::advance(buffer, size, mHdrMetadata.getFlattenedSize()); in flatten()
221 FlattenableUtils::advance(buffer, size, mSurfaceDamage.getFlattenedSize()); in unflatten()
225 FlattenableUtils::advance(buffer, size, mHdrMetadata.getFlattenedSize()); in unflatten()
DHdrMetadata.cpp22 size_t HdrMetadata::getFlattenedSize() const { in getFlattenedSize() function in android::HdrMetadata
38 if (size < getFlattenedSize()) { in flatten()
/frameworks/native/libs/ui/include_private/ui/
DFlattenableHelpers.h37 static constexpr size_t getFlattenedSize(const T&) { in getFlattenedSize() function
62 static size_t getFlattenedSize(const std::string& str) { in getFlattenedSize() function
67 if (*size < getFlattenedSize(str)) return NO_MEMORY; in flatten()
85 static size_t getFlattenedSize(const LightFlattenable<T>& value) { in getFlattenedSize() function
86 return value.getFlattenedSize(); in getFlattenedSize()
92 FlattenableUtils::advance(*buffer, *size, value.getFlattenedSize()); in flatten()
99 FlattenableUtils::advance(*buffer, *size, value->getFlattenedSize()); in unflatten()
105 static size_t getFlattenedSize(const std::optional<T>& value) { in getFlattenedSize() function
106 return sizeof(bool) + (value ? getFlattenedSize(*value) : 0); in getFlattenedSize()
135 static size_t getFlattenedSize(const std::vector<T>& value) { in getFlattenedSize() function
[all …]
/frameworks/native/libs/ui/tests/
DFlattenableHelpers_test.cpp37 size_t getFlattenedSize() const { return sizeof(int32_t); } in getFlattenedSize() function
75 testWriteThenRead(value, FlattenableHelpers::getFlattenedSize(value)); in testWriteThenRead()
104 buffer.assign(FlattenableHelpers::getFlattenedSize(value), 0); in TEST_F()
122 buffer.assign(FlattenableHelpers::getFlattenedSize(value), 0); in TEST_F()
147 size_t getFlattenedSize() const { return kSizeTag; } in TEST_F() function
163 EXPECT_EQ(kSizeTag, FlattenableHelpers::getFlattenedSize(foo)); in TEST_F()
/frameworks/native/libs/gui/bufferqueue/1.0/
DConversion.cpp433 size_t const baseSize = l.getFlattenedSize(); in wrapAs()
539 size_t getFlattenedSize( in getFlattenedSize() function
583 if (size < getFlattenedSize(t)) { in flatten()
678 size_t getFlattenedSize( in getFlattenedSize() function
681 getFlattenedSize(t.gpuCompositionDoneFence) + in getFlattenedSize()
682 getFlattenedSize(t.displayPresentFence) + in getFlattenedSize()
683 getFlattenedSize(t.displayRetireFence) + in getFlattenedSize()
684 getFlattenedSize(t.releaseFence); in getFlattenedSize()
837 size_t getFlattenedSize( in getFlattenedSize() function
842 size += getFlattenedSize(t.deltas[i]); in getFlattenedSize()
[all …]
DH2BGraphicBufferProducer.cpp309 size_t const baseSize = l.getFlattenedSize(); in wrapAs()
540 size_t const baseSize = l.getFlattenedSize(); in wrapAs()
582 inline size_t getFlattenedSize( in getFlattenedSize() function
628 if (size < getFlattenedSize(t)) { in flatten()
683 inline size_t getFlattenedSize( in getFlattenedSize() function
686 getFlattenedSize(t.gpuCompositionDoneFence) + in getFlattenedSize()
687 getFlattenedSize(t.displayPresentFence) + in getFlattenedSize()
688 getFlattenedSize(t.displayRetireFence) + in getFlattenedSize()
689 getFlattenedSize(t.releaseFence); in getFlattenedSize()
785 inline size_t getFlattenedSize( in getFlattenedSize() function
[all …]
/frameworks/native/libs/gui/include/gui/
DIGraphicBufferProducer.h354 size_t getFlattenedSize() const;
391 size_t getFlattenedSize() const;
684 size_t getFlattenedSize() const;
706 size_t getFlattenedSize() const;
722 size_t getFlattenedSize() const;
755 size_t getFlattenedSize() const;
785 size_t getFlattenedSize() const;
806 size_t getFlattenedSize() const;
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
DConversion.h365 size_t getFlattenedSize(HGraphicBufferProducer::FenceTimeSnapshot const& t);
420 size_t getFlattenedSize(HGraphicBufferProducer::FrameEventsDelta const& t);
476 size_t getFlattenedSize(
564 size_t getFlattenedSize(Region const& t);
614 size_t getFlattenedSize(HGraphicBufferProducer::QueueBufferInput const& t);
/frameworks/native/opengl/libs/EGL/
DBlobCache_test.cpp318 size_t size = mBC->getFlattenedSize(); in roundTrip()
366 size_t size = mBC->getFlattenedSize(); in TEST_F()
388 size_t size = mBC->getFlattenedSize() - 1; in TEST_F()
400 size_t size = mBC->getFlattenedSize(); in TEST_F()
417 size_t size = mBC->getFlattenedSize(); in TEST_F()
436 size_t size = mBC->getFlattenedSize(); in TEST_F()
455 size_t size = mBC->getFlattenedSize(); in TEST_F()
/frameworks/native/libs/ui/include_vndk/ui/
DFrameStats.h57 size_t getFlattenedSize() const;
DStaticDisplayInfo.h38 size_t getFlattenedSize() const;
DDisplayMode.h45 size_t getFlattenedSize() const;
/frameworks/native/libs/ui/include/ui/
DFrameStats.h57 size_t getFlattenedSize() const;
DStaticDisplayInfo.h38 size_t getFlattenedSize() const;
DDisplayMode.h45 size_t getFlattenedSize() const;
DDynamicDisplayInfo.h58 size_t getFlattenedSize() const;
/frameworks/native/include/ui/
DStaticDisplayInfo.h38 size_t getFlattenedSize() const;

123