Home
last modified time | relevance | path

Searched refs:algorithm (Results 1 – 25 of 98) sorted by relevance

1234

/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
Dswiper_indicator_layout_test_ng.cpp40 auto algorithm = indicatorPattern->CreateLayoutAlgorithm(); variable
50 algorithm->Measure(&layoutWrapper);
65 auto algorithm = indicatorPattern->CreateLayoutAlgorithm(); variable
75 algorithm->Measure(&layoutWrapper);
89 auto algorithm = indicatorPattern->CreateLayoutAlgorithm(); variable
105 algorithm->Layout(&layoutWrapper);
120 auto algorithm = indicatorPattern->CreateLayoutAlgorithm(); variable
136 algorithm->Layout(&layoutWrapper);
149 auto algorithm = indicatorPattern->CreateLayoutAlgorithm(); variable
165 algorithm->Layout(&layoutWrapper);
[all …]
Dswiper_indicator_extent_test_ng.cpp1485 auto algorithm = indicatorPattern->CreateLayoutAlgorithm(); variable
1508 algorithm->Measure(&layoutWrapper);
1525 auto algorithm = indicatorPattern->CreateLayoutAlgorithm(); variable
1548 algorithm->Measure(&layoutWrapper);
1565 auto algorithm = indicatorPattern->CreateLayoutAlgorithm(); variable
1588 algorithm->Measure(&layoutWrapper);
1605 auto algorithm = indicatorPattern->CreateLayoutAlgorithm(); variable
1628 algorithm->Measure(&layoutWrapper);
1645 auto algorithm = indicatorPattern->CreateLayoutAlgorithm(); variable
1668 algorithm->Measure(&layoutWrapper);
[all …]
/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/irregular/
Dgrid_irregular_layout_test.cpp52 auto algorithm = AceType::MakeRefPtr<GridIrregularLayoutAlgorithm>(info); variable
53 algorithm->wrapper_ = AceType::RawPtr(frameNode_);
54 algorithm->crossLens_ = { 50.0f, 50.0f, 100.0f };
55 algorithm->crossGap_ = 5.0f;
56 algorithm->mainGap_ = 1.0f;
57 algorithm->LayoutChildren(0.0f, 0);
89 auto algorithm = AceType::MakeRefPtr<GridIrregularLayoutAlgorithm>(GridLayoutInfo {}); variable
90 algorithm->gridLayoutInfo_.currentOffset_ = 0.0f;
91 algorithm->gridLayoutInfo_.childrenCount_ = 10;
92 algorithm->Measure(AceType::RawPtr(frameNode_));
[all …]
/foundation/arkui/ace_engine/test/unittest/core/pattern/navrouter/
Dnavrouter_model_test_ng.cpp395 auto algorithm = AceType::MakeRefPtr<BarItemLayoutAlgorithm>(); variable
405 algorithm->Layout(AceType::RawPtr(layoutWrapper));
408 algorithm->Layout(AceType::RawPtr(layoutWrapper));
518 auto algorithm = AceType::MakeRefPtr<NavBarLayoutAlgorithm>(); variable
560 algorithm->Measure(AceType::RawPtr(layoutWrapper));
561 algorithm->Layout(AceType::RawPtr(layoutWrapper));
567 algorithm->Measure(AceType::RawPtr(layoutWrapper));
568 algorithm->Layout(AceType::RawPtr(layoutWrapper));
577 algorithm->Measure(AceType::RawPtr(layoutWrapper));
585 algorithm->Measure(AceType::RawPtr(layoutWrapper));
[all …]
/foundation/multimedia/camera_framework/services/camera_service/src/smooth_zoom/
Dsmooth_zoom.cpp23 std::shared_ptr<IZoomAlgorithm> algorithm; in GetZoomAlgorithm() local
26 algorithm = std::make_shared<CubicBezier>(); in GetZoomAlgorithm()
29 algorithm = std::make_shared<CubicBezier>(); in GetZoomAlgorithm()
32 return algorithm; in GetZoomAlgorithm()
/foundation/communication/netstack/frameworks/native/tls_socket/src/
Dtls_key.cpp29 TLSKey::TLSKey(const std::string &fileName, KeyAlgorithm algorithm, const SecureData &passPhrase, in TLSKey() argument
33 DecodeDer(type, algorithm, fileName, passPhrase); in TLSKey()
35 DecodePem(type, algorithm, fileName, passPhrase); in TLSKey()
39 TLSKey::TLSKey(const SecureData &data, KeyAlgorithm algorithm, const SecureData &passPhrase) in TLSKey() argument
44 DecodeData(data, algorithm, passPhrase); in TLSKey()
142 void TLSKey::DecodeData(const SecureData &data, KeyAlgorithm algorithm, const SecureData &passPhras… in DecodeData() argument
148 keyAlgorithm_ = algorithm; in DecodeData()
162 void TLSKey::DecodeDer(KeyType type, KeyAlgorithm algorithm, const std::string &fileName, const Sec… in DecodeDer() argument
169 keyAlgorithm_ = algorithm; in DecodeDer()
203 void TLSKey::SwitchAlgorithm(KeyType type, KeyAlgorithm algorithm, BIO *bio) in SwitchAlgorithm() argument
[all …]
/foundation/communication/netstack/frameworks/native/tls_socket/include/
Dtls_key.h42 TLSKey(const SecureData &data, KeyAlgorithm algorithm, const SecureData &passPhrase);
43 TLSKey(const std::string &fileName, KeyAlgorithm algorithm, const SecureData &passPhrase,
56 void DecodeData(const SecureData &data, KeyAlgorithm algorithm, const SecureData &passPhrase);
57 …void DecodeDer(KeyType type, KeyAlgorithm algorithm, const std::string &fileName, const SecureData…
58 …void DecodePem(KeyType type, KeyAlgorithm algorithm, const std::string &fileName, const SecureData…
60 void SwitchAlgorithm(KeyType type, KeyAlgorithm algorithm, BIO *bio);
/foundation/arkui/ace_engine/test/unittest/core/pattern/menu/
Dmenuitemgroup_test_ng.cpp249 auto algorithm = AceType::MakeRefPtr<MenuItemGroupLayoutAlgorithm>(-1, -1, 0); variable
250 ASSERT_TRUE(algorithm);
272 algorithm->Measure(layoutWrapper);
278 algorithm->Layout(layoutWrapper);
288 algorithm->headerIndex_ = 0;
289 algorithm->footerIndex_ = 0;
290 algorithm->Measure(layoutWrapper);
291 algorithm->Layout(layoutWrapper);
293 algorithm->needHeaderPadding_ = true;
294 algorithm->LayoutHeader(layoutWrapper);
[all …]
Dmenu_layoutScd_test_ng.cpp1423 …auto algorithm = AceType::DynamicCast<SubMenuLayoutAlgorithm>(menuPattern->CreateLayoutAlgorithm()… variable
1424 ASSERT_TRUE(algorithm);
1434 algorithm->wrapperSize_ = SizeF(FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT);
1449 …auto result = algorithm->VerticalLayoutSubMenuHalfScreen(menuNode->GetGeometryNode()->GetFrameSize…
1450 algorithm->position_.GetY(), item->GetGeometryNode()->GetFrameSize());
1453 algorithm->wrapperSize_ = size_f;
1459 algorithm->ModifySubMenuWrapper(wrapper);
1460 ASSERT_EQ(algorithm->wrapperSize_, SizeF(0, 0));
1486 …auto algorithm = AceType::DynamicCast<SubMenuLayoutAlgorithm>(menuPattern->CreateLayoutAlgorithm()… variable
1487 ASSERT_TRUE(algorithm);
[all …]
Dmenuitem_pattern_test_ng.cpp1118 …auto algorithm = AceType::DynamicCast<SubMenuLayoutAlgorithm>(subMenuPattern->CreateLayoutAlgorith… variable
1119 ASSERT_TRUE(algorithm);
1125 algorithm->canExpandCurrentWindow_ = true;
1131 algorithm->wrapperSize_ = SizeF(FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT);
1132 algorithm->wrapperRect_ = Rect(0, 0, FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT);
1133 algorithm->Layout(wrapper);
1134 ASSERT_TRUE(algorithm);
1137 algorithm->position_ = OffsetF(MENU_OFFSET_X + MENU_ITEM_SIZE_WIDTH, MENU_OFFSET_Y);
1138 algorithm->Layout(wrapper);
1142 algorithm->position_ = OffsetF(FULL_SCREEN_WIDTH, MENU_OFFSET_Y);
[all …]
Dmenu_origin_test_ng.cpp1943 … auto algorithm = AceType::DynamicCast<MenuLayoutAlgorithm>(menuPattern->CreateLayoutAlgorithm()); variable
1944 ASSERT_TRUE(algorithm);
1954 algorithm->wrapperSize_ = SizeF(FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT);
1955 algorithm->wrapperRect_ = Rect(0, 0, FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT);
1971 algorithm->wrapperSize_ = size_f;
1972 algorithm->wrapperRect_ = Rect(0, 0, size_f.Width(), size_f.Height());
1978 ASSERT_NE(algorithm->wrapperSize_, SizeF(0, 0));
1983 algorithm->canExpandCurrentWindow_ = true;
1986 algorithm->InitializePaddingAPI12(wrapper);
1987 ASSERT_EQ(algorithm->paddingStart_, 10.0f);
[all …]
/foundation/arkui/ace_engine/test/unittest/core/pattern/overlay/
Dsheet_coverage_test_ng.cpp1346 …auto algorithm = AceType::DynamicCast<SheetPresentationLayoutAlgorithm>(sheetPattern->CreateLayout… variable
1347 … auto targetPlacement = algorithm->AvoidanceRuleOfPlacement(Placement::BOTTOM, SizeF(), OffsetF());
1348 EXPECT_NE(algorithm->getOffsetFunc_.find(targetPlacement), algorithm->getOffsetFunc_.end());
1349 algorithm->GetOffsetInAvoidanceRule(SizeF(), OffsetF());
1351 algorithm->getOffsetFunc_.clear();
1352 EXPECT_EQ(algorithm->getOffsetFunc_.find(targetPlacement), algorithm->getOffsetFunc_.end());
1353 algorithm->GetOffsetInAvoidanceRule(SizeF(), OffsetF());
1369 …auto algorithm = AceType::DynamicCast<SheetPresentationLayoutAlgorithm>(sheetPattern->CreateLayout… variable
1371 algorithm->sheetRadius_ = 10;
1374 EXPECT_FALSE(LessNotEqual(arrowOffsetX - arrowVertical.ConvertToPx(), algorithm->sheetRadius_));
[all …]
/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/
Dnavigation_test_ng.cpp365 NavigationContentLayoutAlgorithm algorithm; variable
366 algorithm.Measure(AceType::RawPtr(layoutWrapper));
375 algorithm.Measure(AceType::RawPtr(layoutWrapper));
378 algorithm.Measure(AceType::RawPtr(layoutWrapper));
629 NavigationLayoutAlgorithm algorithm; variable
630 auto result = algorithm.IsAutoHeight(property);
635 result = algorithm.IsAutoHeight(property);
639 result = algorithm.IsAutoHeight(property);
643 result = algorithm.IsAutoHeight(property);
647 result = algorithm.IsAutoHeight(property);
[all …]
/foundation/filemanagement/file_api/interfaces/kits/ts/streamhash/src/
Dstreamhash.ts25 constructor(algorithm: string) {
27 this.hs = new hash.HashStream(algorithm);
/foundation/communication/netstack/test/unittest/tlssocket/client/
DTlsKeyTest.cpp77 KeyAlgorithm algorithm = tlsKey.Algorithm(); variable
78 EXPECT_EQ(algorithm, ALGORITHM_RSA);
104 KeyAlgorithm algorithm = tlsKeyCopy.Algorithm(); variable
105 EXPECT_EQ(algorithm, ALGORITHM_RSA);
115 KeyAlgorithm algorithm = key.Algorithm(); variable
116 EXPECT_EQ(algorithm, ALGORITHM_RSA);
/foundation/arkui/ace_engine/test/unittest/core/pattern/grid_container/
Dgrid_container_test_ng.cpp43 auto algorithm = container->GetLayoutAlgorithm(); in MeasureLayout() local
44 algorithm->Measure(AceType::RawPtr(container)); in MeasureLayout()
45 algorithm->Layout(AceType::RawPtr(container)); in MeasureLayout()
/foundation/multimedia/media_foundation/tests/unittest/detail_enhancer_video_ndk/
DBUILD.gn59 "$histreamer_root_dir/video_processing_engine/framework/algorithm/include",
63 "$histreamer_root_dir/video_processing_engine/framework/algorithm/detail_enhancer/include",
95 …include_dirs += [ "$histreamer_root_dir/video_processing_engine/framework/algorithm/detail_enhance…
/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/
Dgrid_layout_test_ng.cpp654 auto algorithm = AceType::MakeRefPtr<GridLayoutAlgorithm>(GridLayoutInfo {}, 4, 4); variable
655 algorithm->InitGridCeils(AceType::RawPtr(frameNode_), { 0.0f, 0.0f });
656 algorithm->crossCount_ = 5;
657 algorithm->mainCount_ = 5;
658 algorithm->InitGridCeils(AceType::RawPtr(frameNode_), { 0.0f, 0.0f });
680 auto algorithm = AceType::MakeRefPtr<GridLayoutAlgorithm>(GridLayoutInfo {}, 4, 4); variable
681 algorithm->InitGridCeils(AceType::RawPtr(frameNode_), { 0.0f, 0.0f });
682 algorithm->crossCount_ = 5;
683 algorithm->mainCount_ = 5;
684 algorithm->InitGridCeils(AceType::RawPtr(frameNode_), { 0.0f, 0.0f });
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/layout/
Dlayout_algorithm.h151 void SetLayoutAlgorithm(RefPtr<LayoutAlgorithm> algorithm) in SetLayoutAlgorithm() argument
153 layoutAlgorithm_ = std::move(algorithm); in SetLayoutAlgorithm()
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/include/
Dclient_trans_proxy_file_manager.h130 int32_t algorithm; member
147 int32_t algorithm; member
/foundation/arkui/ui_lite/interfaces/kits/components/
Dui_image_view.h209 void SetTransformAlgorithm(TransformAlgorithm algorithm) in SetTransformAlgorithm() argument
211 algorithm_ = algorithm; in SetTransformAlgorithm()
/foundation/ai/intelligent_voice_framework/
DREADME.md19 - Sound trigger: Digital Signal Processor (DSP) model loading, DSP algorithm enabling/disabling, an…
23 - Engine algorithm: intelligent voice algorithm engine and event reporting
25 - Device driver: DSP model loading/unloading, DSP algorithm enabling/disabling, event reporting, an…
173 … needApAlgEngine: true, // Specify whether the framework needs to provide the AP algorithm engine.
/foundation/arkui/ui_lite/interfaces/innerkits/engines/gfx/
Dgfx_engine_manager.h48 TransformAlgorithm algorithm; member
74 TransformAlgorithm algorithm; member
/foundation/ai/ai_engine/
DREADME.md12algorithm plug-ins. The framework consists of the plug-in management, module management, and commu…
35 │ │ └── keyword_spotting # ASR algorithm plug-in reference: keyword spotting
37 │ │ └── image_classification # CV algorithm plug-in reference: image classification
107algorithm in use, you only need to implement the **SyncProcess** or **AsyncProcess** API. Use …
141 Directory: //foundation/ai/ai_engine/services/client/algorithm\_sdk/asr/keyword\_spotting
/foundation/arkui/ui_lite/test/unittest/components/
Dui_image_unit_test.cpp491 TransformAlgorithm algorithm = NEAREST_NEIGHBOR; variable
492 imageView_->SetTransformAlgorithm(algorithm);
493 EXPECT_EQ(imageView_->GetTransformAlgorithm(), algorithm);

1234