Home
last modified time | relevance | path

Searched refs:mScratch (Results 1 – 3 of 3) sorted by relevance

/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBlur.cpp41 void **mScratch; member in android::renderscript::RsdCpuScriptIntrinsicBlur
309 if ((info->dim.x > cp->mScratchSize[info->lid]) || !cp->mScratch[info->lid]) { in kernelU4()
311 cp->mScratch[info->lid] = realloc(cp->mScratch[info->lid], (info->dim.x + 1) * 16); in kernelU4()
315 buf = (float4 *) ((((intptr_t)cp->mScratch[info->lid]) + 15) & ~0xf); in kernelU4()
438 mScratch = new void *[mCtx->getThreadCount()]; in RsdCpuScriptIntrinsicBlur()
440 memset(mScratch, 0, sizeof(void *) * mCtx->getThreadCount()); in RsdCpuScriptIntrinsicBlur()
448 if (mScratch) { in ~RsdCpuScriptIntrinsicBlur()
450 if (mScratch[i]) { in ~RsdCpuScriptIntrinsicBlur()
451 free(mScratch[i]); in ~RsdCpuScriptIntrinsicBlur()
454 delete []mScratch; in ~RsdCpuScriptIntrinsicBlur()
/frameworks/base/core/jni/
Dandroid_hardware_SensorManager.cpp194 jfloatArray mScratch; member in android::Receiver
203 mScratch = (jfloatArray)env->NewGlobalRef(scratch); in Receiver()
208 env->DeleteGlobalRef(mScratch); in ~Receiver()
237 env->SetFloatArrayRegion(mScratch, 0, 1, &value); in handleEvent()
239 env->SetFloatArrayRegion(mScratch, 0, 16, buffer[i].data); in handleEvent()
272 mScratch, in handleEvent()
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java302 private final float[] mScratch = new float[16]; field in SystemSensorManager.BaseEventQueue
311 new WeakReference<>(this), looper.getQueue(), mScratch, in BaseEventQueue()