Searched refs:sizes (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
H A DDynamicLayoutBlocksTest.java69 private void assertState(int[] sizes, int[] indices) { argument
72 assertEquals(sizes.length, dl.getNumberOfBlocks());
75 int[] ends = new int[sizes.length];
77 ends[i] = i == 0 ? (sizes[0] == 0 ? 0 : sizes[0] - 1) : ends[i - 1] + sizes[i];
86 private void assertState(int[] sizes) { argument
87 int[] ids = new int[sizes.length];
88 for (int i = 0; i < sizes.length; i++) {
91 assertState(sizes, id
[all...]
/frameworks/av/include/camera/
H A DCameraParameters.h61 void getSupportedPreviewSizes(Vector<Size> &sizes) const;
76 // in pixels for video frames. If sizes returned from the method
81 void getSupportedVideoSizes(Vector<Size> &sizes) const;
84 // supported preview sizes returned from getSupportedPreviewSizes().
98 void getSupportedPictureSizes(Vector<Size> &sizes) const;
112 // Supported preview frame sizes in pixels.
163 // Supported EXIF thumbnail sizes (width x height). 0x0 means not thumbnail
440 // The width and height must be one of the supported sizes retrieved
461 // The width and height must be one of the supported sizes retrieved
/frameworks/av/camera/
H A DCameraParameters.cpp316 static void parseSizesList(const char *sizesStr, Vector<Size> &sizes) argument
329 ALOGE("Picture sizes string \"%s\" contains invalid character.", sizesStr);
332 sizes.push(Size(width, height));
365 void CameraParameters::getSupportedPreviewSizes(Vector<Size> &sizes) const
368 parseSizesList(previewSizesStr, sizes);
386 void CameraParameters::getSupportedVideoSizes(Vector<Size> &sizes) const
389 parseSizesList(videoSizesStr, sizes);
436 void CameraParameters::getSupportedPictureSizes(Vector<Size> &sizes) const
439 parseSizesList(pictureSizesStr, sizes);
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp215 * of the supported sizes.
218 * @param suppportedSizes the vector of sizes that we check against
245 * Query the camera to retrieve the supported video frame sizes
251 * @param sizes returns the vector of Size objects for the
252 * supported video frame sizes advertised by the camera.
257 Vector<Size>& sizes) {
260 params.getSupportedVideoSizes(sizes);
261 if (sizes.size() == 0) {
263 params.getSupportedPreviewSizes(sizes);
303 Vector<Size> sizes; local
254 getSupportedVideoSizes( const CameraParameters& params, bool *isSetVideoSizeSupported, Vector<Size>& sizes) argument
385 Vector<Size> sizes; local
[all...]
/frameworks/base/core/java/android/widget/
H A DGridLayout.java1364 int[] sizes = new int[N];
1366 sizes[arc.span.min]++;
1368 for (int i = 0; i < sizes.length; i++) {
1369 result[i] = new Arc[sizes[i]];
1371 // reuse the sizes array to hold the current last elements as we insert each arc
1372 Arrays.fill(sizes, 0);
1375 result[i][sizes[i]++] = arc;
1440 // Add ordering constraints to prevent row/col sizes from going negative
2673 the sizes. This tracks the maximum size of all the components -
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java1286 int[] sizes = new int[N];
1288 sizes[arc.span.min]++;
1290 for (int i = 0; i < sizes.length; i++) {
1291 result[i] = new Arc[sizes[i]];
1293 // reuse the sizes array to hold the current last elements as we insert each arc
1294 Arrays.fill(sizes, 0);
1297 result[i][sizes[i]++] = arc;
1361 // Add ordering constraints to prevent row/col sizes from going negative
2597 the sizes. This tracks the maximum size of all the components -

Completed in 1365 milliseconds