Home
last modified time | relevance | path

Searched refs:mAllocation (Results 1 – 10 of 10) sorted by relevance

/frameworks/rs/
DrsAdapter.h36 void setAllocation(Allocation *a) {mAllocation.set(a);} in setAllocation()
38 uint32_t getDimX() const {return mAllocation->getType()->getLODDimX(mLOD);} in getDimX()
40 const Type * getBaseType() const {return mAllocation->getType();} in getBaseType()
54 ObjectBaseRef<Allocation> mAllocation;
70 uint32_t getDimX() const {return mAllocation->getType()->getLODDimX(mLOD);} in getDimX()
71 uint32_t getDimY() const {return mAllocation->getType()->getLODDimY(mLOD);} in getDimY()
72 const Type * getBaseType() const {return mAllocation->getType();} in getBaseType()
74 void setAllocation(Allocation *a) {mAllocation.set(a);} in setAllocation()
87 ObjectBaseRef<Allocation> mAllocation;
DrsAdapter.cpp41 mAllocation->data(rsc, x, mY, mLOD, mFace, count, 1, data, sizeBytes, 0); in data()
113 mAllocation->data(rsc, x, y, mLOD, mFace, w, h, data, sizeBytes, 0); in data()
/frameworks/base/graphics/java/android/renderscript/
DScript.java356 protected Allocation mAllocation; field in Script.FieldBase
359 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT); in init()
363mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages); in init()
374 return mAllocation.getType(); in getType()
378 return mAllocation; in getAllocation()
DScriptGroup.java49 Allocation mAllocation; field in ScriptGroup.IO
106 mInputs[ct].mAllocation = a; in setInput()
126 mOutputs[ct].mAllocation = a; in setOutput()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScript.java418 protected Allocation mAllocation; field in Script.FieldBase
421 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT); in init()
425mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages); in init()
436 return mAllocation.getType(); in getType()
440 return mAllocation; in getAllocation()
DScriptGroup.java49 Allocation mAllocation; field in ScriptGroup.IO
106 mInputs[ct].mAllocation = a; in setInput()
126 mOutputs[ct].mAllocation = a; in setOutput()
/frameworks/rs/cpp/
DScript.cpp58 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages); in init()
DrsCppStructs.h609 sp<Allocation> mAllocation; variable
619 return mAllocation->getType(); in getType()
623 return mAllocation; in getAllocation()
/frameworks/base/docs/html/guide/topics/renderscript/
Dadvanced.jd264 mAllocation.setFromFieldPacker(index, mIOBuffer);
283 mAllocation.setFromFieldPacker(index, 0, fp);
297 mAllocation.setFromFieldPacker(index, 1, fp);
313 mAllocation.setFromFieldPacker(0, mIOBuffer);
325 mAllocation.resize(newSize);
/frameworks/base/api/
Dcurrent.txt20900 field protected android.renderscript.Allocation mAllocation;