Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/libs/hwui/hwui/
H A DAnimatedImageDrawable.cpp32 AnimatedImageDrawable::AnimatedImageDrawable(sk_sp<SkAnimatedImage> animatedImage, size_t bytesUsed, in AnimatedImageDrawable() function in android::AnimatedImageDrawable
39 void AnimatedImageDrawable::syncProperties() { in syncProperties()
43 bool AnimatedImageDrawable::start() { in start()
54 bool AnimatedImageDrawable::stop() { in stop()
60 bool AnimatedImageDrawable::isRunning() { in isRunning()
64 bool AnimatedImageDrawable::nextSnapshotReady() const { in nextSnapshotReady()
109 AnimatedImageDrawable::Snapshot AnimatedImageDrawable::decodeNextFrame() { in decodeNextFrame()
121 AnimatedImageDrawable::Snapshot AnimatedImageDrawable::reset() { in reset()
142 void AnimatedImageDrawable::onDraw(SkCanvas* canvas) { in onDraw()
334 SkRect AnimatedImageDrawable::onGetBounds() { in onGetBounds()
[all …]
H A DAnimatedImageThread.h35 std::future<AnimatedImageDrawable::Snapshot> decodeNextFrame(
36 const sk_sp<AnimatedImageDrawable>&);
37 std::future<AnimatedImageDrawable::Snapshot> reset(const sk_sp<AnimatedImageDrawable>&);
H A DAnimatedImageThread.cpp37 std::future<AnimatedImageDrawable::Snapshot> AnimatedImageThread::decodeNextFrame( in decodeNextFrame()
38 const sk_sp<AnimatedImageDrawable>& drawable) { in decodeNextFrame()
42 std::future<AnimatedImageDrawable::Snapshot> AnimatedImageThread::reset( in reset()
43 const sk_sp<AnimatedImageDrawable>& drawable) { in reset()
H A DAnimatedImageDrawable.h47 class AnimatedImageDrawable : public SkDrawable {
51 AnimatedImageDrawable(sk_sp<SkAnimatedImage> animatedImage, size_t bytesUsed,
H A DCanvas.h62 class AnimatedImageDrawable; variable
244 virtual double drawAnimatedImage(AnimatedImageDrawable* imgDrawable) = 0;
/aosp14/frameworks/base/libs/hwui/jni/
H A DAnimatedImageDrawable.cpp111 sk_sp<AnimatedImageDrawable> drawable( in AnimatedImageDrawable_nCreate()
129 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nDraw()
136 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nSetAlpha()
141 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nGetAlpha()
147 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nSetColorFilter()
153 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nIsRunning()
158 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nStart()
163 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nStop()
171 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nGetRepeatCount()
177 auto* drawable = reinterpret_cast<AnimatedImageDrawable*>(nativePtr); in AnimatedImageDrawable_nSetRepeatCount()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/
H A DNotificationConversationTemplateViewWrapperTest.kt19 import android.graphics.drawable.AnimatedImageDrawable
62 val mockDrawable = mock<AnimatedImageDrawable>()
63 val mockDrawable2 = mock<AnimatedImageDrawable>()
81 val mockDrawable = mock<AnimatedImageDrawable>()
82 val mockDrawable2 = mock<AnimatedImageDrawable>()
96 mockDrawableGroupMessage: AnimatedImageDrawable,
97 mockDrawableImageMessage: AnimatedImageDrawable
H A DNotificationBigPictureTemplateViewWrapperTest.java24 import android.graphics.drawable.AnimatedImageDrawable;
81 AnimatedImageDrawable mockDrawable = mock(AnimatedImageDrawable.class); in setAnimationsRunning_Run()
98 AnimatedImageDrawable mockDrawable = mock(AnimatedImageDrawable.class); in setAnimationsRunning_Stop()
H A DNotificationMessagingTemplateViewWrapperTest.kt19 import android.graphics.drawable.AnimatedImageDrawable
59 val mockDrawable = mock<AnimatedImageDrawable>()
74 val mockDrawable = mock<AnimatedImageDrawable>()
85 private fun fakeMessagingLayout(mockDrawable: AnimatedImageDrawable): View {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
H A DNotificationBigPictureTemplateViewWrapper.java21 import android.graphics.drawable.AnimatedImageDrawable;
80 if (d instanceof AnimatedImageDrawable) { in setAnimationsRunning()
81 AnimatedImageDrawable animatedImageDrawable = (AnimatedImageDrawable) d; in setAnimationsRunning()
H A DNotificationMessagingTemplateViewWrapper.java20 import android.graphics.drawable.AnimatedImageDrawable;
158 if (!(d instanceof AnimatedImageDrawable)) { in setAnimationsRunning()
161 AnimatedImageDrawable animatedImageDrawable = (AnimatedImageDrawable) d; in setAnimationsRunning()
H A DNotificationConversationTemplateViewWrapper.kt20 import android.graphics.drawable.AnimatedImageDrawable
167 imageMessage.drawable as? AnimatedImageDrawable
/aosp14/frameworks/base/graphics/java/android/graphics/drawable/
H A 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()
H A DDrawableInflater.java187 return new AnimatedImageDrawable(); in inflateFromTag()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/drawable/
H A DDrawableSize.kt8 import android.graphics.drawable.AnimatedImageDrawable
117 return drawable is AnimatedImageDrawable ||
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
H A DIllustrationPreferenceTest.java29 import android.graphics.drawable.AnimatedImageDrawable;
116 final AnimatedImageDrawable drawable = mock(AnimatedImageDrawable.class); in playAnimationWithUri_animatedImageDrawable_success()
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DPostProcessor.java20 import android.graphics.drawable.AnimatedImageDrawable;
H A DImageDecoder.java37 import android.graphics.drawable.AnimatedImageDrawable;
1897 Drawable d = new AnimatedImageDrawable(decoder.mNativePtr, in decodeDrawableImpl()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DConversationNotifications.kt22 import android.graphics.drawable.AnimatedImageDrawable
121 imageMessage.drawable as? AnimatedImageDrawable
/aosp14/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaDisplayList.h191 std::vector<AnimatedImageDrawable*> mAnimatedImages;
H A DSkiaRecordingCanvas.h66 virtual double drawAnimatedImage(AnimatedImageDrawable* animatedImage) override;
H A DSkiaRecordingCanvas.cpp318 double SkiaRecordingCanvas::drawAnimatedImage(AnimatedImageDrawable* animatedImage) { in drawAnimatedImage()
/aosp14/frameworks/base/libs/hwui/
H A DSkiaCanvas.h145 virtual double drawAnimatedImage(AnimatedImageDrawable* imgDrawable) override;
H A DAndroid.bp417 "jni/AnimatedImageDrawable.cpp",
527 "hwui/AnimatedImageDrawable.cpp",
H A DSkiaCanvas.cpp764 double SkiaCanvas::drawAnimatedImage(AnimatedImageDrawable* imgDrawable) { in drawAnimatedImage()

12