/frameworks/base/core/tests/coretests/src/android/text/ |
D | DynamicLayoutBlocksTest.java | 81 private void assertState(int[] sizes, int[] indices) { in assertState() argument 84 assertEquals(sizes.length, dl.getNumberOfBlocks()); in assertState() 87 int[] ends = new int[sizes.length]; in assertState() 89 ends[i] = i == 0 ? (sizes[0] == 0 ? 0 : sizes[0] - 1) : ends[i - 1] + sizes[i]; in assertState() 98 private void assertState(int[] sizes) { in assertState() argument 99 int[] ids = new int[sizes.length]; in assertState() 100 for (int i = 0; i < sizes.length; i++) { in assertState() 103 assertState(sizes, ids); in assertState()
|
/frameworks/rs/ |
D | rsClosure.cpp | 15 const int* sizes, size_t sizes_length, in rsi_ClosureCreate() argument 26 sizes, (const Closure**)depClosures, in rsi_ClosureCreate() 36 const int* sizes, const size_t sizes_length) { in rsi_InvokeClosureCreate() argument 41 sizes); in rsi_InvokeClosureCreate() 64 const int* sizes, in Closure() argument 82 mGlobals[fieldIDs[i]] = make_pair(values[i], sizes[i]); in Closure() 115 const int64_t* values, const int* sizes) : in Closure() argument 122 mGlobals[fieldIDs[i]] = make_pair(values[i], sizes[i]); in Closure()
|
D | rsClosure.h | 28 const int* sizes, // size for data type. -1 indicates an allocation. 38 const int* sizes); // size for data type. -1 indicates an allocation.
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | SizeAreaComparator.java | 66 public static Size findLargestByArea(List<Size> sizes) { in findLargestByArea() argument 67 checkNotNull(sizes, "sizes must not be null"); in findLargestByArea() 69 return Collections.max(sizes, new SizeAreaComparator()); in findLargestByArea()
|
/frameworks/layoutlib/bridge/src/android/view/shadow/ |
D | SpotShadowTriangulator.java | 46 int[] sizes = SpotShadowVertexCalculator.getStripSizes(mShadowConfig.getPolyLength()); in triangulate() local 47 for (int i = 0; i < sizes.length; ++i) { in triangulate() 48 mStrips[i] = new float[3 * sizes[i]]; in triangulate()
|
/frameworks/av/camera/ |
D | CameraParameters2.cpp | 211 static void parseSizesList(const char *sizesStr, Vector<Size> &sizes) in parseSizesList() argument 227 sizes.push(Size(width, height)); in parseSizesList() 260 void CameraParameters2::getSupportedPreviewSizes(Vector<Size> &sizes) const in getSupportedPreviewSizes() 263 parseSizesList(previewSizesStr, sizes); in getSupportedPreviewSizes() 281 void CameraParameters2::getSupportedVideoSizes(Vector<Size> &sizes) const in getSupportedVideoSizes() 284 parseSizesList(videoSizesStr, sizes); in getSupportedVideoSizes() 337 void CameraParameters2::getSupportedPictureSizes(Vector<Size> &sizes) const in getSupportedPictureSizes() 340 parseSizesList(pictureSizesStr, sizes); in getSupportedPictureSizes()
|
D | CameraParameters.cpp | 323 static void parseSizesList(const char *sizesStr, Vector<Size> &sizes) in parseSizesList() argument 339 sizes.push(Size(width, height)); in parseSizesList() 372 void CameraParameters::getSupportedPreviewSizes(Vector<Size> &sizes) const in getSupportedPreviewSizes() 375 parseSizesList(previewSizesStr, sizes); in getSupportedPreviewSizes() 393 void CameraParameters::getSupportedVideoSizes(Vector<Size> &sizes) const in getSupportedVideoSizes() 396 parseSizesList(videoSizesStr, sizes); in getSupportedVideoSizes() 443 void CameraParameters::getSupportedPictureSizes(Vector<Size> &sizes) const in getSupportedPictureSizes() 446 parseSizesList(pictureSizesStr, sizes); in getSupportedPictureSizes()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | StreamConfigurationMap.java | 823 Size[] sizes = new Size[sizeCount]; in getHighSpeedVideoSizesFor() local 827 sizes[i++] = config.getSize(); in getHighSpeedVideoSizesFor() 830 return sizes; in getHighSpeedVideoSizesFor() 1516 Size[] sizes = new Size[sizesCount]; in getInternalFormatSizes() local 1551 sizes[sizeIndex++] = config.getSize(); in getInternalFormatSizes() 1566 sizes = new Size[0]; in getInternalFormatSizes() 1568 sizes = Arrays.copyOf(sizes, sizeIndex); in getInternalFormatSizes() 1575 return sizes; in getInternalFormatSizes() 1768 Size[] sizes = getOutputSizes(format); in appendOutputsString() local 1769 for (Size size : sizes) { in appendOutputsString() [all …]
|
D | MandatoryStreamCombination.java | 1004 List<Size> sizes = new ArrayList<Size>(); in getAvailableMandatoryConcurrentStreamCombinations() local 1019 sizes.add(sizeChosen); in getAvailableMandatoryConcurrentStreamCombinations() 1021 streamInfo = new MandatoryStreamInformation(sizes, template.mFormat, in getAvailableMandatoryConcurrentStreamCombinations() 1152 List<Size> sizes = new ArrayList<Size>(); in createUHSensorMandatoryStreamCombination() local 1166 sizes.add(getMaxSize(sm.getOutputSizes(formatChosen))); in createUHSensorMandatoryStreamCombination() 1170 sizes = availableDefaultRawSizes; in createUHSensorMandatoryStreamCombination() 1175 sizes = availableDefaultNonRawSizes.get(pair); in createUHSensorMandatoryStreamCombination() 1180 streamInfo = new MandatoryStreamInformation(sizes, formatChosen, in createUHSensorMandatoryStreamCombination() 1398 List<Size> sizes = null; in generateAvailableCombinations() local 1400 sizes = availableRawSizes; in generateAvailableCombinations() [all …]
|
/frameworks/av/camera/include/camera/ |
D | CameraParameters2.h | 68 void getSupportedPreviewSizes(Vector<Size> &sizes) const; 88 void getSupportedVideoSizes(Vector<Size> &sizes) const; 106 void getSupportedPictureSizes(Vector<Size> &sizes) const;
|
D | CameraParameters.h | 61 void getSupportedPreviewSizes(Vector<Size> &sizes) const; 81 void getSupportedVideoSizes(Vector<Size> &sizes) const; 98 void getSupportedPictureSizes(Vector<Size> &sizes) const;
|
/frameworks/base/packages/services/CameraExtensionsProxy/src/com/android/cameraextensions/ |
D | CameraExtensionsProxyService.java | 497 List<Pair<Integer, android.util.Size[]>> sizes) { in initializeParcelable() argument 498 if (sizes == null) { in initializeParcelable() 501 ArrayList<SizeList> ret = new ArrayList<>(sizes.size()); in initializeParcelable() 502 for (Pair<Integer, Size[]> entry : sizes) { in initializeParcelable() 505 sizeList.sizes = new ArrayList<>(); in initializeParcelable() 511 sizeList.sizes.add(sz); in initializeParcelable() 519 Map<Integer, List<android.util.Size>> sizes) { in initializeParcelable() argument 520 if (sizes == null) { in initializeParcelable() 523 ArrayList<SizeList> ret = new ArrayList<>(sizes.size()); in initializeParcelable() 524 for (Map.Entry<Integer, List<android.util.Size>> entry : sizes.entrySet()) { in initializeParcelable() [all …]
|
/frameworks/av/media/libstagefright/ |
D | CameraSource.cpp | 220 Vector<Size>& sizes) { in getSupportedVideoSizes() argument 223 params.getSupportedVideoSizes(sizes); in getSupportedVideoSizes() 224 if (sizes.size() == 0) { in getSupportedVideoSizes() 226 params.getSupportedPreviewSizes(sizes); in getSupportedVideoSizes() 266 Vector<Size> sizes; in configureCamera() local 268 getSupportedVideoSizes(*params, &isSetVideoSizeSupportedByCamera, sizes); in configureCamera() 271 if (!isVideoSizeSupported(width, height, sizes)) { in configureCamera() 348 Vector<Size> sizes; in checkVideoSize() local 349 params.getSupportedVideoSizes(sizes); in checkVideoSize() 350 if (sizes.size() == 0) { in checkVideoSize()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 1078 List<Size> sizes = new ArrayList<Size>(); in getSupportedPreviewSizes() local 1081 sizes.add(sz); in getSupportedPreviewSizes() 1084 return getAscendingOrderSizes(sizes, /*ascending*/false); in getSupportedPreviewSizes() 1122 Size[] sizes = getSupportedSizeForFormat(format, cameraId, cameraManager); in getSortedSizesForFormat() local 1126 for (Size sz : sizes) { in getSortedSizesForFormat() 1132 sortedSizes = Arrays.asList(sizes); in getSortedSizesForFormat() 1166 List<Size> sizes = new ArrayList<Size>(); in getSupportedVideoSizes() local 1169 sizes.add(sz); in getSupportedVideoSizes() 1172 return getAscendingOrderSizes(sizes, /*ascending*/false); in getSupportedVideoSizes() 1190 List<Size> sizes = getSupportedPreviewSizes(cameraId, cameraManager, null); in getMinPreviewSize() local [all …]
|
D | StaticMetadata.java | 554 Size[] sizes = getValueFromKeyNonNull(key); in getAvailableThumbnailSizesChecked() local 555 final List<Size> sizeList = Arrays.asList(sizes); in getAvailableThumbnailSizesChecked() 572 return sizes; in getAvailableThumbnailSizesChecked() 1370 Size[] sizes = null; in getAvailableSizesForFormatChecked() local 1383 sizes = new Size[slowSizeList.length + fastSizeList.length]; in getAvailableSizesForFormatChecked() 1384 System.arraycopy(fastSizeList, 0, sizes, 0, fastSizeList.length); in getAvailableSizesForFormatChecked() 1385 … System.arraycopy(slowSizeList, 0, sizes, fastSizeList.length, slowSizeList.length); in getAvailableSizesForFormatChecked() 1387 sizes = fastSizeList; in getAvailableSizesForFormatChecked() 1389 sizes = slowSizeList; in getAvailableSizesForFormatChecked() 1393 sizes = config.getInputSizes(format); in getAvailableSizesForFormatChecked() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | ScriptGroup.java | 133 int[] sizes = new int[numValues]; in Closure() local 141 values, sizes, depClosures, depFieldIDs); in Closure() 148 values, sizes, depClosures, depFieldIDs); in Closure() 153 fieldIDs, values, sizes, depClosures, depFieldIDs); in Closure() 173 int[] sizes = new int[numValues]; in Closure() local 183 sizes, depClosures, depFieldIDs); in Closure() 188 values, sizes); in Closure() 214 long[] values, int[] sizes, in retrieveValueAndDependenceInfo() argument 237 sizes[index] = 0; in retrieveValueAndDependenceInfo() 241 sizes[index] = vs.size; in retrieveValueAndDependenceInfo()
|
/frameworks/base/core/java/android/hardware/camera2/extension/ |
D | SizeList.aidl | 24 List<Size> sizes;
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | Size.java | 67 public static String listToString(List<Size> sizes) { in listToString() argument 69 for (Size s : sizes) { in listToString()
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | CameraProviderManagerTest.cpp | 297 int32_t sizes[] = { HAL_PIXEL_FORMAT_BLOB, in TEST() local 299 meta.update(ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS, sizes, in TEST() 300 sizeof(sizes) / sizeof(sizes[0])); in TEST() 301 sizes[0] = HAL_PIXEL_FORMAT_Y16; in TEST() 302 meta.update(ANDROID_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS, sizes, in TEST() 303 sizeof(sizes) / sizeof(sizes[0])); in TEST()
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | ScriptGroup.java | 146 int[] sizes = new int[numValues]; in Closure() local 154 values, sizes, depClosures, depFieldIDs); in Closure() 161 values, sizes, depClosures, depFieldIDs); in Closure() 166 fieldIDs, values, sizes, depClosures, depFieldIDs); in Closure() 189 int[] sizes = new int[numValues]; in Closure() local 199 sizes, depClosures, depFieldIDs); in Closure() 204 values, sizes); in Closure() 211 long[] values, int[] sizes, in retrieveValueAndDependenceInfo() argument 234 sizes[index] = 0; in retrieveValueAndDependenceInfo() 238 sizes[index] = vs.size; in retrieveValueAndDependenceInfo()
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.cpp | 1894 struct external_sizes sizes = {}; in getExternalSizesForUserWithQuota() local 1900 sizes.totalSize = space; in getExternalSizesForUserWithQuota() 1905 sizes.audioSize = space; in getExternalSizesForUserWithQuota() 1910 sizes.videoSize = space; in getExternalSizesForUserWithQuota() 1915 sizes.imageSize = space; in getExternalSizesForUserWithQuota() 1919 sizes.obbSize = space; in getExternalSizesForUserWithQuota() 1932 sizes.audioSize = space; in getExternalSizesForUserWithQuota() 1938 sizes.videoSize = space; in getExternalSizesForUserWithQuota() 1944 sizes.imageSize = space; in getExternalSizesForUserWithQuota() 1970 sizes.totalSize = totalSize; in getExternalSizesForUserWithQuota() [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_reflect/ |
D | reduce_general_reflect.rscript | 20 // Arrays of different sizes are reflected separately
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | Parameters.cpp | 2986 status_t Parameters::getFilteredSizes(Size limit, Vector<Size> *sizes) { in getFilteredSizes() argument 2991 if (sizes == NULL) { in getFilteredSizes() 2995 sizes->clear(); in getFilteredSizes() 3009 sizes->push({sc.width, sc.height}); in getFilteredSizes() 3013 if (sizes->isEmpty()) { in getFilteredSizes() 3046 Parameters::Size Parameters::getMaxSize(const Vector<Parameters::Size> &sizes) { in getMaxSize() argument 3048 for (size_t i = 0; i < sizes.size(); i++) { in getMaxSize() 3049 if (sizes[i].width > maxSize.width || in getMaxSize() 3050 (sizes[i].width == maxSize.width && sizes[i].height > maxSize.height )) { in getMaxSize() 3051 maxSize = sizes[i]; in getMaxSize() [all …]
|
/frameworks/av/media/ndk/ |
D | NdkMediaExtractor.cpp | 54 size_t *sizes = (size_t *)sizebuf->data(); in U32ArrayToSizeBuf() local 55 for (size_t i = 0; sizes != NULL && i < numSubSamples; i++) { in U32ArrayToSizeBuf() 56 sizes[i] = data[i]; in U32ArrayToSizeBuf()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataConnection.java | 1477 String sizes = null; in updateTcpBufferSizes() local 1509 sizes = split[1]; in updateTcpBufferSizes() 1514 if (sizes == null) { in updateTcpBufferSizes() 1520 sizes = TCP_BUFFER_SIZES_GPRS; in updateTcpBufferSizes() 1523 sizes = TCP_BUFFER_SIZES_EDGE; in updateTcpBufferSizes() 1526 sizes = TCP_BUFFER_SIZES_UMTS; in updateTcpBufferSizes() 1529 sizes = TCP_BUFFER_SIZES_1XRTT; in updateTcpBufferSizes() 1534 sizes = TCP_BUFFER_SIZES_EVDO; in updateTcpBufferSizes() 1537 sizes = TCP_BUFFER_SIZES_EHRPD; in updateTcpBufferSizes() 1540 sizes = TCP_BUFFER_SIZES_HSDPA; in updateTcpBufferSizes() [all …]
|