Home
last modified time | relevance | path

Searched refs:view (Results 76 - 100 of 226) sorted by relevance

12345678910

/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_view.h29 * @brief Declares the base class of a view, providing basic view attributes and operations. All views are derived
59 /* Enumerates view types. */
110 * @brief Defines the base class of a view, providing basic view attributes and operations. All views are derived
119 * @brief Defines a click event listener. You need to register this listener with the view to listen to
128 * @brief Called when a view is clicked.
129 * @param view Indicates the view clicked.
132 * (If an event is consumed, it is not transferred to the parent view
137 OnClick(UIView& view, const ClickEvent& event) OnClick() argument
169 OnLongPress(UIView& view, const LongPressEvent& event) OnLongPress() argument
200 OnDragStart(UIView& view, const DragEvent& event) OnDragStart() argument
215 OnDrag(UIView& view, const DragEvent& event) OnDrag() argument
230 OnDragEnd(UIView& view, const DragEvent& event) OnDragEnd() argument
262 OnPress(UIView& view, const PressEvent& event) OnPress() argument
277 OnRelease(UIView& view, const ReleaseEvent& event) OnRelease() argument
292 OnCancel(UIView& view, const CancelEvent& event) OnCancel() argument
321 OnRotateStart(UIView& view, const RotateEvent& event) OnRotateStart() argument
334 OnRotate(UIView& view, const RotateEvent& event) OnRotate() argument
346 OnRotateEnd(UIView& view, const RotateEvent& event) OnRotateEnd() argument
1458 OnFocus(UIView& view) OnFocus() argument
1469 OnBlur(UIView& view) OnBlur() argument
[all...]
H A Dui_picker.h49 void OnItemSelected(int16_t index, UIView* view) override;
51 void OnScrollEnd(int16_t index, UIView* view) override;
53 void SetSelectView(UIView* view) in SetSelectView() argument
55 selectView_ = view; in SetSelectView()
56 lastSelectView_ = view; in SetSelectView()
114 * @brief Obtains the view type.
116 * @return Returns the view type. For details, see {@link UIViewType}.
449 * @brief Sets the blank size for this scroll view.
454 * view and the tail node scroll upwards the bottom; the value <b>10</b> indicates that the head node
455 * can continue scrolling down by 10 pixels after it reaches the top of the view
[all...]
H A Dui_texture_mapper.h69 * @brief Obtains the view type.
71 * @return Returns the view type, as defined in {@link UIViewType}.
243 * @param view Indicates the instance of this view.
247 virtual void OnAnimatorStop(UIView& view) = 0;
267 void Callback(UIView* view) override;
269 void OnStop(UIView& view) override;
H A Dui_toggle_button.h121 void Callback(UIView* view) override;
122 void OnStop(UIView& view) override;
H A Dui_radio_button.h138 void Callback(UIView* view) override;
142 void FindRadioButtonAndChangeState(UIView* view);
/foundation/arkui/ui_lite/test/uitest/test_rotate_input/
H A Dui_test_rotate_input.h41 bool OnPress(UIView& view, const PressEvent& event) override;
44 void SetLastPos(UIView* view);
46 void SetTestLabelButton(UILabel* label, UIView* view);
/foundation/arkui/ui_lite/test/uitest/test_chart/
H A Dui_test_chart_pillar.h43 bool OnClick(UIView& view, const ClickEvent& event) override;
51 void SetLastPos(UIView* view);
52 void InnerDeleteChildren(UIView* view) const;
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dace_view_ohos.h47 static void SurfaceCreated(const RefPtr<AceViewOhos>& view, OHOS::sptr<OHOS::Rosen::Window> window);
48 static void ChangeViewSize(const RefPtr<AceViewOhos>& view, int32_t width, int32_t height);
49 static void SurfaceChanged(const RefPtr<AceViewOhos>& view, int32_t width, int32_t height, int32_t orientation,
52 static void SurfacePositionChanged(const RefPtr<AceViewOhos>& view, int32_t posX, int32_t posY);
53 static void SetViewportMetrics(const RefPtr<AceViewOhos>& view, const ViewportConfig& config);
54 static void TransformHintChanged(const RefPtr<AceViewOhos>& view, uint32_t transform);
56 static void DispatchTouchEvent(const RefPtr<AceViewOhos>& view,
60 const RefPtr<AceViewOhos>& view, const std::shared_ptr<MMI::KeyEvent>& keyEvent, bool isPreIme = false);
61 static bool DispatchRotationEvent(const RefPtr<AceViewOhos>& view, float rotationValue);
/foundation/arkui/ui_lite/test/uitest/test_input_event/
H A Dui_test_input_event.h201 bool OnKeyAct(UIView& view, const KeyEvent& event) override
232 virtual bool OnClick(UIView& view, const ClickEvent& event) in OnClick() argument
254 virtual bool OnLongPress(UIView& view, const LongPressEvent& event) in OnLongPress() argument
276 virtual bool OnPress(UIView& view, const PressEvent& event) in OnPress() argument
285 virtual bool OnRelease(UIView& view, const ReleaseEvent& event) in OnRelease() argument
294 virtual bool OnCancel(UIView& view, const CancelEvent& event) in OnCancel() argument
318 virtual bool OnDragStart(UIView& view, const DragEvent& event) in OnDragStart() argument
327 virtual bool OnDrag(UIView& view, const DragEvent& event) in OnDrag() argument
336 virtual bool OnDragEnd(UIView& view, const DragEvent& event) in OnDragEnd() argument
/foundation/arkui/ui_lite/test/uitest/test_clip/
H A Dui_test_clip.cpp60 bool UITestClip::OnClick(UIView& view, const ClickEvent& event) in OnClick() argument
64 if (&view == btnRadiusInc1_) { in OnClick()
67 } else if (&view == btnRadiusInc5_) { in OnClick()
70 } else if (&view == btnRadiusDec1_) { in OnClick()
73 } else if (&view == btnRadiusDec5_) { in OnClick()
76 } else if (&view == btnStartAngleInc_) { in OnClick()
79 } else if (&view == btnStartAngleDec_) { in OnClick()
82 } else if (&view == btnEndAngleInc_) { in OnClick()
85 } else if (&view == btnEndAngleDec_) { in OnClick()
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_picker.cpp31 void PickerListScrollListener::OnItemSelected(int16_t index, UIView* view) in OnItemSelected() argument
37 if ((lastSelectView_ != nullptr) && (listView_ != nullptr) && (pickerView_ != nullptr) && (view != nullptr)) { in OnItemSelected()
45 view->SetStyle(STYLE_TEXT_COLOR, pickerView_->GetHighlightTextColor().full); in OnItemSelected()
47 static_cast<UILabel*>(view)->SetFontId(pickerView_->highlightFontId_); in OnItemSelected()
49 static_cast<UILabel*>(view)->SetFont(pickerView_->highlightFontName_, pickerView_->highlightFontSize_); in OnItemSelected()
51 lastSelectView_ = view; in OnItemSelected()
60 void PickerListScrollListener::OnScrollEnd(int16_t index, UIView* view) in OnScrollEnd() argument
62 if ((view == nullptr) || (listView_ == nullptr) || (pickerView_ == nullptr)) { in OnScrollEnd()
74 lastSelectView_ = view; in OnScrollEnd()
77 view in OnScrollEnd()
[all...]
H A Dui_extend_image_view.cpp40 void UIExtendImageView::SetCanvas(UIView* view) in SetCanvas() argument
42 canvas_ = view; in SetCanvas()
H A Droot_view.cpp30 // view along with its parents and siblings are at most 128
260 void RootView::RemoveViewFromInvalidMap(UIView* view) in RemoveViewFromInvalidMap() argument
268 while (view != nullptr) { in RemoveViewFromInvalidMap()
270 auto entry = invalidateMap_.find(view); in RemoveViewFromInvalidMap()
275 if (view->IsViewGroup() && stackCount < COMPONENT_NESTING_DEPTH) { in RemoveViewFromInvalidMap()
276 g_viewStack[stackCount++] = view; in RemoveViewFromInvalidMap()
277 view = static_cast<UIViewGroup*>(view)->GetChildrenRenderHead(); in RemoveViewFromInvalidMap()
281 view = view in RemoveViewFromInvalidMap()
449 AddInvalidateRect(Rect& rect, UIView* view) AddInvalidateRect() argument
466 AddInvalidateRectWithLock(Rect& rect, UIView* view) AddInvalidateRectWithLock() argument
492 MeasureView(UIView* view) MeasureView() argument
627 DrawTop(UIView* view, const Rect& rect) Render() argument
[all...]
H A Dui_abstract_scroll.cpp68 void Callback(UIView* view) override
87 void OnStop(UIView& view) override
174 UIView* view = GetChildrenHead(); in MoveChildByOffset() local
175 while (view != nullptr) { in MoveChildByOffset()
176 int16_t x = view->GetX() + offsetX; in MoveChildByOffset()
177 int16_t y = view->GetY() + offsetY; in MoveChildByOffset()
178 view->SetPosition(x, y); in MoveChildByOffset()
179 view = view->GetNextSibling(); in MoveChildByOffset()
310 void UIAbstractScroll::ListAnimatorCallback::Callback(UIView* view) in Callback() argument
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/frontend/
H A Dcj_frontend_loader.cpp23 bool LoadNativeView(const sptr<NativeView>& view) in LoadNativeView() argument
25 return LoadNativeViewNG(view.GetRefPtr()); in LoadNativeView()
H A Dcj_page_router_ng.cpp34 auto view = weakView.promote(); in UpdateCjPageLifeCycleFuncs()
35 CHECK_NULL_VOID(view); in UpdateCjPageLifeCycleFuncs()
36 view->FireOnShow(); in UpdateCjPageLifeCycleFuncs()
39 auto view = weakView.promote(); in UpdateCjPageLifeCycleFuncs()
40 CHECK_NULL_VOID(view); in UpdateCjPageLifeCycleFuncs()
41 view->FireOnHide(); in UpdateCjPageLifeCycleFuncs()
44 auto view = weakView.promote(); in UpdateCjPageLifeCycleFuncs()
45 CHECK_NULL_RETURN(view, false); in UpdateCjPageLifeCycleFuncs()
46 return view->FireOnBackPress(); in UpdateCjPageLifeCycleFuncs()
49 auto view in UpdateCjPageLifeCycleFuncs()
58 LoadNativeViewNG(NativeView* view) LoadNativeViewNG() argument
701 auto view = FFI::FFIData::GetData<NativeView>(viewId); FlushReload() local
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/common_view/
H A Dcommon_view_test_ng.cpp41 CommonViewModelNG view; in HWTEST_F() local
42 view.Create(false); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/
H A Dnative_view.cpp67 LOGW("the view has already called initial render"); in CreateUI()
78 LOGW("the view does not need to update"); in CreateUI()
100 auto view = weakThis.promote(); in CreateUI()
101 CHECK_NULL_RETURN(view, nullptr); in CreateUI()
102 ContainerScope scope(view->instanceId_); in CreateUI()
103 return view->InitialUIRender(); in CreateUI()
177 LOGE("NativeView::Destroy error, nativeId: %{public}" PRId64 " cj view not exist.", GetID()); in Destroy()
191 void NativeView::Create(const sptr<NativeView>& view) in Create() argument
193 ViewStackModel::GetInstance()->Push(view->CreateUI(), true); in Create()
204 LOGE("NativeView::FireOnShow fail, no cj view o in FireOnShow()
[all...]
/foundation/arkui/ui_lite/frameworks/dock/
H A Dfocus_manager.cpp30 bool FocusManager::RequestFocus(UIView* view) in RequestFocus() argument
32 if (view == nullptr || view == focusView_ || !view->IsFocusable() || in RequestFocus()
33 !view->IsVisible()) { in RequestFocus()
37 focusView_ = view; in RequestFocus()
46 // show keyboard if the view is edittable in RequestFocus()
234 bool FocusManager::GetNextFocus(UIView* focusedView, UIView*& candidate, UIView* view, uint8_t direction) in GetNextFocus() argument
236 UIView* current = view; in GetNextFocus()
H A Dpointer_input_device.cpp65 GRAPHIC_LOGD("PointerInputDevice::DispatchPressEvent cannot find target view!\n"); in DispatchPressEvent()
311 void PointerInputDevice::UpdateEventViews(UIView* view) in UpdateEventViews() argument
313 // view should not be nullptr in UpdateEventViews()
314 // invalid touchable and draggable view will be reset to nullptr in UpdateEventViews()
315 if ((touchableView_ != nullptr) && RootView::FindSubView(*view, touchableView_)) { in UpdateEventViews()
319 if ((draggableView_ != nullptr) && RootView::FindSubView(*view, draggableView_)) { in UpdateEventViews()
330 UIView* view; in OnViewLifeEvent() local
332 UITreeManager::GetInstance().GetLastEvent(view, event); in OnViewLifeEvent()
334 if ((event != UITreeManager::REMOVE) || (view == nullptr)) { in OnViewLifeEvent()
337 UpdateEventViews(view); in OnViewLifeEvent()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_video/
H A Dui_test_video.h33 bool OnClick(UIView &view, const ClickEvent& event) override;
34 bool OnClick1(UIView &view, const ClickEvent& event);
35 bool OnClick2(UIView &view, const ClickEvent& event);
/foundation/arkui/ui_lite/test/uitest/test_edit_text/
H A Dui_test_edit_text.h42 bool OnClick(UIView& view, const ClickEvent& event) override;
43 void OnChange(UIView& view, const char* value) override;
H A Dcustom_input_method.cpp123 if (param.view != nullptr) { in OnShow()
124 UIEditText* paramView = reinterpret_cast<UIEditText*>(param.view); in OnShow()
282 bool CustomInputMethod::OnClick(UIView& view, const ClickEvent& event) in OnClick() argument
284 if (inputTypeBtn_ == &view) { in OnClick()
294 DealKeyEvent(view); in OnClick()
300 void CustomInputMethod::DealKeyEvent(UIView& view) in DealKeyEvent() argument
302 const char* key = reinterpret_cast<UILabelButton*>(&view)->GetText(); in DealKeyEvent()
347 bool CustomInputMethod::OnLongPress(UIView &view, const LongPressEvent &event) in OnLongPress() argument
350 if (inputTypeBtn_ == &view) { in OnLongPress()
360 key_ = reinterpret_cast<UILabelButton*>(&view) in OnLongPress()
366 OnRelease(UIView& view, const ReleaseEvent& event) OnRelease() argument
[all...]
/foundation/arkui/ui_lite/test/uitest/test_ui_swipe_view/
H A Dui_test_ui_swipe_view.cpp413 bool UITestUISwipeView::OnClick(UIView& view, const ClickEvent& event) in OnClick() argument
418 if (&view == addBtnInHead_) { in OnClick()
423 } else if (&view == addBtnInTail_) { in OnClick()
428 } else if (&view == addBtnInMid_) { in OnClick()
433 } else if (&view == removeHeadBtn_) { in OnClick()
435 } else if (&view == removeMidBtn_) { in OnClick()
438 } else if (&view == removeAllBtn_) { in OnClick()
440 } else if (&view == loopBtn_) { in OnClick()
448 } else if (&view == changePageBtn_) { in OnClick()
482 void UITestUISwipeView::SetLastPos(UIView* view) in SetLastPos() argument
[all...]
/foundation/arkui/ui_lite/interfaces/innerkits/common/
H A Dinput_method_manager.h30 UIView* view; /* view param for mini system without Window feature */ member
34 * This listener will invoke when the edit text view get focused.
44 * @brief Invoke this method when edit text view get focused.
50 * @brief Invoke this method when edit text view get blured.
62 * @brief Called to show input method when the edit view focuse
63 * @param UIView the edit view
65 void ShowInputMethod(UIView* view);
68 * @brief Called to hide input method when the edit view blure

Completed in 14 milliseconds

12345678910