Home
last modified time | relevance | path

Searched refs:sizeArray (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/params/
DRecommendedStreamConfigurationMap.java258 private Set<Size> getUnmodifiableSizeSet(Size[] sizeArray) { in getUnmodifiableSizeSet() argument
259 if ((sizeArray != null) && (sizeArray.length > 0)) { in getUnmodifiableSizeSet()
261 sizeSet.addAll(Arrays.asList(sizeArray)); in getUnmodifiableSizeSet()
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/serviceforward/
DForwardImageCaptureExtender.java239 Size[] sizeArray = new Size[sizeList.sizes.size()]; in getSupportedResolutions() local
241 sizeArray[i] = new Size(sizeList.sizes.get(i).width, in getSupportedResolutions()
244 list.add(new Pair(sizeList.format, sizeArray)); in getSupportedResolutions()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp354 jlongArray valueArray, jintArray sizeArray, in nClosureCreate() argument
372 jint* jSizes = _env->GetIntArrayElements(sizeArray, nullptr); in nClosureCreate()
373 jsize sizes_length = _env->GetArrayLength(sizeArray); in nClosureCreate()
474 _env->ReleaseIntArrayElements (sizeArray, jSizes, JNI_ABORT); in nClosureCreate()
484 jintArray sizeArray) { in nInvokeClosureCreate() argument
508 jint* jSizes = _env->GetIntArrayElements(sizeArray, nullptr); in nInvokeClosureCreate()
509 jsize sizes_length = _env->GetArrayLength(sizeArray); in nInvokeClosureCreate()
546 _env->ReleaseIntArrayElements (sizeArray, jSizes, JNI_ABORT); in nInvokeClosureCreate()
1111 size_t *sizeArray = names.c_str_len(); in nElementCreate2() local
1115 nameArray, fieldCount * sizeof(size_t), sizeArray, in nElementCreate2()
[all …]
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp3067 float ratio, const int32_t* sizeArray, size_t count) { in getMaxSizeForRatio() argument
3068 ALOG_ASSERT(sizeArray != NULL, "size array shouldn't be NULL"); in getMaxSizeForRatio()
3073 if (sizeArray[i] > 0 && sizeArray[i+1] > 0) { in getMaxSizeForRatio()
3074 float curRatio = static_cast<float>(sizeArray[i]) / sizeArray[i+1]; in getMaxSizeForRatio()
3075 if (fabs(curRatio - ratio) < ASPECT_RATIO_TOLERANCE && maxSize.width < sizeArray[i]) { in getMaxSizeForRatio()
3076 maxSize.width = sizeArray[i]; in getMaxSizeForRatio()
3077 maxSize.height = sizeArray[i+1]; in getMaxSizeForRatio()
3083 maxSize.width = sizeArray[0]; in getMaxSizeForRatio()
3084 maxSize.height = sizeArray[1]; in getMaxSizeForRatio()
DParameters.h407 Size getMaxSizeForRatio(float ratio, const int32_t* sizeArray, size_t count);
/frameworks/rs/support/jni/
Dandroid_renderscript_RenderScript.cpp358 jlongArray valueArray, jintArray sizeArray, in nClosureCreate() argument
366 jint* jSizes = _env->GetIntArrayElements(sizeArray, nullptr); in nClosureCreate()
367 jsize sizes_length = _env->GetArrayLength(sizeArray); in nClosureCreate()
455 _env->ReleaseIntArrayElements (sizeArray, jSizes, JNI_ABORT); in nClosureCreate()
465 jintArray sizeArray) { in nInvokeClosureCreate() argument
474 jint* jSizes = _env->GetIntArrayElements(sizeArray, nullptr); in nInvokeClosureCreate()
475 jsize sizes_length = _env->GetArrayLength(sizeArray); in nInvokeClosureCreate()
508 _env->ReleaseIntArrayElements (sizeArray, jSizes, JNI_ABORT); in nInvokeClosureCreate()
966 size_t *sizeArray = names.c_str_len(); in nElementCreate2() local
970 fieldCount * sizeof(size_t), sizeArray, in nElementCreate2()