| /foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/ |
| D | swiper_indicator_layout_test_ng.cpp | 40 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 …]
|
| D | swiper_indicator_extent_test_ng.cpp | 1485 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/ |
| D | grid_irregular_layout_test.cpp | 52 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/ |
| D | navrouter_model_test_ng.cpp | 395 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/ |
| D | smooth_zoom.cpp | 23 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/ |
| D | tls_key.cpp | 29 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/ |
| D | tls_key.h | 42 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/overlay/ |
| D | sheet_coverage_test_ng.cpp | 1402 …auto algorithm = AceType::DynamicCast<SheetPresentationLayoutAlgorithm>(sheetPattern->CreateLayout… variable 1403 … auto targetPlacement = algorithm->AvoidanceRuleOfPlacement(Placement::BOTTOM, SizeF(), OffsetF()); 1404 EXPECT_NE(algorithm->getOffsetFunc_.find(targetPlacement), algorithm->getOffsetFunc_.end()); 1405 algorithm->GetOffsetInAvoidanceRule(SizeF(), OffsetF()); 1407 algorithm->getOffsetFunc_.clear(); 1408 EXPECT_EQ(algorithm->getOffsetFunc_.find(targetPlacement), algorithm->getOffsetFunc_.end()); 1409 algorithm->GetOffsetInAvoidanceRule(SizeF(), OffsetF()); 1425 …auto algorithm = AceType::DynamicCast<SheetPresentationLayoutAlgorithm>(sheetPattern->CreateLayout… variable 1427 algorithm->sheetRadius_ = 10; 1430 EXPECT_FALSE(LessNotEqual(arrowOffsetX - arrowVertical.ConvertToPx(), algorithm->sheetRadius_)); [all …]
|
| /foundation/arkui/ace_engine/test/unittest/core/pattern/menu/ |
| D | menuitemgroup_test_ng.cpp | 249 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 …]
|
| D | menu_layoutScd_test_ng.cpp | 1423 …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 …]
|
| D | menuitem_pattern_test_ng.cpp | 1125 …auto algorithm = AceType::DynamicCast<SubMenuLayoutAlgorithm>(subMenuPattern->CreateLayoutAlgorith… variable 1126 ASSERT_TRUE(algorithm); 1132 algorithm->canExpandCurrentWindow_ = true; 1138 algorithm->wrapperSize_ = SizeF(FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT); 1139 algorithm->wrapperRect_ = Rect(0, 0, FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT); 1140 algorithm->Layout(wrapper); 1141 ASSERT_TRUE(algorithm); 1144 algorithm->position_ = OffsetF(MENU_OFFSET_X + MENU_ITEM_SIZE_WIDTH, MENU_OFFSET_Y); 1145 algorithm->Layout(wrapper); 1149 algorithm->position_ = OffsetF(FULL_SCREEN_WIDTH, MENU_OFFSET_Y); [all …]
|
| D | menu_origin_test_ng.cpp | 1943 … 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/navigation/ |
| D | navigation_test_ng.cpp | 365 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/ |
| D | streamhash.ts | 25 constructor(algorithm: string) { 27 this.hs = new hash.HashStream(algorithm);
|
| /foundation/communication/netstack/test/unittest/tlssocket/client/ |
| D | TlsKeyTest.cpp | 77 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/ |
| D | grid_container_test_ng.cpp | 43 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/ |
| D | BUILD.gn | 59 "$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/ |
| D | grid_layout_test_ng.cpp | 654 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/ |
| D | layout_algorithm.h | 151 void SetLayoutAlgorithm(RefPtr<LayoutAlgorithm> algorithm) in SetLayoutAlgorithm() argument 153 layoutAlgorithm_ = std::move(algorithm); in SetLayoutAlgorithm()
|
| /foundation/arkui/ui_lite/interfaces/kits/components/ |
| D | ui_image_view.h | 209 void SetTransformAlgorithm(TransformAlgorithm algorithm) in SetTransformAlgorithm() argument 211 algorithm_ = algorithm; in SetTransformAlgorithm()
|
| /foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/include/ |
| D | client_trans_proxy_file_manager.h | 130 int32_t algorithm; member 147 int32_t algorithm; member
|
| /foundation/ai/intelligent_voice_framework/ |
| D | README.md | 19 - 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/ |
| D | gfx_engine_manager.h | 48 TransformAlgorithm algorithm; member 74 TransformAlgorithm algorithm; member
|
| /foundation/ai/ai_engine/ |
| D | README.md | 12 …algorithm 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 107 …algorithm 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/ |
| D | ui_image_unit_test.cpp | 491 TransformAlgorithm algorithm = NEAREST_NEIGHBOR; variable 492 imageView_->SetTransformAlgorithm(algorithm); 493 EXPECT_EQ(imageView_->GetTransformAlgorithm(), algorithm);
|