Home
last modified time | relevance | path

Searched refs:dimension (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/rs/script_api/include/
Drs_for_each.rsh73 * over cells 4, 5, 6, and 7 in the X dimension, set xStart to 4 and xEnd to 8.
77 uint32_t xStart; // Starting index in the X dimension.
78 uint32_t xEnd; // Ending index (exclusive) in the X dimension.
79 uint32_t yStart; // Starting index in the Y dimension.
80 uint32_t yEnd; // Ending index (exclusive) in the Y dimension.
81 uint32_t zStart; // Starting index in the Z dimension.
82 uint32_t zEnd; // Ending index (exclusive) in the Z dimension.
83 uint32_t arrayStart; // Starting index in the Array0 dimension.
84 uint32_t arrayEnd; // Ending index (exclusive) in the Array0 dimension.
85 uint32_t array1Start; // Starting index in the Array1 dimension.
[all …]
Drs_object_info.rsh79 * Use rsGetDimHasFaces() to get the dimension of a currently running kernel.
92 * Use rsGetDimLod() to get the dimension of a currently running kernel.
100 * rsAllocationGetDimX: Size of the X dimension
102 * Returns the size of the X dimension of the Allocation.
104 * Use rsGetDimX() to get the dimension of a currently running kernel.
106 * Returns: X dimension of the Allocation.
112 * rsAllocationGetDimY: Size of the Y dimension
114 * Returns the size of the Y dimension of the Allocation. If the Allocation has less
117 * Use rsGetDimY() to get the dimension of a currently running kernel.
119 * Returns: Y dimension of the Allocation.
[all …]
/frameworks/ml/nn/common/operations/
DTile.cpp40 const M* multipliers, T* out_data, int dimension) { in TileOneDimension() argument
41 const int dimension_size = input_shape.dimensions[dimension]; in TileOneDimension()
42 if (dimension == input_shape.dimensions.size() - 1) { in TileOneDimension()
43 CopyMultipleTimes(in_data, dimension_size, multipliers[dimension], out_data); in TileOneDimension()
45 dimension_size * static_cast<int>(multipliers[dimension])); in TileOneDimension()
53 input_shape, copy_from_data, multipliers, copy_to_data, dimension + 1); in TileOneDimension()
59 CopyMultipleTimes(out_data, total_tiled_stride_size, multipliers[dimension] - 1, in TileOneDimension()
61 return std::make_pair(total_stride_size, total_tiled_stride_size * multipliers[dimension]); in TileOneDimension()
/frameworks/rs/script_api/
Drs_for_each.spec83 over cells 4, 5, 6, and 7 in the X dimension, set xStart to 4 and xEnd to 8.
236 summary: Index in the Array0 dimension for the specified kernel context
238 Returns the index in the Array0 dimension of the cell being processed, as specified
254 This function returns 0 if the Array0 dimension is not present.
262 summary: Index in the Array1 dimension for the specified kernel context
264 Returns the index in the Array1 dimension of the cell being processed, as specified
267 Returns 0 if the Array1 dimension is not present.
275 summary: Index in the Array2 dimension for the specified kernel context
277 Returns the index in the Array2 dimension of the cell being processed,
281 Returns 0 if the Array2 dimension is not present.
[all …]
Drs_allocation_create.spec89 dimX specifies the size of the X dimension.
91 dimY, if present and non-zero, indicates that the Y dimension is present and
94 dimZ, if present and non-zero, indicates that the Z dimension is present and
/frameworks/base/core/java/com/android/internal/ml/clustering/
DKMeans.java65 int dimension = inputData[0].length; in predict() local
69 Mean m = new Mean(dimension); in predict()
70 for (int j = 0; j < dimension; j++) { in predict()
124 final int dimension = inputData[0].length; in checkDataSetSanity() local
127 if (inputData[i] == null || inputData[i].length != dimension) { in checkDataSetSanity()
221 public Mean(int dimension) { in Mean() argument
222 mCentroid = new float[dimension]; in Mean()
/frameworks/base/cmds/statsd/tests/metrics/
Dmetrics_test_helper.cpp22 HashableDimensionKey dimension; in getMockedDimensionKey() local
24 dimension.addValue(FieldValue(Field(tagId, pos, 0), Value(value))); in getMockedDimensionKey()
26 return dimension; in getMockedDimensionKey()
/frameworks/base/cmds/statsd/tests/
Dstatsd_test_util.cpp652 DimensionsValue* dimension) { in backfillStringInDimension() argument
653 if (dimension->has_value_str_hash()) { in backfillStringInDimension()
654 auto it = str_map.find((uint64_t)(dimension->value_str_hash())); in backfillStringInDimension()
656 dimension->clear_value_str_hash(); in backfillStringInDimension()
657 dimension->set_value_str(it->second); in backfillStringInDimension()
660 (unsigned long long)dimension->value_str_hash()); in backfillStringInDimension()
662 } else if (dimension->has_value_tuple()) { in backfillStringInDimension()
663 auto value_tuple = dimension->mutable_value_tuple(); in backfillStringInDimension()
734 DimensionsValue* dimension) { in backfillDimensionPath() argument
735 dimension->set_field(path.field()); in backfillDimensionPath()
[all …]
Dstatsd_test_util.h214 DimensionsValue* dimension);
234 DimensionsValue* dimension);
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dimage_and_kernel.rsh6 // width-by-height is the dimension of a padded image with a margin.
9 // The dimension of the original unpadded image is
/frameworks/base/cmds/statsd/src/
Dstats_log_util.h32 void writeDimensionToProto(const HashableDimensionKey& dimension, std::set<string> *str_set,
35 void writeDimensionLeafNodesToProto(const HashableDimensionKey& dimension,
Dstats_log_util.cpp261 void writeDimensionToProto(const HashableDimensionKey& dimension, std::set<string> *str_set, in writeDimensionToProto() argument
263 if (dimension.getValues().size() == 0) { in writeDimensionToProto()
267 dimension.getValues()[0].mField.getTag()); in writeDimensionToProto()
270 writeDimensionToProtoHelper(dimension.getValues(), &index, 0, 0, str_set, protoOutput); in writeDimensionToProto()
274 void writeDimensionLeafNodesToProto(const HashableDimensionKey& dimension, in writeDimensionLeafNodesToProto() argument
278 if (dimension.getValues().size() == 0) { in writeDimensionLeafNodesToProto()
282 writeDimensionLeafToProtoHelper(dimension.getValues(), dimensionLeafFieldId, in writeDimensionLeafNodesToProto()
/frameworks/layoutlib/bridge/src/android/view/math/
DMath3DHelper.java534 public static float[] flatBound(float[] poly, int dimension) { in flatBound() argument
535 int polySize = poly.length/dimension; in flatBound()
542 float x = poly[i * dimension + 0]; in flatBound()
543 float y = poly[i * dimension + 1]; in flatBound()
564 public static void translate(float[] poly, float translateX, float translateY, int dimension) { in translate() argument
565 int polySize = poly.length/dimension; in translate()
568 poly[i * dimension + 0] += translateX; in translate()
569 poly[i * dimension + 1] += translateY; in translate()
/frameworks/base/graphics/java/android/graphics/drawable/
DInsetDrawable.java215 int dimension = a.getDimensionPixelOffset(index, 0); in getInset() local
216 if (dimension != 0) { in getInset()
217 return new InsetValue(0, dimension); in getInset()
394 public InsetValue(float fraction, int dimension) { in InsetValue() argument
396 mDimension = dimension; in InsetValue()
/frameworks/ml/nn/common/
DExecutionBurstServer.cpp130 for (uint32_t dimension : operand.dimensions) { in serialize() local
132 datum.operandDimensionValue(dimension); in serialize()
204 const uint32_t dimension = data[index].inputOperandDimensionValue(); in deserialize() local
208 dimensions.push_back(dimension); in deserialize()
245 const uint32_t dimension = data[index].outputOperandDimensionValue(); in deserialize() local
249 dimensions.push_back(dimension); in deserialize()
DExecutionBurstController.cpp94 for (uint32_t dimension : input.dimensions) { in serialize() local
96 datum.inputOperandDimensionValue(dimension); in serialize()
112 for (uint32_t dimension : output.dimensions) { in serialize() local
114 datum.outputOperandDimensionValue(dimension); in serialize()
189 const uint32_t dimension = data[index].operandDimensionValue(); in deserialize() local
193 dimensions.push_back(dimension); in deserialize()
/frameworks/compile/slang/tests/F_float3_v13/
Dstderr.txt.expect1 float3_v13.rs:9:10: error: structs containing vectors of dimension 3 cannot be exported at this API…
/frameworks/opt/setupwizard/library/
Drules.gradle21 dimension 'compat'
28 dimension 'compat'
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dqpisf_2s.tab51 * codebook vector dimension number of vectors *
1022 * codebook vector dimension number of vectors *
Dqisf_ns.tab47 * codebook vector dimension number of vectors *
/frameworks/base/core/tests/coretests/src/android/view/
DZeroSizedTest.java46 mWithDimension = activity.findViewById(R.id.dimension); in setUp()
/frameworks/ml/nn/runtime/
DTypeManager.cpp315 for (auto dimension : dimensions) { in getSizeOfData() local
316 size *= dimension; in getSizeOfData()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
DCarSetupWizardLayout.java664 float dimension = mPartnerConfigHelper.getDimension( in setButtonTextSize() local
667 if (dimension != 0) { in setButtonTextSize()
668 button.setTextSize(TypedValue.COMPLEX_UNIT_PX, dimension); in setButtonTextSize()
DCarSetupWizardBaseLayout.java653 float dimension = mPartnerConfigHelper.getDimension( in setButtonTextSize() local
656 if (dimension != 0) { in setButtonTextSize()
657 button.setTextSize(TypedValue.COMPLEX_UNIT_PX, dimension); in setButtonTextSize()
/frameworks/base/core/java/com/android/internal/graphics/palette/
DColorCutQuantizer.java423 static void modifySignificantOctet(final int[] a, final int dimension, in modifySignificantOctet() argument
425 switch (dimension) { in modifySignificantOctet()

12