Searched refs:dimension (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/base/cmds/statsd/tests/metrics/
H A Dmetrics_test_helper.cpp22 HashableDimensionKey dimension; local
24 dimension.addValue(FieldValue(Field(tagId, pos, 0), Value(value)));
26 return dimension;
/frameworks/opt/setupwizard/library/
H A Drules.gradle21 dimension 'compat'
28 dimension 'compat'
/frameworks/support/navigation/integration-tests/safeargs-testapp/
H A Dbuild.gradle57 dimension "mode"
61 dimension "mode"
/frameworks/rs/script_api/
H A Drs_for_each.spec61 field: uint32_t xStart, "Starting index in the X dimension."
62 field: uint32_t xEnd, "Ending index (exclusive) in the X dimension."
63 field: uint32_t yStart, "Starting index in the Y dimension."
64 field: uint32_t yEnd, "Ending index (exclusive) in the Y dimension."
65 field: uint32_t zStart, "Starting index in the Z dimension."
66 field: uint32_t zEnd, "Ending index (exclusive) in the Z dimension."
67 field: uint32_t arrayStart, "Starting index in the Array0 dimension."
68 field: uint32_t arrayEnd, "Ending index (exclusive) in the Array0 dimension."
69 field: uint32_t array1Start, "Starting index in the Array1 dimension."
70 field: uint32_t array1End, "Ending index (exclusive) in the Array1 dimension
[all...]
H A Drs_allocation_create.spec79 arg: uint32_t dimX, "Size along the X dimension"
80 arg: uint32_t dimY, "Size along the Y dimension"
81 arg: uint32_t dimZ, "Size along the Z dimension"
89 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/
H A DKMeans.java65 int dimension = inputData[0].length;
69 Mean m = new Mean(dimension);
70 for (int j = 0; j < dimension; j++) {
124 final int dimension = inputData[0].length;
127 if (inputData[i] == null || inputData[i].length != dimension) {
221 public Mean(int dimension) { argument
222 mCentroid = new float[dimension];
/frameworks/base/cmds/statsd/src/
H A Dstats_log_util.h31 void writeDimensionToProto(const HashableDimensionKey& dimension, std::set<string> *str_set,
34 void writeDimensionLeafNodesToProto(const HashableDimensionKey& dimension,
H A Dstats_log_util.cpp233 void writeDimensionToProto(const HashableDimensionKey& dimension, std::set<string> *str_set, argument
235 if (dimension.getValues().size() == 0) {
239 dimension.getValues()[0].mField.getTag());
242 writeDimensionToProtoHelper(dimension.getValues(), &index, 0, 0, str_set, protoOutput);
246 void writeDimensionLeafNodesToProto(const HashableDimensionKey& dimension, argument
250 if (dimension.getValues().size() == 0) {
254 writeDimensionLeafToProtoHelper(dimension.getValues(), dimensionLeafFieldId,
/frameworks/base/cmds/statsd/tests/
H A Dstatsd_test_util.cpp649 DimensionsValue* dimension) {
650 if (dimension->has_value_str_hash()) {
651 auto it = str_map.find((uint64_t)(dimension->value_str_hash()));
653 dimension->clear_value_str_hash();
654 dimension->set_value_str(it->second);
657 (unsigned long long)dimension->value_str_hash());
659 } else if (dimension->has_value_tuple()) {
660 auto value_tuple = dimension->mutable_value_tuple();
731 DimensionsValue* dimension) {
732 dimension
648 backfillStringInDimension(const std::map<uint64_t, string>& str_map, DimensionsValue* dimension) argument
728 backfillDimensionPath(const DimensionsValue& path, const google::protobuf::RepeatedPtrField<DimensionsValue>& leafValues, int* leafIndex, DimensionsValue* dimension) argument
751 backfillDimensionPath(const DimensionsValue& path, const google::protobuf::RepeatedPtrField<DimensionsValue>& leafValues, DimensionsValue* dimension) argument
[all...]
H A Dstatsd_test_util.h214 DimensionsValue* dimension);
234 DimensionsValue* dimension);
/frameworks/ml/nn/runtime/
H A DManager.cpp110 for (uint32_t dimension : operand.dimensions) {
111 accumulator ^= dimension;
H A DExecutionPlan.cpp384 for (uint32_t dimension : operand.dimensions) {
385 if (dimension == 0) {
/frameworks/base/core/tests/coretests/src/android/view/
H A DZeroSizedTest.java28 * Builds the drawing cache of Views of various dimension. The assumption is that
29 * a View with a 0-sized dimension (width or height) will always have a null
47 mWithDimension = activity.findViewById(R.id.dimension);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DInsetDrawable.java213 int dimension = a.getDimensionPixelOffset(index, 0);
214 if (dimension != 0) {
215 return new InsetValue(0, dimension);
393 public InsetValue(float fraction, int dimension) { argument
395 mDimension = dimension;
/frameworks/base/libs/hwui/renderstate/
H A DOffscreenBufferPool.h61 static uint32_t computeIdealDimension(uint32_t dimension);
H A DOffscreenBufferPool.cpp103 uint32_t OffscreenBuffer::computeIdealDimension(uint32_t dimension) { argument
104 return uint32_t(ceilf(dimension / float(LAYER_SIZE)) * LAYER_SIZE);
/frameworks/base/core/java/com/android/internal/graphics/palette/
H A DColorCutQuantizer.java55 * The color space is represented as a 3-dimensional cube with each dimension being an RGB
312 * Split this color box at the mid-point along its longest dimension
321 // find median along the longest dimension
334 * @return the dimension which this box is largest in
353 * This is calculated by finding the longest color dimension, and then sorting the
354 * sub-array based on that dimension value in each color. The colors are then iterated over
355 * until a color is found with at least the midpoint of the whole box's dimension midpoint.
364 // We need to sort the colors in this box based on the longest color dimension.
366 // its most significant is the desired dimension
423 static void modifySignificantOctet(final int[] a, final int dimension, argument
[all...]
/frameworks/support/palette/src/main/java/androidx/palette/graphics/
H A DColorCutQuantizer.java36 * The color space is represented as a 3-dimensional cube with each dimension being an RGB
295 * Split this color box at the mid-point along its longest dimension
304 // find median along the longest dimension
317 * @return the dimension which this box is largest in
336 * This is calculated by finding the longest color dimension, and then sorting the
337 * sub-array based on that dimension value in each color. The colors are then iterated over
338 * until a color is found with at least the midpoint of the whole box's dimension midpoint.
347 // We need to sort the colors in this box based on the longest color dimension.
349 // its most significant is the desired dimension
406 static void modifySignificantOctet(final int[] a, final int dimension, argument
[all...]
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2Test.cpp1554 const UnsignedArea& dimension = local
1558 ASSERT_NO_FATAL_FAILURE(createVirtualDisplay(dimension.width,
1559 dimension.height, &desiredFormat, &display, &err));
1794 const UnsignedArea& dimension = local
1796 ASSERT_NO_FATAL_FAILURE(createVirtualDisplay(dimension.width,
1797 dimension.height, &desiredFormat, &display, &err));
1881 int threshold = (dimension.width * dimension.height) / 100;
1883 (dimension.width * dimension
4516 const UnsignedArea& dimension = local
[all...]
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/content/res/
H A DTypedArrayTest.kt67 @Test fun dimension() {
/frameworks/ml/nn/runtime/test/
H A DTestPartitioning.cpp366 for (auto& dimension : type.dimensions) {
367 dimension = 0;
/frameworks/support/app-toolkit/buildSrc/src/main/kotlin/androidx/build/
H A DDiffAndDocs.kt143 it.dimension = "library-group"
/frameworks/support/buildSrc/src/main/kotlin/androidx/build/
H A DDiffAndDocs.kt143 it.dimension = "library-group"
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...
/frameworks/base/core/java/com/android/internal/widget/
H A DRecyclerView.java8360 * <p>If the RecyclerView can be scrolled in either dimension the caller may
8437 private static boolean isMeasurementUpToDate(int childSize, int spec, int dimension) { argument
8440 if (dimension > 0 && childSize != dimension) {
8459 * <p>If the RecyclerView can be scrolled in either dimension the caller may
8487 * Calculate a MeasureSpec value for measuring a child view in one dimension.
8493 * @param canScroll true if the parent RecyclerView can scroll in this dimension
8509 // MATCH_PARENT can't be applied since we can scroll in this dimension, wrap
8531 * Calculate a MeasureSpec value for measuring a child view in one dimension.
8538 * @param canScroll true if the parent RecyclerView can scroll in this dimension
[all...]

Completed in 2745 milliseconds

12