Searched defs:dimens (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyCameraDevice.java605 int[] dimens = new int[2];
606 LegacyExceptionUtils.throwOnError(nativeDetectSurfaceDimens(surface, /*out*/dimens));
608 return new Size(dimens[0], dimens[1]);
799 int[] dimens = new int[2];
801 /*out*/dimens));
803 return new Size(dimens[0], dimens[1]);
824 /*out*/int[/*2*/] dimens);
841 /*out*/int[/*2*/] dimens);
823 nativeDetectSurfaceDimens(Surface surface, int[ ] dimens) argument
840 nativeDetectTextureDimens(SurfaceTexture surfaceTexture, int[ ] dimens) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp242 ALOGE("%s: Overflow calculating size, buffer with dimens %zu x %zu is absurdly large...",
474 jobject surface, jintArray dimens) {
477 if (dimens == NULL) {
478 ALOGE("%s: Null dimens argument passed to nativeDetectSurfaceDimens", __FUNCTION__);
482 if (env->GetArrayLength(dimens) < 2) {
483 ALOGE("%s: Invalid length of dimens argument in nativeDetectSurfaceDimens", __FUNCTION__);
507 env->SetIntArrayRegion(dimens, /*start*/0, /*length*/ARRAY_SIZE(dimenBuf), dimenBuf);
554 jobject surfaceTexture, jintArray dimens) {
579 env->SetIntArrayRegion(dimens, /*start*/0, /*length*/ARRAY_SIZE(dimenBuf), dimenBuf);
666 ALOGE("%s: Error while setting surface user dimens
473 LegacyCameraDevice_nativeDetectSurfaceDimens(JNIEnv* env, jobject thiz, jobject surface, jintArray dimens) argument
553 LegacyCameraDevice_nativeDetectTextureDimens(JNIEnv* env, jobject thiz, jobject surfaceTexture, jintArray dimens) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DTextView.java1954 private int[] parseDimensionArray(TypedArray dimens) { argument
1955 if (dimens == null) {
1958 int[] result = new int[dimens.length()];
1960 result[i] = dimens.getDimensionPixelSize(i, 0);

Completed in 32 milliseconds