/frameworks/base/cmds/statsd/tests/metrics/ |
H A D | metrics_test_helper.cpp | 22 HashableDimensionKey dimension; local 24 dimension.addValue(FieldValue(Field(tagId, pos, 0), Value(value))); 26 return dimension;
|
/frameworks/opt/setupwizard/library/ |
H A D | rules.gradle | 21 dimension 'compat' 28 dimension 'compat'
|
/frameworks/support/navigation/integration-tests/safeargs-testapp/ |
H A D | build.gradle | 57 dimension "mode" 61 dimension "mode"
|
/frameworks/rs/script_api/ |
H A D | rs_for_each.spec | 61 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 D | rs_allocation_create.spec | 79 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 D | KMeans.java | 65 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 D | stats_log_util.h | 31 void writeDimensionToProto(const HashableDimensionKey& dimension, std::set<string> *str_set, 34 void writeDimensionLeafNodesToProto(const HashableDimensionKey& dimension,
|
H A D | stats_log_util.cpp | 233 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 D | statsd_test_util.cpp | 649 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 D | statsd_test_util.h | 214 DimensionsValue* dimension); 234 DimensionsValue* dimension);
|
/frameworks/ml/nn/runtime/ |
H A D | Manager.cpp | 110 for (uint32_t dimension : operand.dimensions) { 111 accumulator ^= dimension;
|
H A D | ExecutionPlan.cpp | 384 for (uint32_t dimension : operand.dimensions) { 385 if (dimension == 0) {
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | ZeroSizedTest.java | 28 * 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 D | InsetDrawable.java | 213 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 D | OffscreenBufferPool.h | 61 static uint32_t computeIdealDimension(uint32_t dimension);
|
H A D | OffscreenBufferPool.cpp | 103 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 D | ColorCutQuantizer.java | 55 * 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 D | ColorCutQuantizer.java | 36 * 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 D | Hwc2Test.cpp | 1554 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 D | TypedArrayTest.kt | 67 @Test fun dimension() {
|
/frameworks/ml/nn/runtime/test/ |
H A D | TestPartitioning.cpp | 366 for (auto& dimension : type.dimensions) { 367 dimension = 0;
|
/frameworks/support/app-toolkit/buildSrc/src/main/kotlin/androidx/build/ |
H A D | DiffAndDocs.kt | 143 it.dimension = "library-group"
|
/frameworks/support/buildSrc/src/main/kotlin/androidx/build/ |
H A D | DiffAndDocs.kt | 143 it.dimension = "library-group"
|
/frameworks/opt/setupwizard/tools/docs/ |
H A D | doclava.jar | META-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 D | RecyclerView.java | 8360 * <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...] |