Home
last modified time | relevance | path

Searched refs:passwordArea (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_controller.cpp135 …auto passwordArea = AceType::DynamicCast<PasswordResponseArea>(textFieldPattern->GetResponseArea()… in SetPasswordState() local
136 CHECK_NULL_VOID(passwordArea); in SetPasswordState()
137 passwordArea->SetObscured(flag); in SetPasswordState()
H A Dtext_field_accessibility_property.cpp39 auto passwordArea = AceType::DynamicCast<PasswordResponseArea>(responseArea); in IsPassword() local
40 CHECK_NULL_RETURN(passwordArea, false); in IsPassword()
41 return passwordArea->IsObscured(); in IsPassword()
H A Dtext_field_pattern.cpp632 CHECK_NULL_VOID(passwordArea); in SetAccessibilityPasswordIconAction()
633 auto node = passwordArea->GetFrameNode(); in SetAccessibilityPasswordIconAction()
3340 CHECK_NULL_RETURN(passwordArea, false); in IsOnPasswordByPosition()
3341 auto frameNode = passwordArea->GetFrameNode(); in IsOnPasswordByPosition()
7612 CHECK_NULL_VOID(passwordArea); in OnBackPressed()
7613 passwordArea->SetObscured(!showPasswordState.value()); in OnBackPressed()
7647 if (passwordArea) { in OnBackPressed()
7649 passwordArea->Refresh(); in OnBackPressed()
7651 passwordArea->ClearArea(); in OnBackPressed()
7942 CHECK_NULL_VOID(passwordArea); in OnBackPressed()
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_field_controller_test.cpp143 auto passwordArea = AceType::MakeRefPtr<PasswordResponseArea>(pattern_, false); variable
144 passwordArea->InitResponseArea();
145 EXPECT_EQ(passwordArea->GetCurrentSourceInfo()->GetSrc(), "1");
146 passwordArea->SetObscured(true);
147 EXPECT_EQ(passwordArea->GetCurrentSourceInfo()->GetSrc(), "2");
177 auto passwordArea = AceType::DynamicCast<PasswordResponseArea>(responseArea); variable
178 passwordArea->InitResponseArea();
179 EXPECT_EQ(passwordArea->GetCurrentSourceInfo()->GetSrc(), "2");