Searched refs:Size (Results 1 - 25 of 182) sorted by relevance

12345678

/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DSize.java29 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 DCameraSettings.java45 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 DCameraCapabilities.java46 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 DAndroidCameraSettings.java42 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 DMarshalQueryableSize.java18 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 DSizeAreaComparator.java19 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 DSizeAreaComparator.java28 * 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 DLegacyRequest.java22 import android.util.Size;
35 public final Size previewSize;
48 Size previewSize, Camera.Parameters parameters) {
H A DParameterUtils.java30 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 DInstAlloc.c40 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 DSize.java24 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 DInstAlloc.h55 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 DCameraTooTest.java26 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 DHighSpeedVideoConfiguration.java24 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 DStreamConfiguration.java27 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 DStreamConfigurationDuration.java26 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 Dwrapper_input.h41 virtual off_t Size() = 0;
H A Dfile_wrapper_input.h39 virtual off_t Size();
H A Din_memory_wrapper_input.h39 virtual off_t Size();
/frameworks/base/media/java/android/media/
H A DImageUtils.java22 import android.util.Size;
110 Size srcSize = new Size(src.getWidth(), src.getHeight());
111 Size dstSize = new Size(dst.getWidth(), dst.getHeight());
148 Size effectivePlaneSize = getEffectivePlaneSizeForImage(src, i);
229 private static Size getEffectivePlaneSizeForImage(Image image, int planeIdx) {
235 return new Size(image.getWidth(), image.getHeight());
237 return new Size(image.getWidth() / 2, image.getHeight() / 2);
241 return new Size(imag
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dvertex_frame.h44 int Size() const;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraUtils.java69 * 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 DCameraTestUtils.java59 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 DColorSpace.java24 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 DParameters.h113 struct Size { struct in struct:android::camera2::Parameters
236 Size maxJpegSize;
378 Vector<Size> availablePreviewSizes;
379 Vector<Size> availableVideoSizes;
381 status_t getFilteredSizes(Size limit, Vector<Size> *sizes);
383 Size getMaxSizeForRatio(float ratio, const int32_t* sizeArray, size_t count);
405 int64_t getJpegStreamMinFrameDurationNs(Parameters::Size size);
409 int64_t getMinFrameDurationNs(Parameters::Size size, int format);
414 bool isFpsSupported(const Vector<Size>
[all...]

Completed in 1120 milliseconds

12345678