/frameworks/base/libs/hwui/hwui/ |
D | AnimatedImageDrawable.cpp | 30 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 …]
|
D | AnimatedImageThread.h | 35 std::future<AnimatedImageDrawable::Snapshot> decodeNextFrame( 36 const sk_sp<AnimatedImageDrawable>&); 37 std::future<AnimatedImageDrawable::Snapshot> reset(const sk_sp<AnimatedImageDrawable>&);
|
D | AnimatedImageThread.cpp | 41 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()
|
D | AnimatedImageDrawable.h | 47 class AnimatedImageDrawable : public SkDrawable { 51 AnimatedImageDrawable(sk_sp<SkAnimatedImage> animatedImage, size_t bytesUsed,
|
D | Canvas.h | 61 class AnimatedImageDrawable; variable 246 virtual double drawAnimatedImage(AnimatedImageDrawable* imgDrawable) = 0;
|
/frameworks/base/libs/hwui/jni/ |
D | AnimatedImageDrawable.cpp | 116 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/ |
D | NotificationConversationTemplateViewWrapperTest.kt | 19 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()
|
D | NotificationBigPictureTemplateViewWrapperTest.java | 24 import android.graphics.drawable.AnimatedImageDrawable; 74 AnimatedImageDrawable mockDrawable = mock(AnimatedImageDrawable.class); in setAnimationsRunning_Run() 91 AnimatedImageDrawable mockDrawable = mock(AnimatedImageDrawable.class); in setAnimationsRunning_Stop()
|
D | NotificationMessagingTemplateViewWrapperTest.kt | 19 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/ |
D | NotificationBigPictureTemplateViewWrapper.java | 21 import android.graphics.drawable.AnimatedImageDrawable; 90 if (d instanceof AnimatedImageDrawable) { in setAnimationsRunning() 91 AnimatedImageDrawable animatedImageDrawable = (AnimatedImageDrawable) d; in setAnimationsRunning()
|
D | NotificationMessagingTemplateViewWrapper.java | 20 import android.graphics.drawable.AnimatedImageDrawable; 158 if (!(d instanceof AnimatedImageDrawable)) { in setAnimationsRunning() 161 AnimatedImageDrawable animatedImageDrawable = (AnimatedImageDrawable) d; in setAnimationsRunning()
|
D | NotificationConversationTemplateViewWrapper.kt | 20 import android.graphics.drawable.AnimatedImageDrawable in <lambda>() 167 imageMessage.drawable as? AnimatedImageDrawable in <lambda>()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
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()
|
D | DrawableInflater.java | 187 return new AnimatedImageDrawable(); in inflateFromTag()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/drawable/ |
D | DrawableSize.kt | 8 import android.graphics.drawable.AnimatedImageDrawable 117 return drawable is AnimatedImageDrawable || in isAnimated()
|
/frameworks/base/graphics/java/android/graphics/ |
D | PostProcessor.java | 20 import android.graphics.drawable.AnimatedImageDrawable;
|
D | ImageDecoder.java | 37 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/ |
D | IllustrationPreferenceTest.java | 30 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/ |
D | ConversationNotifications.kt | 22 import android.graphics.drawable.AnimatedImageDrawable in <lambda>() 125 imageMessage.drawable as? AnimatedImageDrawable in view()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaDisplayList.h | 196 std::vector<AnimatedImageDrawable*> mAnimatedImages;
|
D | SkiaRecordingCanvas.h | 66 virtual double drawAnimatedImage(AnimatedImageDrawable* animatedImage) override;
|
D | SkiaRecordingCanvas.cpp | 338 double SkiaRecordingCanvas::drawAnimatedImage(AnimatedImageDrawable* animatedImage) { in drawAnimatedImage()
|
/frameworks/base/libs/hwui/ |
D | SkiaCanvas.h | 147 virtual double drawAnimatedImage(AnimatedImageDrawable* imgDrawable) override;
|
D | Android.bp | 355 "jni/AnimatedImageDrawable.cpp", 559 "hwui/AnimatedImageDrawable.cpp",
|
D | SkiaCanvas.cpp | 810 double SkiaCanvas::drawAnimatedImage(AnimatedImageDrawable* imgDrawable) { in drawAnimatedImage()
|