Home
last modified time | relevance | path

Searched refs:minSize (Results 1 – 21 of 21) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/fuzzer/
Damrnb_dec_fuzzer.cpp70 int32_t minSize = std::min((int32_t)size, frameSize); in decodeFrames() local
71 memcpy(inputBuf, data, minSize); in decodeFrames()
77 data += minSize; in decodeFrames()
78 size -= minSize; in decodeFrames()
/frameworks/av/media/libstagefright/codecs/amrwb/fuzzer/
Damrwb_dec_fuzzer.cpp80 int32_t minSize = std::min((int32_t)size, frameSize); in decodeFrames() local
81 memcpy(inputBuf, data, minSize); in decodeFrames()
91 data += minSize; in decodeFrames()
92 size -= minSize; in decodeFrames()
/frameworks/native/libs/ui/
DHdrCapabilities.cpp57 size_t minSize = sizeof(mMaxLuminance) + in unflatten() local
62 if (size < minSize) { in unflatten()
70 if (size < minSize + itemCount * sizeof(int32_t)) { in unflatten()
/frameworks/av/services/camera/libcameraservice/api2/
DHeicEncoderInfoManager.cpp183 std::pair<int32_t, int32_t>* minSize, in getCodecSizeRange() argument
186 if (codecName == nullptr || minSize == nullptr || maxSize == nullptr || in getCodecSizeRange()
202 minSize->first = stoi(match[1]); in getCodecSizeRange()
203 minSize->second = stoi(match[2]); in getCodecSizeRange()
206 if (minSize->first > maxSize->first || in getCodecSizeRange()
207 minSize->second > maxSize->second) { in getCodecSizeRange()
DHeicEncoderInfoManager.h59 std::pair<int32_t, int32_t>* minSize, std::pair<int32_t, int32_t>* maxSize,
/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.cpp86 void VulkanSurface::ComputeWindowSizeAndTransform(WindowInfo* windowInfo, const SkISize& minSize, in ComputeWindowSizeAndTransform() argument
91 if (windowSize.width() < minSize.width() || windowSize.width() > maxSize.width() || in ComputeWindowSizeAndTransform()
92 windowSize.height() < minSize.height() || windowSize.height() > maxSize.height()) { in ComputeWindowSizeAndTransform()
93 int width = std::min(maxSize.width(), std::max(minSize.width(), windowSize.width())); in ComputeWindowSizeAndTransform()
94 int height = std::min(maxSize.height(), std::max(minSize.height(), windowSize.height())); in ComputeWindowSizeAndTransform()
217 const SkISize minSize = SkISize::Make(caps.minImageExtent.width, caps.minImageExtent.height); in Create() local
219 ComputeWindowSizeAndTransform(&windowInfo, minSize, maxSize); in Create()
307 return new VulkanSurface(window, windowInfo, minSize, maxSize, grContext); in Create()
DVulkanSurface.h107 static void ComputeWindowSizeAndTransform(WindowInfo* windowInfo, const SkISize& minSize,
/frameworks/av/media/libstagefright/
DMediaCodecListOverrides.cpp55 AString minSize; in getMeasureSize() local
57 if (!splitString(sizeRange, "-", &minSize, &maxSize)) { in getMeasureSize()
62 if (!splitString(minSize, "x", &sWidth, &sHeight)) { in getMeasureSize()
63 if (!splitString(minSize, "*", &sWidth, &sHeight)) { in getMeasureSize()
/frameworks/base/core/java/com/android/internal/policy/
DPipSnapAlgorithm.java345 final int minSize = (int) Math.max(minEdgeSize, smallestDisplaySize * mDefaultSizePercent); in getSizeForAspectRatio() local
353 width = minSize; in getSizeForAspectRatio()
357 height = minSize; in getSizeForAspectRatio()
363 final float widthAtMaxAspectRatioForMinSize = mMaxAspectRatioForMinSize * minSize; in getSizeForAspectRatio()
364 final float radius = PointF.length(widthAtMaxAspectRatioForMinSize, minSize); in getSizeForAspectRatio()
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.cpp305 size_t minSize, in initialize() argument
317 ALOGV("[%s] converted %zu buffers to array mode of %zu", mName, mBuffers.size(), minSize); in initialize()
318 for (size_t i = impl.mBuffers.size(); i < minSize; ++i) { in initialize()
450 size_t minSize, in initialize() argument
453 mImpl.initialize(impl, minSize, allocate); in initialize()
798 size_t minSize, in initialize() argument
801 mImpl.initialize(impl, minSize, allocate); in initialize()
DCCodecBuffers.h399 size_t minSize,
516 size_t minSize,
738 size_t minSize,
/frameworks/native/services/sensorservice/
Dvec.h51 const size_t minSize = min(SIZE, S); in doAssign() local
53 for (size_t i=0 ; i<minSize ; i++) in doAssign()
55 for (size_t i=minSize ; i<maxSize ; i++) in doAssign()
/frameworks/ml/nn/common/operations/
DGenerateProposals.cpp933 void filterBoxes(const float* roiBase, const float* imageInfoBase, float minSize, in filterBoxes() argument
944 if (roiWidth > minSize && roiHeight > minSize && xRoiCenter < imageInfoBase[1] && in filterBoxes()
957 int32_t postNmsTopN, float iouThreshold, float minSize, in generateProposalsNhwcFloat32Compute() argument
1028 filterBoxes(roiTransformedBuffer.data(), imageInfoBase, minSize, &select); in generateProposalsNhwcFloat32Compute()
1059 int32_t postNmsTopN, float iouThreshold, float minSize, in generateProposalsFloat32Compute() argument
1069 heightStride, widthStride, preNmsTopN, postNmsTopN, iouThreshold, minSize, in generateProposalsFloat32Compute()
1078 int32_t postNmsTopN, float iouThreshold, float minSize, bool useNchw, in generateProposalsFloat32() argument
1085 iouThreshold, minSize, useNchw, &scoresOut_float32, &roiOut_float32, &batchesOut)); in generateProposalsFloat32()
1121 int32_t postNmsTopN, float iouThreshold, float minSize, bool useNchw, in generateProposalsFloat16() argument
1136 heightStride, widthStride, preNmsTopN, postNmsTopN, iouThreshold, minSize, useNchw, in generateProposalsFloat16()
[all …]
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp237 static jfloatArray obtainPackedAxisValuesArray(JNIEnv* env, uint32_t minSize, in obtainPackedAxisValuesArray() argument
243 if (minSize <= size) { in obtainPackedAxisValuesArray()
249 while (size < minSize) { in obtainPackedAxisValuesArray()
/frameworks/base/core/jni/android/opengl/
Dutil.cpp233 ArrayHelper(JNIEnv* env, JArray ref, jint offset, jint minSize) { in ArrayHelper() argument
237 mMinSize = minSize; in ArrayHelper()
/frameworks/base/core/java/android/widget/
DNumberPicker.java1798 int minSize, int measuredSize, int measureSpec) { in resolveSizeAndStateRespectingMinSize() argument
1799 if (minSize != SIZE_UNSPECIFIED) { in resolveSizeAndStateRespectingMinSize()
1800 final int desiredWidth = Math.max(minSize, measuredSize); in resolveSizeAndStateRespectingMinSize()
/frameworks/base/core/java/android/content/res/
DConfiguration.java1908 final int minSize = Math.min(this.mLocaleList.size(), that.mLocaleList.size()); in compareTo() local
1909 for (int i = 0; i < minSize; ++i) { in compareTo()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java727 int minSize = 480 * 800; // 384000 in updateOomLevels() local
729 float scaleDisp = ((float)(displayWidth * displayHeight) - minSize) / (maxSize - minSize); in updateOomLevels()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java2369 final int minSize = 200; in setForcedSize() local
2371 width = Math.min(Math.max(width, minSize), mInitialDisplayWidth * maxScale); in setForcedSize()
2372 height = Math.min(Math.max(height, minSize), mInitialDisplayHeight * maxScale); in setForcedSize()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp109 size_t minSize, in validate_chunk() argument
116 if (headerSize >= minSize) { in validate_chunk()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt112832 Lsun/security/util/DisabledAlgorithmConstraints$KeySizeConstraint;->minSize:I