/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | Size.java | 29 public class Size { class 34 * {@link android.hardware.Camera.Size}. 39 public static List<Size> buildListFromCameraSizes(List<Camera.Size> cameraSizes) { 40 ArrayList<Size> list = new ArrayList<Size>(cameraSizes.size()); 41 for (Camera.Size cameraSize : cameraSizes) { 42 list.add(new Size(cameraSize)); 48 * A helper method to build a list of this class from a list of {@link android.util.Size}. 53 public static List<Size> buildListFromAndroidSize 98 public Size(int width, int height) { method in class:Size 105 public Size(Size other) { method in class:Size 118 public Size(Camera.Size other) { method in class:Size 131 public Size(android.util.Size other) { method in class:Size 144 public Size(Point p) { method in class:Size [all...] |
H A D | CameraSettings.java | 45 protected Size mCurrentPreviewSize; 47 protected Size mCurrentPhotoSize; 61 protected Size mExifThumbnailSize; 125 (src.mCurrentPreviewSize == null ? null : new Size(src.mCurrentPreviewSize)); 128 (src.mCurrentPhotoSize == null ? null : new Size(src.mCurrentPhotoSize)); 224 public Size getCurrentPreviewSize() { 225 return new Size(mCurrentPreviewSize); 232 public boolean setPreviewSize(Size previewSize) { 238 mCurrentPreviewSize = new Size(previewSize); 265 public Size getCurrentPhotoSiz [all...] |
H A D | CameraCapabilities.java | 46 protected final ArrayList<Size> mSupportedPreviewSizes = new ArrayList<Size>(); 48 protected final ArrayList<Size> mSupportedVideoSizes = new ArrayList<Size>(); 49 protected final ArrayList<Size> mSupportedPhotoSizes = new ArrayList<Size>(); 57 protected Size mPreferredPreviewSizeForVideo; 525 public List<Size> getSupportedPhotoSizes() { 526 return new ArrayList<Size>(mSupportedPhotoSizes); 542 public final List<Size> getSupportedPreviewSize [all...] |
H A D | AndroidCameraSettings.java | 42 Camera.Size paramPreviewSize = params.getPreviewSize(); 43 setPreviewSize(new Size(paramPreviewSize.width, paramPreviewSize.height)); 70 Camera.Size paramPictureSize = params.getPictureSize(); 71 setPhotoSize(new Size(paramPictureSize.width, paramPictureSize.height));
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
H A D | MarshalQueryableSize.java | 18 import android.util.Size; 29 * Marshal {@link Size} to/from {@code TYPE_INT32} 31 public class MarshalQueryableSize implements MarshalQueryable<Size> { 34 private class MarshalerSize extends Marshaler<Size> { 35 protected MarshalerSize(TypeReference<Size> typeReference, int nativeType) { 40 public void marshal(Size value, ByteBuffer buffer) { 46 public Size unmarshal(ByteBuffer buffer) { 50 return new Size(width, height); 60 public Marshaler<Size> createMarshaler(TypeReference<Size> managedTyp [all...] |
/frameworks/base/core/java/android/hardware/camera2/utils/ |
H A D | SizeAreaComparator.java | 19 import android.util.Size; 28 * Comparator for {@link Size} objects by the area. 32 public class SizeAreaComparator implements Comparator<Size> { 37 public int compare(Size size, Size size2) { 58 * Get the largest {@code Size} from the list by comparing each size's area 66 public static Size findLargestByArea(List<Size> sizes) {
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | SizeAreaComparator.java | 28 * Comparator for api1 {@link Camera.Size} objects by the area. 33 public class SizeAreaComparator implements Comparator<Camera.Size> { 38 public int compare(Camera.Size size, Camera.Size size2) { 59 * Get the largest api1 {@code Camera.Size} from the list by comparing each size's area 67 public static Camera.Size findLargestByArea(List<Camera.Size> sizes) {
|
H A D | LegacyRequest.java | 22 import android.util.Size; 35 public final Size previewSize; 48 Size previewSize, Camera.Parameters parameters) {
|
H A D | ParameterUtils.java | 30 import android.util.Size; 236 public static Size convertSize(Camera.Size size) { 239 return new Size(size.width, size.height); 245 public static List<Size> convertSizeList(List<Camera.Size> sizeList) { 248 List<Size> sizes = new ArrayList<>(sizeList.size()); 249 for (Camera.Size s : sizeList) { 250 sizes.add(new Size(s.width, s.height)); 258 public static Size[] convertSizeListToArra [all...] |
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
H A D | InstAlloc.c | 40 Size - The size in bytes of the new added member 49 LVM_UINT32 Size ) 54 Size = ((Size + 3) & (LVM_UINT32)~3); /* Ceil the size to a multiple of four */ 56 pms->TotalSize += Size; 57 pms->pNextMember += Size; 118 * Description : This function reserves Size of 3 bytes for all memory regions and 142 LVM_UINT32 Size[], 148 NewMemberAddress = InstAlloc_AddMember(&pms[LVM_PERSISTENT_SLOW_DATA], Size[LVM_PERSISTENT_SLOW_DATA]); 150 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Size 141 InstAlloc_AddMemberAll( INST_ALLOC *pms, LVM_UINT32 Size[], LVM_MemoryTable_st *pMemoryTable) argument 176 InstAlloc_AddMemberAllRet( INST_ALLOC *pms, LVM_UINT32 Size[], void **ptr) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | Size.java | 24 public final class Size { class 26 * Create a new immutable Size instance. 31 public Size(int width, int height) { method in class:Size 72 if (obj instanceof Size) { 73 Size other = (Size) obj; 90 throw new NumberFormatException("Invalid Size: \"" + s + "\""); 100 * For any {@code Size s}: {@code Size.parseSize(s.toString()).equals(s)}. 105 * "<i>width</i>{@code *}<i>height</i>" {@code => new Size(widt [all...] |
/frameworks/av/media/libeffects/lvm/lib/Common/lib/ |
H A D | InstAlloc.h | 55 Size - The size in bytes of the new added member 63 void* InstAlloc_AddMember( INST_ALLOC *pms, LVM_UINT32 Size ); 76 LVM_UINT32 Size[], 80 LVM_UINT32 Size[],
|
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/ |
H A D | CameraTooTest.java | 26 import android.util.Size; 57 Size empty = new Size(0, 0), fatAndFlat = new Size(100, 0), tallAndThin = new Size(0, 100); 58 Size smallSquare = new Size(4, 4), horizRect = new Size(8, 2), vertRect = new Size(2, 8); 59 Size largeSquar [all...] |
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | HighSpeedVideoConfiguration.java | 24 import android.util.Size; 62 mSize = new Size(mWidth, mHeight); 106 * @return a Size with positive width and height 108 public Size getSize() { 170 private final Size mSize;
|
H A D | StreamConfiguration.java | 27 import android.util.Size; 102 * @return a Size with positive width and height 104 public Size getSize() { 105 return new Size(mWidth, mHeight);
|
H A D | StreamConfigurationDuration.java | 26 import android.util.Size; 97 * @return a Size with positive width and height 99 public Size getSize() { 100 return new Size(mWidth, mHeight);
|
/frameworks/compile/libbcc/bcinfo/include/bcinfo/Wrap/ |
H A D | wrapper_input.h | 41 virtual off_t Size() = 0;
|
H A D | file_wrapper_input.h | 39 virtual off_t Size();
|
H A D | in_memory_wrapper_input.h | 39 virtual off_t Size();
|
/frameworks/base/media/java/android/media/ |
H A D | ImageUtils.java | 22 import android.util.Size; 115 Size srcSize = new Size(src.getWidth(), src.getHeight()); 116 Size dstSize = new Size(dst.getWidth(), dst.getHeight()); 153 Size effectivePlaneSize = getEffectivePlaneSizeForImage(src, i); 235 private static Size getEffectivePlaneSizeForImage(Image image, int planeIdx) { 241 return new Size(image.getWidth(), image.getHeight()); 243 return new Size(image.getWidth() / 2, image.getHeight() / 2); 247 return new Size(imag [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | vertex_frame.h | 44 int Size() const;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | CameraUtils.java | 69 * Size comparator that compares the number of pixels it covers. 73 public static class LegacySizeComparator implements Comparator<Camera.Size> { 75 public int compare(Camera.Size lhs, Camera.Size rhs) {
|
H A D | CameraTestUtils.java | 59 import android.util.Size; 94 public static final Size SIZE_BOUND_1080P = new Size(1920, 1088); 95 public static final Size SIZE_BOUND_2160P = new Size(3840, 2160); 97 public static final Size PREVIEW_SIZE_BOUND = SIZE_BOUND_1080P; 175 public static ImageReader makeImageReader(Size size, int format, int maxNumImages, 247 private Size mSize; 250 public ImageVerifierListener(Size sz, int format) { 954 public static Size[] getSupportedSizeForForma [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | ColorSpace.java | 24 import android.annotation.Size; 810 Adaptation(@NonNull @Size(9) float[] transform) { 1048 @Size(3) 1073 @Size(min = 3) 1074 public abstract float[] toXyz(@NonNull @Size(min = 3) float[] v); 1090 @Size(min = 3) 1118 @Size(min = 3) 1119 public abstract float[] fromXyz(@NonNull @Size(min = 3) float[] v); 1296 @NonNull @Size(min = 2, max = 3) float[] whitePoint) { 1325 @NonNull @Size(mi [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.h | 113 struct Size { struct in struct:android::camera2::Parameters 238 Size maxJpegSize; 380 Vector<Size> availablePreviewSizes; 381 Vector<Size> availableVideoSizes; 383 status_t getFilteredSizes(Size limit, Vector<Size> *sizes); 385 Size getMaxSizeForRatio(float ratio, const int32_t* sizeArray, size_t count); 407 int64_t getJpegStreamMinFrameDurationNs(Parameters::Size size); 411 int64_t getMinFrameDurationNs(Parameters::Size size, int format); 416 bool isFpsSupported(const Vector<Size> [all...] |