Searched refs:arraySize (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableArray.java79 int arraySize = remaining / elementSize;
91 arraySize, elementSize, remaining, mClass));
94 array = Array.newInstance(mComponentClass, arraySize);
95 for (int i = 0; i < arraySize; ++i) {
109 int arraySize = arrayList.size();
110 array = copyListToArray(arrayList, Array.newInstance(mComponentClass, arraySize));
/frameworks/rs/driver/
H A DrsdShaderCache.h63 uint32_t vtxUniformSize(uint32_t a) const {return mCurrent->vtxUniforms[a].arraySize;}
65 uint32_t fragUniformSize(uint32_t a) const {return mCurrent->fragUniforms[a].arraySize;}
78 int32_t arraySize; member in struct:RsdShaderCache::UniformQueryData
96 uint32_t arraySize; member in struct:RsdShaderCache::UniformData
H A DrsdShaderCache.cpp46 if (data[ct].slot >= 0 && data[ct].arraySize > 1) {
50 data[ct].arraySize = (uint32_t)uniformList[ui]->arraySize;
57 ALOGV("%s U, %s = %d, arraySize = %d\n", logTag,
58 prog->getUniformName(ct).string(), data[ct].slot, data[ct].arraySize);
66 data[ct].arraySize = prog->getUniformArraySize(ct);
73 if (data[ct].slot >= 0 && data[ct].arraySize > 1) {
79 if (data[ct].slot >= 0 && data[ct].arraySize > 1) {
198 &uniformList[ct]->arraySize, &uniformList[ct]->type,
200 //ALOGE("GL UNI idx=%u, arraySize
[all...]
H A DrsdShader.cpp309 void RsdShader::logUniform(const Element *field, const float *fd, uint32_t arraySize ) {
312 for (uint32_t i = 0; i < arraySize; i ++) {
313 if (arraySize > 1) {
356 int32_t slot, uint32_t arraySize ) {
359 RSD_CALL_GL(glUniformMatrix4fv, slot, arraySize, GL_FALSE, fd);
361 RSD_CALL_GL(glUniformMatrix3fv, slot, arraySize, GL_FALSE, fd);
363 RSD_CALL_GL(glUniformMatrix2fv, slot, arraySize, GL_FALSE, fd);
367 RSD_CALL_GL(glUniform1fv, slot, arraySize, fd);
370 RSD_CALL_GL(glUniform2fv, slot, arraySize, fd);
373 RSD_CALL_GL(glUniform3fv, slot, arraySize, f
542 uint32_t arraySize = 1; local
[all...]
H A DrsdShader.h126 const float *fd, uint32_t arraySize);
129 const float *fd, int32_t slot, uint32_t arraySize );
H A DrsdMeshObj.cpp63 uint32_t arraySize = elem->mHal.state.fieldArraySizes[fieldIdx]; local
64 if (arraySize != 1) {
/frameworks/rs/
H A DrsElement.cpp78 total += mFields[ct].e->mBits * mFields[ct].arraySize;
90 total += mFields[ct].e->mBitsUnpadded * mFields[ct].arraySize;
101 ALOGV("%s name: %s, offsetBits: %u, arraySize: %u",
102 prefix, mFields[ct].name, mFields[ct].offsetBits, mFields[ct].arraySize);
118 stream->addU32(mFields[ct].arraySize);
205 bits += mFields[ct].e->getSizeBits() * mFields[ct].arraySize;
206 bitsUnpadded += mFields[ct].e->getSizeBitsUnpadded() * mFields[ct].arraySize;
217 mHal.state.fieldArraySizes[ctNoPadding] = mFields[ct].arraySize;
298 (ee->mFields[i].arraySize != asize)) {
337 e->mFields[ct].arraySize
[all...]
H A DrsElement.h89 uint32_t getFieldArraySize(uint32_t idx) const {return mFields[idx].arraySize;}
147 uint32_t arraySize; member in struct:android::renderscript::Element::__anon1522
H A Drs.spec124 param const uint32_t * arraySize
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DElementThunker.java293 public void add(Element e, String name, int arraySize) { argument
296 mN.add(et.mN, name, arraySize);
H A DElement.java948 * @param arraySize
950 public Builder add(Element element, String name, int arraySize) { argument
952 mT.add(element, name, arraySize);
956 if (arraySize < 1) {
987 mArraySizes[mCount] = arraySize;
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DSceneManager.java88 int arraySize = dimension * dimension * bytesPerPixel;
95 arraySize *= 6;
103 byte imageData[] = new byte[arraySize];
/frameworks/rs/cpp/
H A DElement.cpp366 void Element::Builder::add(android::RSC::sp</*const*/ Element>e, std::string &name, uint32_t arraySize) { argument
388 mArraySizes.push_back(arraySize);
H A DrsCppStructs.h1056 void add(sp<Element> e, std::string &name, uint32_t arraySize = 1);
/frameworks/base/rs/java/android/renderscript/
H A DElement.java1032 * @param arraySize
1034 public Builder add(Element element, String name, int arraySize) { argument
1035 if (arraySize < 1) {
1066 mArraySizes[mCount] = arraySize;
/frameworks/av/drm/common/
H A DIDrmManagerService.cpp578 const int arraySize = reply.readInt32(); local
579 if (0 < arraySize) {
580 *drmSupportInfoArray = new DrmSupportInfo[arraySize];
582 for (int index = 0; index < arraySize; ++index) {
599 *length = arraySize;
/frameworks/compile/slang/
H A Dslang_rs_export_type.h155 uint32_t arraySize; member in struct:slang::RSReflectionTypeData_rec
H A Dslang_rs_export_type.cpp1551 rtd->arraySize = CAT->getSize();
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp487 const jint arraySize = (jint)arraySizes[i]; local
490 _env->SetIntArrayRegion(_arraySizes, i, 1, &arraySize);

Completed in 328 milliseconds