Home
last modified time | relevance | path

Searched refs:childView (Results 1 - 9 of 9) sorted by relevance

/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Danalog_clock_component.cpp101 UIView* childView = ComponentUtils::GetViewFromBindingObject(child); in ProcessChildren() local
102 if (childView == nullptr) { in ProcessChildren()
111 SetImageHand(handType, child, childView); in ProcessChildren()
113 SetRectHand(handType, child, childView); in ProcessChildren()
116 clockView_->Add(childView); in ProcessChildren()
125 void AnalogClockComponent::SetImageHand(uint16_t handType, jerry_value_t child, UIView* childView) in SetImageHand() argument
127 UIImageView* imageView = reinterpret_cast<UIImageView*>(childView); in SetImageHand()
129 HILOG_ERROR(HILOG_MODULE_ACE, "AnalogClockComponent: childView reinterpret_cast failed!"); in SetImageHand()
155 void AnalogClockComponent::SetRectHand(uint16_t handType, jerry_value_t child, UIView* childView) in SetRectHand() argument
157 int16_t posX = childView in SetRectHand()
[all...]
H A Danalog_clock_component.h47 void SetImageHand(uint16_t handType, jerry_value_t child, UIView* childView);
48 void SetRectHand(uint16_t handType, jerry_value_t child, UIView* childView);
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dstack_tdd_test.cpp87 * @tc.expected: step1. check childView = nullptr in ComponentStackTest001()
119 * @tc.expected: step3. check stackView != nullptr && childView != nullptr in ComponentStackTest002()
207 UIView *childView = stackView->GetChildrenHead(); in ComponentStackTest004() local
208 EXPECT_TRUE(childView != nullptr); in ComponentStackTest004()
209 CASE_END_IF_NULLPTR(childView); in ComponentStackTest004()
213 EXPECT_STREQ(childView->GetViewId(), "child01"); in ComponentStackTest004()
255 UIView *childView = stackView->GetChildrenHead(); in ComponentStackTest005() local
256 EXPECT_TRUE(childView != nullptr); in ComponentStackTest005()
257 CASE_END_IF_NULLPTR(childView); in ComponentStackTest005()
261 EXPECT_TRUE((childView in ComponentStackTest005()
303 UIView *childView = stackView->GetChildrenHead(); ComponentStackTest006() local
[all...]
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_picker.cpp327 UIView* childView = static_cast<UIView*>(list_.GetChildrenHead()); in RefreshSelected() local
330 while (childView != nullptr) { in RefreshSelected()
331 int16_t viewIndex = childView->GetViewIndex(); in RefreshSelected()
333 childView->SetStyle(STYLE_TEXT_COLOR, GetBackgroundTextColor().full); in RefreshSelected()
335 static_cast<UILabel*>(childView)->SetFontId(backgroundFontId_); in RefreshSelected()
337 static_cast<UILabel*>(childView)->SetFont(backgroundFontName_, backgroundFontSize_); in RefreshSelected()
341 childView->SetStyle(STYLE_TEXT_COLOR, GetHighlightTextColor().full); in RefreshSelected()
343 static_cast<UILabel*>(childView)->SetFontId(highlightFontId_); in RefreshSelected()
345 static_cast<UILabel*>(childView)->SetFont(highlightFontName_, highlightFontSize_); in RefreshSelected()
347 listListener_->SetSelectView(childView); in RefreshSelected()
[all...]
H A Dui_radio_button.cpp150 UIView* childView = static_cast<UIViewGroup*>(view)->GetChildrenHead(); in FindRadioButtonAndChangeState() local
151 while (childView != nullptr) { in FindRadioButtonAndChangeState()
152 FindRadioButtonAndChangeState(childView); in FindRadioButtonAndChangeState()
153 childView = childView->GetNextSibling(); in FindRadioButtonAndChangeState()
/foundation/arkui/ui_lite/frameworks/dfx/
H A Dui_dump_dom_tree.cpp335 UIView* childView = tmpViewGroup->GetChildrenHead(); in OutputDomTree() local
336 while (childView != nullptr) { in OutputDomTree()
337 OutputDomTree(childView, arrayJson); in OutputDomTree()
338 childView = childView->GetNextSibling(); in OutputDomTree()
364 UIView* childView = tmpViewGroup->GetChildrenHead(); in DumpJsonById() local
365 while (childView != nullptr) { in DumpJsonById()
366 DumpJsonById(childView, id, mode); in DumpJsonById()
367 childView = childView in DumpJsonById()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_view.h225 bool GetChildByViewId(const std::string& viewId, JSRef<JSObject>& childView, JSRef<JSObject>& targetView);
H A Djs_view.cpp338 const std::string& viewId, JSRef<JSObject>& childView, JSRef<JSObject>& targetView) in GetChildByViewId()
340 auto* view = childView->Unwrap<JSViewFullUpdate>(); in GetChildByViewId()
343 targetView = childView; in GetChildByViewId()
337 GetChildByViewId( const std::string& viewId, JSRef<JSObject>& childView, JSRef<JSObject>& targetView) GetChildByViewId() argument
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsXNode.js238 const childView = child.deref();
239 if (childView) {
240 childView.forceCompleteRerender(true);

Completed in 9 milliseconds