Home
last modified time | relevance | path

Searched refs:getElement (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/graphics/java/android/renderscript/
DAllocation.java294 if (mType.getElement().mKind != Element.DataKind.PIXEL_A) { in validateBitmapFormat()
296 mType.getElement().mKind + ", type " + in validateBitmapFormat()
297 mType.getElement().mType + in validateBitmapFormat()
298 " of " + mType.getElement().getSizeBytes() + in validateBitmapFormat()
303 if ((mType.getElement().mKind != Element.DataKind.PIXEL_RGBA) || in validateBitmapFormat()
304 (mType.getElement().getSizeBytes() != 4)) { in validateBitmapFormat()
306 mType.getElement().mKind + ", type " + in validateBitmapFormat()
307 mType.getElement().mType + in validateBitmapFormat()
308 " of " + mType.getElement().getSizeBytes() + in validateBitmapFormat()
313 if ((mType.getElement().mKind != Element.DataKind.PIXEL_RGB) || in validateBitmapFormat()
[all …]
DScript.java198 public Element getElement() { in getElement() method in Script.FieldBase
DType.java73 public Element getElement() { in getElement() method in Type
DProgram.java253 if (t.getElement().isComplex()) { in addConstant()
DProgramVertexFixedFunction.java205 int bufferSize = constInputType.getElement().getSizeBytes()* in Constants()
/frameworks/base/libs/rs/
DrsAllocation.cpp41 if (!rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences())) { in createAllocation()
57 mHal.state.hasReferences = mHal.state.type->getElement()->getHasReferences(); in updateCache()
114 if (cIdx >= mHal.state.type->getElement()->getFieldCount()) { in elementData()
126 const Element * e = mHal.state.type->getElement()->getField(cIdx); in elementData()
153 if (cIdx >= mHal.state.type->getElement()->getFieldCount()) { in elementData()
159 const Element * e = mHal.state.type->getElement()->getField(cIdx); in elementData()
263 const Element *e = mHal.state.type->getElement(); in incRefs()
279 const Element *e = mHal.state.type->getElement(); in decRefs()
338 uint16_t *oPtr = static_cast<uint16_t *>(out.getElement(0, y)); in mip565()
339 const uint16_t *i1 = static_cast<uint16_t *>(in.getElement(0, y*2)); in mip565()
[all …]
DrsAdapter.cpp39 void * Adapter1D::getElement(uint32_t x) { in getElement() function in Adapter1D
50 void *ptr = getElement(xoff); in subData()
57 memcpy(getElement(0), in data()
138 void * Adapter2D::getElement(uint32_t x, uint32_t y) const { in getElement() function in Adapter2D
168 memcpy(getElement(xoff, line), src, lineSize); in subData()
174 memcpy(getElement(0,0), in data()
DrsAdapter.h35 void * getElement(uint32_t x);
72 void * getElement(uint32_t x, uint32_t y) const;
DrsType.cpp219 if (t->getElement() != e) continue; in getTypeRef()
288 (*typeData++) = (uint32_t)t->getElement(); in rsaTypeGetNativeData()
289 t->getElement()->incUserRef(); in rsaTypeGetNativeData()
DrsType.h35 const Element * getElement() const {return mElement.get();} in getElement() function
DrsMesh.cpp217 const Element *bufferElem = bufferType->getElement(); in computeBBox()
/frameworks/base/libs/rs/driver/
DrsdAllocation.cpp234 drv->glType = rsdTypeToGLType(alloc->mHal.state.type->getElement()->getComponent().getType()); in rsdAllocationInit()
235 … drv->glFormat = rsdKindToGLFormat(alloc->mHal.state.type->getElement()->getComponent().getKind()); in rsdAllocationInit()
297 const Element *e = alloc->mHal.state.type->getElement(); in rsdAllocationResize()
343 } else if (alloc->getType()->getElement()->getKind() != RS_KIND_PIXEL_RGBA) { in rsdAllocationSyncAll()
504 const Element * e = alloc->mHal.state.type->getElement()->getField(cIdx); in rsdAllocationElementData1D()
505 ptr += alloc->mHal.state.type->getElement()->getFieldOffsetBytes(cIdx); in rsdAllocationElementData1D()
525 const Element * e = alloc->mHal.state.type->getElement()->getField(cIdx); in rsdAllocationElementData2D()
526 ptr += alloc->mHal.state.type->getElement()->getFieldOffsetBytes(cIdx); in rsdAllocationElementData2D()
DrsdMeshObj.cpp83 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); in init()
106 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); in init()
DrsdShader.cpp75 …initAddUserElement(mRSProgram->mHal.state.constantTypes[ct]->getElement(), mUniformNames, mUniform… in init()
213 const Element *e = mRSProgram->mHal.state.constantTypes[ct]->getElement(); in appendUserConstants()
460 const Element *e = mRSProgram->mHal.state.constantTypes[ct]->getElement(); in setupUserConstants()
517 const Element *elem = mRSProgram->mHal.state.constantTypes[ct]->getElement(); in initAttribAndUniformArray()
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DRsBenchRS.java436 sb.addInput(mParticlesMesh.getVertexAllocation(0).getType().getElement()); in initProgramVertex()
/frameworks/base/docs/html/guide/topics/renderscript/
Dgraphics.jd566 sb.addInput(mPoints.getElement());
/frameworks/base/api/
Dcurrent.txt18453 method public android.renderscript.Element getElement();
18493 method public android.renderscript.Element getElement();
D14.txt18453 method public android.renderscript.Element getElement();
18493 method public android.renderscript.Element getElement();