Home
last modified time | relevance | path

Searched refs:mElements (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/graphics/java/android/renderscript/
DElement.java52 Element[] mElements; field in Element
65 if (mElements == null) { in updateVisibleSubElements()
189 if (mElements == null) { in isComplex()
192 for (int ct=0; ct < mElements.length; ct++) { in isComplex()
193 if (mElements[ct].mElements != null) { in isComplex()
227 return mElements[mVisibleElementMap[index]]; in getSubElement()
752 mElements = e; in Element()
757 mOffsetInBytes = new int[mElements.length]; in Element()
758 for (int ct = 0; ct < mElements.length; ct++ ) { in Element()
760 mSize += mElements[ct].mSize * mArraySizes[ct]; in Element()
[all …]
DAllocation.java600 if (component_number >= mType.mElement.mElements.length) { in setFromFieldPacker()
608 int eSize = mType.mElement.mElements[component_number].getBytesSize(); in setFromFieldPacker()
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
DElement.java68 Element[] mElements; field in Element
81 if (mElements == null) { in updateVisibleSubElements()
198 if (mElements == null) { in isComplex()
201 for (int ct=0; ct < mElements.length; ct++) { in isComplex()
202 if (mElements[ct].mElements != null) { in isComplex()
236 return mElements[mVisibleElementMap[index]]; in getSubElement()
713 mElements = e; in Element()
718 mOffsetInBytes = new int[mElements.length]; in Element()
719 for (int ct = 0; ct < mElements.length; ct++ ) { in Element()
721 mSize += mElements[ct].mSize * mArraySizes[ct]; in Element()
[all …]
DAllocation.java492 if (component_number >= mType.mElement.mElements.length) { in setFromFieldPacker()
500 int eSize = mType.mElement.mElements[component_number].getBytesSize(); in setFromFieldPacker()
/frameworks/rs/cpp/
DElement.cpp36 return mElements[mVisibleElementMap[index]]; in getSubElement()
129 if (!mElements.size()) { in updateVisibleSubElements()
157 mElements = elements; in Element()
164 for (size_t ct = 0; ct < mElements.size(); ct++ ) { in Element()
166 mSizeBytes += mElements[ct]->mSizeBytes * mArraySizes[ct]; in Element()
403 mElements.add(e); in add()
409 size_t fieldCount = mElements.size(); in create()
416 elementArray[ct] = mElements[ct].get(); in create()
429 return new Element(id, mRS, mElements, mElementNames, mArraySizes); in create()
DRenderScript.cpp39 memset(&mElements, 0, sizeof(mElements)); in RenderScript()
DElement.h174 android::Vector<sp</*const*/ Element> > mElements; variable
189 android::Vector<sp</*const*/ Element> > mElements; variable
DRenderScript.h148 } mElements; variable
/frameworks/rs/
DrsElement.cpp38 for (uint32_t ct = 0; ct < mRSC->mStateElement.mElements.size(); ct++) { in preDestroy()
39 if (mRSC->mStateElement.mElements[ct] == this) { in preDestroy()
40 mRSC->mStateElement.mElements.removeAt(ct); in preDestroy()
227 for (uint32_t ct=0; ct < rsc->mStateElement.mElements.size(); ct++) { in createRef()
228 const Element *ee = rsc->mStateElement.mElements[ct]; in createRef()
248 rsc->mStateElement.mElements.push(e); in createRef()
260 for (uint32_t ct=0; ct < rsc->mStateElement.mElements.size(); ct++) { in createRef()
261 const Element *ee = rsc->mStateElement.mElements[ct]; in createRef()
294 rsc->mStateElement.mElements.push(e); in createRef()
375 rsAssert(!mElements.size()); in ~ElementState()
DrsElement.h181 Vector<Element *> mElements; variable
/frameworks/support/renderscript/v8/rs_support/
DrsElement.cpp38 for (uint32_t ct = 0; ct < mRSC->mStateElement.mElements.size(); ct++) { in preDestroy()
39 if (mRSC->mStateElement.mElements[ct] == this) { in preDestroy()
40 mRSC->mStateElement.mElements.removeAt(ct); in preDestroy()
227 for (uint32_t ct=0; ct < rsc->mStateElement.mElements.size(); ct++) { in createRef()
228 const Element *ee = rsc->mStateElement.mElements[ct]; in createRef()
248 rsc->mStateElement.mElements.push(e); in createRef()
260 for (uint32_t ct=0; ct < rsc->mStateElement.mElements.size(); ct++) { in createRef()
261 const Element *ee = rsc->mStateElement.mElements[ct]; in createRef()
294 rsc->mStateElement.mElements.push(e); in createRef()
375 rsAssert(!mElements.size()); in ~ElementState()
DrsElement.h181 Vector<Element *> mElements; variable