Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/camera2/params/
DColorSpaceTransform.java78 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 …]
DLensShadingMap.java73 mElements = Objects.requireNonNull(elements, "elements must not be null"); in LensShadingMap()
144 return mElements[colorChannel + (row * mColumns + column) * COUNT ]; in getGainFactor()
173 mElements[RED + offset]; in getGainFactorVector()
175 mElements[GREEN_EVEN + offset]; in getGainFactorVector()
177 mElements[GREEN_ODD + offset]; in getGainFactorVector()
179 mElements[BLUE + offset]; in getGainFactorVector()
211 System.arraycopy(mElements, /*srcPos*/0, destination, offset, getGainFactorCount()); in copyGainFactors()
234 && Arrays.equals(mElements, other.mElements); in equals()
244 int elemsHash = HashCodeHelpers.hashCode(mElements); in hashCode()
296 private final float[] mElements; field in LensShadingMap
DDeviceStateSensorOrientationMap.java89 mElements = Objects.requireNonNull(elements, "elements must not be null"); in DeviceStateSensorOrientationMap()
142 return Arrays.equals(mElements, other.mElements); in equals()
152 return HashCodeHelpers.hashCodeGeneric(mElements); in hashCode()
155 private final long[] mElements; field in DeviceStateSensorOrientationMap
/frameworks/rs/cpp/
DElement.cpp34 return mElements[mVisibleElementMap[index]]; in getSubElement()
75 if (rs->mElements.N == nullptr) { \
76 rs->mElements.N = (createUser(rs, RS_TYPE_##T)); \
78 return rs->mElements.N; \
103 if (rs->mElements.N == nullptr) { \
104 rs->mElements.N = createPixel(rs, RS_TYPE_##T, RS_KIND_##K); \
106 return rs->mElements.N; \
118 if (rs->mElements.N##_2 == nullptr) { \
119 rs->mElements.N##_2 = createVector(rs, RS_TYPE_##T, 2); \
121 return rs->mElements.N##_2; \
[all …]
DRenderScript.cpp45 memset(&mElements, 0, sizeof(mElements)); in RS()
DrsCppStructs.h518 } mElements; variable
1408 sp<const Element> * mElements; variable
1440 sp<const Element> * mElements; variable
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/capabilities/
DServiceCaps.java37 private final List<ElementBase> mElements = new ArrayList<>(); field in ServiceCaps
53 mElements.add(element); in addElement()
57 return mElements; in getElements()
62 if (mElements.isEmpty()) { in serialize()
68 for (ElementBase element : mElements) { in serialize()
97 mElements.add(audio); in parse()
101 mElements.add(video); in parse()
105 mElements.add(duplex); in parse()
/frameworks/rs/support/java/src/androidx/renderscript/
DElement.java68 Element[] mElements; field in Element
80 if (mElements == null) { in updateVisibleSubElements()
211 if (mElements == null) { in isComplex()
214 for (int ct=0; ct < mElements.length; ct++) { in isComplex()
215 if (mElements[ct].mElements != null) { in isComplex()
249 return mElements[mVisibleElementMap[index]]; in getSubElement()
726 mElements = e; in Element()
731 mOffsetInBytes = new int[mElements.length]; in Element()
732 for (int ct = 0; ct < mElements.length; ct++ ) { in Element()
734 mSize += mElements[ct].mSize * mArraySizes[ct]; in Element()
[all …]
DAllocation.java1024 if (component_number >= mType.mElement.mElements.length) { in setFromFieldPacker()
1033 int eSize = mType.mElement.mElements[component_number].getBytesSize(); in setFromFieldPacker()
/frameworks/base/rs/java/android/renderscript/
DElement.java62 Element[] mElements; field in Element
75 if (mElements == null) { in updateVisibleSubElements()
209 if (mElements == null) { in isComplex()
212 for (int ct=0; ct < mElements.length; ct++) { in isComplex()
213 if (mElements[ct].mElements != null) { in isComplex()
247 return mElements[mVisibleElementMap[index]]; in getSubElement()
1070 mElements = e; in Element()
1075 mOffsetInBytes = new int[mElements.length]; in Element()
1076 for (int ct = 0; ct < mElements.length; ct++ ) { in Element()
1078 mSize += mElements[ct].mSize * mArraySizes[ct]; in Element()
[all …]
DAllocation.java1077 if (component_number >= mType.mElement.mElements.length) { in setFromFieldPacker()
1092 int eSize = mType.mElement.mElements[component_number].getBytesSize(); in setFromFieldPacker()
2034 if (component_number >= mType.mElement.mElements.length) { in copyToFieldPacker()
2049 int eSize = mType.mElement.mElements[component_number].getBytesSize(); in copyToFieldPacker()
/frameworks/rs/
DrsElement.cpp44 auto& elements = mRSC->mStateElement.mElements; in preDestroy()
235 for (uint32_t ct=0; ct < rsc->mStateElement.mElements.size(); ct++) { in createRef()
236 const Element *ee = rsc->mStateElement.mElements[ct]; in createRef()
269 rsc->mStateElement.mElements.push_back(e); in createRef()
281 for (uint32_t ct=0; ct < rsc->mStateElement.mElements.size(); ct++) { in createRef()
282 const Element *ee = rsc->mStateElement.mElements[ct]; in createRef()
344 rsc->mStateElement.mElements.push_back(e); in createRef()
406 rsAssert(!mElements.size()); in ~ElementState()
DrsElement.h175 std::vector<Element *> mElements; variable
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt19286 Landroid/hardware/camera2/params/ColorSpaceTransform;->mElements:[I
19323 Landroid/hardware/camera2/params/LensShadingMap;->mElements:[F
45627 Landroid/renderscript/Element$Builder;->mElements:[Landroid/renderscript/Element;
45638 Landroid/renderscript/Element;->mElements:[Landroid/renderscript/Element;