Home
last modified time | relevance | path

Searched refs:AnimatedImageDrawable (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/libs/hwui/hwui/
DAnimatedImageDrawable.cpp30 AnimatedImageDrawable::AnimatedImageDrawable(sk_sp<SkAnimatedImage> animatedImage, size_t bytesUsed, in AnimatedImageDrawable() function in android::AnimatedImageDrawable
37 void AnimatedImageDrawable::syncProperties() { in syncProperties()
41 bool AnimatedImageDrawable::start() { in start()
52 bool AnimatedImageDrawable::stop() { in stop()
58 bool AnimatedImageDrawable::isRunning() { in isRunning()
62 bool AnimatedImageDrawable::nextSnapshotReady() const { in nextSnapshotReady()
68 bool AnimatedImageDrawable::isDirty(nsecs_t* outDelay) { in isDirty()
107 AnimatedImageDrawable::Snapshot AnimatedImageDrawable::decodeNextFrame() { in decodeNextFrame()
119 AnimatedImageDrawable::Snapshot AnimatedImageDrawable::reset() { in reset()
140 void AnimatedImageDrawable::onDraw(SkCanvas* canvas) { in onDraw()
[all …]
DAnimatedImageThread.h35 std::future<AnimatedImageDrawable::Snapshot> decodeNextFrame(
36 const sk_sp<AnimatedImageDrawable>&);
37 std::future<AnimatedImageDrawable::Snapshot> reset(const sk_sp<AnimatedImageDrawable>&);
DAnimatedImageThread.cpp41 std::future<AnimatedImageDrawable::Snapshot> AnimatedImageThread::decodeNextFrame( in decodeNextFrame()
42 const sk_sp<AnimatedImageDrawable>& drawable) { in decodeNextFrame()
46 std::future<AnimatedImageDrawable::Snapshot> AnimatedImageThread::reset( in reset()
47 const sk_sp<AnimatedImageDrawable>& drawable) { in reset()
DAnimatedImageDrawable.h47 class AnimatedImageDrawable : public SkDrawable {
51 AnimatedImageDrawable(sk_sp<SkAnimatedImage> animatedImage, size_t bytesUsed,
DCanvas.h61 class AnimatedImageDrawable; variable
246 virtual double drawAnimatedImage(AnimatedImageDrawable* imgDrawable) = 0;
/frameworks/base/libs/hwui/jni/
DAnimatedImageDrawable.cpp116 sk_sp<AnimatedImageDrawable> drawable( in AnimatedImageDrawable_nCreate()
117 new AnimatedImageDrawable(std::move(animatedImg), bytesUsed, format)); in AnimatedImageDrawable_nCreate()
121 static void AnimatedImageDrawable_destruct(AnimatedImageDrawable* drawable) { in AnimatedImageDrawable_destruct()
134 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nDraw()
141 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nSetAlpha()
146 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nGetAlpha()
152 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nSetColorFilter()
159 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nIsRunning()
164 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nStart()
169 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nStop()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationConversationTemplateViewWrapperTest.kt19 import android.graphics.drawable.AnimatedImageDrawable
58 val mockDrawable = mock<AnimatedImageDrawable>() in setAnimationsRunning_Run()
59 val mockDrawable2 = mock<AnimatedImageDrawable>() in setAnimationsRunning_Run()
77 val mockDrawable = mock<AnimatedImageDrawable>() in setAnimationsRunning_Stop()
78 val mockDrawable2 = mock<AnimatedImageDrawable>() in setAnimationsRunning_Stop()
92 mockDrawableGroupMessage: AnimatedImageDrawable, in fakeConversationLayout()
93 mockDrawableImageMessage: AnimatedImageDrawable in fakeConversationLayout()
DNotificationBigPictureTemplateViewWrapperTest.java24 import android.graphics.drawable.AnimatedImageDrawable;
74 AnimatedImageDrawable mockDrawable = mock(AnimatedImageDrawable.class); in setAnimationsRunning_Run()
91 AnimatedImageDrawable mockDrawable = mock(AnimatedImageDrawable.class); in setAnimationsRunning_Stop()
DNotificationMessagingTemplateViewWrapperTest.kt19 import android.graphics.drawable.AnimatedImageDrawable
55 val mockDrawable = mock<AnimatedImageDrawable>() in setAnimationsRunning_Run()
70 val mockDrawable = mock<AnimatedImageDrawable>() in setAnimationsRunning_Stop()
81 private fun fakeMessagingLayout(mockDrawable: AnimatedImageDrawable): View { in fakeMessagingLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationBigPictureTemplateViewWrapper.java21 import android.graphics.drawable.AnimatedImageDrawable;
90 if (d instanceof AnimatedImageDrawable) { in setAnimationsRunning()
91 AnimatedImageDrawable animatedImageDrawable = (AnimatedImageDrawable) d; in setAnimationsRunning()
DNotificationMessagingTemplateViewWrapper.java20 import android.graphics.drawable.AnimatedImageDrawable;
158 if (!(d instanceof AnimatedImageDrawable)) { in setAnimationsRunning()
161 AnimatedImageDrawable animatedImageDrawable = (AnimatedImageDrawable) d; in setAnimationsRunning()
DNotificationConversationTemplateViewWrapper.kt20 import android.graphics.drawable.AnimatedImageDrawable in <lambda>()
167 imageMessage.drawable as? AnimatedImageDrawable in <lambda>()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedImageDrawable.java72 public class AnimatedImageDrawable extends Drawable implements Animatable2 { class
191 public AnimatedImageDrawable() { in AnimatedImageDrawable() method in AnimatedImageDrawable
200 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.AnimatedImageDrawable); in inflate()
244 if (!(drawable instanceof AnimatedImageDrawable)) { in updateStateFromTypedArray()
253 AnimatedImageDrawable other = (AnimatedImageDrawable) drawable; in updateStateFromTypedArray()
292 public AnimatedImageDrawable(long nativeImageDecoder, in AnimatedImageDrawable() method in AnimatedImageDrawable
317 AnimatedImageDrawable.class.getClassLoader(), nGetNativeFinalizer(), nativeSize); in AnimatedImageDrawable()
566 private static void callOnAnimationEnd(WeakReference<AnimatedImageDrawable> weakDrawable) { in callOnAnimationEnd()
567 AnimatedImageDrawable drawable = weakDrawable.get(); in callOnAnimationEnd()
614 @Nullable WeakReference<AnimatedImageDrawable> drawable); in nSetOnAnimationEndListener()
DDrawableInflater.java187 return new AnimatedImageDrawable(); in inflateFromTag()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/drawable/
DDrawableSize.kt8 import android.graphics.drawable.AnimatedImageDrawable
117 return drawable is AnimatedImageDrawable || in isAnimated()
/frameworks/base/graphics/java/android/graphics/
DPostProcessor.java20 import android.graphics.drawable.AnimatedImageDrawable;
DImageDecoder.java37 import android.graphics.drawable.AnimatedImageDrawable;
1772 Drawable d = new AnimatedImageDrawable(decoder.mNativePtr, in decodeDrawableImpl()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DIllustrationPreferenceTest.java30 import android.graphics.drawable.AnimatedImageDrawable;
130 final AnimatedImageDrawable drawable = mock(AnimatedImageDrawable.class); in playAnimationWithUri_animatedImageDrawable_success()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DConversationNotifications.kt22 import android.graphics.drawable.AnimatedImageDrawable in <lambda>()
125 imageMessage.drawable as? AnimatedImageDrawable in view()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaDisplayList.h196 std::vector<AnimatedImageDrawable*> mAnimatedImages;
DSkiaRecordingCanvas.h66 virtual double drawAnimatedImage(AnimatedImageDrawable* animatedImage) override;
DSkiaRecordingCanvas.cpp338 double SkiaRecordingCanvas::drawAnimatedImage(AnimatedImageDrawable* animatedImage) { in drawAnimatedImage()
/frameworks/base/libs/hwui/
DSkiaCanvas.h147 virtual double drawAnimatedImage(AnimatedImageDrawable* imgDrawable) override;
DAndroid.bp355 "jni/AnimatedImageDrawable.cpp",
559 "hwui/AnimatedImageDrawable.cpp",
DSkiaCanvas.cpp810 double SkiaCanvas::drawAnimatedImage(AnimatedImageDrawable* imgDrawable) { in drawAnimatedImage()

12