/aosp14/frameworks/base/libs/hwui/hwui/ |
H A D | AnimatedImageDrawable.cpp | 32 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 D | AnimatedImageThread.h | 35 std::future<AnimatedImageDrawable::Snapshot> decodeNextFrame( 36 const sk_sp<AnimatedImageDrawable>&); 37 std::future<AnimatedImageDrawable::Snapshot> reset(const sk_sp<AnimatedImageDrawable>&);
|
H A D | AnimatedImageThread.cpp | 37 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 D | AnimatedImageDrawable.h | 47 class AnimatedImageDrawable : public SkDrawable { 51 AnimatedImageDrawable(sk_sp<SkAnimatedImage> animatedImage, size_t bytesUsed,
|
H A D | Canvas.h | 62 class AnimatedImageDrawable; variable 244 virtual double drawAnimatedImage(AnimatedImageDrawable* imgDrawable) = 0;
|
/aosp14/frameworks/base/libs/hwui/jni/ |
H A D | AnimatedImageDrawable.cpp | 111 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 D | NotificationConversationTemplateViewWrapperTest.kt | 19 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 D | NotificationBigPictureTemplateViewWrapperTest.java | 24 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 D | NotificationMessagingTemplateViewWrapperTest.kt | 19 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 D | NotificationBigPictureTemplateViewWrapper.java | 21 import android.graphics.drawable.AnimatedImageDrawable; 80 if (d instanceof AnimatedImageDrawable) { in setAnimationsRunning() 81 AnimatedImageDrawable animatedImageDrawable = (AnimatedImageDrawable) d; in setAnimationsRunning()
|
H A D | NotificationMessagingTemplateViewWrapper.java | 20 import android.graphics.drawable.AnimatedImageDrawable; 158 if (!(d instanceof AnimatedImageDrawable)) { in setAnimationsRunning() 161 AnimatedImageDrawable animatedImageDrawable = (AnimatedImageDrawable) d; in setAnimationsRunning()
|
H A D | NotificationConversationTemplateViewWrapper.kt | 20 import android.graphics.drawable.AnimatedImageDrawable 167 imageMessage.drawable as? AnimatedImageDrawable
|
/aosp14/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimatedImageDrawable.java | 72 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 D | DrawableInflater.java | 187 return new AnimatedImageDrawable(); in inflateFromTag()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/drawable/ |
H A D | DrawableSize.kt | 8 import android.graphics.drawable.AnimatedImageDrawable 117 return drawable is AnimatedImageDrawable ||
|
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
H A D | IllustrationPreferenceTest.java | 29 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 D | PostProcessor.java | 20 import android.graphics.drawable.AnimatedImageDrawable;
|
H A D | ImageDecoder.java | 37 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 D | ConversationNotifications.kt | 22 import android.graphics.drawable.AnimatedImageDrawable 121 imageMessage.drawable as? AnimatedImageDrawable
|
/aosp14/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaDisplayList.h | 191 std::vector<AnimatedImageDrawable*> mAnimatedImages;
|
H A D | SkiaRecordingCanvas.h | 66 virtual double drawAnimatedImage(AnimatedImageDrawable* animatedImage) override;
|
H A D | SkiaRecordingCanvas.cpp | 318 double SkiaRecordingCanvas::drawAnimatedImage(AnimatedImageDrawable* animatedImage) { in drawAnimatedImage()
|
/aosp14/frameworks/base/libs/hwui/ |
H A D | SkiaCanvas.h | 145 virtual double drawAnimatedImage(AnimatedImageDrawable* imgDrawable) override;
|
H A D | Android.bp | 417 "jni/AnimatedImageDrawable.cpp", 527 "hwui/AnimatedImageDrawable.cpp",
|
H A D | SkiaCanvas.cpp | 764 double SkiaCanvas::drawAnimatedImage(AnimatedImageDrawable* imgDrawable) { in drawAnimatedImage()
|