Lines Matching defs:UIView
31 UIView::UIView()
69 UIView::~UIView()
86 bool UIView::OnPreDraw(Rect& invalidatedArea) const
107 void UIView::OnDraw(BufferInfo& gfxDstBuffer, const Rect& invalidatedArea)
113 void UIView::OnPostDraw(BufferInfo& gfxDstBuffer, const Rect& invalidatedArea)
118 void UIView::DrawViewBounds(BufferInfo& gfxDstBuffer, const Rect& invalidatedArea)
179 void UIView::SetupThemeStyles()
189 void UIView::SetStyle(Style& style)
198 void UIView::SetStyle(uint8_t key, int64_t value)
217 void UIView::UpdateRectInfo(uint8_t key, const Rect& rect)
248 int64_t UIView::GetStyle(uint8_t key) const
253 const Style& UIView::GetStyleConst() const
258 void UIView::SetOpaScale(uint8_t opaScale)
263 uint8_t UIView::GetOpaScale() const
268 UIView::ViewExtraMsg* UIView::GetExtraMsg()
273 void UIView::SetExtraMsg(ViewExtraMsg* extraMsg)
278 void UIView::Rotate(int16_t angle, const Vector2<float>& pivot)
285 void UIView::Rotate(int16_t angle, const Vector3<float>& pivotStart, const Vector3<float>& pivotEnd)
304 void UIView::Scale(const Vector2<float>& scale, const Vector2<float>& pivot)
311 void UIView::Scale(const Vector3<float>& scale, const Vector3<float>& pivot)
330 void UIView::Shear(const Vector2<float>& shearX, const Vector2<float>& shearY, const Vector2<float>& shearZ)
352 void UIView::Translate(const Vector2<int16_t>& trans)
358 void UIView::Translate(const Vector3<int16_t>& trans)
377 bool UIView::IsTransInvalid()
385 void UIView::SetCameraDistance(int16_t distance)
399 void UIView::SetCameraPosition(const Vector2<float>& position)
413 void UIView::ResetTransParameter()
423 void UIView::RequestFocus()
428 void UIView::ClearFocus()
434 void UIView::Invalidate()
436 UIView* view = this;
447 void UIView::InvalidateRect(const Rect& invalidatedArea, UIView* view)
462 UIView* par = view->parent_;
463 UIView* cur = view;
485 bool UIView::OnLongPressEvent(const LongPressEvent& event)
495 bool UIView::OnDragStartEvent(const DragEvent& event)
505 bool UIView::OnDragEvent(const DragEvent& event)
515 bool UIView::OnDragEndEvent(const DragEvent& event)
525 bool UIView::OnClickEvent(const ClickEvent& event)
535 bool UIView::OnPressEvent(const PressEvent& event)
545 bool UIView::OnReleaseEvent(const ReleaseEvent& event)
555 bool UIView::OnCancelEvent(const CancelEvent& event)
565 void UIView::SetOnDragListener(OnDragListener* onDragListener)
570 UIView::OnDragListener*& UIView::GetOnDragListener()
575 void UIView::SetOnClickListener(OnClickListener* onClickListener)
580 UIView::OnClickListener*& UIView::GetOnClickListener()
585 void UIView::SetOnLongPressListener(OnLongPressListener* onLongPressListener)
590 UIView::OnLongPressListener*& UIView::GetOnLongPressListener()
595 void UIView::SetOnTouchListener(OnTouchListener* onTouchListener)
600 UIView::OnTouchListener*& UIView::GetTouchListener()
605 void UIView::SetParent(UIView* parent)
610 UIView* UIView::GetParent() const
615 void UIView::SetNextSibling(UIView* sibling)
620 UIView* UIView::GetNextSibling() const
625 void UIView::SetNextRenderSibling(UIView* renderSibling)
630 UIView* UIView::GetNextRenderSibling() const
635 void UIView::SetVisible(bool visible)
644 bool UIView::IsVisible() const
649 void UIView::SetTouchable(bool touch)
654 bool UIView::IsTouchable() const
659 void UIView::SetDraggable(bool draggable)
665 bool UIView::IsDraggable() const
670 void UIView::SetDragParentInstead(bool dragParentInstead)
675 bool UIView::IsDragParentInstead() const
681 bool UIView::OnRotateStartEvent(const RotateEvent& event)
689 bool UIView::OnRotateEvent(const RotateEvent& event)
697 bool UIView::OnRotateEndEvent(const RotateEvent& event)
705 void UIView::SetOnRotateListener(OnRotateListener* onRotateListener)
712 void UIView::GetTargetView(const Point& point, UIView** last)
717 UIView* par = parent_;
729 void UIView::GetTargetView(const Point& point, UIView** current, UIView** target)
734 UIView* par = parent_;
750 void UIView::SetFocusable(bool focusable)
755 bool UIView::IsFocusable() const
760 void UIView::Focus()
767 void UIView::Blur()
774 void UIView::SetOnFocusListener(OnFocusListener* onFocusListener)
779 UIView::OnFocusListener* UIView::GetOnFocusListener() const
786 Rect UIView::GetRect() const
798 Rect UIView::GetContentRect()
816 Rect UIView::GetOrigContentRect()
826 Rect UIView::GetOrigRect() const
830 UIView* par = parent_;
839 Rect UIView::GetMaskedRect() const
850 Rect UIView::GetVisibleRect() const
858 UIView* par = parent_;
871 void UIView::SetTransformMap(const TransformMap& transMap)
889 void UIView::SetWidth(int16_t width)
898 void UIView::SetWidthPercent(float widthPercent)
909 int16_t UIView::GetWidth()
915 void UIView::SetHeight(int16_t height)
924 void UIView::SetHeightPercent(float heightPercent)
935 int16_t UIView::GetHeight()
941 void UIView::Resize(int16_t width, int16_t height)
947 void UIView::ResizePercent(float widthPercent, float heightPercent)
959 void UIView::SetX(int16_t x)
966 void UIView::SetXPercent(float xPercent)
977 int16_t UIView::GetX() const
982 void UIView::SetY(int16_t y)
989 void UIView::SetYPercent(float yPercent)
1000 int16_t UIView::GetY() const
1005 void UIView::SetPosition(int16_t x, int16_t y)
1011 void UIView::SetPositionPercent(float xPercent, float yPercent)
1023 void UIView::SetPosition(int16_t x, int16_t y, int16_t width, int16_t height)
1030 void UIView::SetPositionPercent(float xPercent, float yPercent, float widthPercent, float heightPercent)
1044 bool UIView::IsViewGroup() const
1049 void UIView::SetIntercept(bool isIntercept)
1054 bool UIView::IsIntercept()
1059 bool UIView::IsInvalid(float percent)
1067 TransformMap& UIView::GetTransformMap()
1075 UIView* UIView::GetChildById(const char* id) const
1080 void UIView::SetViewId(const char* id)
1085 const char* UIView::GetViewId() const
1090 void UIView::SetViewIndex(int16_t index)
1095 int16_t UIView::GetViewIndex() const
1100 UIViewType UIView::GetViewType() const
1105 void UIView::LayoutCenterOfParent(int16_t xOffset, int16_t yOffset)
1122 void UIView::LayoutLeftOfParent(int16_t offset)
1132 void UIView::LayoutRightOfParent(int16_t offset)
1142 void UIView::LayoutTopOfParent(int16_t offset)
1152 void UIView::LayoutBottomOfParent(int16_t offset)
1162 void UIView::AlignLeftToSibling(const char* id, int16_t offset)
1167 UIView* sib = parent_->GetChildById(id);
1174 void UIView::AlignRightToSibling(const char* id, int16_t offset)
1179 UIView* sib = parent_->GetChildById(id);
1186 void UIView::AlignTopToSibling(const char* id, int16_t offset)
1191 UIView* sib = parent_->GetChildById(id);
1198 void UIView::AlignBottomToSibling(const char* id, int16_t offset)
1203 UIView* sib = parent_->GetChildById(id);
1210 void UIView::AlignHorCenterToSibling(const char* id, int16_t offset)
1215 UIView* sib = parent_->GetChildById(id);
1223 void UIView::AlignVerCenterToSibling(const char* id, int16_t offset)
1228 UIView* sib = parent_->GetChildById(id);
1237 void UIView::LayoutLeftToSibling(const char* id, int16_t offset)
1242 UIView* sib = parent_->GetChildById(id);
1249 void UIView::LayoutRightToSibling(const char* id, int16_t offset)
1254 UIView* sib = parent_->GetChildById(id);
1261 void UIView::LayoutTopToSibling(const char* id, int16_t offset)
1266 UIView* sib = parent_->GetChildById(id);
1273 void UIView::LayoutBottomToSibling(const char* id, int16_t offset)
1278 UIView* sib = parent_->GetChildById(id);
1285 uint8_t UIView::GetMixOpaScale() const
1288 UIView* parent = parent_;
1298 bool UIView::GetBitmap(ImageInfo& imageInfo, ColorMode colorMode)
1300 UIView* tempRenderSibling = nextRenderSibling_;
1302 UIView* tempParent = parent_;
1349 bool UIView::IsOnViewTree()
1351 UIView* par = this;
1361 int16_t UIView::GetWidthWithMargin()
1366 int16_t UIView::GetHeightWithMargin()
1371 Rect UIView::GetRelativeRect() const
1376 void UIView::ResizeVisibleArea(int16_t x, int16_t y, int16_t width, int16_t height)
1390 void UIView::SetZIndex(int16_t zIndex)
1402 int16_t UIView::GetZIndex()