Lines Matching refs:drawable
107 sk_sp<AnimatedImageDrawable> drawable(new AnimatedImageDrawable(std::move(animatedImg), in AnimatedImageDrawable_nCreate() local
109 return reinterpret_cast<jlong>(drawable.release()); in AnimatedImageDrawable_nCreate()
112 static void AnimatedImageDrawable_destruct(AnimatedImageDrawable* drawable) { in AnimatedImageDrawable_destruct() argument
113 SkSafeUnref(drawable); in AnimatedImageDrawable_destruct()
125 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nDraw() local
127 return (jlong) canvas->drawAnimatedImage(drawable); in AnimatedImageDrawable_nDraw()
132 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nSetAlpha() local
133 drawable->setStagingAlpha(alpha); in AnimatedImageDrawable_nSetAlpha()
137 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nGetAlpha() local
138 return drawable->getStagingAlpha(); in AnimatedImageDrawable_nGetAlpha()
143 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nSetColorFilter() local
145 drawable->setStagingColorFilter(sk_ref_sp(filter)); in AnimatedImageDrawable_nSetColorFilter()
149 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nIsRunning() local
150 return drawable->isRunning(); in AnimatedImageDrawable_nIsRunning()
154 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nStart() local
155 return drawable->start(); in AnimatedImageDrawable_nStart()
159 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nStop() local
160 return drawable->stop(); in AnimatedImageDrawable_nStop()
167 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nGetRepeatCount() local
168 return drawable->getRepetitionCount(); in AnimatedImageDrawable_nGetRepeatCount()
173 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nSetRepeatCount() local
174 drawable->setRepetitionCount(loopCount); in AnimatedImageDrawable_nSetRepeatCount()
219 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nSetOnAnimationEndListener() local
221 drawable->setOnAnimationEndListener(nullptr); in AnimatedImageDrawable_nSetOnAnimationEndListener()
231 drawable->setOnAnimationEndListener( in AnimatedImageDrawable_nSetOnAnimationEndListener()
237 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nNativeByteSize() local
238 return drawable->byteSize(); in AnimatedImageDrawable_nNativeByteSize()
243 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nSetMirrored() local
244 drawable->setStagingMirrored(mirrored); in AnimatedImageDrawable_nSetMirrored()
249 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nSetBounds() local
252 drawable->setStagingBounds(rect); in AnimatedImageDrawable_nSetBounds()