Lines Matching refs:options
174 jobject padding, jobject options, jlong inBitmapHandle, in doDecode() argument
188 if (options != NULL) { in doDecode()
189 sampleSize = env->GetIntField(options, gOptions_sampleSizeFieldID); in doDecode()
196 if (env->GetBooleanField(options, gOptions_justBoundsFieldID)) { in doDecode()
201 env->SetIntField(options, gOptions_widthFieldID, -1); in doDecode()
202 env->SetIntField(options, gOptions_heightFieldID, -1); in doDecode()
203 env->SetObjectField(options, gOptions_mimeFieldID, 0); in doDecode()
204 env->SetObjectField(options, gOptions_outConfigFieldID, 0); in doDecode()
205 env->SetObjectField(options, gOptions_outColorSpaceFieldID, 0); in doDecode()
207 jobject jconfig = env->GetObjectField(options, gOptions_configFieldID); in doDecode()
210 isMutable = env->GetBooleanField(options, gOptions_mutableFieldID); in doDecode()
211 requireUnpremultiplied = !env->GetBooleanField(options, gOptions_premultipliedFieldID); in doDecode()
212 javaBitmap = env->GetObjectField(options, gOptions_bitmapFieldID); in doDecode()
214 if (env->GetBooleanField(options, gOptions_scaledFieldID)) { in doDecode()
215 const int density = env->GetIntField(options, gOptions_densityFieldID); in doDecode()
216 const int targetDensity = env->GetIntField(options, gOptions_targetDensityFieldID); in doDecode()
217 const int screenDensity = env->GetIntField(options, gOptions_screenDensityFieldID); in doDecode()
283 if (options != NULL) { in doDecode()
288 env->SetIntField(options, gOptions_widthFieldID, scaledWidth); in doDecode()
289 env->SetIntField(options, gOptions_heightFieldID, scaledHeight); in doDecode()
290 env->SetObjectField(options, gOptions_mimeFieldID, mimeType); in doDecode()
298 env->SetObjectField(options, gOptions_outConfigFieldID, config); in doDecode()
300 env->SetObjectField(options, gOptions_outColorSpaceFieldID, in doDecode()
507 jobject padding, jobject options, jlong inBitmapHandle, jlong colorSpaceHandle) { in nativeDecodeStream() argument
516 bitmap = doDecode(env, std::move(bufferedStream), padding, options, inBitmapHandle, in nativeDecodeStream()
577 jobject padding, jobject options, jlong inBitmapHandle, jlong colorSpaceHandle) { in nativeDecodeAsset() argument
582 return doDecode(env, std::make_unique<AssetStreamAdaptor>(asset), padding, options, in nativeDecodeAsset()
587 jint offset, jint length, jobject options, jlong inBitmapHandle, jlong colorSpaceHandle) { in nativeDecodeByteArray() argument
591 nullptr, options, inBitmapHandle, colorSpaceHandle); in nativeDecodeByteArray()