Searched defs:dimension (Results 1 - 12 of 12) sorted by relevance

/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/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/libs/hwui/renderstate/
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/cmds/statsd/src/
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/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/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/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/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...]
/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/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...]
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DRecyclerView.java8951 * <p>If the RecyclerView can be scrolled in either dimension the caller may
9028 private static boolean isMeasurementUpToDate(int childSize, int spec, int dimension) { argument
9031 if (dimension > 0 && childSize != dimension) {
9050 * <p>If the RecyclerView can be scrolled in either dimension the caller may
9078 * Calculate a MeasureSpec value for measuring a child view in one dimension.
9084 * @param canScroll true if the parent RecyclerView can scroll in this dimension
9100 // MATCH_PARENT can't be applied since we can scroll in this dimension, wrap
9122 * Calculate a MeasureSpec value for measuring a child view in one dimension.
9129 * @param canScroll true if the parent RecyclerView can scroll in this dimension
[all...]
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...

Completed in 860 milliseconds