Home
last modified time | relevance | path

Searched refs:dimens (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyCameraDevice.java639 int[] dimens = new int[2]; in getSurfaceSize() local
640 LegacyExceptionUtils.throwOnError(nativeDetectSurfaceDimens(surface, /*out*/dimens)); in getSurfaceSize()
642 return new Size(dimens[0], dimens[1]); in getSurfaceSize()
833 int[] dimens = new int[2]; in getTextureSize() local
835 /*out*/dimens)); in getTextureSize()
837 return new Size(dimens[0], dimens[1]); in getTextureSize()
858 /*out*/int[/*2*/] dimens); in nativeDetectSurfaceDimens()
875 /*out*/int[/*2*/] dimens); in nativeDetectTextureDimens()
DSurfaceTextureRenderer.java266 Size dimens; in drawFrame() local
268 dimens = LegacyCameraDevice.getTextureSize(st); in drawFrame()
273 float texWidth = dimens.getWidth(); in drawFrame()
274 float texHeight = dimens.getHeight(); in drawFrame()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp481 jobject surface, jintArray dimens) { in LegacyCameraDevice_nativeDetectSurfaceDimens() argument
484 if (dimens == NULL) { in LegacyCameraDevice_nativeDetectSurfaceDimens()
489 if (env->GetArrayLength(dimens) < 2) { in LegacyCameraDevice_nativeDetectSurfaceDimens()
514 env->SetIntArrayRegion(dimens, /*start*/0, /*length*/ARRAY_SIZE(dimenBuf), dimenBuf); in LegacyCameraDevice_nativeDetectSurfaceDimens()
561 jobject surfaceTexture, jintArray dimens) { in LegacyCameraDevice_nativeDetectTextureDimens() argument
586 env->SetIntArrayRegion(dimens, /*start*/0, /*length*/ARRAY_SIZE(dimenBuf), dimenBuf); in LegacyCameraDevice_nativeDetectTextureDimens()
/frameworks/base/core/java/android/widget/
DTextView.java2100 private int[] parseDimensionArray(TypedArray dimens) { in parseDimensionArray() argument
2101 if (dimens == null) { in parseDimensionArray()
2104 int[] result = new int[dimens.length()]; in parseDimensionArray()
2106 result[i] = dimens.getDimensionPixelSize(i, 0); in parseDimensionArray()