/foundation/arkui/ui_lite/test/uitest/test_canvas/ |
H A D | ui_test_canvas.h | 35 void DrawLineSegment(UICanvas *canvas, const int16_t line1, 36 const int16_t line2, const int16_t line3, const int16_t line4); 37 void DrawRectangle(UICanvas *canvas, const int16_t line1, 38 const int16_t line2, const int16_t line3, const int16_t line4); 39 void DrawRotate001(UICanvas *canvas, Paint paint, const int16_t line1, const int16_t line [all...] |
/foundation/arkui/ui_lite/interfaces/kits/animator/ |
H A D | easing_equation.h | 52 typedef int16_t (*EasingFunc)(int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime); 91 static int16_t BackEaseIn(int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime); 109 static int16_t BackEaseOut(int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime); 127 static int16_t BackEaseInOu [all...] |
/foundation/arkui/ui_lite/frameworks/animator/ |
H A D | easing_equation.cpp | 29 int16_t EasingEquation::BackEaseIn(int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime) in BackEaseIn() 34 return static_cast<int16_t>((x * (static_cast<int32_t>(endPos) - startPos)) + startPos); in BackEaseIn() 40 int16_t EasingEquation::BackEaseOut(int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime) in BackEaseOut() 46 return static_cast<int16_t>((x * (static_cast<int32_t>(endPos) - startPos)) + startPos); in BackEaseOut() 52 int16_t EasingEquation::BackEaseInOut(int16_t startPo [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/ |
H A D | rs_color.h | 31 RSColor(int16_t red, int16_t green, int16_t blue) noexcept; 32 RSColor(int16_t red, int16_t green, int16_t blue, int16_t alpha) noexcept; 41 bool IsNearEqual(const RSColor& other, int16_t threshold = std::numeric_limits<int16_t>::epsilon()) const; 54 int16_t GetBlu [all...] |
/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_arc.h | 31 void GetDrawRange(int16_t& start, int16_t& end); 42 static constexpr int16_t IN_DEGREE_RANG = 0; 43 static constexpr int16_t OUT_DEGREE_RANG = 1; 44 static constexpr int16_t INTERSECT = 2; 45 static constexpr int16_t DOUBLE_INTERSECT = 3; 47 int16_t lineStart_; 48 int16_t lineEnd_; 49 int16_t outAntiStart_; 50 int16_t outAntiEnd [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/animation/ |
H A D | transition_impl.h | 46 int16_t transform_from; 47 int16_t transform_to; 49 int16_t height_from; 50 int16_t height_to; 51 int16_t width_from; 52 int16_t width_to; 53 int16_t opacity_from; 54 int16_t opacity_to; 78 int16_t x; 79 int16_t [all...] |
/foundation/arkui/ui_lite/frameworks/layout/ |
H A D | grid_layout.cpp | 29 int16_t childrenNum = 0; in LayoutChildren() 52 int16_t left; in LayoutHorizontal() 53 int16_t right; in LayoutHorizontal() 54 int16_t top; in LayoutHorizontal() 55 int16_t bottom; in LayoutHorizontal() 56 int16_t layoutWidth = GetWidth() / cols_; in LayoutHorizontal() 57 int16_t layoutHeight = GetHeight() / rows_; in LayoutHorizontal() 58 int16_t posX; in LayoutHorizontal() 59 for (int16_t i = 0; i < rows_; i++) { in LayoutHorizontal() 60 int16_t pos in LayoutHorizontal() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbclib/include/ |
H A D | sbc_encoder.h | 40 void Analyze4SubbandsInternal(int16_t *x, int32_t *outData, int increseValue); 41 void Analyze8SubbandsInternal(int16_t *x, int32_t *outData, int increseValue); 42 static void AnalyzeFourForPolyphaseFilter(int32_t *temp, const int16_t *inData, const int16_t *consts); 43 static void AnalyzeFourForScaling(int32_t *temp1, int16_t *temp2); 44 static void AnalyzeFourForCosTransform(int32_t *temp1, int16_t *temp2, const int16_t *consts); 45 void AnalyzeFourFunction(const int16_t *inData, int32_t *outData, const int16_t *consts) const; 46 static void AnalyzeEightForPolyphaseFilter(int32_t *temp, const int16_t *inDat [all...] |
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_circle_progress.h | 98 void SetCenterPosition(int16_t x, int16_t y); 150 * @param startAngle Indicates the start angle to set, which can be any value represented by <b>int16_t</b>. 156 void SetStartAngle(int16_t startAngle); 166 int16_t GetStartAngle() const in GetStartAngle() 180 * @param endAngle Indicates the end angle to set, which can be any value represented by <b>int16_t</b>. 186 void SetEndAngle(int16_t endAngle); 196 int16_t GetEndAngle() const in GetEndAngle() 210 void SetProgressImagePosition(int16_t x, int16_t [all...] |
H A D | ui_surface_view.h | 86 void SetPosition(int16_t x, int16_t y) override; 98 void SetPosition(int16_t x, int16_t y, int16_t width, int16_t height) override; 108 void Resize(int16_t width, int16_t height) override; 117 void SetX(int16_t x) override; 126 void SetY(int16_t [all...] |
H A D | ui_list.h | 81 virtual void OnScrollStart(int16_t index, UIView* view) {} in OnScrollStart() 94 virtual void OnScrollEnd(int16_t index, UIView* view) {} in OnScrollEnd() 107 virtual void OnScrollTop(int16_t index, UIView* view) {} in OnScrollTop() 120 virtual void OnScrollBottom(int16_t index, UIView* view) {} in OnScrollBottom() 134 virtual void OnItemSelected(int16_t index, UIView* view) {} in OnItemSelected() 239 void MoveChildByOffset(int16_t x, int16_t y) override; 257 void ScrollBy(int16_t distance); 423 static constexpr int16_t RECALCULATE_DRAG_DISTANCE = 10; 424 static constexpr int16_t RECALCULATE_DRAG_TIME [all...] |
H A D | ui_abstract_scroll.h | 204 void MoveChildByOffset(int16_t offsetX, int16_t offsetY) override; 446 void SetDragStartValue(int16_t startValueX, int16_t startValueY) in SetDragStartValue() 454 void SetDragEndValue(int16_t endValueX, int16_t endValueY) in SetDragEndValue() 474 int16_t startValueX_; 475 int16_t endValueX_; 476 int16_t previousValueX_; 477 int16_t startValueY [all...] |
H A D | text_adapter.h | 60 virtual bool Format(int16_t value, char* outText, uint16_t textLen); 101 UIView* GetView(UIView* inView, int16_t index) override; 121 void SetData(int16_t start, int16_t end); 189 void SetWidth(int16_t width) in SetWidth() 213 void SetHeight(int16_t height) in SetHeight() 258 virtual UILabel* GetTextView(UIView* inView, int16_t index); 266 UILabel* GetDynamicText(UIView* inView, int16_t index); 267 UILabel* GetIntegerText(UIView* inView, int16_t index); 272 int16_t width [all...] |
H A D | ui_view.h | 824 void ResizeVisibleArea(int16_t x, int16_t y, int16_t width, int16_t height); 832 virtual void SetWidth(int16_t width); 848 virtual int16_t GetWidth(); 856 virtual void SetHeight(int16_t height); 872 virtual int16_t GetHeight(); 881 virtual void Resize(int16_t width, int16_t heigh [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/ |
H A D | rs_color.cpp | 28 alpha_ = static_cast<int16_t>(rgba & 0xFF); // 0xff byte mask 29 red_ = static_cast<int16_t>((rgba & 0xFF000000) >> 24); // 0xff000000 red mask, 24 red shift 30 green_ = static_cast<int16_t>((rgba & 0x00FF0000) >> 16); // 0x00ff0000 green mask, 16 green shift 31 blue_ = static_cast<int16_t>((rgba & 0x0000FF00) >> 8); // 0x0000ff00 blue mask, 8 blue shift 34 RSColor::RSColor(int16_t red, int16_t green, int16_t blue) noexcept : RSColor(red, green, blue, UINT8_MAX) {} in RSColor() 36 RSColor::RSColor(int16_t red, int16_t green, int16_t blu [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_v2/pattern_lock/ |
H A D | render_pattern_lock.h | 26 constexpr int16_t COL_COUNT = 3; 80 bool AddChoosePoint(Offset offset, int16_t x, int16_t y); 81 void AddPassPoint(Offset offset, int16_t x, int16_t y); 82 bool CheckChoosePoint(int16_t x, int16_t y) const; 83 bool CheckChoosePointIsLastIndex(int16_t x, int16_t y, int16_t inde [all...] |
/foundation/arkui/ui_lite/interfaces/kits/layout/ |
H A D | flex_layout.h | 119 void GetStartPos(const int16_t& length, int16_t& pos, int16_t& interval, int16_t count, 121 void GetNoWrapStartPos(const int16_t& length, int16_t& majorPos, int16_t& interval); 125 void GetRowStartPos(int16_t& pos, int16_t& interval, int16_t coun [all...] |
/foundation/graphic/graphic_utils_lite/frameworks/ |
H A D | geometry2d.cpp | 21 bool Intersect(const Line& a, const Line& b, Vector2<int16_t>& out) in Intersect() 23 Vector2<int16_t> aA = a[0]; in Intersect() 24 Vector2<int16_t> aB = a[1]; in Intersect() 25 Vector2<int16_t> bA = b[0]; in Intersect() 26 Vector2<int16_t> bB = b[1]; in Intersect() 44 Vector2<int16_t> aA = a[0]; in IsIntersect() 45 Vector2<int16_t> aB = a[1]; in IsIntersect() 46 Vector2<int16_t> bA = b[0]; in IsIntersect() 47 Vector2<int16_t> bB = b[1]; in IsIntersect() 70 int16_t i in Clip() [all...] |
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/spancolorfill/ |
H A D | fill_gradient.h | 37 virtual int16_t Calculate(int16_t x, int16_t y, int16_t startRadius, int16_t endRadius, int16_t size) = 0; 141 int16_t Calculate(int16_t x, int16_t y, int16_t startRadiu [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | color.h | 199 alpha_ = static_cast<int16_t>((argb & 0xFF000000) >> 24); in LinearColor() 200 red_ = static_cast<int16_t>((argb & 0x00FF0000) >> 16); in LinearColor() 201 green_ = static_cast<int16_t>((argb & 0x0000FF00) >> 8); in LinearColor() 202 blue_ = static_cast<int16_t>(argb & 0xFF); in LinearColor() 207 LinearColor(int16_t alpha, int16_t red, int16_t green, int16_t blue) in LinearColor() 234 return LinearColor(static_cast<int16_t>(round(GetAlpha() * value)), in operator *() 235 static_cast<int16_t>(roun in operator *() [all...] |
/foundation/arkui/ui_lite/test/uitest/test_event_injector/ |
H A D | ui_test_event_injector.cpp | 30 const int16_t ITEM_H = 50; 31 const int16_t TEXT_H = 29; 32 const int16_t TEXT_W = 250; 33 const int16_t TEST_VIEW_H = 50; 34 const int16_t TEST_VIEW_W = 50; 35 const int16_t GAP = 5; 36 const int16_t TEST_VIEW_GAP = 80; 37 const int16_t TEST_BUTTON_W = 100; 38 const int16_t TEST_BUTTON_H = 30; 39 const int16_t LAYOUT_HEIGH [all...] |
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/ |
H A D | transform.h | 187 int16_t GetRotateAngle() const in GetRotateAngle() 201 void Rotate(int16_t angle, const Vector2<float>& pivot); 203 void Rotate(int16_t angle, const Vector3<float>& rotatePivotStart, const Vector3<float>& rotatePivotEnd); 217 void Translate(const Vector2<int16_t>& trans); 219 void Translate(const Vector3<int16_t>& trans); 231 void SetCameraDistance(int16_t distance); 252 int16_t angle_ = 0; 253 int16_t cameraDistance_ = 1000; // 1000 : default distance 287 void Rotate(const Vector2<int16_t>& point, int16_t angl [all...] |
/foundation/arkui/ui_lite/interfaces/kits/common/ |
H A D | text.h | 108 int16_t inRotateAngle, ColorType inColor, OpacityType inOpaScale, in InitData() 132 int16_t rotateAngle; 165 int16_t start; 166 int16_t end; 171 int16_t start; 172 int16_t end; 177 int16_t start; 178 int16_t end; 377 int16_t offsetX, 483 void SetBackgroundColorSpan(ColorType backgroundColor, int16_t star [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/chart/ |
H A D | chart_tdd_test.cpp | 232 int16_t defaultWidth = 300; in ComponentChartStyleValueTest001() 233 int16_t defaultHeight = 300; in ComponentChartStyleValueTest001() 239 int16_t defaultWidth = 300; in ComponentChartStyleValueTest002() 240 int16_t defaultHeight = 300; in ComponentChartStyleValueTest002() 246 int16_t changedHeight = 300; in ComponentChartStyleValueTest003() 252 int16_t changedHeight = 300; in ComponentChartStyleValueTest004() 256 void ChartTddTest::VerifyWidthAndHeight(const char *bundle, int16_t defaultWidth, int16_t defaultHeight) in VerifyWidthAndHeight() 263 int16_t width = chart->GetWidth(); in VerifyWidthAndHeight() 265 int16_t heigh in VerifyWidthAndHeight() [all...] |
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_box_scroll_bar.cpp | 26 void UIBoxScrollBar::SetPosition(int16_t x, int16_t y, int16_t width, int16_t height) in SetPosition() 45 int16_t forgroundHeight = static_cast<int16_t>(foregroundProportion_ * backgroundRect_.GetHeight()); in OnDraw() 49 int16_t forgroundTop = backgroundRect_.GetTop() + in OnDraw() 50 static_cast<int16_t>(scrollProgress_ * (backgroundRect_.GetHeight() - forgroundHeight)); in OnDraw() 54 int16_t forgroundWidth = static_cast<int16_t>(foregroundProportion in OnDraw() [all...] |