Home
last modified time | relevance | path

Searched refs:bytesUsed (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/jni/
DAnimatedImageDrawable.cpp84 size_t bytesUsed = info.computeMinByteSize(); in AnimatedImageDrawable_nCreate() local
89 bytesUsed *= hasRestoreFrame ? 4 : 3; in AnimatedImageDrawable_nCreate()
102 bytesUsed += picture->approximateBytesUsed(); in AnimatedImageDrawable_nCreate()
114 bytesUsed += sizeof(animatedImg.get()); in AnimatedImageDrawable_nCreate()
117 new AnimatedImageDrawable(std::move(animatedImg), bytesUsed, format)); in AnimatedImageDrawable_nCreate()
/frameworks/base/libs/hwui/hwui/
DAnimatedImageDrawable.h51 AnimatedImageDrawable(sk_sp<SkAnimatedImage> animatedImage, size_t bytesUsed,
DAnimatedImageDrawable.cpp30 AnimatedImageDrawable::AnimatedImageDrawable(sk_sp<SkAnimatedImage> animatedImage, size_t bytesUsed, in AnimatedImageDrawable() argument
32 : mSkAnimatedImage(std::move(animatedImage)), mBytesUsed(bytesUsed), mFormat(format) { in AnimatedImageDrawable()