/packages/apps/Camera2/src/com/android/camera/settings/ |
CameraSettingsActivity.java | 91 // Selected resolutions for the different cameras and sizes. 126 // Load the camera sizes. 372 * @param oldPictureSizes The old selected picture sizes for small medium and large 373 * @param displayableSizes The human readable preferred sizes 405 * This method gets the selected picture sizes for S,M,L and populates 412 Log.w(TAG, "null deviceInfo, cannot display resolution sizes"); 418 List<Size> sizes = CameraPictureSizesCacher.getSizesForCamera(backCameraId, local 420 if (sizes != null) { 421 mOldPictureSizesBack = SettingsUtil.getSelectedCameraPictureSizes(sizes, 424 .getDisplayableSizesFromSupported(sizes, true) 435 List<Size> sizes = CameraPictureSizesCacher.getSizesForCamera(frontCameraId, local [all...] |
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
VideoChatTestActivity.java | 91 List<Camera.Size> sizes = params.getSupportedPreviewSizes(); local 94 logMessage("Sizes"); 95 for (Size size : sizes) {
|
/pdk/apps/CameraITS/service/src/com/android/camera2/its/ |
ItsSerializer.java | 135 Size sizes[] = map.getOutputSizes(fmts[fi]); local 136 if (sizes != null) { 137 for (int si = 0; si < Array.getLength(sizes); si++) { 140 obj.put("width",sizes[si].getWidth()); 141 obj.put("height", sizes[si].getHeight()); 144 map.getOutputMinFrameDuration(fmts[fi],sizes[si])); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
PhotoCaptureActivity.java | 131 // Stop camera until preview sizes have been obtained. 199 // Get the supported picture sizes and fill the spinner. 357 final List<Camera.Size> sizes = camera.getParameters() local 359 String[] choices = new String[sizes.size()]; 360 for (int i = 0; i < sizes.size(); ++i) { 361 Camera.Size size = sizes.get(i); 382 Camera.Size size = sizes.get(which);
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
CameraTestUtils.java | 506 * Get the available output sizes for the user-defined {@code format}. 521 if (VERBOSE) Log.v(TAG, "Supported sizes are: " + Arrays.deepToString(availableSizes)); 528 * <p>If two the areas of two sizes are same, compare the widths.</p> 539 * Get sorted size list in descending order. Remove the sizes larger than 548 * Get a sorted list of sizes from a given size list. 557 * @return The ordered list of sizes 576 * Get sorted (descending order) size list for given format. Remove the sizes larger than 582 Size[] sizes = getSupportedSizeForFormat(format, cameraId, cameraManager); local 586 for (Size sz : sizes) { 592 sortedSizes = Arrays.asList(sizes); 631 List<Size> sizes = getSupportedPreviewSizes(cameraId, cameraManager, null); local 649 List<Size> sizes = getSupportedPreviewSizes(cameraId, cameraManager, bound); local [all...] |
/external/chromium_org/cc/animation/ |
transform_operations_unittest.cc | 857 float sizes[] = { 0.f, 0.1f, sqrt_2, 2.f * sqrt_2 }; local 858 for (size_t i = 0; i < arraysize(sizes); ++i) { 859 box.set_size(sizes[i], sizes[i], 0.f); [all...] |
/external/chromium_org/chrome/browser/favicon/ |
favicon_handler_unittest.cc | 104 void SetImageSizes(const std::vector<int>& sizes) { 105 download_->image_sizes = sizes; } 111 const std::vector<int>& sizes, 116 image_sizes(sizes), 324 std::vector<int> sizes; variable 325 sizes.push_back(0); 327 download_id_, image_url, sizes, max_bitmap_size); 411 // - The favicons at |candidate_icons| have edge pixel sizes of 428 std::vector<int> sizes; local 429 sizes.push_back(candidate_icon_sizes[i]) 1323 std::vector<int> sizes; local 1375 std::vector<int> sizes; local [all...] |
/external/chromium_org/components/policy/core/common/ |
schema.cc | 43 // Sizes for the storage arrays. These are calculated in advance so that the 190 // Determines the expected |sizes| of the storage for the representation 193 StorageSizes* sizes); 287 // Determine the sizes of the storage arrays and reserve the capacity before 291 StorageSizes sizes; local 292 DetermineStorageSizes(schema, &sizes); 295 storage->strings_.reserve(sizes.strings); 296 storage->schema_nodes_.reserve(sizes.schema_nodes); 297 storage->property_nodes_.reserve(sizes.property_nodes); 298 storage->properties_nodes_.reserve(sizes.properties_nodes) [all...] |
/external/chromium_org/content/common/gpu/client/ |
gl_helper_unittest.cc | 1521 int sizes[] = {2, 4, 14}; local 1564 int sizes[] = {3, 6, 16}; local 1593 int sizes[] = {7, 99, 128, 256, 512, 719, 720, 721, 1920, 2011, 3217, 4096}; local [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vpx/src/ |
svc_encodeframe.c | 96 uint32_t sizes[SUPERFRAME_SLOTS]; member in struct:Superframe 204 int this_sz = sf->sizes[i]; 923 superframe.sizes[superframe.count++] = frame_pkt_size; [all...] |
/external/chromium_org/third_party/skia/src/ports/ |
SkFontConfigInterface_android.cpp | 463 SkTDArray<size_t> sizes; local 469 *sizes.append() = strlen(familyName) + 1; 476 sizes.begin(), names.count()); [all...] |
/external/chromium_org/ui/views/controls/table/ |
table_view.cc | 296 // recalculating column sizes. 687 std::vector<int> sizes = views::CalculateTableColumnSizes( local 691 DCHECK_EQ(visible_columns_.size(), sizes.size()); 695 visible_columns_[i].width = sizes[i]; 696 x += sizes[i];
|
/external/compiler-rt/lib/asan/tests/ |
asan_test.cc | 98 size_t sizes[] = {16, 1000, 10000, 100000, 2100000}; local 99 for (size_t s = 0; s < sizeof(sizes)/sizeof(sizes[0]); s++) { 100 size_t size = sizes[s]; [all...] |
/external/libvpx/libvpx/vpx/src/ |
svc_encodeframe.c | 96 uint32_t sizes[SUPERFRAME_SLOTS]; member in struct:Superframe 204 int this_sz = sf->sizes[i]; 922 superframe.sizes[superframe.count++] = frame_pkt_size; [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/ |
DefaultMp4Builder.java | 92 long[] sizes = new long[samples.size()]; local 93 for (int i = 0; i < sizes.length; i++) { 94 sizes[i] = samples.get(i).limit(); 96 putSampleSizes(track, sizes); 131 protected long[] putSampleSizes(Track track, long[] sizes) { 132 return track2SampleSizes.put(track, sizes); 493 * Gets the chunk sizes for the given track.
|
/external/opencv/cv/src/ |
cvhistogram.cpp | 45 cvCreateHist( int dims, int *sizes, CvHistType type, float** ranges, int uniform ) 55 if( !sizes ) 56 CV_ERROR( CV_HeaderIsNull, "Null <sizes> pointer" ); 65 CV_CALL( hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, 71 CV_CALL( hist->bins = cvCreateSparseMat( dims, sizes, CV_HIST_DEFAULT_TYPE )); 92 cvMakeHistHeaderForArray( int dims, int *sizes, CvHistogram *hist, 109 CV_CALL( hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, 429 CV_ERROR( CV_StsUnmatchedSizes, "The histograms have different sizes" ); 2385 int sizes[CV_MAX_DIM]; local 2462 int sizes[CV_MAX_DIM]; local [all...] |
/external/opencv/cxcore/src/ |
cxarray.cpp | 277 cvInitMatNDHeader( CvMatND* mat, int dims, const int* sizes, 296 if( !sizes ) 297 CV_ERROR( CV_StsNullPtr, "NULL <sizes> pointer" ); 305 if( sizes[i] <= 0 ) 306 CV_ERROR( CV_StsBadSize, "one of dimesion sizes is non-positive" ); 307 mat->dim[i].size = sizes[i]; 311 step *= sizes[i]; 335 cvCreateMatND( int dims, const int* sizes, int type ) 343 CV_CALL( arr = cvCreateMatNDHeader( dims, sizes, type )); 357 cvCreateMatNDHeader( int dims, const int* sizes, int type 392 int i, *sizes; local [all...] |
/external/opencv/ml/src/ |
ml_inner_functions.cpp | 925 // check parameter types and sizes 1164 int d, sizes[CV_MAX_DIM]; local [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
fpdf_page_func.cpp | 436 int sizes;
member in struct:__anon32285 489 m_pEncodeInfo[i].sizes = pSize->GetInteger(i);
491 m_pEncodeInfo[i].sizes = pDict->GetInteger(FX_BSTRC("Size"));
493 if (nTotalSamples > 0 && (FX_UINT32)(m_pEncodeInfo[i].sizes) > UINT_MAX / nTotalSamples) {
496 nTotalSamples *= m_pEncodeInfo[i].sizes;
502 if (m_pEncodeInfo[i].sizes == 1) {
505 m_pEncodeInfo[i].encode_max = (FX_FLOAT)m_pEncodeInfo[i].sizes - 1;
544 blocksize[i] = blocksize[i - 1] * m_pEncodeInfo[i - 1].sizes;
551 } else if (index[i] > m_pEncodeInfo[i].sizes - 1) {
552 index[i] = m_pEncodeInfo[i].sizes - 1; [all...] |
/external/skia/src/ports/ |
SkFontConfigInterface_android.cpp | 463 SkTDArray<size_t> sizes; local 469 *sizes.append() = strlen(familyName) + 1; 476 sizes.begin(), names.count()); [all...] |
/frameworks/av/services/camera/libcameraservice/ |
CameraService.cpp | 271 Vector<Size> sizes; local 276 shimParams.getSupportedPreviewSizes(/*out*/sizes); 287 size_t streamConfigSize = (sizes.size() * formats.size() + jpegSizes.size()) * INTS_PER_CONFIG; 293 for (size_t j = 0; j < sizes.size(); ++j) { 295 streamConfigs.add(sizes[j].width); 296 streamConfigs.add(sizes[j].height); [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
LegacyMetadataMapper.java | 259 * Implementation-defined (preview, recording, etc) -> use camera1 preview sizes 260 * YUV_420_888 cpu callbacks -> use camera1 preview sizes 261 * Other preview callbacks (CPU) -> use camera1 preview sizes 262 * JPEG still capture -> use camera1 still capture sizes 276 * - Work-around the HAL limitations by removing all of the largest preview sizes 293 // Now remove preview sizes from the end (largest->smallest) until aspect ratio matches 682 Size[] sizes = convertSizeListToArray(thumbnailSizes); local 683 Arrays.sort(sizes, new android.hardware.camera2.utils.SizeAreaComparator()); 684 m.set(JPEG_AVAILABLE_THUMBNAIL_SIZES, sizes); 1358 Size[] sizes = c.get(CameraCharacteristics.JPEG_AVAILABLE_THUMBNAIL_SIZES); local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/ |
svc_encodeframe.c | 96 uint32_t sizes[SUPERFRAME_SLOTS]; member in struct:Superframe 204 int this_sz = sf->sizes[i]; 922 superframe.sizes[superframe.count++] = frame_pkt_size; [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
PhotoModule.java | 560 List<Size> sizes = mCameraCapabilities.getSupportedPhotoSizes(); local 562 .getDisplayableSizesFromSupported(sizes, true); 588 // Use the largest 4x3 and 16x9 sizes as candidates for picture size selection. [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/ |
StaticMetadata.java | 496 * Get available thumbnail sizes and do the sanity check. 498 * @return The array of available thumbnail sizes 502 Size[] sizes = getValueFromKeyNonNull(key); local 503 final List<Size> sizeList = Arrays.asList(sizes); 514 checkTrueForKey(key, "Sizes should be in ascending order: Original " + sizeList.toString() 520 return sizes; 1136 Size[] sizes = new Size[utilSizes.length]; local [all...] |