Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfo.h50 mElements.push_back(refreshRate); in insertRefreshRate()
51 if (mElements.size() > HISTORY_SIZE) { in insertRefreshRate()
52 mElements.pop_front(); in insertRefreshRate()
58 if (mElements.size() == HISTORY_SIZE) { in getRefreshRateAvg()
59 refreshDuration = scheduler::calculate_mean(mElements); in getRefreshRateAvg()
64 void clearHistory() { mElements.clear(); } in clearHistory()
67 std::deque<nsecs_t> mElements;
80 mElements.push_back(presentTime); in insertPresentTime()
81 if (mElements.size() > HISTORY_SIZE) { in insertPresentTime()
82 mElements.pop_front(); in insertPresentTime()
[all …]
/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 = checkNotNull(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
/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/base/libs/services/src/os/
DStatsLogEventWrapper.cpp101 mElements.push_back(StatsLogValue(in->readInt32())); in readFromParcel()
104 mElements.push_back(StatsLogValue(in->readInt64())); in readFromParcel()
107 mElements.push_back( in readFromParcel()
111 mElements.push_back(StatsLogValue(in->readFloat())); in readFromParcel()
114 mElements.push_back(StatsLogValue()); in readFromParcel()
115 mElements.back().setType(StatsLogValue::STORAGE); in readFromParcel()
116 in->readByteVector(&(mElements.back().storage_value)); in readFromParcel()
/frameworks/base/services/core/jni/
Dcom_android_server_security_VerityUtils.cpp106 : mEnv(other.mEnv), mBytes(other.mBytes), mElements(other.mElements) { in JavaByteArrayHolder()
107 other.mElements = nullptr; in JavaByteArrayHolder()
115 return mElements; in getRaw()
119 mEnv->ReleaseByteArrayElements(mBytes, mElements, 0); in release()
120 mElements = nullptr; in release()
125 LOG_ALWAYS_FATAL_IF(mElements != nullptr, "Elements are not released"); in ~JavaByteArrayHolder()
132 mElements = mEnv->GetByteArrayElements(mBytes, nullptr); in JavaByteArrayHolder()
133 memset(mElements, 0, size); in JavaByteArrayHolder()
138 jbyte* mElements; member in android::__anon11957ee40111::JavaByteArrayHolder
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DAnqpEvent.java54 private final Map<Constants.ANQPElementType, ANQPElement> mElements; field in AnqpEvent
58 mElements = elements; in AnqpEvent()
72 return mElements; in getElements()
/frameworks/rs/support/java/src/androidx/renderscript/
DElement.java63 Element[] mElements; field in Element
75 if (mElements == null) { in updateVisibleSubElements()
206 if (mElements == null) { in isComplex()
209 for (int ct=0; ct < mElements.length; ct++) { in isComplex()
210 if (mElements[ct].mElements != null) { in isComplex()
244 return mElements[mVisibleElementMap[index]]; in getSubElement()
721 mElements = e; in Element()
726 mOffsetInBytes = new int[mElements.length]; in Element()
727 for (int ct = 0; ct < mElements.length; ct++ ) { in Element()
729 mSize += mElements[ct].mSize * mArraySizes[ct]; in Element()
[all …]
DAllocation.java1019 if (component_number >= mType.mElement.mElements.length) { in setFromFieldPacker()
1028 int eSize = mType.mElement.mElements[component_number].getBytesSize(); in setFromFieldPacker()
/frameworks/base/rs/java/android/renderscript/
DElement.java57 Element[] mElements; field in Element
70 if (mElements == null) { in updateVisibleSubElements()
204 if (mElements == null) { in isComplex()
207 for (int ct=0; ct < mElements.length; ct++) { in isComplex()
208 if (mElements[ct].mElements != null) { in isComplex()
242 return mElements[mVisibleElementMap[index]]; in getSubElement()
1065 mElements = e; in Element()
1070 mOffsetInBytes = new int[mElements.length]; in Element()
1071 for (int ct = 0; ct < mElements.length; ct++ ) { in Element()
1073 mSize += mElements[ct].mSize * mArraySizes[ct]; in Element()
[all …]
DAllocation.java1073 if (component_number >= mType.mElement.mElements.length) { in setFromFieldPacker()
1088 int eSize = mType.mElement.mElements[component_number].getBytesSize(); in setFromFieldPacker()
2030 if (component_number >= mType.mElement.mElements.length) { in copyToFieldPacker()
2045 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/libs/services/include/android/os/
DStatsLogEventWrapper.h107 const std::vector<StatsLogValue>& getElements() const { return mElements; } in getElements()
118 std::vector<StatsLogValue> mElements; variable