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 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/ |
D | android_hardware_SensorManager.cpp | 194 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/ |
D | SystemSensorManager.java | 302 private final float[] mScratch = new float[16]; field in SystemSensorManager.BaseEventQueue 311 new WeakReference<>(this), looper.getQueue(), mScratch, in BaseEventQueue()
|