Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java213 abstract ImageDecoder createImageDecoder(boolean preferAnimation) throws IOException; in createImageDecoder() argument
227 public ImageDecoder createImageDecoder(boolean preferAnimation) throws IOException { in createImageDecoder() argument
228 return nCreate(mData, mOffset, mLength, preferAnimation, this); in createImageDecoder()
247 public ImageDecoder createImageDecoder(boolean preferAnimation) throws IOException { in createImageDecoder() argument
251 return nCreate(mBuffer.array(), offset, length, preferAnimation, this); in createImageDecoder()
254 return nCreate(buffer, buffer.position(), buffer.limit(), preferAnimation, this); in createImageDecoder()
279 public ImageDecoder createImageDecoder(boolean preferAnimation) throws IOException { in createImageDecoder() argument
300 return createFromStream(is, true, preferAnimation, this); in createImageDecoder()
303 return createFromAssetFileDescriptor(assetFd, preferAnimation, this); in createImageDecoder()
319 boolean preferAnimation, @NonNull Source source) throws IOException { in createFromFile() argument
[all …]
/frameworks/base/libs/hwui/jni/
DImageDecoder.cpp117 jobject source, jboolean preferAnimation) { in native_create() argument
126 preferAnimation ? SkCodec::SelectionPolicy::kPreferAnimation in native_create()
164 jobject fileDescriptor, jlong length, jboolean preferAnimation, jobject source) { in ImageDecoder_nCreateFd() argument
192 return native_create(env, std::move(fileStream), source, preferAnimation); in ImageDecoder_nCreateFd()
197 jobject is, jbyteArray storage, jboolean preferAnimation, jobject source) { in ImageDecoder_nCreateInputStream() argument
207 return native_create(env, std::move(bufferedStream), source, preferAnimation); in ImageDecoder_nCreateInputStream()
211 jlong assetPtr, jboolean preferAnimation, jobject source) { in ImageDecoder_nCreateAsset() argument
214 return native_create(env, std::move(stream), source, preferAnimation); in ImageDecoder_nCreateAsset()
219 jboolean preferAnimation, jobject source) { in ImageDecoder_nCreateByteBuffer() argument
226 return native_create(env, std::move(stream), source, preferAnimation); in ImageDecoder_nCreateByteBuffer()
[all …]