Home
last modified time | relevance | path

Searched full:anchors (Results 1 – 25 of 1056) sorted by relevance

12345678910>>...43

/aosp_15_r20/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/material/
H A DSwipeable.kt124 internal var anchors by mutableStateOf(emptyMap<Float, T>()) variable
127 snapshotFlow { anchors } in <lambda>()
135 if (anchors.isEmpty()) { in ensureInit()
151 // If this is the first time that we receive anchors, then we need to initialise in processNewAnchors()
161 // If we have received new anchors, then the offset of the current value might in processNewAnchors()
163 // has been removed from the anchors then we animate to the closest anchor in processNewAnchors()
173 // return new state if exists, or find the closes one among new anchors in processNewAnchors()
176 // we're not animating, proceed by finding the new anchors for an old value in processNewAnchors()
246 lastValue = anchors.getOffset(currentValue) ?: offset.value,
247 anchors = anchors.keys,
[all …]
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/ui/viewmodel/
H A DResizeableItemFrameViewModelTest.kt73 assertThat(topState.anchors.toList()).containsExactly(0 to 0f) in testDefaultState()
78 assertThat(bottomState.anchors.toList()).containsExactly(0 to 0f) in testDefaultState()
88 assertThat(topState.anchors.toList()).containsExactly(0 to 0f) in testSingleSpanGrid()
92 assertThat(bottomState.anchors.toList()).containsExactly(0 to 0f) in testSingleSpanGrid()
105 assertThat(topState.anchors.toList()).containsExactly(0 to 0f) in testTwoSpanGrid_elementInFirstRow_sizeSingleSpan()
109 assertThat(bottomState.anchors.toList()).containsExactly(0 to 0f, 1 to 45f) in testTwoSpanGrid_elementInFirstRow_sizeSingleSpan()
122 assertThat(topState.anchors.toList()).containsExactly(0 to 0f, -1 to -45f) in testTwoSpanGrid_elementInSecondRow_sizeSingleSpan()
126 assertThat(bottomState.anchors.toList()).containsExactly(0 to 0f) in testTwoSpanGrid_elementInSecondRow_sizeSingleSpan()
141 assertThat(topState.anchors.toList()).containsExactly(0 to 0f) in testTwoSpanGrid_elementInFirstRow_sizeTwoSpan()
145 assertThat(bottomState.anchors.toList()).containsExactly(-1 to -45f, 0 to 0f) in testTwoSpanGrid_elementInFirstRow_sizeTwoSpan()
[all …]
/aosp_15_r20/external/ComputeLibrary/src/core/CL/kernels/
H A DCLGenerateProposalsLayerKernel.cpp42 Status validate_arguments(const ITensorInfo *anchors, const ITensorInfo *all_anchors, const Compute… in validate_arguments() argument
44 ARM_COMPUTE_RETURN_ERROR_ON_NULLPTR(anchors, all_anchors); in validate_arguments()
45 ARM_COMPUTE_RETURN_ERROR_ON_F16_UNSUPPORTED(anchors); in validate_arguments()
46 ARM_COMPUTE_RETURN_ERROR_ON(anchors->dimension(0) != info.values_per_roi()); in validate_arguments()
47 …ARM_COMPUTE_RETURN_ERROR_ON_DATA_TYPE_NOT_IN(anchors, DataType::QSYMM16, DataType::F16, DataType::… in validate_arguments()
48 ARM_COMPUTE_RETURN_ERROR_ON(anchors->num_dimensions() > 2); in validate_arguments()
53 size_t num_anchors = anchors->dimension(1); in validate_arguments()
54 ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_TYPES(all_anchors, anchors); in validate_arguments()
59 if(is_data_type_quantized(anchors->data_type())) in validate_arguments()
61 ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_QUANTIZATION_INFO(anchors, all_anchors); in validate_arguments()
[all …]
H A DCLGenerateProposalsLayerKernel.h32 /** Interface for Compute All Anchors kernel */
51 …* @param[in] anchors Source tensor. Original set of anchors of size (4, A), where A is the nu…
52 …ensor. Destination anchors of size (4, H*W*A) where H and W are the height and width of the featur…
53 …* @param[in] info Contains Compute Anchors operation information described in @ref Compute…
56 … void configure(const ICLTensor *anchors, ICLTensor *all_anchors, const ComputeAnchorsInfo &info);
60 …* @param[in] anchors Source tensor. Original set of anchors of size (4, A), where A is th…
61 …ensor. Destination anchors of size (4, H*W*A) where H and W are the height and width of the featur…
62 …* @param[in] info Contains Compute Anchors operation information described in @ref Com…
65 …void configure(const CLCompileContext &compile_context, const ICLTensor *anchors, ICLTensor *all_a…
69 …* @param[in] anchors Source tensor info. Original set of anchors of size (4, A), where A is th…
[all …]
/aosp_15_r20/external/conscrypt/common/src/main/java/org/conscrypt/
H A DTrustedCertificateIndex.java45 public TrustedCertificateIndex(Set<TrustAnchor> anchors) { in TrustedCertificateIndex() argument
46 index(anchors); in TrustedCertificateIndex()
49 private void index(Set<TrustAnchor> anchors) { in index() argument
50 for (TrustAnchor anchor : anchors) { in index()
71 List<TrustAnchor> anchors = subjectToTrustAnchors.get(subject); in index() local
72 if (anchors == null) { in index()
73 anchors = new ArrayList<TrustAnchor>(1); in index()
74 subjectToTrustAnchors.put(subject, anchors); in index()
78 for (TrustAnchor entry : anchors) { in index()
85 anchors.add(anchor); in index()
[all …]
/aosp_15_r20/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
H A DTrustedCertificateIndex.java48 public TrustedCertificateIndex(Set<TrustAnchor> anchors) { in TrustedCertificateIndex() argument
49 index(anchors); in TrustedCertificateIndex()
52 private void index(Set<TrustAnchor> anchors) { in index() argument
53 for (TrustAnchor anchor : anchors) { in index()
75 List<TrustAnchor> anchors = subjectToTrustAnchors.get(subject); in index() local
76 if (anchors == null) { in index()
77 anchors = new ArrayList<TrustAnchor>(1); in index()
78 subjectToTrustAnchors.put(subject, anchors); in index()
82 for (TrustAnchor entry : anchors) { in index()
89 anchors.add(anchor); in index()
[all …]
/aosp_15_r20/external/ComputeLibrary/src/core/NEON/kernels/
H A DNEGenerateProposalsLayerKernel.cpp47 using ComputeAllAnchorsUKernelPtr = std::add_pointer<void(const ITensor *anchors, ITensor *all_anc…
97 Status validate_arguments(const ITensorInfo *anchors, const ITensorInfo *all_anchors, const Compute… in validate_arguments() argument
99 ARM_COMPUTE_RETURN_ERROR_ON_NULLPTR(anchors, all_anchors); in validate_arguments()
100 ARM_COMPUTE_RETURN_ERROR_ON_CPU_F16_UNSUPPORTED(anchors); in validate_arguments()
101 ARM_COMPUTE_RETURN_ERROR_ON(anchors->dimension(0) != info.values_per_roi()); in validate_arguments()
102 …ARM_COMPUTE_RETURN_ERROR_ON_DATA_TYPE_NOT_IN(anchors, DataType::QSYMM16, DataType::F16, DataType::… in validate_arguments()
103 ARM_COMPUTE_RETURN_ERROR_ON(anchors->num_dimensions() > 2); in validate_arguments()
108 const size_t num_anchors = anchors->dimension(1); in validate_arguments()
109 ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_TYPES(all_anchors, anchors); in validate_arguments()
114 if(is_data_type_quantized(anchors->data_type())) in validate_arguments()
[all …]
H A DNEGenerateProposalsLayerKernel.h32 /** Interface for Compute All Anchors kernel */
56 …* @param[in] anchors Source tensor. Original set of anchors of size (4, A), where A is the nu…
57 …ensor. Destination anchors of size (4, H*W*A) where H and W are the height and width of the featur…
58 …* @param[in] info Contains Compute Anchors operation information described in @ref Compute…
61 void configure(const ITensor *anchors, ITensor *all_anchors, const ComputeAnchorsInfo &info);
65 …* @param[in] anchors Source tensor info. Original set of anchors of size (4, A), where A is th…
66 … info. Destination anchors of size (4, H*W*A) where H and W are the height and width of the featur…
67 …* @param[in] info Contains Compute Anchors operation information described in @ref ComputeA…
71 …static Status validate(const ITensorInfo *anchors, const ITensorInfo *all_anchors, const ComputeAn…
/aosp_15_r20/external/ComputeLibrary/src/runtime/CL/functions/
H A DCLGenerateProposalsLayer.cpp74 …igure(const ICLTensor *scores, const ICLTensor *deltas, const ICLTensor *anchors, ICLTensor *propo… in configure() argument
77 …configure(CLKernelLibrary::get().get_compile_context(), scores, deltas, anchors, proposals, scores… in configure()
80 …text, const ICLTensor *scores, const ICLTensor *deltas, const ICLTensor *anchors, ICLTensor *propo… in configure() argument
84 … ARM_COMPUTE_ERROR_ON_NULLPTR(scores, deltas, anchors, proposals, scores_out, num_valid_proposals); in configure()
85 …OW_ON(CLGenerateProposalsLayer::validate(scores->info(), deltas->info(), anchors->info(), proposal… in configure()
86 … ARM_COMPUTE_LOG_PARAMS(scores, deltas, anchors, proposals, scores_out, num_valid_proposals, info); in configure()
103 // Compute all the anchors in configure()
105 …_compute_anchors_kernel->configure(compile_context, anchors, &_all_anchors, ComputeAnchorsInfo(fea… in configure()
149 // Dequantize anchors to float in configure()
175 …// The original layer implementation first selects the best pre_nms_topN anchors (thus having a li… in configure()
[all …]
/aosp_15_r20/frameworks/base/tests/NetworkSecurityConfigTest/res/xml/
H A Dct_domains.xml8 <trust-anchors>
10 </trust-anchors>
14 <trust-anchors>
16 </trust-anchors>
21 <trust-anchors>
23 </trust-anchors>
27 <trust-anchors>
29 </trust-anchors>
34 <trust-anchors>
36 </trust-anchors>
/aosp_15_r20/external/fonttools/Lib/fontTools/ufoLib/
H A DglifLib.py391 anchors
473 anchors
684 anchors
783 # anchors
784 anchors = getattr(glyphObject, "anchors", None)
785 if formatVersion.major >= 2 and anchors:
792 if formatVersion.major == 1 and anchors:
793 _writeAnchorsFormat1(pen, anchors, validate)
835 anchors
964 def _writeAnchorsFormat1(pen, anchors, validate): argument
[all …]
/aosp_15_r20/external/ComputeLibrary/src/runtime/NEON/functions/
H A DNEGenerateProposalsLayer.cpp71 …::configure(const ITensor *scores, const ITensor *deltas, const ITensor *anchors, ITensor *proposa… in configure() argument
74 … ARM_COMPUTE_ERROR_ON_NULLPTR(scores, deltas, anchors, proposals, scores_out, num_valid_proposals); in configure()
75 …OW_ON(NEGenerateProposalsLayer::validate(scores->info(), deltas->info(), anchors->info(), proposal… in configure()
76 … ARM_COMPUTE_LOG_PARAMS(scores, deltas, anchors, proposals, scores_out, num_valid_proposals, info); in configure()
93 // Compute all the anchors in configure()
96 …_compute_anchors->configure(anchors, &_all_anchors, ComputeAnchorsInfo(feat_width, feat_height, in… in configure()
140 // Dequantize anchors to float in configure()
166 …// The original layer implementation first selects the best pre_nms_topN anchors (thus having a li… in configure()
212 …const ITensorInfo *scores, const ITensorInfo *deltas, const ITensorInfo *anchors, const ITensorInf… in validate() argument
215 …ARM_COMPUTE_RETURN_ERROR_ON_NULLPTR(scores, deltas, anchors, proposals, scores_out, num_valid_prop… in validate()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/unsafe-libyaml/src/
Ddumper.rs117 let fresh1 = addr_of_mut!((*emitter).anchors); in yaml_emitter_dump()
124 (*emitter).anchors as *mut libc::c_void, in yaml_emitter_dump()
171 if (*emitter).anchors.is_null() { in yaml_emitter_delete_document_and_anchors()
188 if !(*(*emitter).anchors.wrapping_offset(index as isize)).serialized { in yaml_emitter_delete_document_and_anchors()
203 yaml_free((*emitter).anchors as *mut libc::c_void); in yaml_emitter_delete_document_and_anchors()
204 let fresh6 = addr_of_mut!((*emitter).anchors); in yaml_emitter_delete_document_and_anchors()
212 (*((*emitter).anchors).offset((index - 1) as isize)).references += 1; in yaml_emitter_anchor_node_sub()
213 if (*(*emitter).anchors.offset((index - 1) as isize)).references == 2 { in yaml_emitter_anchor_node_sub()
215 (*(*emitter).anchors.offset((index - 1) as isize)).anchor = (*emitter).last_anchor_id; in yaml_emitter_anchor_node_sub()
228 addr_of_mut!((*((*emitter).anchors).wrapping_offset((index - 1) as isize)).references); in yaml_emitter_anchor_node()
[all …]
/aosp_15_r20/external/ComputeLibrary/tests/validation/reference/
H A DComputeAllAnchors.cpp40 SimpleTensor<T> compute_all_anchors(const SimpleTensor<T> &anchors, const ComputeAnchorsInfo &info) in compute_all_anchors() argument
42 const int num_anchors = anchors.shape()[1]; in compute_all_anchors()
47 SimpleTensor<T> all_anchors(TensorShape(4, width * height * num_anchors), anchors.data_type()); in compute_all_anchors()
48 const T *anchors_ptr = anchors.data(); in compute_all_anchors()
51 // Iterate over the input grid and anchors in compute_all_anchors()
77 template SimpleTensor<float> compute_all_anchors(const SimpleTensor<float> &anchors, const ComputeA…
78 template SimpleTensor<half> compute_all_anchors(const SimpleTensor<half> &anchors, const ComputeAnc…
81 SimpleTensor<int16_t> compute_all_anchors(const SimpleTensor<int16_t> &anchors, const ComputeAnchor… in compute_all_anchors() argument
83 SimpleTensor<float> anchors_tmp = convert_from_symmetric(anchors); in compute_all_anchors()
85 …SimpleTensor<int16_t> all_anchors = convert_to_symmetric<int16_t>(all_anchors_tmp, anchors.qua… in compute_all_anchors()
/aosp_15_r20/external/executorch/backends/cadence/aot/quantizer/
H A Dquantizer.py87 anchors = self.pattern.get_anchors(model, fused_partition)
88 if not anchors:
93 for x in anchors.inputs
94 + anchors.weights
95 + anchors.biases
96 + anchors.output
101 for output, *custom_spec in anchors.output:
129 annotate_inputs(anchors.inputs, input_act_qspec)
130 annotate_inputs(anchors.weights, weight_qspec)
132 annotate_inputs(anchors.biases, bias_qspec)
/aosp_15_r20/external/ComputeLibrary/arm_compute/runtime/CL/functions/
H A DCLGenerateProposalsLayer.h90 …, H, A), where H and W are the height and width of the feature map, and A is the number of anchors.
93 …* @param[in] anchors Anchors tensor of size (4, A). Data types supported: QSYMM16 wit…
103 …void configure(const ICLTensor *scores, const ICLTensor *deltas, const ICLTensor *anchors, ICLTens…
108 …, H, A), where H and W are the height and width of the feature map, and A is the number of anchors.
111 …* @param[in] anchors Anchors tensor of size (4, A). Data types supported: QSYMM16 wit…
121 …text, const ICLTensor *scores, const ICLTensor *deltas, const ICLTensor *anchors, ICLTensor *propo…
126 …, H, A), where H and W are the height and width of the feature map, and A is the number of anchors.
129 …* @param[in] anchors Anchors tensor of size (4, A). Data types supported: QSYMM16 with…
138 …const ITensorInfo *scores, const ITensorInfo *deltas, const ITensorInfo *anchors, const ITensorInf…
/aosp_15_r20/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
H A DChartPersonNames.java5 import org.unicode.cldr.tool.FormattedFileWriter.Anchors;
50 FormattedFileWriter.Anchors anchors = new FormattedFileWriter.Anchors(); in writeContents() local
51 writeSubcharts(anchors); in writeContents()
53 pw.write(anchors.toString()); in writeContents()
56 public void writeSubcharts(Anchors anchors) throws IOException { in writeSubcharts() argument
69 new ChartPersonName(locale).writeChart(anchors); in writeSubcharts()
/aosp_15_r20/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/
Ddetection_postprocess.mod.py20 i3 = Input("anchors", "TENSOR_FLOAT32", "{6, 4}") # anchors
45 i3: [ # six anchors in center-size encoding
71 i3 = Input("anchors", "TENSOR_FLOAT32", "{6, 4}") # anchors
96 i3: [ # six anchors in center-size encoding
122 i3 = Input("anchors", "TENSOR_FLOAT32", "{6, 4}") # anchors
147 i3: [ # six anchors in center-size encoding
173 i3 = Input("anchors", "TENSOR_FLOAT32", "{6, 4}") # anchors
198 i3: [ # six anchors in center-size encoding
/aosp_15_r20/external/tensorflow/tensorflow/core/api_def/base_api/
H A Dapi_def_GenerateBoundingBoxProposals.pbtxt7 …ges, height, width, num_achors]` containing scores of the boxes for given anchors, can be unsorted.
24 name: "anchors"
67 …s Region of Interests from given bounding boxes(bbox_deltas) encoded wrt anchors according to eq.2…
69 The op selects top `pre_nms_topn` scoring boxes, decodes them with respect to anchors,
74 …`scores`: A 4D tensor of shape [Batch, Height, Width, Num Anchors] containing the scores per ancho…
75 …`bbox_deltas`: is a tensor of shape [Batch, Height, Width, 4 x Num Anchors] boxes encoded to each …
76 `anchors`: A 1D tensor of shape [4 x Num Anchors], representing the anchors.
/aosp_15_r20/external/python/pyyaml/lib/yaml/
Dcomposer.py14 self.anchors = {}
60 self.anchors = {}
67 if anchor not in self.anchors:
70 return self.anchors[anchor]
74 if anchor in self.anchors:
76 % anchor, self.anchors[anchor].start_mark,
96 self.anchors[anchor] = node
108 self.anchors[anchor] = node
126 self.anchors[anchor] = node
/aosp_15_r20/external/curl/lib/vtls/
H A Dbearssl.c59 br_x509_trust_anchor *anchors; member
73 /* array of trust anchors loaded from CAfile */
74 br_x509_trust_anchor *anchors; member
112 br_x509_trust_anchor **anchors, in load_cafile() argument
142 ca.anchors = NULL; in load_cafile()
184 if(ca.anchors_len == SIZE_MAX / sizeof(ca.anchors[0])) { in load_cafile()
189 new_anchors = realloc(ca.anchors, in load_cafile()
190 new_anchors_len * sizeof(ca.anchors[0])); in load_cafile()
195 ca.anchors = new_anchors; in load_cafile()
197 ta = &ca.anchors[ca.anchors_len - 1]; in load_cafile()
[all …]
/aosp_15_r20/external/ComputeLibrary/src/cpu/kernels/genproposals/generic/neon/
H A Dimpl.cpp32 void compute_all_anchors(const ITensor *anchors, ITensor *all_anchors, ComputeAnchorsInfo anchors_i… in compute_all_anchors() argument
37 const size_t num_anchors = anchors->info()->dimension(1); in compute_all_anchors()
46 …const auto anchor_ptr = reinterpret_cast<T *>(anchors->ptr_to_element(Coordinates(0, anchor_of… in compute_all_anchors()
60 template void compute_all_anchors<float>(const ITensor *anchors, ITensor *all_anchors, ComputeAncho…
62 template void compute_all_anchors<float16_t>(const ITensor *anchors, ITensor *all_anchors, ComputeA…
65 void compute_all_anchors_qasymm16(const ITensor *anchors, ITensor *all_anchors, ComputeAnchorsInfo … in compute_all_anchors_qasymm16() argument
70 const size_t num_anchors = anchors->info()->dimension(1); in compute_all_anchors_qasymm16()
74 const UniformQuantizationInfo qinfo = anchors->info()->quantization_info().uniform(); in compute_all_anchors_qasymm16()
81 …const auto anchor_ptr = reinterpret_cast<int16_t *>(anchors->ptr_to_element(Coordinates(0, anc… in compute_all_anchors_qasymm16()
/aosp_15_r20/external/ComputeLibrary/src/core/CL/cl_kernels/common/
H A Dgenerate_proposals.cl26 /** Generate all the region of interests based on the image size and the anchors passed in. For eac…
33 * -# -DNUM_ANCHORS= Number of anchors to be used to generate the rois per each pixel
37 …* @param[in] anchors_ptr Pointer to the anchors tensor. Supported data …
38 …* @param[in] anchors_stride_x Stride of the anchors tensor in X dimension (i…
40 …* @param[in] anchors_stride_y Stride of the anchors tensor in Y dimension (i…
56 VECTOR_DECLARATION(anchors),
59 Vector anchors = CONVERT_TO_VECTOR_STRUCT_NO_STEP(anchors);
80 anchor = vload4(0, (__global DATA_TYPE *)vector_offset(&anchors, anchor_idx * NUM_ROI_FIELDS));
H A Dgenerate_proposals_quantized.cl26 /** Generate all the region of interests based on the image size and the anchors passed in. For eac…
33 * -# -DNUM_ANCHORS= Number of anchors to be used to generate the rois per each pixel
37 …* @param[in] anchors_ptr Pointer to the anchors tensor. Supported data …
38 …* @param[in] anchors_stride_x Stride of the anchors tensor in X dimension (i…
40 …* @param[in] anchors_stride_y Stride of the anchors tensor in Y dimension (i…
56 VECTOR_DECLARATION(anchors),
59 Vector anchors = CONVERT_TO_VECTOR_STRUCT_NO_STEP(anchors);
78 …anchor = DEQUANTIZE(VLOAD(NUM_ROI_FIELDS)(0, (__global DATA_TYPE *)vector_offset(&anchors, anchor_…
/aosp_15_r20/external/rust/android-crates-io/crates/webpki/tests/
Dintegration.rs43 let anchors = vec![webpki::TrustAnchor::try_from_cert_der(ca).unwrap()]; in netflix() localVariable
44 let anchors = webpki::TlsServerTrustAnchors(&anchors); in netflix() localVariable
52 cert.verify_is_valid_tls_server_cert(ALL_SIGALGS, &anchors, &[inter], time) in netflix()
61 let anchors = vec![webpki::TrustAnchor::try_from_cert_der(ca).unwrap()]; in ed25519() localVariable
62 let anchors = webpki::TlsServerTrustAnchors(&anchors); in ed25519() localVariable
70 cert.verify_is_valid_tls_server_cert(ALL_SIGALGS, &anchors, &[], time) in ed25519()

12345678910>>...43