Searched refs:index (Results 151 - 175 of 1308) sorted by last modified time

1234567891011>>

/frameworks/rs/cpu_ref/
H A DrsCpuScript.cpp567 for (int index = inLen; --index >= 0;) {
568 if (allocationLODIsNull(ains[index])) {
619 for (int index = inLen; --index >= 0;) {
620 mtls->redp.inPtr[index] = (const uint8_t*)ains[index]->mHal.drvState.lod[0].mallocPtr;
621 mtls->redp.inStride[index] = ains[index]->getType()->getElementSizeBytes();
644 for (int index
[all...]
H A DrsCpuScriptGroup2.cpp323 const int index = find(inputs.begin(), inputs.end(), bitcodeFilename) - local
326 ss << index << "," << funcID->mSlot << ".";
/frameworks/rs/driver/
H A DrsdFrameBufferObj.h30 void setColorTarget(DrvAllocation *color, uint32_t index) { argument
31 mColorTargets[index] = color;
H A DrsdShader.h51 uint32_t getStateBasedID(uint32_t index) const {
52 return mStateBasedShaders.itemAt(index)->mShaderID;
H A DrsdVertexArray.h56 void clear(uint32_t index);
/frameworks/rs/driver/runtime/
H A Drs_element.c17 rsElementGetSubElement(rs_element e, uint32_t index) { argument
19 if (element == NULL || index >= element->mHal.state.fieldsCount) {
23 rs_element returnElem = {element->mHal.state.fields[index]};
30 rsElementGetSubElementNameLength(rs_element e, uint32_t index) { argument
32 if (element == NULL || index >= element->mHal.state.fieldsCount) {
35 return element->mHal.state.fieldNameLengths[index];
39 rsElementGetSubElementName(rs_element e, uint32_t index, char *name, uint32_t nameLength) { argument
41 if (element == NULL || index >= element->mHal.state.fieldsCount ||
46 uint32_t numToCopy = element->mHal.state.fieldNameLengths[index];
53 const char *nameSource = element->mHal.state.fieldNames[index];
61 rsElementGetSubElementArraySize(rs_element e, uint32_t index) argument
70 rsElementGetSubElementOffsetBytes(rs_element e, uint32_t index) argument
[all...]
H A Drs_mesh.c29 rsgMeshGetVertexAllocation(rs_mesh m, uint32_t index) { argument
31 if (mesh == NULL || index >= mesh->mHal.state.vertexBuffersCount) {
35 rs_allocation returnAlloc = {mesh->mHal.state.vertexBuffers[index]};
42 rsgMeshGetIndexAllocation(rs_mesh m, uint32_t index) { argument
44 if (mesh == NULL || index >= mesh->mHal.state.primitivesCount) {
48 rs_allocation returnAlloc = {mesh->mHal.state.indexBuffers[index]};
55 rsgMeshGetPrimitive(rs_mesh m, uint32_t index) { argument
57 if (mesh == NULL || index >= mesh->mHal.state.primitivesCount) {
60 return mesh->mHal.state.primitives[index];
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/
H A DScriptGroupTestActivity.java121 final int[] index = new int[] { pos1, pos2 };
122 mTest = new Filters(mode, index);
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A Drasterize.rs24 int index[3 * 12];
82 int p1 = index[i];
83 int p2 = index[i + 1];
84 int p3 = index[i + 2];
/frameworks/rs/
H A Drs.spec345 param uint32_t index
H A DrsApiFileA3D.cpp23 RsObjectBase rsaFileA3DGetEntryByIndex(RsContext con, uint32_t index, RsFile file) { argument
30 ObjectBase *obj = fa3d->initializeFromEntry(index);
51 ALOGE("Can't load index entries. No valid file");
57 ALOGE("Can't load index entries. Invalid number requested");
H A DrsClosure.cpp46 void rsi_ClosureSetArg(Context* rsc, RsClosure closure, uint32_t index, argument
48 ((Closure*)closure)->setArg(index, (const void*)value, size);
144 void Closure::setArg(const uint32_t index, const void* value, const int size) { argument
145 mArgs[index] = value;
H A DrsClosure.h48 void setArg(const uint32_t index, const void* value, const int size);
H A DrsCppUtils.h105 void removeAt(uint32_t index) { argument
106 this->erase(this->begin() + index);
131 void removeAt(uint32_t index) { argument
132 this->erase(this->begin() + index);
H A DrsFileA3D.cpp224 const FileA3D::A3DIndexEntry *FileA3D::getIndexEntry(size_t index) const {
225 if (index < mIndex.size()) {
226 return mIndex[index];
231 ObjectBase *FileA3D::initializeFromEntry(size_t index) { argument
232 if (index >= mIndex.size()) {
236 FileA3D::A3DIndexEntry *entry = mIndex[index];
H A DrsFileA3D.h67 const A3DIndexEntry* getIndexEntry(size_t index) const;
68 ObjectBase *initializeFromEntry(size_t index);
H A DrsFont.cpp130 ALOGE("Skipping invalid index");
184 size_t index = start; local
189 int32_t utfChar = utf32_from_utf8_at(text, len, index, &nextIndex);
197 index = nextIndex;
580 // Now lets write index data
H A DrsMap.h56 const size_t index = hash(key) & MAP_NUM_BUCKET_MASK; local
57 LinkNode* node = bucket[index];
72 bucket[index] = node;
118 iterator(size_t index, LinkNode* n, const Map* m) : bucket_index(index), node(n), map(m) {} argument
144 const size_t index = hash(key) & MAP_NUM_BUCKET_MASK; local
145 LinkNode* node = bucket[index];
149 return iterator(index, node, this);
H A DrsMesh.h67 void setVertexBuffer(Allocation *vb, uint32_t index) { argument
68 mVertexBuffers[index].set(vb);
69 mHal.state.vertexBuffers[index] = vb;
72 void setPrimitive(Allocation *idx, RsPrimitive prim, uint32_t index) { argument
73 mIndexBuffers[index].set(idx);
74 mHal.state.indexBuffers[index] = idx;
75 mHal.state.primitives[index] = prim;
/frameworks/rs/scriptc/
H A Drs_graphics.rsh481 * slot: index of the constant buffer on the program
758 * If start and len are also specified, draw specified index range of part of a mesh using the current context state.
764 * primitiveIndex: for meshes that contain multiple primitive groups this parameter specifies the index of the group to draw.
765 * start: starting index in the range
1059 * rsgMeshGetIndexAllocation: Return an allocation containing index data
1063 * Returns an allocation containing index data or a null
1068 * index: index of the index allocation
1070 * Returns: allocation containing index dat
[all...]
H A Drs_object_info.rsh245 * specified index.
247 * If the Element is not a structure or the index is greater or equal to the number of
252 * index: Index of the sub-element to return.
254 * Returns: Sub-element at the given index.
258 rsElementGetSubElement(rs_element e, uint32_t index);
265 * returns the array size of the sub-element at the index. This sub-element repetition
270 * index: Index of the sub-element.
276 rsElementGetSubElementArraySize(rs_element e, uint32_t index);
300 * specified index.
304 * index
[all...]
/frameworks/support/buildSrc/
H A DstudioCompat.gradle87 projectConfig.apiTargets.eachWithIndex { entry, index ->
89 entry.prev = index == 0 ? null : projectConfig.apiTargets[index - 1]
/frameworks/support/design/src/android/support/design/internal/
H A DNavigationMenuPresenter.java211 public View getHeaderView(int index) { argument
212 return mHeaderLayout.getChildAt(index);
/frameworks/support/design/src/android/support/design/widget/
H A DCoordinatorLayout.java547 private int getKeyline(int index) { argument
549 Log.e(TAG, "No keylines defined for " + this + " - attempted index lookup " + index);
553 if (index < 0 || index >= mKeylines.length) {
554 Log.e(TAG, "Keyline index " + index + " out of range for " + this);
558 return mKeylines[index];
2249 * The index of the horizontal keyline specified to the parent CoordinatorLayout that this
H A DNavigationView.java296 * @param index The position at which to get the view from.
300 public View getHeaderView(int index) { argument
301 return mPresenter.getHeaderView(index);

Completed in 281 milliseconds

1234567891011>>