Home
last modified time | relevance | path

Searched refs:preferAnimation (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java217 abstract ImageDecoder createImageDecoder(boolean preferAnimation) throws IOException; in createImageDecoder() argument
231 public ImageDecoder createImageDecoder(boolean preferAnimation) throws IOException { in createImageDecoder() argument
232 return nCreate(mData, mOffset, mLength, preferAnimation, this); in createImageDecoder()
243 public ImageDecoder createImageDecoder(boolean preferAnimation) throws IOException { in createImageDecoder() argument
247 return nCreate(mBuffer.array(), offset, length, preferAnimation, this); in createImageDecoder()
250 return nCreate(buffer, buffer.position(), buffer.limit(), preferAnimation, this); in createImageDecoder()
270 public ImageDecoder createImageDecoder(boolean preferAnimation) throws IOException { in createImageDecoder() argument
291 return createFromStream(is, true, preferAnimation, this); in createImageDecoder()
294 return createFromAssetFileDescriptor(assetFd, preferAnimation, this); in createImageDecoder()
300 boolean preferAnimation, @NonNull Source source) throws IOException { in createFromFile() argument
[all …]
/frameworks/base/libs/hwui/jni/
DImageDecoder.cpp105 jobject source, jboolean preferAnimation) { in native_create() argument
114 preferAnimation ? SkCodec::SelectionPolicy::kPreferAnimation in native_create()
155 jobject fileDescriptor, jboolean preferAnimation, jobject source) { in ImageDecoder_nCreateFd() argument
176 return native_create(env, std::move(fileStream), source, preferAnimation); in ImageDecoder_nCreateFd()
181 jobject is, jbyteArray storage, jboolean preferAnimation, jobject source) { in ImageDecoder_nCreateInputStream() argument
192 return native_create(env, std::move(bufferedStream), source, preferAnimation); in ImageDecoder_nCreateInputStream()
196 jlong assetPtr, jboolean preferAnimation, jobject source) { in ImageDecoder_nCreateAsset() argument
199 return native_create(env, std::move(stream), source, preferAnimation); in ImageDecoder_nCreateAsset()
204 jboolean preferAnimation, jobject source) { in ImageDecoder_nCreateByteBuffer() argument
211 return native_create(env, std::move(stream), source, preferAnimation); in ImageDecoder_nCreateByteBuffer()
[all …]