Home
last modified time | relevance | path

Searched refs:view (Results 1 - 25 of 226) sorted by relevance

12345678910

/foundation/arkui/ui_lite/test/uitest/test_draw_rect/
H A Dui_test_draw_rect.cpp109 UIView* view = new UIView(); in CreateUIView() local
110 view->SetStyle(STYLE_BACKGROUND_COLOR, Color::Green().full); in CreateUIView()
111 view->SetStyle(STYLE_BACKGROUND_OPA, 127); // 127 : background opacity in CreateUIView()
112 view->SetStyle(STYLE_BORDER_RADIUS, 5); // 5 : radius value in CreateUIView()
113 view->SetStyle(STYLE_BORDER_COLOR, Color::Gray().full); in CreateUIView()
114 view->SetStyle(STYLE_BORDER_OPA, 127); // 127 : border opacity in CreateUIView()
115 view->SetStyle(STYLE_BORDER_WIDTH, 20); // 20 : border width in CreateUIView()
116 view->SetStyle(STYLE_PADDING_LEFT, 0); in CreateUIView()
117 view->SetStyle(STYLE_PADDING_RIGHT, 0); in CreateUIView()
118 view in CreateUIView()
141 UIView* view = CreateUIView(); UIKitDrawRectTestRectNoBorder001() local
167 UIView* view = CreateUIView(); UIKitDrawRectTestRectNoBorder002() local
194 UIView* view = CreateUIView(); UIKitDrawRectTestRectNoBorder003() local
221 UIView* view = CreateUIView(); UIKitDrawRectTestRectNoBorder004() local
248 UIView* view = CreateUIView(); UIKitDrawRectTestRectNoBorder005() local
275 UIView* view = CreateUIView(); UIKitDrawRectTestRectNoBorder006() local
302 UIView* view = CreateUIView(); UIKitDrawRectTestRectNoBorder007() local
329 UIView* view = CreateUIView(); UIKitDrawRectTestRectNoBorder008() local
356 UIView* view = CreateUIView(); UIKitDrawRectTestRectNoBorder009() local
383 UIView* view = CreateUIView(); UIKitDrawRectTestRectNoBorder0010() local
410 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderNoRadius001() local
437 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderNoRadius002() local
464 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderRadius001() local
492 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderRadius002() local
520 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderRadius003() local
548 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderRadius004() local
576 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderRadius005() local
604 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderRadius006() local
632 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderRadius007() local
660 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderRadius008() local
688 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderRadius009() local
716 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderRadius010() local
744 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderRadius011() local
771 UIView* view = CreateUIView(); UIKitDrawRectTestRect001() local
796 UIView* view = CreateUIView(); UIKitDrawRectTestRectColor001() local
827 UIView* view = CreateUIView(); UIKitDrawRectTestRectRadius001() local
851 UIView* view = CreateUIView(); UIKitDrawRectTestRectRadius002() local
875 UIView* view = CreateUIView(); UIKitDrawRectTestRectRadius003() local
899 UIView* view = CreateUIView(); UIKitDrawRectTestRectRadius004() local
930 UIView* view = CreateUIView(); UIKitDrawRectTestRectOpacity001() local
953 UIView* view = CreateUIView(); UIKitDrawRectTestRectOpacity002() local
976 UIView* view = CreateUIView(); UIKitDrawRectTestRectOpacity003() local
1005 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderColor001() local
1037 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderWidth001() local
1060 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderWidth002() local
1089 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderOpacity001() local
1113 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderOpacity002() local
1137 UIView* view = CreateUIView(); UIKitDrawRectTestRectBorderOpacity003() local
1168 UIView* view = CreateUIView(); UIKitDrawRectTestRectPadding001() local
1194 UIView* view = CreateUIView(); UIKitDrawRectTestRectPadding002() local
1234 UIView* view = CreateUIView(); UIKitDrawRectTestRectMargin001() local
1260 UIView* view = CreateUIView(); UIKitDrawRectTestRectMargin002() local
1295 UIView* view = CreateUIView(); UIKitDrawRectTestRectPaddingMargin001() local
1325 UIView* view = CreateUIView(); UIKitDrawRectTestRectPaddingMargin002() local
1368 UIView* view = CreateUIView(); UIKitDrawRectTestRectWidthAndHeight001() local
1392 UIView* view = CreateUIView(); UIKitDrawRectTestRectWidthAndHeight002() local
1416 UIView* view = CreateUIView(); UIKitDrawRectTestRectWidthAndHeight003() local
[all...]
/foundation/arkui/ui_lite/frameworks/dfx/
H A Dui_dump_dom_tree.cpp58 void UIDumpDomTree::AddImageViewSpecialField(const UIView* view, cJSON* usr) const in AddImageViewSpecialField() argument
60 if ((view == nullptr) || (usr == nullptr)) { in AddImageViewSpecialField()
63 const UIImageView* tmpImageView = static_cast<const UIImageView*>(view); in AddImageViewSpecialField()
80 void UIDumpDomTree::AddLabelField(const UIView* view, cJSON* usr) const in AddLabelField() argument
82 const UILabel* tmpLabel = static_cast<const UILabel*>(view); in AddLabelField()
87 void UIDumpDomTree::AddLabelButtonField(const UIView* view, cJSON* usr) const in AddLabelButtonField() argument
89 const UILabelButton* tmpLabelButton = static_cast<const UILabelButton*>(view); in AddLabelButtonField()
94 void UIDumpDomTree::AddCheckboxField(const UIView* view, cJSON* usr) const in AddCheckboxField() argument
96 const UICheckBox* tmpCheckBox = static_cast<const UICheckBox*>(view); in AddCheckboxField()
105 void UIDumpDomTree::AddToggleButtonField(const UIView* view, cJSO argument
112 AddProgressField(const UIView* view, cJSON* usr) const AddProgressField() argument
121 AddScrollViewField(const UIView* view, cJSON* usr) const AddScrollViewField() argument
129 AddListField(const UIView* view, cJSON* usr) const AddListField() argument
141 AddClockField(const UIView* view, cJSON* usr) const AddClockField() argument
150 AddPickerField(const UIView* view, cJSON* usr) const AddPickerField() argument
157 AddSwipeViewField(const UIView* view, cJSON* usr) const AddSwipeViewField() argument
165 AddTimePickerField(const UIView* view, cJSON* usr) const AddTimePickerField() argument
174 AddSpecialField(const UIView* view, cJSON* usr) const AddSpecialField() argument
238 AddCommonField(UIView* view, cJSON* usr) const AddCommonField() argument
256 OutputDomNode(UIView* view) OutputDomNode() argument
303 OutputDomTree(UIView* view, cJSON* usr) OutputDomTree() argument
343 DumpJsonById(UIView* view, const char* id, DumpMode mode) DumpJsonById() argument
[all...]
/foundation/arkui/ui_lite/interfaces/kits/dfx/
H A Dui_dump_dom_tree.h115 bool searchFlag_; // Search flag, set when find the view with right id.
121 void DumpJsonById(UIView* view, const char* id, DumpMode mode);
124 void AddCommonField(UIView* view, cJSON* usr) const;
125 void AddImageViewSpecialField(const UIView* view, cJSON* usr) const;
126 void AddLabelField(const UIView* view, cJSON* usr) const;
127 void AddLabelButtonField(const UIView* view, cJSON* usr) const;
128 void AddCheckboxField(const UIView* view, cJSON* usr) const;
129 void AddToggleButtonField(const UIView* view, cJSON* usr) const;
130 void AddProgressField(const UIView* view, cJSON* usr) const;
131 void AddScrollViewField(const UIView* view, cJSO
[all...]
/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_swipe_view_unit_test.cpp100 UIView* view = new UIView(); in HWTEST_F() local
101 if (view == nullptr) { in HWTEST_F()
105 swipeView_->Add(view); in HWTEST_F()
106 EXPECT_EQ(view, swipeView_->GetChildrenHead()); in HWTEST_F()
107 EXPECT_EQ(view->GetParent(), swipeView_); in HWTEST_F()
108 swipeView_->Remove(view); in HWTEST_F()
109 delete view; in HWTEST_F()
129 UIView* view = new UIView(); in HWTEST_F() local
130 if (view == nullptr) { in HWTEST_F()
136 swipeView_->Insert(preView, view); in HWTEST_F()
157 UIView* view = new UIView(); HWTEST_F() local
193 UIViewGroup* view = new UIViewGroup(); HWTEST_F() local
290 UIView* view = swipeView_->GetViewByIndex(1); HWTEST_F() local
[all...]
H A Dui_circle_progress_unit_test.cpp174 UIView* view = new UIView(); in HWTEST_F() local
176 int16_t x1 = x + view->GetStyleConst().paddingLeft_ + view->GetStyleConst().borderWidth_; in HWTEST_F()
177 int16_t y1 = y + view->GetStyleConst().paddingTop_ + view->GetStyleConst().borderWidth_; in HWTEST_F()
181 delete view; in HWTEST_F()
182 view = nullptr; in HWTEST_F()
197 UIView* view = new UIView(); in HWTEST_F() local
199 int16_t x1 = x + view->GetStyleConst().paddingLeft_ + view in HWTEST_F()
[all...]
H A Dui_radio_button_unit_test.cpp103 UIViewGroup* view = static_cast<UIViewGroup*>(RootView::GetInstance()); in HWTEST_F() local
104 view->Add(radioBtn1); in HWTEST_F()
105 view->Add(radioBtn2); in HWTEST_F()
106 view->Add(radioBtn3); in HWTEST_F()
107 view->Add(radioBtn4); in HWTEST_F()
108 view->Add(radioBtn5); in HWTEST_F()
132 view->Remove(radioBtn1); in HWTEST_F()
133 view->Remove(radioBtn2); in HWTEST_F()
134 view->Remove(radioBtn3); in HWTEST_F()
135 view in HWTEST_F()
[all...]
/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dabstract_adapter.h91 virtual void DeleteView(UIView*& view) in DeleteView() argument
93 delete view; in DeleteView()
94 view = nullptr; in DeleteView()
99 UIView* view = GetView(nullptr, index); in GetItemWidthWithMargin() local
100 if (view == nullptr) { in GetItemWidthWithMargin()
103 int16_t width = view->GetWidthWithMargin(); in GetItemWidthWithMargin()
104 DeleteView(view); in GetItemWidthWithMargin()
110 UIView* view = GetView(nullptr, index); in GetItemHeightWithMargin() local
111 if (view == nullptr) { in GetItemHeightWithMargin()
114 int16_t height = view in GetItemHeightWithMargin()
[all...]
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_view_group.cpp42 void UIViewGroup::Add(UIView* view) in Add() argument
44 if ((view == this) || (view == nullptr)) { in Add()
45 GRAPHIC_LOGE("view can not be nullptr and added to self"); in Add()
48 if (view->GetParent() != nullptr) { in Add()
49 GRAPHIC_LOGE("can not add view multi times"); in Add()
54 childrenHead_ = view; in Add()
59 childrenTail_->SetNextSibling(view); in Add()
61 view->SetParent(this); in Add()
62 view in Add()
111 Remove(UIView* view) Remove() argument
194 UIView* view = GetChildrenRenderHead(); GetTargetView() local
239 UIView* view = GetChildrenRenderHead(); GetTargetView() local
257 UIView* view = childrenHead_; GetAllChildRelativeRect() local
320 UIView* view = childrenHead_; MoveChildByOffset() local
[all...]
H A Dui_list.cpp112 UIView* view = GetView(index); in FillActiveView() local
113 if (view == nullptr) { in FillActiveView()
116 listView_->PushBack(view); in FillActiveView()
128 UIView* view = GetView(index); in FillActiveView() local
129 listView_->PushBack(view); in FillActiveView()
183 UIView* view = GetChildrenHead(); in ~UIList() local
184 while (view != nullptr) { in ~UIList()
185 UIView* tmp = view->GetNextSibling(); in ~UIList()
186 UIViewGroup::Remove(view); in ~UIList()
187 delete view; in ~UIList()
561 PushBack(UIView* view) PushBack() argument
581 PushFront(UIView* view) PushFront() argument
600 PopItem(UIView* view) PopItem() argument
616 SetHead(UIView* view) SetHead() argument
627 UIView* view = GetChildrenHead(); MoveChildByOffset() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_native_view_ffi.cpp65 auto view = FFIData::Create<NativeView>(remoteView); in FfiOHOSAceFrameworkNativeViewCtor() local
66 if (view == nullptr) { in FfiOHOSAceFrameworkNativeViewCtor()
69 return view->GetID(); in FfiOHOSAceFrameworkNativeViewCtor()
74 auto view = FFIData::GetData<NativeView>(id); in FfiOHOSAceFrameworkNativeViewDestroy() local
75 if (!view) { in FfiOHOSAceFrameworkNativeViewDestroy()
79 view->Destroy(); in FfiOHOSAceFrameworkNativeViewDestroy()
134 auto view = FFIData::GetData<NativeView>(nativeViewId); in FfiOHOSAceFrameworkNativeViewSyncInstanceId() local
135 if (!view) { in FfiOHOSAceFrameworkNativeViewSyncInstanceId()
139 view->SyncInstanceId(); in FfiOHOSAceFrameworkNativeViewSyncInstanceId()
144 auto view in FfiOHOSAceFrameworkNativeViewRestoreInstanceId() local
154 auto view = FFIData::GetData<NativeView>(nativeViewId); FfiOHOSAceFrameworkNativeViewFinishUpdateFunc() local
164 auto view = FFIData::GetData<NativeView>(nativeViewId); FfiOHOSAceFrameworkViewDeletedElmtIdsHaveBeenPurged() local
183 auto view = FFIData::GetData<NativeView>(nativeViewId); FfiOHOSAceFrameworkViewGetDeletedElemtIds() local
[all...]
/foundation/arkui/ui_lite/test/uitest/test_layout/
H A Dui_test_advanced_layout.cpp199 void UITestAdvancedLayout::OnClickButton(const UIView& view) in OnClickButton() argument
201 if (&view == resetgBtn_) { in OnClickButton()
209 } else if (&view == margingBtn_) { in OnClickButton()
211 } else if (&view == horgBtn_) { in OnClickButton()
213 } else if (&view == horgRBtn_) { in OnClickButton()
215 } else if (&view == vergBtn_) { in OnClickButton()
217 } else if (&view == vergRBtn_) { in OnClickButton()
219 } else if (&view == addElegBtn_) { in OnClickButton()
221 } else if (&view == incRowsBtn_) { in OnClickButton()
224 } else if (&view in OnClickButton()
243 OnClick(UIView& view, const ClickEvent& event) OnClick() argument
[all...]
H A Dui_test_basic_layout.cpp175 void UITestBasicLayout::OnClickButton(UIView& view) in OnClickButton() argument
177 if (&view == aLeftToSiblingBtn_) { in OnClickButton()
179 } else if (&view == aRightToSiblingBtn_) { in OnClickButton()
181 } else if (&view == aTopToSiblingBtn_) { in OnClickButton()
183 } else if (&view == aBottomToSiblingBtn_) { in OnClickButton()
185 } else if (&view == aHorCenterToSiblingBtn_) { in OnClickButton()
187 } else if (&view == aVerCenterToSiblingBtn_) { in OnClickButton()
189 } else if (&view == lLeftToSiblingBtn_) { in OnClickButton()
191 } else if (&view == lRightToSiblingBtn_) { in OnClickButton()
193 } else if (&view in OnClickButton()
203 OnClick(UIView& view, const ClickEvent& event) OnClick() argument
[all...]
/foundation/ability/ability_lite/frameworks/ability_lite/example/entry/src/main/cpp/
H A Droot_view_helper.cpp20 void DeleteViewChildren(UIView *view) in DeleteViewChildren() argument
22 if (view == nullptr) { in DeleteViewChildren()
25 while (view != nullptr) { in DeleteViewChildren()
26 UIView *tempView = view; in DeleteViewChildren()
27 view = view->GetNextSibling(); in DeleteViewChildren()
/foundation/arkui/ui_lite/test/uitest/test_label/
H A Dui_test_label.cpp214 bool UITestLabel::OnClick(UIView& view, const ClickEvent& event) in OnClick() argument
218 if (&view == labelFontSizeBtn1_) { in OnClick()
220 } else if (&view == labelFontSizeBtn2_) { in OnClick()
222 } else if (&view == labelFontSizeBtn3_) { in OnClick()
224 } else if (&view == labelHorAlignBtn1_) { in OnClick()
226 } else if (&view == labelHorAlignBtn2_) { in OnClick()
228 } else if (&view == labelHorAlignBtn3_) { in OnClick()
230 } else if (&view == labelColorBtn1_) { in OnClick()
233 } else if (&view == labelColorBtn2_) { in OnClick()
236 } else if (&view in OnClick()
256 ExpandClick(UIView& view, const ClickEvent& event) const ExpandClick() argument
[all...]
/foundation/arkui/ui_lite/test/uitest/test_ui_list/
H A Dui_test_ui_list.cpp353 selectBtnPos->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, list->GetY() + g_selectPos, 100, 1); // 100: mean view width in UIKitListScrollTestBlankSet001()
372 bool UITestUIList::OnClick(UIView& view, const ClickEvent& event) in OnClick() argument
377 if (&view == setBlankBtn_) { in OnClick()
379 } else if (&view == setBlankOffBtn_) { in OnClick()
381 } else if (&view == setThrowDragBtn_) { in OnClick()
383 } else if (&view == setThrowDragOffBtn_) { in OnClick()
385 } else if (&view == setRefreshBtn_) { in OnClick()
388 } else if (&view == setLoopBtn_) { in OnClick()
390 } else if (&view == setLoopOffBtn_) { in OnClick()
392 } else if (&view in OnClick()
444 OnScrollStart(int16_t index, UIView* view) OnScrollStart() argument
455 OnScrollEnd(int16_t index, UIView* view) OnScrollEnd() argument
465 OnScrollTop(int16_t index, UIView* view) OnScrollTop() argument
471 OnScrollBottom(int16_t index, UIView* view) OnScrollBottom() argument
477 OnItemSelected(int16_t index, UIView* view) OnItemSelected() argument
507 SetLastPos(UIView* view) SetLastPos() argument
[all...]
/foundation/arkui/ui_lite/test/uitest/test_texture_mapper/
H A Dui_test_texture_mapper.cpp196 bool UITestTextureMapper::OnClick(UIView& view, const ClickEvent& event) in OnClick() argument
205 if (&view == resetBtn_) { in OnClick()
219 } else if (&view == incRotateEndBtn_) { in OnClick()
222 } else if (&view == decRotateEndBtn_) { in OnClick()
225 } else if (&view == durationTimeBtn_) { in OnClick()
228 } else if (&view == delayTimeBtn_) { in OnClick()
231 } else if (&view == easingBtn_) { in OnClick()
234 } else if (&view == startAngleBtn_) { in OnClick()
238 ExpandClick(view, event); in OnClick()
243 bool UITestTextureMapper::ExpandClick(UIView& view, cons argument
[all...]
/foundation/arkui/ui_lite/test/uitest/test_chart/
H A Dui_test_chart_pillar.cpp52 void UITestChartPillar::InnerDeleteChildren(UIView* view) const in InnerDeleteChildren()
54 if (view == nullptr) { in InnerDeleteChildren()
57 while (view != nullptr) { in InnerDeleteChildren()
58 UIView* tempView = view; in InnerDeleteChildren()
59 view = view->GetNextSibling(); in InnerDeleteChildren()
158 bool UITestChartPillar::OnClick(UIView& view, const ClickEvent& event) in OnClick() argument
160 if (&view == addDataSerialBtn_) { in OnClick()
167 } else if (&view == deleteDataSerialBtn_) { in OnClick()
174 } else if (&view in OnClick()
218 SetLastPos(UIView* view) SetLastPos() argument
[all...]
/foundation/arkui/ui_lite/test/uitest/test_view_group/
H A Dui_test_view_group.cpp193 bool UITestViewGroup::OnClick(UIView& view, const ClickEvent& event) in OnClick() argument
195 if (&view == addBtn_) { in OnClick()
197 } else if (&view == removeBtn_) { in OnClick()
199 } else if (&view == removeAddBtn_) { in OnClick()
201 } else if (&view == addTwiceBtn_) { in OnClick()
205 } else if (&view == addMultiParentBtn_) { in OnClick()
207 } else if (&view == addSelfBtn_) { in OnClick()
209 } else if (&view == insertTwiceBtn_) { in OnClick()
213 } else if (&view == insertMultiParentBtn_) { in OnClick()
215 } else if (&view in OnClick()
223 UIView* view = new UIView(); AddView() local
258 UIView* view = new UIView(); AddMultiParent() local
268 UIView* view = new UIView(); InsertMultiParent() local
[all...]
/foundation/arkui/ui_lite/frameworks/dock/
H A Drotate_input_device.cpp53 UIView* view = FocusManager::GetInstance()->GetFocusedView(); in DispatchEvent() local
54 if (view == nullptr) { in DispatchEvent()
55 GRAPHIC_LOGE("RotateInputDevice Failed to dispatch event without focused view!\n"); in DispatchEvent()
59 UIView* par = view; in DispatchEvent()
67 GRAPHIC_LOGW("RotateInputDevice failed to dispatch event without target view attached!\n"); in DispatchEvent()
74 view->OnRotateEndEvent(0); in DispatchEvent()
82 view->OnRotateStartEvent(data.rotate); in DispatchEvent()
84 view->OnRotateEvent(data.rotate); in DispatchEvent()
87 rotate value = %{public}d\n!", static_cast<uint8_t>(view->GetViewType()), data.rotate); in DispatchEvent()
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dace_view_ohos.cpp49 void AceViewOhos::SurfaceCreated(const RefPtr<AceViewOhos>& view, OHOS::sptr<OHOS::Rosen::Window> window) in SurfaceCreated() argument
52 CHECK_NULL_VOID(view); in SurfaceCreated()
55 void AceViewOhos::ChangeViewSize(const RefPtr<AceViewOhos>& view, int32_t width, int32_t height) in ChangeViewSize() argument
57 CHECK_NULL_VOID(view); in ChangeViewSize()
58 view->ChangeSize(width, height); in ChangeViewSize()
61 void AceViewOhos::SurfaceChanged(const RefPtr<AceViewOhos>& view, int32_t width, int32_t height, int32_t orientation, in SurfaceChanged() argument
64 CHECK_NULL_VOID(view); in SurfaceChanged()
66 view->NotifySurfaceChanged(width, height, type, rsTransaction); in SurfaceChanged()
68 auto instanceId = view->GetInstanceId(); in SurfaceChanged()
77 void AceViewOhos::SurfacePositionChanged(const RefPtr<AceViewOhos>& view, int32_ argument
83 SetViewportMetrics(const RefPtr<AceViewOhos>& view, const ViewportConfig& config) SetViewportMetrics() argument
89 TransformHintChanged(const RefPtr<AceViewOhos>& view, uint32_t transform) TransformHintChanged() argument
95 DispatchTouchEvent(const RefPtr<AceViewOhos>& view, const std::shared_ptr<MMI::PointerEvent>& pointerEvent, const RefPtr<OHOS::Ace::NG::FrameNode>& node, const std::function<void()>& callback, bool isInjected) DispatchTouchEvent() argument
223 DispatchKeyEvent(const RefPtr<AceViewOhos>& view, const std::shared_ptr<MMI::KeyEvent>& keyEvent, bool isPreIme) DispatchKeyEvent() argument
231 DispatchRotationEvent(const RefPtr<AceViewOhos>& view, float rotationValue) DispatchRotationEvent() argument
[all...]
/foundation/arkui/ui_lite/test/uitest/test_progress_bar/
H A Dui_test_box_progress.cpp312 bool UITestBoxProgress::OnClick(UIView& view, const ClickEvent& event) in OnClick() argument
320 if (&view == resetBtn_) { in OnClick()
341 } else if (&view == incProgressBtn_) { in OnClick()
344 } else if (&view == decProgressBtn_) { in OnClick()
347 } else if (&view == stepBtn_) { in OnClick()
350 } else if (&view == incWidthBtn_) { in OnClick()
353 } else if (&view == incHeightBtn_) { in OnClick()
356 } else if (&view == decWidthBtn_) { in OnClick()
359 } else if (&view == decHeightBtn_) { in OnClick()
362 } else if (&view in OnClick()
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dcomponent.cpp111 * @brief After construct a specific component, call this function to setup this component's native view
129 // step1: create native view/views in Render()
142 UIView *view = GetComponentRootView(); in Render() local
143 if (view != nullptr) { in Render()
145 view->SetIntercept(true); in Render()
173 UIView *view = GetComponentRootView(); in SetViewExtraMsg() local
174 if (view == nullptr) { in SetViewExtraMsg()
175 HILOG_ERROR(HILOG_MODULE_ACE, "failed to set the extra message for view."); in SetViewExtraMsg()
180 HILOG_ERROR(HILOG_MODULE_ACE, "Failed to mapping native view with DOM element."); in SetViewExtraMsg()
184 view in SetViewExtraMsg()
189 UIView *view = GetComponentRootView(); ReleaseViewExtraMsg() local
295 SetCommonAttribute(UIView &view, const uint16_t attrKeyId, const jerry_value_t attrValue) SetCommonAttribute() argument
572 ApplyCommonStyle(UIView &view, const AppStyleItem *style) ApplyCommonStyle() argument
705 UIView *view = GetComponentRootView(); Invalidate() local
736 SetAnimationKeyFrames(const UIView &view, const AppStyleItem *styleItem) SetAnimationKeyFrames() argument
952 SetAnimationStyle(const UIView &view, const AppStyleItem *styleItem, const int16_t keyId) SetAnimationStyle() argument
1180 SetClickEventListener(UIView &view, const jerry_value_t eventFunc, bool isStopPropagation) SetClickEventListener() argument
1193 SetTouchCancelEventListener(UIView &view, jerry_value_t eventFunc, uint16_t eventTypeId) SetTouchCancelEventListener() argument
1222 SetLongPressEventListener(UIView &view, const jerry_value_t eventFunc, bool isStopPropagation) SetLongPressEventListener() argument
1234 SetSwipeEventListener(UIView &view, jerry_value_t eventFunc, bool isStopPropagation) SetSwipeEventListener() argument
1251 SetTouchStartEventListener(UIView &view, jerry_value_t eventFunc, bool isStopPropagation) SetTouchStartEventListener() argument
1269 SetTouchMoveEventListener(UIView &view, jerry_value_t eventFunc, bool isStopPropagation) SetTouchMoveEventListener() argument
1286 SetTouchEndEventListener(UIView &view, jerry_value_t eventFunc, bool isStopPropagation) SetTouchEndEventListener() argument
1325 RegisterCommonEventListener(UIView &view, const uint16_t eventTypeId, const jerry_value_t funcValue, bool isStopPropagation) RegisterCommonEventListener() argument
1484 SetVisible(UIView &view, const AppStyleItem *styleItem) const SetVisible() argument
1499 SetBackgroundColor(UIView &view, const AppStyleItem &styleItem) const SetBackgroundColor() argument
1511 SetOpacity(UIView &view, const AppStyleItem &styleItem) const SetOpacity() argument
1563 SetPadding(UIView &view, const AppStyleItem &styleItem) const SetPadding() argument
1571 SetLeftPadding(UIView &view, const AppStyleItem &styleItem) const SetLeftPadding() argument
1579 SetTopPadding(UIView &view, const AppStyleItem &styleItem) const SetTopPadding() argument
1587 SetRightPadding(UIView &view, const AppStyleItem &styleItem) const SetRightPadding() argument
1595 SetBottomPadding(UIView &view, const AppStyleItem &styleItem) const SetBottomPadding() argument
1603 SetBorderColor(UIView &view, const AppStyleItem &styleItem) const SetBorderColor() argument
1613 SetBorderRadius(UIView &view, const AppStyleItem &styleItem) const SetBorderRadius() argument
1618 SetBorderWidth(UIView &view, const AppStyleItem &styleItem) const SetBorderWidth() argument
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dswiper_tdd_test.cpp104 UIView* view = component->GetComponentRootView(); in ComponentSwiperAttributeSetTest001() local
105 UISwipeView* swiperView = reinterpret_cast<UISwipeView *>(view); in ComponentSwiperAttributeSetTest001()
120 view = component->GetComponentRootView(); in ComponentSwiperAttributeSetTest001()
121 swiperView = reinterpret_cast<UISwipeView *>(view); in ComponentSwiperAttributeSetTest001()
138 view = component->GetComponentRootView(); in ComponentSwiperAttributeSetTest001()
139 swiperView = reinterpret_cast<UISwipeView *>(view); in ComponentSwiperAttributeSetTest001()
163 UIView* view = component->GetComponentRootView(); in ComponentSwiperAttributeSetTest002() local
164 UISwipeView* swiperView = reinterpret_cast<UISwipeView *>(view); in ComponentSwiperAttributeSetTest002()
185 view = component->GetComponentRootView(); in ComponentSwiperAttributeSetTest002()
186 swiperView = reinterpret_cast<UISwipeView *>(view); in ComponentSwiperAttributeSetTest002()
215 UIView* view = component->GetComponentRootView(); ComponentSwiperAttributeSetTest003() local
250 UIView* view = component->GetComponentRootView(); ComponentSwiperAttributeSetTest004() local
303 UIView* view = component->GetComponentRootView(); ComponentSwiperAttributeSetTest005() local
353 UIView* view = component->GetComponentRootView(); ComponentSwiperAttributeSetTest013() local
424 UIView* view = component->GetComponentRootView(); ComponentSwiperAttributeSetTest014() local
461 UIView* view = component->GetComponentRootView(); ComponentSwiperAttributeSetTest019() local
[all...]
/foundation/arkui/ui_lite/test/uitest/test_render/
H A Dui_test_render.cpp44 bool OnClick(UIView& view, const ClickEvent& event) override
49 view.SetStyle(STYLE_BACKGROUND_COLOR, Color::GetColorFromRGB(r, g, b).full);
50 view.Invalidate();
89 UIView* view = new UIView(); in UIKitRenderTestRender001() local
90 view->Resize(200, 50); // 200: width 50: height in UIKitRenderTestRender001()
91 view->SetPosition(50, 50); // 50: position x 50: position y in UIKitRenderTestRender001()
92 view->SetStyle(STYLE_BACKGROUND_COLOR, Color::Yellow().full); in UIKitRenderTestRender001()
93 group->Add(view); in UIKitRenderTestRender001()
94 view->SetTouchable(true); in UIKitRenderTestRender001()
95 view in UIKitRenderTestRender001()
149 OnClick(UIView& view, const ClickEvent& event) OnClick() argument
[all...]
/foundation/arkui/ui_lite/test/uitest/test_video/
H A Dui_test_video.cpp230 bool UITestVideo::OnClick(UIView &view, const ClickEvent& event) in OnClick() argument
235 if (&view == loopButton_) { in OnClick()
237 } else if (&view == totleTimeButton_) { in OnClick()
248 } else if (&view == volButtonAdd_) { in OnClick()
254 } else if (&view == volButtonSub_) { in OnClick()
261 return OnClick1(view, event); in OnClick()
266 bool UITestVideo::OnClick1(UIView &view, const ClickEvent& event) in OnClick1() argument
271 if (&view == rewindButtonAdd_) { in OnClick1()
282 } else if (&view == rewindButtonSub_) { in OnClick1()
294 return OnClick2(view, even in OnClick1()
299 OnClick2(UIView &view, const ClickEvent& event) OnClick2() argument
[all...]

Completed in 20 milliseconds

12345678910