Searched refs:mElements (Results 1 – 12 of 12) sorted by relevance
/frameworks/support/v4/java/android/support/v4/util/ |
D | CircularArray.java | 22 private E[] mElements; field in CircularArray 28 int n = mElements.length; in doubleCapacity() 35 System.arraycopy(mElements, mHead, a, 0, r); in doubleCapacity() 36 System.arraycopy(mElements, 0, a, r, mHead); in doubleCapacity() 37 mElements = (E[])a; in doubleCapacity() 66 mElements = (E[]) new Object[arrayCapacity]; in CircularArray() 71 mElements[mHead] = e; in addFirst() 78 mElements[mTail] = e; in addLast() 87 E result = mElements[mHead]; in popFirst() 88 mElements[mHead] = null; in popFirst() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | ColorSpaceTransform.java | 78 mElements = new int[COUNT_INT]; in ColorSpaceTransform() 82 mElements[i * RATIONAL_SIZE + OFFSET_NUMERATOR] = elements[i].getNumerator(); in ColorSpaceTransform() 83 mElements[i * RATIONAL_SIZE + OFFSET_DENOMINATOR] = elements[i].getDenominator(); in ColorSpaceTransform() 122 mElements = Arrays.copyOf(elements, elements.length); in ColorSpaceTransform() 142 int numerator = mElements[(row * COLUMNS + column) * RATIONAL_SIZE + OFFSET_NUMERATOR]; in getElement() 143 int denominator = mElements[(row * COLUMNS + column) * RATIONAL_SIZE + OFFSET_DENOMINATOR]; in getElement() 170 int numerator = mElements[j + OFFSET_NUMERATOR]; in copyElements() 171 int denominator = mElements[j + OFFSET_DENOMINATOR]; in copyElements() 206 destination[i + offset] = mElements[i]; in copyElements() 229 int numerator = mElements[j + OFFSET_NUMERATOR]; in equals() [all …]
|
D | LensShadingMap.java | 66 mElements = checkNotNull(elements, "elements must not be null"); in LensShadingMap() 137 return mElements[colorChannel + (row * mColumns + column) * COUNT ]; in getGainFactor() 166 mElements[RED + offset]; in getGainFactorVector() 168 mElements[GREEN_EVEN + offset]; in getGainFactorVector() 170 mElements[GREEN_ODD + offset]; in getGainFactorVector() 172 mElements[BLUE + offset]; in getGainFactorVector() 204 System.arraycopy(mElements, /*srcPos*/0, destination, offset, getGainFactorCount()); in copyGainFactors() 227 && Arrays.equals(mElements, other.mElements); in equals() 237 int elemsHash = HashCodeHelpers.hashCode(mElements); in hashCode() 244 private final float[] mElements; field in LensShadingMap
|
/frameworks/rs/cpp/ |
D | Element.cpp | 35 return mElements[mVisibleElementMap[index]]; in getSubElement() 76 if (rs->mElements.N == NULL) { \ 77 rs->mElements.N = (createUser(rs, RS_TYPE_##T)); \ 79 return rs->mElements.N; \ 103 if (rs->mElements.N == NULL) { \ 104 rs->mElements.N = createPixel(rs, RS_TYPE_##T, RS_KIND_##K); \ 106 return rs->mElements.N; \ 118 if (rs->mElements.N##_2 == NULL) { \ 119 rs->mElements.N##_2 = createVector(rs, RS_TYPE_##T, 2); \ 121 return rs->mElements.N##_2; \ [all …]
|
D | RenderScript.cpp | 53 memset(&mElements, 0, sizeof(mElements)); in RS()
|
D | rsCppStructs.h | 239 } mElements; variable 1048 std::vector<sp<Element> > mElements; variable 1072 std::vector<sp<Element> > mElements; variable
|
/frameworks/base/rs/java/android/renderscript/ |
D | Element.java | 55 Element[] mElements; field in Element 68 if (mElements == null) { in updateVisibleSubElements() 201 if (mElements == null) { in isComplex() 204 for (int ct=0; ct < mElements.length; ct++) { in isComplex() 205 if (mElements[ct].mElements != null) { in isComplex() 239 return mElements[mVisibleElementMap[index]]; in getSubElement() 771 mElements = e; in Element() 776 mOffsetInBytes = new int[mElements.length]; in Element() 777 for (int ct = 0; ct < mElements.length; ct++ ) { in Element() 779 mSize += mElements[ct].mSize * mArraySizes[ct]; in Element() [all …]
|
D | Allocation.java | 800 if (component_number >= mType.mElement.mElements.length) { in setFromFieldPacker() 809 int eSize = mType.mElement.mElements[component_number].getBytesSize(); in setFromFieldPacker()
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | Element.java | 63 Element[] mElements; field in Element 75 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 …]
|
D | Allocation.java | 666 if (component_number >= mType.mElement.mElements.length) { in setFromFieldPacker() 675 int eSize = mType.mElement.mElements[component_number].getBytesSize(); in setFromFieldPacker()
|
/frameworks/rs/ |
D | rsElement.cpp | 45 for (uint32_t ct = 0; ct < mRSC->mStateElement.mElements.size(); ct++) { in preDestroy() 46 if (mRSC->mStateElement.mElements[ct] == this) { in preDestroy() 47 mRSC->mStateElement.mElements.removeAt(ct); in preDestroy() 233 for (uint32_t ct=0; ct < rsc->mStateElement.mElements.size(); ct++) { in createRef() 234 const Element *ee = rsc->mStateElement.mElements[ct]; in createRef() 267 rsc->mStateElement.mElements.push(e); in createRef() 279 for (uint32_t ct=0; ct < rsc->mStateElement.mElements.size(); ct++) { in createRef() 280 const Element *ee = rsc->mStateElement.mElements[ct]; in createRef() 342 rsc->mStateElement.mElements.push(e); in createRef() 404 rsAssert(!mElements.size()); in ~ElementState()
|
D | rsElement.h | 173 Vector<Element *> mElements; variable
|