Searched refs:sizeArray (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | RecommendedStreamConfigurationMap.java | 247 private Set<Size> getUnmodifiableSizeSet(Size[] sizeArray) { in getUnmodifiableSizeSet() argument 248 if ((sizeArray != null) && (sizeArray.length > 0)) { in getUnmodifiableSizeSet() 250 sizeSet.addAll(Arrays.asList(sizeArray)); in getUnmodifiableSizeSet()
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 355 jlongArray valueArray, jintArray sizeArray, in nClosureCreate() argument 373 jint* jSizes = _env->GetIntArrayElements(sizeArray, nullptr); in nClosureCreate() 374 jsize sizes_length = _env->GetArrayLength(sizeArray); in nClosureCreate() 475 _env->ReleaseIntArrayElements (sizeArray, jSizes, JNI_ABORT); in nClosureCreate() 485 jintArray sizeArray) { in nInvokeClosureCreate() argument 509 jint* jSizes = _env->GetIntArrayElements(sizeArray, nullptr); in nInvokeClosureCreate() 510 jsize sizes_length = _env->GetArrayLength(sizeArray); in nInvokeClosureCreate() 547 _env->ReleaseIntArrayElements (sizeArray, jSizes, JNI_ABORT); in nInvokeClosureCreate() 1112 size_t *sizeArray = names.c_str_len(); in nElementCreate2() local 1116 nameArray, fieldCount * sizeof(size_t), sizeArray, in nElementCreate2() [all …]
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | Parameters.cpp | 2997 float ratio, const int32_t* sizeArray, size_t count) { in getMaxSizeForRatio() argument 2998 ALOG_ASSERT(sizeArray != NULL, "size array shouldn't be NULL"); in getMaxSizeForRatio() 3003 if (sizeArray[i] > 0 && sizeArray[i+1] > 0) { in getMaxSizeForRatio() 3004 float curRatio = static_cast<float>(sizeArray[i]) / sizeArray[i+1]; in getMaxSizeForRatio() 3005 if (fabs(curRatio - ratio) < ASPECT_RATIO_TOLERANCE && maxSize.width < sizeArray[i]) { in getMaxSizeForRatio() 3006 maxSize.width = sizeArray[i]; in getMaxSizeForRatio() 3007 maxSize.height = sizeArray[i+1]; in getMaxSizeForRatio() 3013 maxSize.width = sizeArray[0]; in getMaxSizeForRatio() 3014 maxSize.height = sizeArray[1]; in getMaxSizeForRatio()
|
D | Parameters.h | 402 Size getMaxSizeForRatio(float ratio, const int32_t* sizeArray, size_t count);
|
/frameworks/rs/support/jni/ |
D | android_renderscript_RenderScript.cpp | 358 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()
|