Home
last modified time | relevance | path

Searched refs:fEnv (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/hwui/jni/
Dandroid_nio_utils.cpp24 : fEnv(env), fCommit(commit) { in AutoBufferPointer()
25 jlong pointer = jniGetNioBufferPointer(fEnv, nioBuffer); in AutoBufferPointer()
33 jint byteOffset = jniGetNioBufferBaseArrayOffset(fEnv, nioBuffer); in AutoBufferPointer()
34 fArray = jniGetNioBufferBaseArray(fEnv, nioBuffer); in AutoBufferPointer()
35 fElements = fEnv->GetPrimitiveArrayCritical(fArray, /* isCopy= */ nullptr); in AutoBufferPointer()
42 fEnv->ReleasePrimitiveArrayCritical(fArray, fElements, fCommit ? 0 : JNI_ABORT); in ~AutoBufferPointer()
DCreateJavaOutputStreamAdaptor.cpp228 : fEnv(env), fJavaOutputStream(stream), fJavaByteArray(storage), fBytesWritten(0) { in SkJavaOutputStream()
237 JNIEnv* env = fEnv; in write()
259 fEnv->CallVoidMethod(fJavaOutputStream, gOutputStream_writeMethodID, in write()
276 fEnv->CallVoidMethod(fJavaOutputStream, gOutputStream_flushMethodID); in flush()
280 JNIEnv* fEnv; member in SkJavaOutputStream
DGraphicsJNI.h281 JNIEnv* fEnv;
297 JNIEnv* fEnv;
313 JNIEnv* fEnv;
329 JNIEnv* fEnv;
Dandroid_nio_utils.h62 JNIEnv* const fEnv;
DGraphics.cpp99 : fEnv(env), fArray(array), fPtr(NULL), fLen(0) { in AutoJavaFloatArray()
113 fEnv->ReleaseFloatArrayElements(fArray, fPtr, fReleaseMode); in ~AutoJavaFloatArray()
119 : fEnv(env), fArray(array), fPtr(NULL), fLen(0) { in AutoJavaIntArray()
132 fEnv->ReleaseIntArrayElements(fArray, fPtr, 0); in ~AutoJavaIntArray()
138 : fEnv(env), fArray(array), fPtr(NULL), fLen(0) { in AutoJavaShortArray()
152 fEnv->ReleaseShortArrayElements(fArray, fPtr, fReleaseMode); in ~AutoJavaShortArray()
158 : fEnv(env), fArray(array), fPtr(NULL), fLen(0) { in AutoJavaByteArray()
171 fEnv->ReleaseByteArrayElements(fArray, fPtr, 0); in ~AutoJavaByteArray()
/frameworks/av/media/libeffects/dynamicsproc/dsp/
DDPFrequency.cpp533 float fEnv = (1.0 - fTheta) * fEnergySum + fTheta * pMbcBandParams->previousEnvelope; in processFirstStages() local
535 pMbcBandParams->previousEnvelope = fEnv; in processFirstStages()
537 if (fEnv < MIN_ENVELOPE) { in processFirstStages()
538 fEnv = MIN_ENVELOPE; in processFirstStages()
540 const float envDb = linearToDb(fEnv); in processFirstStages()
604 float fEnv = (1.0 - fTheta) * fEnergySum + fTheta * cb.mLimiterParams.previousEnvelope; in processFirstStages() local
606 cb.mLimiterParams.previousEnvelope = fEnv; in processFirstStages()
608 const float envDb = linearToDb(fEnv); in processFirstStages()
/frameworks/rs/support/jni/
Dandroid_renderscript_RenderScript.cpp217 AutoJavaStringToUTF8(JNIEnv* env, jstring str) : fEnv(env), fJStr(str) { in AutoJavaStringToUTF8()
222 fEnv->ReleaseStringUTFChars(fJStr, fCStr); in ~AutoJavaStringToUTF8()
228 JNIEnv* fEnv; member in AutoJavaStringToUTF8
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp252 AutoJavaStringToUTF8(JNIEnv* env, jstring str) : fEnv(env), fJStr(str) { in AutoJavaStringToUTF8()
257 fEnv->ReleaseStringUTFChars(fJStr, fCStr); in ~AutoJavaStringToUTF8()
263 JNIEnv* fEnv; member in AutoJavaStringToUTF8