Home
last modified time | relevance | path

Searched refs:mElement (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/graphics/java/android/renderscript/
DType.java51 Element mElement; field in Type
79 return mElement; in getElement()
193 mElement = new Element(elementID, mRS); in updateFromNative()
194 mElement.updateFromNative(); in updateFromNative()
211 Element mElement; field in Type.Builder
222 mElement = e; in Builder()
283 int id = mRS.nTypeCreate(mElement.getID(mRS), in create()
286 t.mElement = mElement; in create()
DAllocation.java267 if ((mType.mElement.mType == Element.DataType.SIGNED_32) || in validateIsInt32()
268 (mType.mElement.mType == Element.DataType.UNSIGNED_32)) { in validateIsInt32()
272 "32 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt32()
276 if ((mType.mElement.mType == Element.DataType.SIGNED_16) || in validateIsInt16()
277 (mType.mElement.mType == Element.DataType.UNSIGNED_16)) { in validateIsInt16()
281 "16 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt16()
285 if ((mType.mElement.mType == Element.DataType.SIGNED_8) || in validateIsInt8()
286 (mType.mElement.mType == Element.DataType.UNSIGNED_8)) { in validateIsInt8()
290 "8 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt8()
294 if (mType.mElement.mType == Element.DataType.FLOAT_32) { in validateIsFloat32()
[all …]
DScript.java196 protected Element mElement; field in Script.FieldBase
200 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT); in init()
204 … mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages); in init()
211 return mElement; in getElement()
DMesh.java555 Element mElement; field in Mesh.TriangleMeshBuilder
800 mElement = b.create(); in create()
808 smb.addVertexType(mElement, mMaxIndex); in create()
/frameworks/rs/cpp/
DType.cpp73 mElement = NULL; in Type()
101 mElement = e; in Builder()
151 void * id = rsTypeCreate(mRS->mContext, mElement->getID(), mDimX, mDimY, mDimZ, in create()
154 t->mElement = mElement; in create()
DType.h37 sp<const Element> mElement; variable
45 return mElement; in getElement()
73 return mElementCount * mElement->getSizeBytes(); in getSizeBytes()
88 sp<const Element> mElement; variable
DScript.h69 sp<const Element> mElement;
76 return mElement; in getElement()
DScript.cpp66 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages); in init()
/frameworks/rs/
DrsType.cpp47 mElement.clear(); in clear()
97 offset += tx * rsMax(ty, 1u) * rsMax(tz, 1u) * mElement->getSizeBytes(); in compute()
110 mHal.state.element = mElement.get(); in compute()
115 offset += x * mElement->getSizeBytes(); in getLODOffset()
121 offset += (x + y * mHal.state.lodDimX[lod]) * mElement->getSizeBytes(); in getLODOffset()
129 z * mHal.state.lodDimX[lod] * mHal.state.lodDimY[lod]) * mElement->getSizeBytes(); in getLODOffset()
136 offset += (x + y * mHal.state.lodDimX[lod]) * mElement->getSizeBytes(); in getLODFaceOffset()
155 mElement->dumpLOGV(buf); in dumpLOGV()
165 mElement->serialize(stream); in serialize()
244 nt->mElement.set(e); in getTypeRef()
[all …]
DrsType.h63 size_t getElementSizeBytes() const {return mElement->getSizeBytes();} in getElementSizeBytes()
64 const Element * getElement() const {return mElement.get();} in getElement()
134 ObjectBaseRef<const Element> mElement; variable
/frameworks/base/docs/html/guide/topics/renderscript/
Dadvanced.jd240 mElement = createElement(rs);
247 mElement = createElement(rs);
/frameworks/base/api/
D14.txt18459 field protected android.renderscript.Element mElement;
D15.txt18586 field protected android.renderscript.Element mElement;
Dcurrent.txt19575 field protected android.renderscript.Element mElement;
D16.txt19575 field protected android.renderscript.Element mElement;