Searched refs:mScratch (Results 1 – 3 of 3) sorted by relevance
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicBlur.cpp | 41 void **mScratch; member in android::renderscript::RsdCpuScriptIntrinsicBlur 308 if ((p->dimX > cp->mScratchSize[p->lid]) || !cp->mScratch[p->lid]) { in kernelU4() 310 cp->mScratch[p->lid] = realloc(cp->mScratch[p->lid], (p->dimX + 1) * 16); in kernelU4() 314 buf = (float4 *) ((((intptr_t)cp->mScratch[p->lid]) + 15) & ~0xf); in kernelU4() 437 mScratch = new void *[mCtx->getThreadCount()]; in RsdCpuScriptIntrinsicBlur() 439 memset(mScratch, 0, sizeof(void *) * mCtx->getThreadCount()); in RsdCpuScriptIntrinsicBlur() 447 if (mScratch) { in ~RsdCpuScriptIntrinsicBlur() 449 if (mScratch[i]) { in ~RsdCpuScriptIntrinsicBlur() 450 free(mScratch[i]); in ~RsdCpuScriptIntrinsicBlur() 453 delete []mScratch; in ~RsdCpuScriptIntrinsicBlur()
|
/frameworks/base/core/jni/ |
D | android_hardware_SensorManager.cpp | 131 jfloatArray mScratch; member in android::Receiver 140 mScratch = (jfloatArray)env->NewGlobalRef(scratch); in Receiver() 145 env->DeleteGlobalRef(mScratch); in ~Receiver() 172 env->SetFloatArrayRegion(mScratch, 0, 1, &value); in handleEvent() 174 env->SetFloatArrayRegion(mScratch, 0, 16, buffer[i].data); in handleEvent() 202 mScratch, in handleEvent()
|
/frameworks/base/core/java/android/hardware/ |
D | SystemSensorManager.java | 237 private final float[] mScratch = new float[16]; field in SystemSensorManager.BaseEventQueue 241 nSensorEventQueue = nativeInitBaseEventQueue(this, looper.getQueue(), mScratch); in BaseEventQueue()
|