# Graphic ## **Overview** Defines a lightweight graphics system that provides basic UI and container views, including buttons, images, labels, lists, animators, scroll views, swipe views, and layouts. This system also provides the Design for X \(DFX\) capability to implement features such as view rendering, animation, and input event distribution. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Files
Defines functions for specifying the velocity of an animation. |
|
Converts colors in different formats and defines common colors. |
|
Represents basic image attributes, including the image type and path. |
|
Represents the Task class of the graphics module. This class provides functions for setting the running period and time of a task. |
|
Represents the base class of Text, providing the text attribute setting and text drawing capabilities for components that require font display. |
|
Defines the base class for adapters. You can derive AbstractAdapter based on actual requirements and use the GetView() and GetCount() functions to implement adapters of different data types. For details, see TextAdapter. |
|
Listens for the input events triggered by a virtual device other than human touching or physical pressing. |
|
Defines the functions related to a root view which contains its child views and represents the root node in a tree structure. |
|
Defines a text formatter. You can inherit this class and implement the Format() function. |
|
Defines a text adapter, which implements UILabel instance construction and supports text data and continuous integer data. |
|
An abstract class that contains functions for converting units of time (hour, minute, and second), setting and obtaining the time. |
|
Represents the abstract base class which provides functions related to the progress bar. |
|
Defines the attributes of a scroll, including the scroll direction, blank size of a scroll view, velocity and effects of a scroll animation. |
|
Defines the basic attributes of the analog clock hands. This is an inner class of UIAbstractClock. |
|
Stores the attribute information about this arc text to draw. |
|
Represents the coordinate axis base class, which defines the basic attributes of coordinate axis, sets whether a coordinate axis is visible, and sets the number of scales on a coordinate axis. This class is used in UIChart. |
|
Defines the unique attributes and functions for the x-axis. This class is used in UIChart. |
|
Defines the unique attributes and functions for the y-axis. This class is used in UIChart. |
|
Defines a canvas, which is used to draw multiple types of 2D graphs. |
|
Defines the style for the top, bottom, and frontmost points in a line chart. |
|
Defines a data set and provides functions such as adding and deleting data points. |
|
Defines the chart class and provides functions such as adding and deleting data sets to display a chart. |
|
Represents a listener that contains a callback to be invoked when this animator stops. |
|
Defines the functions for presenting a label in a specified area, setting the style and background color of a label, and setting the display mode of a long label text. |
|
Represents a listener that contains a callback to be invoked when the scroll state changes or when a new child view is selected at the preset position as this list scrolls. The scroll state can be {} or SCROLL_STATE_MOVE}. |
|
Represents a scrollable list which is used with the adapter AbstractAdapter to implement scrolling, inertial scrolling, automatic alignment, and invoking of a callback when a child view is selected at the preset position as this list scrolls. |
|
Defines the listener used by a picker. This listener is triggered when an item is selected after sliding stops. |
|
Defines a picker. Multiple texts or numbers can be put into a sliding list for selection. The selected text or numbers are highlighted. |
|
Represents a listener that contains a callback to be invoked upon scroll state changes. The state can either be SCROLL_STATE_STOP or SCROLL_STATE_MOVE. |
|
Supports horizontal or vertical scroll of child views. This class is inherited from UIAbstractScroll. |
|
Represents a surface view that interacts with the multimedia to achieve camera preview and video playback. |
|
Represents a listener that contains a callback to be invoked when this animator stops. |
|
Defines the listener used by the time picker. This listener is triggered when an item is selected after sliding stops. |
|
Defines the time picker. The time is in the format of "hour:minute" or "hour:minute:second". The selected time is highlighted. |
|
Defines a click event listener. You need to register this listener with the view to listen to click events. |
|
Defines a long-press event listener. You need to register this listener with the view to listen to long-press events. |
|
Defines a drag event listener. You need to register this listener with the view to listen to drag events. |
|
Defines a touch event listener. You need to register this listener with the view to listen to touch events. |
|
Defines the base class of a view, providing basic view attributes and operations. All views are derived from this class. |
|
Provides functions for exporting information about a specified DOM node or information about the DOM tree starting from a specified DOM node. |
|
Defines a cancel event, which usually occurs when the target view changes due to user sliding. For example, this event is triggered if you, after pressing a button, does not release the button but slides. |
|
Defines a click event, which indicates that a finger is pressed on the screen and then lifted within 1 second. |
|
Defines a drag event, which indicates a certain movement (more than 10 pixels) after a view is pressed. |
|
Defines the base class of a user input event and provides functions to record information such as the event position and timestamp. |
|
Defines a key event, which indicates that a physical button is pressed or released. |
|
Defines a long-press event, which indicates that the finger is not raised or moved within 1 second after a view is pressed. |
|
Defines a touch event, which indicates that the touchscreen or mouse is pressed. |
|
Defines a release event, which indicates that the touchscreen or mouse is released. |
|
Defines a virtual device event, which is used to receive a customized input event and call back the listening function registered. |
|
Defines a polygon, including vertex coordinates and the maximum number of vertices (defined by MAX_VERTEX_NUM). |
|
Defines the two-dimensional vector, and provides basic mathematical operations such as vector assignment, scalar product, cross product, addition, and subtraction. |
|
Defines the 3-dimensional vector, and provides basic operators such as [] and ==. |
|
Defines the base class, overriding the new and delete functions. |
|
Defines a flexible layout container. You can perform simple adaptive layout on child views that the container holds, for example, to evenly arrange all child views in the same row or column. |
|
Defines a grid layout container. You can perform simple grid layout on child views that the container holds. |
|
Defines the base class of the layout, which indicates the basic data types and operations that may be used in the layout. |
|
Stores linked list data and contains pointers to the previous node and the next node. |
|
Defines a linked list template class, which implements the data structure of bidirectional linked list and provides basic functions such as adding, deleting, inserting, clearing, popping up, and obtaining the size of the linked list. |
|
Defines a rectangle, including the position data of the four boundaries of the rectangle, and provides functions for rectangle inclusion, intersection, and aggregation. |
|
Defines the basic attributes and functions of a style. You can use this class to set different styles. |
|
Define some default style for UIView. |
|
Obtains the system information. Currently, the FPS information can be obtained. To enable the FPS feature, enable the ENABLE_FPS_SUPPORT macro. |
|
Defines the theme class used to define the functions related to the styles of different components. |
|
Declares the singleton class used to manage the current screen theme of an application. |
|
DMA2D hardware acceleration, which does not take effect on other platforms. |
|
DMA2D hardware acceleration for font rendering, which does not take effect on other platforms. |
|
Advanced algorithm for line breaks, which is disabled by default on other platforms. |
|
Multi-window, which is enabled by default on other platforms. |
|
Display buffer for rendering data refresh, which is disabled by default on other platforms. |
|
Vector type font,which is enabled by default on other platforms. |
|
Graphics rendering hardware acceleration, which is enabled by default. |
|
Memory hook, which is enabled by default. The system memory allocation is taken over after it is enabled. |
|
Function for monitoring the image refresh frame rate, which is disabled by default. |
|
Rectangle anti-aliasing, which is disabled by default. |
|
Font color mode, which is disabled by default. After it is enabled, the font color mode is set to 4 to accelerate font rendering. |
|
Log function of a graphics subsystem, which is disabled by default. |
|
Function for receiving input events in screen-off mode, which is disabled by default. |
|
Defines the log level. A smaller value indicates a higher priority. Logs whose priorities are higher than a specified level can be recorded. Log levels: NONE: disabling logs FATAL: fatal level ERROR: error level WARN: warning level INFO: info level DEBUG: debugging level. |
|
Defines the color depth of graphics rendering. The default value is 32 bits. The value can be 16 or 32. |
|
OHOS::EasingFunc) (int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime) |
OHOS::AnimatorCallback::Callback (UIView *view)=0 |
Called when each frame starts. This is a pure virtual function, which needs your inheritance and implementation. |
OHOS::AnimatorCallback::OnStop (UIView &view) |
Called when an animator stops. This is a pure virtual function, which needs your inheritance and implementation. |
A default destructor used to delete an AnimatorCallback instance. |
|
A default constructor used to create an Animator instance. |
|
OHOS::Animator::Animator (AnimatorCallback *callback, UIView *view, uint32_t time, bool repeat) |
A constructor used to create an Animator instance. |
A destructor used to delete the Animator instance. |
|
OHOS::Animator::GetState () const |
|
OHOS::Animator::SetState (uint8_t state) |
|
OHOS::Animator::GetTime () const |
|
OHOS::Animator::SetTime (uint32_t time) |
|
OHOS::Animator::GetRunTime () const |
|
OHOS::Animator::SetRunTime (uint32_t runTime) |
|
OHOS::Animator::IsRepeat () const |
|
static AnimatorManager * Obtains the AnimatorManager instance. |
|
OHOS::AnimatorManager::Add (Animator *animator) |
Adds the Animator instance to the AnimatorManager linked list for management, so that the Run function of the Animator class is called once for each frame. |
OHOS::AnimatorManager::Remove (const Animator *animator) |
Removes the Animator instance from the AnimatorManager linked list. |
OHOS::EasingEquation::SetBackOvershoot (double overshoot) |
Sets the parameter s in the equation (s+1)*t^3 - s*t^2 for a back easing. |
OHOS::EasingEquation::BackEaseIn (int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime) |
|
OHOS::EasingEquation::BackEaseOut (int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime) |
|
OHOS::EasingEquation::BackEaseInOut (int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime) |
|
OHOS::EasingEquation::CircEaseIn (int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime) |
|
OHOS::EasingEquation::CircEaseOut (int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime) |
|
OHOS::EasingEquation::CircEaseInOut (int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime) |
|
OHOS::EasingEquation::CubicEaseIn (int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime) |
|
OHOS::EasingEquation::CubicEaseOut (int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime) |
|
OHOS::EasingEquation::CubicEaseInOut (int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime) |
|
OHOS::EasingEquation::LinearEaseNone (int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime) |
|
OHOS::EasingEquation::QuadEaseIn (int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime) |
|
OHOS::EasingEquation::QuadEaseOut (int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime) |
|
OHOS::EasingEquation::QuadEaseInOut (int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime) |
|
OHOS::EasingEquation::QuintEaseIn (int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime) |
|
OHOS::EasingEquation::QuintEaseOut (int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime) |
|
OHOS::EasingEquation::QuintEaseInOut (int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime) |
|
OHOS::EasingEquation::SineEaseIn (int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime) |
|
OHOS::EasingEquation::SineEaseOut (int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime) |
|
OHOS::EasingEquation::SineEaseInOut (int16_t startPos, int16_t endPos, uint16_t curTime, uint16_t durationTime) |
|
OHOS::Interpolation::GetBezierInterpolation (int16_t t, int16_t u0, int16_t u1, int16_t u2, int16_t u3) |
|
OHOS::Color::GetMixColor (ColorType c1, ColorType c2, uint8_t mix) |
static ColorType Mixes two colors (color 1 and color 2) based on a specified opacity. |
OHOS::Color::GetColorFromRGB (uint8_t r8, uint8_t g8, uint8_t b8) |
static ColorType |
OHOS::Color::GetColorFromRGBA (uint8_t r8, uint8_t g8, uint8_t b8, uint8_t alpha) |
static ColorType |
OHOS::Color::ColorTo32 (ColorType color) |
|
OHOS::Color::ColorTo32 (Color16 color, uint8_t alpha) |
Converts color data with the 16-bit color depth into the RGBA8888 format. |
OHOS::Color::ColorTo16 (Color32 color) |
Converts color data from the RGBA8888 format into the RGB565 format. |
static ColorType |
|
static ColorType |
|
static ColorType |
|
static ColorType |
|
static ColorType |
|
static ColorType |
|
static ColorType |
|
static ColorType |
|
static ColorType |
|
static ColorType |
|
static ColorType |
|
static ColorType |
|
static ColorType |
|
static ColorType |
|
static ColorType |
|
static ColorType |
|
static ColorType |
|
static ColorType |
|
A constructor used to create an Image instance. You can use this constructor when a component requires a map. |
|
A destructor used to delete the Image instance. |
|
OHOS::Image::GetImageInfo () const |
const ImageInfo * |
OHOS::Image::GetPath () const |
|
OHOS::Image::GetHeader (ImageHeader &header) const |
Obtains the basic image information, including the image format, width, and height. |
OHOS::Image::GetSrcType () const |
|
OHOS::Image::SetSrc (const char *src) |
|
OHOS::Image::SetSrc (const ImageInfo *src) |
|
static Screen & Obtains a singleton Screen instance. |
|
A constructor used to create a Task instance. |
|
OHOS::Task::Task (uint32_t period) |
A constructor used to create a Task instance with the specified running period. |
A destructor used to delete the Task instance. |
|
OHOS::Task::SetPeriod (uint32_t period) |
|
OHOS::Task::SetLastRun (uint32_t lastRun) |
|
OHOS::Task::GetPeriod () const |
|
OHOS::Task::GetLastRun () const |
|
A constructor used to create a Text instance. |
|
A destructor used to delete the Text instance. |
|
OHOS::Text::SetText (const char *text) |
|
OHOS::Text::GetText () const |
|
OHOS::Text::SetFont (const char *name, uint8_t size) |
|
OHOS::Text::SetFontId (uint8_t fontId) |
|
OHOS::Text::GetFontId () const |
|
OHOS::Text::GetDirect () const |
|
OHOS::Text::SetAlign (UITextLanguageAlignment horizontalAlign, UITextLanguageAlignment verticalAlign=TEXT_ALIGNMENT_TOP) |
|
OHOS::Text::GetHorAlign () const |
|
OHOS::Text::GetVerAlign () const |
|
OHOS::Text::SetTextRotation (LabelRotateDegree angle) |
|
OHOS::Text::GetTextRotation () const |
|
OHOS::Text::GetTextRotateDegree () const |
|
OHOS::Text::GetTextSize () const |
|
OHOS::Text::SetExpandWidth (bool expand) |
|
OHOS::Text::IsExpandWidth () const |
|
OHOS::Text::SetExpandHeight (bool expand) |
|
OHOS::Text::IsExpandHeight () const |
|
OHOS::Text::GetEllipsisIndex (const Rect &textRect, const Style &style) |
Obtains the index of the character from where text will be replaced by ellipses based on the text rectangle and style. |
A constructor used to create an AbstractAdapter instance. |
|
A destructor used to delete the AbstractAdapter instance. |
|
OHOS::AbstractAdapter::GetView (UIView *inView, int16_t index)=0 |
virtual UIView * Obtains a UIView instance to convert adapter data into another UIView instance. |
static RootView * Obtains a singleton RootView instance. |
|
OHOS::RootView::OnKeyActListener::OnKeyAct (UIView &view, const KeyEvent &event)=0 |
|
OHOS::RootView::GetViewType () const override |
|
OHOS::RootView::OnKeyEvent (const KeyEvent &event) |
|
OHOS::RootView::SetOnKeyActListener (OnKeyActListener *onKeyActListener) |
Sets the listener that contains a callback to be invoked upon a physical key event. |
OHOS::RootView::OnVirtualDeviceEventListener::OnVirtualDeviceEvent (UIView &view, VirtualDeviceEvent event)=0 |
|
OHOS::RootView::OnVirtualDeviceEvent (const VirtualDeviceEvent &event) |
|
OHOS::RootView::SetOnVirtualDeviceEventListener (OnVirtualDeviceEventListener *onVirtualDeviceEventListener) |
Sets a listener for monitoring the input events of a virtual device. |
Clears the listener for monitoring the input events of a virtual device. |
|
OHOS::RootView::FindSubView (const UIView &parentView, const UIView *subView) |
Checks whether the target view is one of the child views of the specified parent view. |
OHOS::TextFormatter::Format (int16_t value, char *outText, uint16_t textLen) |
Converts the input integer into a character string for output. |
A constructor used to create a UILabel instance. |
|
A destructor used to delete the UILabel instance. |
|
OHOS::TextAdapter::GetView (UIView *inView, int16_t index) override |
UIView * Obtains a UILabel instance to convert adapter data into another UILabel instance. |
OHOS::TextAdapter::SetData (List< const char * > *data) |
Sets the UILabel adapter data, which is a string linked list. |
OHOS::TextAdapter::SetData (int16_t start, int16_t end) |
Sets continuously increasing data. For example, if you need to set data 0, 1, 2, 3, 4, use this function to set start to 0 and end to 4. |
OHOS::TextAdapter::SetFontId (uint8_t fontId) |
|
OHOS::TextAdapter::GetFontId () const |
|
OHOS::TextAdapter::SetFont (const char *name, uint8_t size) |
|
Style & Obtains the UILabel adapter style. |
|
OHOS::TextAdapter::GetCount () override |
Obtains the data size of the UILabel adapter. |
OHOS::TextAdapter::SetWidth (int16_t width) |
Sets the width of UILabel constructed by the adapter. |
Sets the direction of the UILabel constructed by the adapter. |
|
OHOS::TextAdapter::SetHeight (int16_t height) |
Sets the height of the UILabel constructed by the adapter. |
OHOS::TextAdapter::SetLineBreakMode (const uint8_t lineBreakMode) |
Sets the LineBreakMode attribute of UILabel constructed by the adapter. For details about the values of LineBreakMode, see LINE_BREAK_ADAPT, LINE_BREAK_WRAP, LINE_BREAK_ELLIPSIS, and LINE_BREAK_MARQUEE. |
OHOS::TextAdapter::SetOnClickListener (UIView::OnClickListener *clickListener) |
Sets the callback function to be invoked upon a click event. |
OHOS::TextAdapter::SetTextFormatter (TextFormatter *formatter) |
|
A default constructor used to create a UIAbstractClock instance. |
|
OHOS::UIAbstractClock::UIAbstractClock (uint8_t hour, uint8_t minute, uint8_t second) |
A constructor used to create a UIAbstractClock instance with time elements (hour, minute and second). |
A destructor used to delete the UIAbstractClock instance. |
|
OHOS::UIAbstractClock::GetViewType () const override |
|
OHOS::UIAbstractClock::SetTime24Hour (uint8_t hour, uint8_t minute, uint8_t second) |
|
OHOS::UIAbstractClock::SetTime12Hour (uint8_t hour, uint8_t minute, uint8_t second, bool am) |
|
OHOS::UIAbstractClock::UpdateClock (bool clockInit) |
|
OHOS::UIAbstractClock::SetWorkMode (WorkMode newMode) |
|
OHOS::UIAbstractClock::GetWorkMode () const |
virtual WorkMode |
A constructor used to create a UIAbstractProgress instance. |
|
A destructor used to delete the UIAbstractProgress instance. |
|
OHOS::UIAbstractProgress::GetViewType () const override |
|
OHOS::UIAbstractProgress::EnableBackground (bool enable) |
|
OHOS::UIAbstractProgress::SetValue (int16_t value) |
|
OHOS::UIAbstractProgress::GetValue () const |
|
OHOS::UIAbstractProgress::SetRange (int16_t rangeMax, int16_t rangeMin) |
|
OHOS::UIAbstractProgress::SetImage (const char *foregroundImage, const char *backgroundImage=nullptr) |
|
OHOS::UIAbstractProgress::SetImage (const ImageInfo *foregroundImage, const ImageInfo *backgroundImage=nullptr) |
|
OHOS::UIAbstractProgress::SetStep (uint16_t step) |
|
OHOS::UIAbstractProgress::GetStep () const |
|
OHOS::UIAbstractProgress::SetBackgroundStyle (const Style &style) |
|
OHOS::UIAbstractProgress::SetBackgroundStyle (uint8_t key, int64_t value) |
|
const Style & |
|
OHOS::UIAbstractProgress::GetBackgroundStyle (uint8_t key) const |
Obtains the value of a background style of this progress bar. |
OHOS::UIAbstractProgress::SetForegroundStyle (const Style &style) |
|
OHOS::UIAbstractProgress::SetForegroundStyle (uint8_t key, int64_t value) |
|
const Style & |
|
OHOS::UIAbstractProgress::GetForegroundStyle (uint8_t key) const |
Obtains the value of a foreground style of this progress bar. |
Sets the type of caps on the background and foreground of the progress bar. |
|
A constructor used to create a UIAbstractScroll instance. |
|
A destructor used to delete the UIAbstractScroll instance. |
|
OHOS::UIAbstractScroll::GetViewType () const override |
|
OHOS::UIAbstractScroll::GetDirection () const |
|
OHOS::UIAbstractScroll::SetScrollBlankSize (uint16_t size) |
|
OHOS::UIAbstractScroll::SetMaxScrollDistance (uint16_t distance) |
Sets the maximum scroll distance after a finger lifts the screen. |
OHOS::UIAbstractScroll::SetReboundSize (uint16_t size) |
Sets the rebound size, which is the distance a knob moves after being released when it reaches the end of a scrollbar. |
Obtains the maximum scroll distance after a finger lifts the screen. |
|
OHOS::UIAbstractScroll::SetDragFunc (EasingFunc func) |
Sets the easing function that specifies a scroll animation after a finger lifts the screen. |
OHOS::UIAbstractScroll::SetThrowDrag (bool throwDrag) |
Sets whether to continue scrolling after a finger lifts the screen. |
OHOS::UIAbstractScroll::MoveChildByOffset (int16_t offsetX, int16_t offsetY) override |
|
OHOS::UIAbstractScroll::SetDragACCLevel (uint16_t value) |
|
OHOS::UIAbstractScroll::SetSwipeACCLevel (uint16_t value) |
Sets the compensation distance after a finger lifts the screen. |
Obtains the compensation distance after a finger lifts the screen. |
|
A default constructor used to create a UIAnalogClock instance. |
|
A destructor used to delete the UIAnalogClock instance. |
|
A default constructor used to create a Hand instance. |
|
A destructor used to delete the Hand instance. |
|
OHOS::UIAnalogClock::GetViewType () const override |
|
OHOS::UIAnalogClock::SetHandImage (HandType type, const UIImageView &img, Point position, Point center) |
|
OHOS::UIAnalogClock::SetHandLine (HandType type, Point position, Point center, ColorType color, uint16_t width, uint16_t height, OpacityType opacity) |
|
OHOS::UIAnalogClock::GetHandRotateCenter (HandType type) const |
|
OHOS::UIAnalogClock::GetHandPosition (HandType type) const |
|
OHOS::UIAnalogClock::GetHandInitAngle (HandType type) const |
Obtains the initial rotation angle of the specified clock hand. |
OHOS::UIAnalogClock::GetHandCurrentAngle (HandType type) const |
Obtains the current rotation angle of the specified clock hand. |
OHOS::UIAnalogClock::SetInitTime24Hour (uint8_t hour, uint8_t minute, uint8_t second) |
|
OHOS::UIAnalogClock::SetInitTime12Hour (uint8_t hour, uint8_t minute, uint8_t second, bool am) |
|
OHOS::UIAnalogClock::OnDraw (const Rect &invalidatedArea) override |
|
OHOS::UIAnalogClock::OnPostDraw (const Rect &invalidatedArea) override |
|
OHOS::UIAnalogClock::SetPosition (int16_t x, int16_t y) override |
|
OHOS::UIAnalogClock::SetPosition (int16_t x, int16_t y, int16_t width, int16_t height) override |
|
OHOS::UIAnalogClock::SetWorkMode (WorkMode newMode) override |
|
OHOS::UIAnalogClock::UpdateClock (bool clockInit) override |
|
A default constructor used to create a UIArcLabel instance. |
|
A destructor used to delete the UIArcLabel instance. |
|
OHOS::UIArcLabel::GetViewType () const override |
|
OHOS::UIArcLabel::GetWidth () override |
|
OHOS::UIArcLabel::GetHeight () override |
|
OHOS::UIArcLabel::SetText (const char *text) |
|
OHOS::UIArcLabel::GetText () const |
|
OHOS::UIArcLabel::SetAlign (UITextLanguageAlignment horizontalAlign) |
|
OHOS::UIArcLabel::GetHorAlign () const |
|
OHOS::UIArcLabel::SetFontId (uint8_t fontId) |
|
OHOS::UIArcLabel::GetFontId () const |
|
OHOS::UIArcLabel::SetFont (const char *name, uint8_t size) |
|
OHOS::UIArcLabel::SetArcTextCenter (int16_t x, int16_t y) |
|
OHOS::UIArcLabel::GetArcTextCenter () const |
|
OHOS::UIArcLabel::SetArcTextRadius (uint16_t radius) |
|
OHOS::UIArcLabel::GetArcTextRadius () const |
|
OHOS::UIArcLabel::SetArcTextAngle (int16_t startAngle, int16_t endAngle) |
|
OHOS::UIArcLabel::GetArcTextEndAngle () const |
|
OHOS::UIArcLabel::SetArcTextOrientation (TextOrientation orientation) |
|
OHOS::UIArcLabel::OnDraw (const Rect &invalidatedArea) override |
|
A constructor used to create a UIAxis instance. |
|
A destructor used to delete the UIAxis instance. |
|
OHOS::UIAxis::GetViewType () const override |
|
OHOS::UIAxis::SetDataRange (uint16_t min, uint16_t max)=0 |
|
OHOS::UIAxis::SetMarkNum (uint16_t count)=0 |
|
OHOS::UIAxis::SetLineColor (const ColorType &color) |
|
OHOS::UIAxis::OnDraw (const Rect &invalidatedArea) override |
|
OHOS::UIAxis::OnPreDraw (const Rect &invalidatedArea) override |
Called before a view is drawn. This function is used to check whether the parent view of this view needs to be redrawn so as to optimize the drawing process. |
OHOS::UIAxis::TranslateToPixel (int16_t &value)=0 |
|
A constructor used to create a UIXAxis instance. |
|
A destructor used to delete the UIXAxis instance. |
|
OHOS::UIXAxis::TranslateToPixel (int16_t &value) override |
|
OHOS::UIXAxis::SetDataRange (uint16_t min, uint16_t max) override |
|
OHOS::UIXAxis::SetMarkNum (uint16_t count) override |
|
A constructor used to create a UIYAxis instance. |
|
A destructor used to delete the UIYAxis instance. |
|
OHOS::UIYAxis::TranslateToPixel (int16_t &value) override |
|
OHOS::UIYAxis::SetDataRange (uint16_t min, uint16_t max) override |
|
OHOS::UIYAxis::SetMarkNum (uint16_t count) override |
|
A constructor used to create a UIBoxProgress instance. |
|
A destructor used to delete the UIBoxProgress instance. |
|
OHOS::UIBoxProgress::GetViewType () const override |
|
OHOS::UIBoxProgress::SetWidth (int16_t width) override |
|
OHOS::UIBoxProgress::SetHeight (int16_t height) override |
|
OHOS::UIBoxProgress::SetDirection (const Direction &direction) |
|
OHOS::UIBoxProgress::GetDirection () const |
|
OHOS::UIBoxProgress::SetValidWidth (int16_t width) |
|
OHOS::UIBoxProgress::GetValidWidth () const |
|
OHOS::UIBoxProgress::SetValidHeight (int16_t height) |
|
OHOS::UIBoxProgress::GetValidHeight () const |
|
OHOS::UIBoxProgress::OnDraw (const Rect &invalidatedArea) override |
|
A constructor used to create a UIButton instance. |
|
OHOS::UIButton::UIButton (const char *id) |
A constructor used to create a UIButton instance based on the button ID. |
A destructor used to delete the UIButton instance. |
|
OHOS::UIButton::GetViewType () const override |
|
OHOS::UIButton::OnPreDraw (const Rect &invalidatedArea) override |
Do something before draw, this function will be invoked mainly to check if this view need to cover invalidate area so render manager can decide which layer to draw firstly. |
OHOS::UIButton::OnDraw (const Rect &invalidatedArea) override |
|
OHOS::UIButton::OnPressEvent (const PressEvent &event) override |
|
OHOS::UIButton::OnReleaseEvent (const ReleaseEvent &event) override |
|
OHOS::UIButton::OnCancelEvent (const CancelEvent &event) override |
|
OHOS::UIButton::SetImageSrc (const char *defaultImgSrc, const char *triggeredImgSrc) |
|
OHOS::UIButton::SetImageSrc (const ImageInfo *defaultImgSrc, const ImageInfo *triggeredImgSrc) |
|
OHOS::UIButton::SetImagePosition (const int16_t x, const int16_t y) |
|
OHOS::UIButton::GetImageX () const |
|
OHOS::UIButton::GetImageY () const |
|
OHOS::UIButton::GetCurImageSrc () const |
const Image * |
OHOS::UIButton::GetWidth () override |
|
OHOS::UIButton::GetHeight () override |
|
OHOS::UIButton::SetWidth (int16_t width) override |
|
OHOS::UIButton::SetHeight (int16_t height) override |
|
OHOS::UIButton::GetContentRect () override |
virtual Rect Obtains a rectangular area that contains coordinate information. |
OHOS::UIButton::GetStyle (uint8_t key) const override |
|
OHOS::UIButton::SetStyle (uint8_t key, int64_t value) override |
|
OHOS::UIButton::GetStyleForState (uint8_t key, ButtonState state) const |
|
OHOS::UIButton::SetStyleForState (uint8_t key, int64_t value, ButtonState state) |
|
Sets the state for a button. After the setting, calling SetStyle will change the style of this button, but not its state. |
|
A constructor used to create a Paint instance. |
|
A destructor used to delete the Paint instance. |
|
OHOS::Paint::SetStyle (PaintStyle style) |
|
OHOS::Paint::GetStyle () const |
|
OHOS::Paint::SetStrokeWidth (uint16_t width) |
|
OHOS::Paint::GetStrokeWidth () const |
|
OHOS::Paint::SetStrokeColor (ColorType color) |
|
OHOS::Paint::GetStrokeColor () const |
|
OHOS::Paint::SetFillColor (ColorType color) |
|
OHOS::Paint::GetFillColor () const |
|
OHOS::Paint::SetOpacity (uint8_t opacity) |
|
OHOS::Paint::GetOpacity () const |
|
A constructor used to create a UICanvas instance. |
|
A destructor used to delete the UICanvas instance. |
|
OHOS::UICanvas::GetViewType () const override |
|
OHOS::UICanvas::SetStartPosition (const Point &startPoint) |
Sets the coordinates of the start point for drawing a line. For example, if startPoint is set to {50, 50}, the line is drawn from this set of coordinates on the canvas. |
OHOS::UICanvas::GetStartPosition () const |
const Point & |
OHOS::UICanvas::DrawLine (const Point &endPoint, const Paint &paint) |
|
OHOS::UICanvas::DrawLine (const Point &startPoint, const Point &endPoint, const Paint &paint) |
Draws a straight line from the coordinates of the start point. |
OHOS::UICanvas::DrawCurve (const Point &control1, const Point &control2, const Point &endPoint, const Paint &paint) |
|
OHOS::UICanvas::DrawCurve (const Point &startPoint, const Point &control1, const Point &control2, const Point &endPoint, const Paint &paint) |
Draws a cubic Bezier curve from the start point coordinates. |
OHOS::UICanvas::DrawRect (const Point &startPoint, int16_t height, int16_t width, const Paint &paint) |
|
OHOS::UICanvas::DrawCircle (const Point ¢er, uint16_t radius, const Paint &paint) |
|
OHOS::UICanvas::DrawSector (const Point ¢er, uint16_t radius, int16_t startAngle, int16_t endAngle, const Paint &paint) |
|
OHOS::UICanvas::DrawArc (const Point ¢er, uint16_t radius, int16_t startAngle, int16_t endAngle, const Paint &paint) |
|
OHOS::UICanvas::DrawImage (const Point &startPoint, const char *image, const Paint &paint) |
|
OHOS::UICanvas::DrawLabel (const Point &startPoint, const char *text, uint16_t maxWidth, const FontStyle &fontStyle, const Paint &paint) |
|
OHOS::UICanvas::OnDraw (const Rect &invalidatedArea) override |
|
A constructor used to create a UIChartDataSerial instance. |
|
A destructor used to delete the UIChartDataSerial instance. |
|
OHOS::UIChartDataSerial::SetMaxDataCount (uint16_t maxCount) |
Sets the maximum number of data points that can be stored in a data set. |
OHOS::UIChartDataSerial::ModifyPoint (uint16_t index, const Point &point) |
|
OHOS::UIChartDataSerial::GetPoint (uint16_t index, Point &point) |
Obtains the coordinates in the chart for a data point in the data set. |
OHOS::UIChartDataSerial::AddPoints (const Point *data, uint16_t count) |
|
Obtains the number of data points available in the data set. |
|
OHOS::UIChartDataSerial::EnableSmooth (bool smooth) |
|
OHOS::UIChartDataSerial::IsSmooth () const |
|
OHOS::UIChartDataSerial::EnableGradient (bool enable) |
|
OHOS::UIChartDataSerial::IsGradient () const |
|
Obtains the index of the frontmost point (the latest added or modified data point in a data set). |
|
OHOS::UIChartDataSerial::GetPeakData () const |
|
OHOS::UIChartDataSerial::SetFillColor (const ColorType &color) |
|
OHOS::UIChartDataSerial::SetLineColor (const ColorType &color) |
|
OHOS::UIChartDataSerial::HidePoint (uint16_t index, uint16_t count) |
|
OHOS::UIChartDataSerial::SetHeadPointStyle (const PointStyle &style) |
|
OHOS::UIChartDataSerial::SetTopPointStyle (const PointStyle &style) |
|
OHOS::UIChartDataSerial::SetBottomPointStyle (const PointStyle &style) |
|
const PointStyle & |
|
const PointStyle & |
|
const PointStyle & |
|
OHOS::UIChartDataSerial::EnableHeadPoint (bool enable) |
Enables the feature of drawing the frontmost point on a polyline. |
OHOS::UIChartDataSerial::EnableTopPoint (bool enable) |
Enables the feature of drawing the top point of a polyline. If there are multiple top points, only the first one is drawn. |
OHOS::UIChartDataSerial::EnableBottomPoint (bool enable) |
Enables the feature of drawing the bottom point of a polyline. If there are multiple bottom points, only the first one is drawn. |
A constructor used to create a UIChart instance. |
|
A destructor used to delete the UIChart instance. |
|
OHOS::UIChart::GetViewType () const override |
|
OHOS::UIChart::SetHeight (int16_t height) override |
|
OHOS::UIChart::SetWidth (int16_t width) override |
|
OHOS::UIChart::OnPreDraw (const Rect &invalidatedArea) override |
Called before a view is drawn. This function is used to check whether the parent view of this view needs to be redrawn so as to optimize the drawing process. |
OHOS::UIChart::OnDraw (const Rect &invalidatedArea) override |
|
OHOS::UIChart::AddDataSerial (UIChartDataSerial *dataSerial) |
|
OHOS::UIChart::DeleteDataSerial (UIChartDataSerial *dataSerial) |
|
UIXAxis & |
|
UIYAxis & |
|
OHOS::UIChart::EnableReverse (bool enable) |
|
A constructor used to create a UIChartPillar instance. |
|
A destructor used to delete the UIChartPillar instance. |
|
OHOS::UIChartPillar::RefreshChart () override |
|
A constructor used to create a UIChartPolyline instance. |
|
A destructor used to delete the UIChartPolyline instance. |
|
OHOS::UIChartPolyline::RefreshChart () override |
|
OHOS::UIChartPolyline::SetGradientOpacity (uint8_t minOpa, uint8_t maxOpa) |
|
OHOS::UIChartPolyline::SetGradientBottom (uint16_t bottom) |
Sets the distance between the bottom edge of the fill color range and the x-axis. |
A constructor used to create a UICheckBox instance. |
|
A destructor used to delete the UICheckBox instance. |
|
OHOS::UICheckBox::OnChangeListener::OnChange (UICheckBoxState state)=0 |
Called when the state of this check box is switched. This is a virtual function, which needs your implementation. |
A destructor used to delete the OnChangeListener instance. |
|
OHOS::UICheckBox::GetViewType () const override |
|
OHOS::UICheckBox::SetOnChangeListener (OnChangeListener *onStateChangeListener) |
|
OHOS::UICheckBox::OnPreDraw (const Rect &invalidatedArea) override |
Do something before draw, this function will be invoked mainly to check if this view need to cover invalidate area so render manager can decide which layer to draw firstly. |
OHOS::UICheckBox::OnDraw (const Rect &invalidatedArea) override |
Executes the draw action Ondraw invokes the rendering function provided by the underlying layer to draw pictures based on the selected status of the checkbox. |
OHOS::UICheckBox::OnClickEvent (const ClickEvent &event) override |
Executes the click event action OnClickEvent will reverse the selected state of checkbox. Example: If the check box is selected, the checkbox status is changed to Unselected after the click action is taken. |
OHOS::UICheckBox::SetImages (const char *selectedImageSrc, const char *unselectedImageSrc) |
|
OHOS::UICheckBox::SetImages (const ImageInfo *selectedImageSrc, const ImageInfo *unselectedImageSrc) |
|
OHOS::UICheckBox::GetState () const |
|
A constructor used to create a UICircleProgress instance. |
|
A destructor used to delete the UICircleProgress instance. |
|
OHOS::UICircleProgress::GetViewType () const override |
|
OHOS::UICircleProgress::OnPreDraw (const Rect &invalidatedArea) override |
Called before a view is drawn. This function is used to check whether the parent view of this view needs to be redrawn so as to optimize the drawing process. |
OHOS::UICircleProgress::OnDraw (const Rect &invalidatedArea) override |
|
OHOS::UICircleProgress::SetCenterPosition (int16_t x, int16_t y) |
Sets the coordinates of the center point for this circular progress bar. |
Obtains the coordinates of the center point for this circular progress bar. |
|
OHOS::UICircleProgress::SetRadius (uint16_t radius) |
|
OHOS::UICircleProgress::GetRadius () const |
|
OHOS::UICircleProgress::SetStartAngle (int16_t startAngle) |
|
OHOS::UICircleProgress::SetEndAngle (int16_t endAngle) |
|
OHOS::UICircleProgress::GetEndAngle () const |
|
OHOS::UICircleProgress::SetProgressImagePosition (int16_t x, int16_t y) |
Sets the coordinates of the foreground image for this progress bar relative to the view. |
OHOS::UICircleProgress::SetBackgroundImagePosition (int16_t x, int16_t y) |
Sets the coordinates of the background image for this progress bar relative to the view. |
A constructor used to create a UIDialog instance. |
|
A destructor used to delete the UIDialog instance. |
|
OHOS::UIDialog::GetViewType () const override |
|
OHOS::UIDialog::SetTitle (const char *title) |
|
OHOS::UIDialog::SetText (const char *text) |
|
OHOS::UIDialog::OnPreDraw (const Rect &invalidatedArea) override |
Checks whether this label needs to be covered before drawing it. |
OHOS::UIDialog::SetButton (DialogButtonType buttonType, const char *text, OnClickListener *listener) |
|
OHOS::UIDialog::SetVisible (bool visible) override |
|
A default constructor used to create a UIDigitalClock instance. |
|
A destructor used to delete the UIDigitalClock instance. |
|
OHOS::UIDigitalClock::GetViewType () const override |
|
OHOS::UIDigitalClock::SetFontId (uint8_t fontId) |
|
OHOS::UIDigitalClock::SetFont (const char *name, uint8_t size) |
|
OHOS::UIDigitalClock::GetDisplayMode () const |
|
OHOS::UIDigitalClock::DisplayLeadingZero (bool displayLeadingZero) |
Sets whether to add 0 before the hour of this digital clock. |
OHOS::UIDigitalClock::SetOpacity (uint8_t opacity) |
|
OHOS::UIDigitalClock::GetOpacity () const |
|
OHOS::UIDigitalClock::UpdateClock (bool clockInit) override |
|
A constructor used to create a UIImageAnimatorView instance. |
|
A destructor used to delete the UIImageAnimatorView instance. |
|
OHOS::UIImageAnimatorView::GetViewType () const override |
|
OHOS::UIImageAnimatorView::SetImageAnimatorSrc (const char *imageSrc, uint8_t imageNum, uint16_t timeOfUpdate) |
|
OHOS::UIImageAnimatorView::SetImageAnimatorSrc (const char *imageSrc, uint8_t imageNum) |
|
OHOS::UIImageAnimatorView::SetTimeOfUpdate (uint16_t timeOfUpdate) |
|
OHOS::UIImageAnimatorView::SetTimeOfPause (uint16_t timeOfPause) |
Sets the interval between two playbacks of an infinitely repeated animator. |
Obtains the interval between two playbacks of an infinitely repeated animator. |
|
const ImageAnimatorInfo * |
|
OHOS::UIImageAnimatorView::GetImageAnimatorImageNum () const |
|
OHOS::UIImageAnimatorView::SetSizeFixed (bool fixed) |
|
OHOS::UIImageAnimatorView::SetRepeat (bool repeat) |
|
OHOS::UIImageAnimatorView::IsRepeat () const |
|
OHOS::UIImageAnimatorView::SetRepeatTimes (uint32_t times) |
|
OHOS::UIImageAnimatorView::GetState () const |
|
OHOS::UIImageAnimatorView::SetReverse (bool reverse) |
|
OHOS::UIImageAnimatorView::IsReverse () const |
|
OHOS::UIImageAnimatorView::Stop (bool needReset=true) |
|
OHOS::UIImageAnimatorView::AnimatorStopListener::~AnimatorStopListener () |
A destructor used to delete an AnimatorStopListener instance. |
OHOS::UIImageAnimatorView::AnimatorStopListener::OnAnimatorStop (UIView &view) |
|
OHOS::UIImageAnimatorView::SetAnimatorStopListener (AnimatorStopListener *listener) |
|
A default constructor used to create a UIImageView instance. |
|
A destructor used to delete the UIImageView instance. |
|
OHOS::UIImageView::GetViewType () const override |
|
OHOS::UIImageView::GetWidth () override |
|
OHOS::UIImageView::GetHeight () override |
|
OHOS::UIImageView::OnPreDraw (const Rect &invalidatedArea) override |
Checks whether this image view needs to be covered to optimize the drawing process. |
OHOS::UIImageView::OnDraw (const Rect &invalidatedArea) override |
|
OHOS::UIImageView::SetSrc (const char *src) |
|
OHOS::UIImageView::SetSrc (const ImageInfo *src) |
|
OHOS::UIImageView::SetAutoEnable (bool enable) |
Sets whether the image view size needs to be adaptive to the image size. |
OHOS::UIImageView::SetBlurLevel (BlurLevel level) |
Sets the blur level for this image when it is rotated or scaled. |
OHOS::UIImageView::GetBlurLevel () const |
Obtains the blur level of this image when it is rotated or scaled. |
OHOS::UIImageView::SetTransformAlgorithm (TransformAlgorithm algorithm) |
|
OHOS::UIImageView::GetPath () const |
|
OHOS::UIImageView::GetImageInfo () const |
const ImageInfo * |
OHOS::UIImageView::GetSrcType () const |
|
A constructor used to create a UILabel instance. |
|
A destructor used to delete the UILabel instance. |
|
OHOS::UILabel::GetViewType () const override |
|
OHOS::UILabel::GetWidth () override |
|
OHOS::UILabel::GetHeight () override |
|
OHOS::UILabel::OnPreDraw (const Rect &invalidatedArea) override |
Checks whether this label needs to be covered before drawing it. |
OHOS::UILabel::OnDraw (const Rect &invalidatedArea) override |
|
OHOS::UILabel::SetText (const char *text) |
|
OHOS::UILabel::GetText () const |
|
OHOS::UILabel::SetLineBreakMode (const uint8_t lineBreakMode) |
|
OHOS::UILabel::GetLineBreakMode () const |
|
OHOS::UILabel::SetTextColor (ColorType color) |
|
OHOS::UILabel::GetTextColor () const |
|
OHOS::UILabel::SetAlign (UITextLanguageAlignment horizontalAlign, UITextLanguageAlignment verticalAlign=TEXT_ALIGNMENT_TOP) |
|
OHOS::UILabel::GetHorAlign () const |
|
OHOS::UILabel::GetVerAlign () const |
|
OHOS::UILabel::GetDirect () const |
|
OHOS::UILabel::SetFontId (uint8_t fontId) |
|
OHOS::UILabel::GetFontId () const |
|
OHOS::UILabel::SetFont (const char *name, uint8_t size) |
|
OHOS::UILabel::SetRollSpeed (uint16_t speed) |
|
OHOS::UILabel::SetRollStartPos (int16_t pos) |
|
OHOS::UILabel::GetRollStartPos () const |
|
OHOS::UILabel::SetWidth (int16_t width) override |
|
OHOS::UILabel::SetHeight (int16_t height) override |
|
OHOS::UILabel::SetTextRotation (LabelRotateDegree angle) |
|
OHOS::UILabel::GetTextRotation () const |
|
OHOS::UILabel::GetTextRotateDegree () const |
|
A constructor used to create a UILabelButton instance. |
|
A destructor used to delete the UILabelButton instance. |
|
OHOS::UILabelButton::OnDraw (const Rect &invalidatedArea) override |
|
OHOS::UILabelButton::GetViewType () const override |
|
OHOS::UILabelButton::SetText (const char *text) |
|
OHOS::UILabelButton::GetText () const |
|
OHOS::UILabelButton::SetLablePosition (int16_t x, int16_t y) |
Sets the position for this label relative to the button holding it. |
Obtains the position of this label relative to the button holding it. |
|
OHOS::UILabelButton::SetAlign (UITextLanguageAlignment align) |
|
OHOS::UILabelButton::GetAlign () const |
|
OHOS::UILabelButton::SetDirect (UITextLanguageDirect direct) |
|
OHOS::UILabelButton::GetDirect () const |
|
OHOS::UILabelButton::SetLabelStyle (Style &labelStyle) |
|
OHOS::UILabelButton::SetLabelStyle (uint8_t key, int64_t value) |
|
OHOS::UILabelButton::GetLabelStyle () const |
const Style & |
OHOS::UILabelButton::GetLabelStyle (uint8_t key) const |
|
OHOS::UILabelButton::SetFont (const char *name, uint8_t size) |
|
OHOS::UILabelButton::SetFontId (uint8_t fontId) |
|
OHOS::UILabelButton::GetFontId () const |
|
A constructor used to create a ListScrollListener instance with the default state SCROLL_STATE_STOP. |
|
A destructor used to delete the ListScrollListener instance. |
|
OHOS::ListScrollListener::OnScrollStart (int16_t index, UIView *view) |
|
OHOS::ListScrollListener::OnScrollEnd (int16_t index, UIView *view) |
|
OHOS::ListScrollListener::OnItemSelected (int16_t index, UIView *view) |
Called when a new child view is selected at the preset position as this list scrolls. For details about how to set the position, see SetSelectPosition. |
A constructor used to create a UIList instance in the vertical direction. |
|
OHOS::UIList::UIList (uint8_t direction) |
A constructor used to create a UIList instance in the specified direction. |
A destructor used to delete the UIList instance. |
|
OHOS::UIList::GetViewType () const override |
|
OHOS::UIList::OnDragEvent (const DragEvent &event) override |
|
OHOS::UIList::OnDragEndEvent (const DragEvent &event) override |
|
OHOS::UIList::OnPressEvent (const PressEvent &event) override |
|
OHOS::UIList::SetAdapter (AbstractAdapter *adapter) |
Sets the adapter for this list. The content of this list is initialized when the adapter is set. |
OHOS::UIList::MoveChildByOffset (int16_t x, int16_t y) override |
|
OHOS::UIList::ScrollTo (uint16_t index) |
Scrolls to change the index of the first row or column of the current view. |
OHOS::UIList::ScrollBy (int16_t distance) |
|
OHOS::UIList::SetStartIndex (uint16_t index) |
|
OHOS::UIList::GetStartIndex () const |
Obtains the start index of this list. The default value is 0. |
OHOS::UIList::SetLoopState (bool state) |
Sets the loop state for this list, in which a loop scroll is possible since the top and bottom of the list are connected together. |
OHOS::UIList::GetLoopState () const |
|
OHOS::UIList::SetSelectPosition (uint16_t position) |
Sets the position where a child view is selected as this list scrolls. |
UIView * Obtains the child view being selected at the preset position. |
|
OHOS::UIList::SetScrollStateListener (ListScrollListener *scrollListener) |
Sets the listener that contains a callback to be invoked when a child view is selected as this list scrolls. |
Refreshes this list. The number of child views in the current view is fixed and the positions of those reserved child views as this list scrolls remain unchanged. |
|
OHOS::UIList::EnableAutoAlign (bool state) |
Sets the automatic alignment state for this list. When a scroll stops, a child view is selected and its position is automatically aligned with the preset position. |
OHOS::UIList::RemoveAll () override |
|
A constructor used to create a UIPicker instance. |
|
A destructor used to delete the UIPicker instance. |
|
OHOS::UIPicker::GetViewType () const override |
|
OHOS::UIPicker::OnPreDraw (const Rect &invalidatedArea) override |
Called before a view is drawn. This function is used to check whether the parent view of this view needs to be redrawn so as to optimize the drawing process. |
OHOS::UIPicker::SetValues (const char *value[], uint16_t count) |
Sets dynamic text data in the picker by using a string array. |
OHOS::UIPicker::SetValues (int16_t start, int16_t end) |
Sets the numeric data in the picker by using a given numeric range. |
OHOS::UIPicker::SetFontId (uint8_t backgroundFontId, uint8_t highlightFontId) |
Sets the font IDs of dynamic text, which is the string array set through SetValues. |
OHOS::UIPicker::GetBackgroundFontId () const |
|
OHOS::UIPicker::GetHighlightFontId () const |
|
OHOS::UIPicker::SetTextColor (ColorType backgroundColor, ColorType highlightColor) |
|
OHOS::UIPicker::SetSelected (uint16_t index) |
Sets the index of the item currently selected in the picker. |
OHOS::UIPicker::GetSelected () const |
Obtains the index of the item currently selected in the picker. |
OHOS::UIPicker::SetItemHeight (int16_t height) |
|
OHOS::UIPicker::SetWidth (int16_t width) override |
|
OHOS::UIPicker::SetHeight (int16_t height) override |
|
OHOS::UIPicker::SetLoopState (bool state) |
|
A constructor used to create a SelectedListener instance. |
|
A destructor used to delete the SelectedListener instance. |
|
OHOS::UIPicker::SelectedListener::OnPickerStoped (UIPicker &picker) |
Called when an item is selected after sliding stops. This function is implemented by applications. |
OHOS::UIPicker::RegisterSelectedListener (SelectedListener *pickerListener) |
|
OHOS::UIPicker::SetTextFormatter (TextFormatter *formatter) |
|
A constructor used to create a UIRadioButton instance. |
|
A destructor used to delete the UIRadioButton instance. |
|
OHOS::UIRadioButton::GetViewType () const override |
|
OHOS::UIRadioButton::OnPreDraw (const Rect &invalidatedArea) override |
Do something before draw, this function will be invoked mainly to check if this view need to cover invalidate area so render manager can decide which layer to draw firstly. |
OHOS::UIRadioButton::OnClickEvent (const ClickEvent &event) override |
Executes the click event action OnClickEvent will reverse the selected state of checkbox. Example: If the check box is selected, the checkbox status is changed to Unselected after the click action is taken. |
OHOS::UIRadioButton::SetName (const char *name) |
|
OHOS::UIRadioButton::GetName () const |
|
A constructor used to create a UIRepeatButton instance. |
|
A destructor used to delete the UIRepeatButton instance. |
|
OHOS::UIRepeatButton::GetViewType () const override |
|
OHOS::UIRepeatButton::SetInterval (uint16_t interval) |
|
OHOS::UIRepeatButton::GetInterval () const |
|
OHOS::UIRepeatButton::OnClickEvent (const ClickEvent &event) override |
|
OHOS::UIRepeatButton::OnReleaseEvent (const ReleaseEvent &event) override |
|
OHOS::UIRepeatButton::OnLongPressEvent (const LongPressEvent &event) override |
|
A constructor used to create an OnScrollListener instance with the default scroll state SCROLL_STATE_STOP. |
|
A destructor used to delete the OnScrollListener instance. |
|
OHOS::UIScrollView::OnScrollListener::GetScrollState () const |
|
A constructor used to create a UIScrollView instance, with both horizontal and vertical scrolls supported. |
|
A destructor used to delete the UIScrollView instance. |
|
OHOS::UIScrollView::GetViewType () const override |
|
OHOS::UIScrollView::OnPostDraw (const Rect &invalidatedArea) override |
|
OHOS::UIScrollView::OnDragEvent (const DragEvent &event) override |
|
OHOS::UIScrollView::OnDragEndEvent (const DragEvent &event) override |
|
OHOS::UIScrollView::OnPressEvent (const PressEvent &event) override |
|
OHOS::UIScrollView::ScrollBy (int16_t xDistance, int16_t yDistance) |
|
OHOS::UIScrollView::SetScrollbarWidth (uint8_t width) |
|
OHOS::UIScrollView::SetHorizontalScrollState (bool state) |
|
OHOS::UIScrollView::SetVerticalScrollState (bool state) |
|
OHOS::UIScrollView::SetXScrollBarVisible (bool state) |
|
OHOS::UIScrollView::SetYScrollBarVisible (bool state) |
|
OHOS::UIScrollView::RegisterScrollListener (OnScrollListener *scrollListener) |
Registers a listener that contains a callback to be invoked upon scroll state changes. |
A constructor used to create a UISlider instance. |
|
A destructor used to delete the UISlider instance. |
|
OHOS::UISlider::GetViewType () const override |
|
OHOS::UISlider::SetKnobWidth (int16_t width) |
|
OHOS::UISlider::SetImage (const ImageInfo *backgroundImage, const ImageInfo *foregroundImage, const ImageInfo *knobImage) |
Sets the images as pixel maps for this slider, including the background, foreground, and knob images. |
OHOS::UISlider::SetImage (const char *backgroundImage, const char *foregroundImage, const char *knobImage) |
Sets the images for this slider, including the background, foreground, and knob images. |
OHOS::UISlider::SetSliderColor (const ColorType backgroundColor, const ColorType foregroundColor, const ColorType knobColor) |
Sets the colors for this slider, including the background, foreground, and knob colors. |
OHOS::UISlider::SetSliderRadius (int16_t backgroundRadius, int16_t foregroundRadius, int16_t knobRadius) |
Sets the corner radiuses for this slider, including the background, foreground, and knob corner radiuses. |
OHOS::UISlider::SetKnobStyle (const Style &style) |
|
OHOS::UISlider::SetKnobStyle (uint8_t key, int64_t value) |
|
OHOS::UISlider::GetKnobStyle () const |
const Style & |
OHOS::UISlider::GetKnobStyle (uint8_t key) const |
|
OHOS::UISlider::OnClickEvent (const ClickEvent &event) override |
|
OHOS::UISlider::OnDragEvent (const DragEvent &event) override |
|
OHOS::UISlider::OnDragEndEvent (const DragEvent &event) override |
|
OHOS::UISlider::OnPreDraw (const Rect &invalidatedArea) override |
Called before a view is drawn. This function is used to check whether the parent view of this view needs to be redrawn so as to optimize the drawing process. |
OHOS::UISlider::OnDraw (const Rect &invalidatedArea) override |
|
OHOS::UISlider::UISliderEventListener::~UISliderEventListener () |
A destructor used to delete the UISliderEventListener instance. |
OHOS::UISlider::UISliderEventListener::OnChange (int16_t value) |
Called when the slider is dragged or clicked. This is a virtual function, which needs your implementation. |
OHOS::UISlider::UISliderEventListener::OnRelease (int16_t value) |
Called when the slider is released. This is a virtual function, which needs your implementation. |
OHOS::UISlider::SetSliderEventListener (UISliderEventListener *listener) |
|
A constructor used to create a UISurfaceView instance. |
|
A destructor used to delete the UISurfaceView instance. |
|
OHOS::UISurfaceView::GetSurface () const |
Surface * Obtains the surface, which should be used together with the camera and video modules. |
OHOS::UISurfaceView::SetPosition (int16_t x, int16_t y) override |
|
OHOS::UISurfaceView::SetPosition (int16_t x, int16_t y, int16_t width, int16_t height) override |
|
OHOS::UISurfaceView::Resize (int16_t width, int16_t height) override |
|
OHOS::UISurfaceView::SetX (int16_t x) override |
|
OHOS::UISurfaceView::SetY (int16_t y) override |
|
OHOS::UISurfaceView::SetWidth (int16_t width) override |
|
OHOS::UISurfaceView::SetHeight (int16_t height) override |
|
OHOS::UISurfaceView::SetVisible (bool visible) override |
|
OHOS::UISurfaceView::OnPreDraw (const Rect &invalidatedArea) override |
Called before this view is drawn. This function is used to check whether the parent view of this view needs to be redrawn so that the drawing process is optimized. |
OHOS::UISurfaceView::OnDraw (const Rect &invalidatedArea) override |
|
OHOS::UISwipeView::UISwipeView (uint8_t direction=HORIZONTAL) |
A constructor used to create a UISwipeView instance. |
A destructor used to delete the UISwipeView instance. |
|
OHOS::UISwipeView::GetViewType () const override |
|
OHOS::UISwipeView::SetDirection (uint8_t direction) |
|
OHOS::UISwipeView::GetDirection () const |
|
OHOS::UISwipeView::Add (UIView *view) override |
|
OHOS::UISwipeView::Insert (UIView *prevView, UIView *insertView) override |
|
OHOS::UISwipeView::Remove (UIView *view) override |
|
OHOS::UISwipeView::SetCurrentPage (uint16_t index, bool needAnimator=false) |
|
OHOS::UISwipeView::GetCurrentPage () const |
|
OHOS::UISwipeView::GetCurrentView () const |
UIView * |
OHOS::UISwipeView::SetBlankSize (uint16_t size) |
Sets a blank size, as defined in DEFAULT_BLANK_SIZE. |
OHOS::UISwipeView::OnDragEvent (const DragEvent &event) override |
|
OHOS::UISwipeView::OnDragEndEvent (const DragEvent &event) override |
|
OHOS::UISwipeView::SetAnimatorTime (uint16_t time) |
Sets the time for the page being animated. The page will go beyond the blank during this time. |
OHOS::UISwipeView::SetLoopState (bool loop) |
|
OHOS::UISwipeView::GetViewByIndex (uint16_t index) const |
UIView * |
OHOS::UISwipeView::SetOnSwipeListener (OnSwipeListener *onSwipeListener) |
Sets the listener that contains a callback to be invoked upon a swipe event. |
OHOS::UISwipeView::MoveChildByOffset (int16_t xOffset, int16_t yOffset) override |
|
A constructor used to create a UITextureMapper instance. |
|
A destructor used to delete the UITextureMapper instance. |
|
OHOS::UITextureMapper::GetViewType () const override |
|
OHOS::UITextureMapper::SetRotateStart (int16_t start) |
|
OHOS::UITextureMapper::SetRotateEnd (int16_t end) |
|
OHOS::UITextureMapper::SetScaleStart (float start) |
|
OHOS::UITextureMapper::SetScaleEnd (float end) |
|
OHOS::UITextureMapper::SetDurationTime (uint16_t durationTime) |
|
OHOS::UITextureMapper::SetDelayTime (uint16_t delayTime) |
|
OHOS::UITextureMapper::SetEasingFunc (EasingFunc easingFunc) |
|
OHOS::UITextureMapper::SetPivot (int16_t x, int16_t y) |
Sets the coordinates of the rotation and scaling pivots for this image. |
OHOS::UITextureMapper::AnimatorStopListener::~AnimatorStopListener () |
A destructor used to delete an AnimatorStopListener instance. |
OHOS::UITextureMapper::AnimatorStopListener::OnAnimatorStop (UIView &view)=0 |
Called when this animator stops. This is a pure virtual function, which needs your inheritance and implementation. |
OHOS::UITextureMapper::SetAnimatorStopListener (AnimatorStopListener *listener) |
|
A constructor used to create a UITimePicker instance. |
|
A destructor used to delete the UITimePicker instance. |
|
OHOS::UITimePicker::GetViewType () const override |
|
OHOS::UITimePicker::SetSelected (const char *value) |
|
OHOS::UITimePicker::GetSelectHour () const |
|
OHOS::UITimePicker::GetSelectMinute () const |
|
OHOS::UITimePicker::GetSelectSecond () const |
|
OHOS::UITimePicker::SetItemHeight (int16_t height) |
|
OHOS::UITimePicker::EnableSecond (bool state) |
|
OHOS::UITimePicker::SetTextStyle (uint8_t backgroundFontId, uint8_t highlightFontId, ColorType backgroundColor, ColorType highlightColor) |
Sets the text format in the time picker, including the font ID and color. |
OHOS::UITimePicker::SetWidth (int16_t width) override |
|
OHOS::UITimePicker::SetHeight (int16_t height) override |
|
A constructor used to create a SelectedListener instance. |
|
A destructor used to delete the SelectedListener instance. |
|
OHOS::UITimePicker::SelectedListener::OnTimePickerStoped (UITimePicker &picker) |
Called when an item is selected after sliding stops. This function is implemented by applications. |
OHOS::UITimePicker::RegisterSelectedListener (SelectedListener *timePickerListener) |
|
A constructor used to create a UIToggleButton instance. |
|
A destructor used to delete the UIToggleButton instance. |
|
OHOS::UIToggleButton::GetViewType () const override |
|
OHOS::UIToggleButton::SetState (bool state) |
|
OHOS::UIToggleButton::GetState () const |
|
OHOS::UIView::OnClickListener::OnClick (UIView &view, const ClickEvent &event) |
|
A destructor used to delete the OnClickListener instance. |
|
OHOS::UIView::OnLongPressListener::OnLongPress (UIView &view, const LongPressEvent &event) |
|
A destructor used to delete the OnLongPressListener instance. |
|
OHOS::UIView::OnDragListener::OnDragStart (UIView &view, const DragEvent &event) |
|
OHOS::UIView::OnDragListener::OnDrag (UIView &view, const DragEvent &event) |
|
OHOS::UIView::OnDragListener::OnDragEnd (UIView &view, const DragEvent &event) |
|
A destructor used to delete the OnDragListener instance. |
|
OHOS::UIView::OnTouchListener::OnPress (UIView &view, const PressEvent &event) |
|
OHOS::UIView::OnTouchListener::OnRelease (UIView &view, const ReleaseEvent &event) |
|
OHOS::UIView::OnTouchListener::OnCancel (UIView &view, const CancelEvent &event) |
|
A destructor used to delete the OnTouchListener instance. |
|
A default constructor used to create an UIView instance. |
|
OHOS::UIView::UIView (const char *id) |
A constructor used to create an UIView instance. |
A destructor used to delete the UIView instance. |
|
OHOS::UIView::OnPreDraw (const Rect &invalidatedArea) |
Called before a view is drawn. This function is used to check whether the parent view of this view needs to be redrawn so as to optimize the drawing process. |
OHOS::UIView::OnDraw (const Rect &invalidatedArea) |
|
OHOS::UIView::OnPostDraw (const Rect &invalidatedArea) |
|
OHOS::UIView::InvalidateRect (const Rect &invalidatedArea) |
|
OHOS::UIView::OnLongPressEvent (const LongPressEvent &event) |
|
OHOS::UIView::OnDragStartEvent (const DragEvent &event) |
|
OHOS::UIView::OnDragEvent (const DragEvent &event) |
|
OHOS::UIView::OnDragEndEvent (const DragEvent &event) |
|
OHOS::UIView::OnClickEvent (const ClickEvent &event) |
|
OHOS::UIView::OnPressEvent (const PressEvent &event) |
|
OHOS::UIView::OnReleaseEvent (const ReleaseEvent &event) |
|
OHOS::UIView::OnCancelEvent (const CancelEvent &event) |
|
OHOS::UIView::SetOnDragListener (OnDragListener *onDragListener) |
|
OHOS::UIView::SetOnClickListener (OnClickListener *onClickListener) |
|
OHOS::UIView::SetOnLongPressListener (OnLongPressListener *onLongPressListener) |
|
OHOS::UIView::SetOnTouchListener (OnTouchListener *onTouchListener) |
|
OHOS::UIView::GetTargetView (const Point &point, UIView **last) |
|
OHOS::UIView::SetParent (UIView *parent) |
|
OHOS::UIView::GetParent () const |
UIView * |
OHOS::UIView::SetNextSibling (UIView *sibling) |
|
OHOS::UIView::GetNextSibling () const |
UIView * |
OHOS::UIView::SetVisible (bool visible) |
|
OHOS::UIView::IsVisible () const |
|
OHOS::UIView::SetTouchable (bool touch) |
|
OHOS::UIView::IsTouchable () const |
|
OHOS::UIView::SetDraggable (bool draggable) |
|
OHOS::UIView::IsDraggable () const |
|
OHOS::UIView::SetDragParentInstead (bool dragParentInstead) |
Sets whether to transfer the drag event to the parent view for processing when the view is being dragged. |
OHOS::UIView::IsDragParentInstead () const |
Obtains whether the view transfers a drag event to the parent view for processing. |
OHOS::UIView::GetRect () const |
Obtains the absolute rectangle area of the view. When the view has deformation such as rotation, the rectangle area is the intersection set of the absolute rectangle area and deformation matrix. |
OHOS::UIView::GetVisibleRect () const |
|
OHOS::UIView::GetMaskedRect () const |
Obtains the valid absolute rectangle area of the view. The valid area refers to the area where the view can be displayed. Generally, the valid area is the same as the visible view area, but they may be different in the grid layout. |
OHOS::UIView::GetOrigRect () const |
|
virtual Rect Obtains the content of the absolute rectangle area of the view. This area excludes padding. |
|
OHOS::UIView::GetRelativeRect () const |
Obtains the rectangular area of the view relative to the parent view, that is, the rectangular area relative to the coordinates of the parent view. |
OHOS::UIView::ResizeVisibleArea (int16_t x, int16_t y, int16_t width, int16_t height) |
Adjusts the size of the visible area. This operation may affect the final display size. |
OHOS::UIView::SetWidth (int16_t width) |
|
OHOS::UIView::SetHeight (int16_t height) |
|
OHOS::UIView::Resize (int16_t width, int16_t height) |
|
OHOS::UIView::SetX (int16_t x) |
|
OHOS::UIView::GetX () const |
|
OHOS::UIView::SetY (int16_t y) |
|
OHOS::UIView::GetY () const |
|
OHOS::UIView::SetPosition (int16_t x, int16_t y) |
|
OHOS::UIView::SetPosition (int16_t x, int16_t y, int16_t width, int16_t height) |
|
OHOS::UIView::IsViewGroup () const |
|
OHOS::UIView::SetIntercept (bool isIntercept) |
Sets whether to intercept the drag event. If intercepted, the view does not transfer the drag event to the parent view after local processing. |
OHOS::UIView::SetTransformMap (const TransformMap &transMap) |
|
OHOS::UIView::GetChildById (const char *id) const |
virtual UIView * |
OHOS::UIView::SetViewId (const char *id) |
|
OHOS::UIView::GetViewId () const |
|
OHOS::UIView::SetViewIndex (int16_t index) |
|
OHOS::UIView::GetViewIndex () const |
|
OHOS::UIView::GetViewType () const |
|
OHOS::UIView::LayoutChildren (bool neeInvalidate=false) |
Lays out all child views according to the preset arrangement mode. |
OHOS::UIView::LayoutCenterOfParent (int16_t xOffSet=0, int16_t yOffset=0) |
|
OHOS::UIView::LayoutLeftOfParent (int16_t offset=0) |
|
OHOS::UIView::LayoutRightOfParent (int16_t offset=0) |
|
OHOS::UIView::LayoutTopOfParent (int16_t offset=0) |
|
OHOS::UIView::LayoutBottomOfParent (int16_t offset=0) |
|
OHOS::UIView::AlignLeftToSibling (const char *id, int16_t offset=0) |
|
OHOS::UIView::AlignRightToSibling (const char *id, int16_t offset=0) |
|
OHOS::UIView::AlignTopToSibling (const char *id, int16_t offset=0) |
|
OHOS::UIView::AlignBottomToSibling (const char *id, int16_t offset=0) |
|
OHOS::UIView::AlignHorCenterToSibling (const char *id, int16_t offset=0) |
Aligns the view with the center of a sibling view in the x-axis. |
OHOS::UIView::AlignVerCenterToSibling (const char *id, int16_t offset=0) |
Aligns the view with the center of a sibling view in the y-axis. |
OHOS::UIView::LayoutLeftToSibling (const char *id, int16_t offset=0) |
|
OHOS::UIView::LayoutRightToSibling (const char *id, int16_t offset=0) |
|
OHOS::UIView::LayoutTopToSibling (const char *id, int16_t offset=0) |
|
OHOS::UIView::LayoutBottomToSibling (const char *id, int16_t offset=0) |
|
OHOS::UIView::SetStyle (Style &style) |
|
OHOS::UIView::SetStyle (uint8_t key, int64_t value) |
|
OHOS::UIView::GetStyle (uint8_t key) const |
|
OHOS::UIView::GetStyleConst () const |
const Style & Obtains the view style. This function applies to scenarios where the style does not need to be modified, which saves memory. |
A default constructor used to create a UIViewGroup instance. |
|
A destructor used to delete the UIViewGroup instance. |
|
OHOS::UIViewGroup::GetViewType () const override |
|
OHOS::UIViewGroup::Add (UIView *view) |
|
OHOS::UIViewGroup::Insert (UIView *prevView, UIView *insertView) |
|
OHOS::UIViewGroup::Remove (UIView *view) |
|
OHOS::UIViewGroup::GetTargetView (const Point &point, UIView **last) override |
Obtains the target child view that is visible and can respond to touch events based on given coordinates. |
OHOS::UIViewGroup::MoveChildByOffset (int16_t x, int16_t y) |
|
OHOS::UIViewGroup::GetChildrenHead () const |
UIView * |
OHOS::UIViewGroup::GetChildrenTail () const |
UIView * |
OHOS::UIViewGroup::SetDisallowIntercept (bool flag) |
Sets whether this view group is intercepted upon touch events. |
OHOS::UIViewGroup::GetChildById (const char *id) const override |
UIView * |
OHOS::UIViewGroup::SetAutoSize (bool state) |
Sets whether the size of this view group is adaptive to that of all child views. |
Obtains the rectangle area of a new view group after being adaptive to the size of all child views. |
|
Performs operations needed after a child view is added or removed. |
|
static UIDumpDomTree * |
|
OHOS::UIDumpDomTree::DumpDomTree (const char *id, const char *path) |
Exports information about a DOM tree starting from a specified DOM node and saves the information to a specified path. |
OHOS::UIDumpDomTree::DumpDomTree (const char *id) |
Exports information about a DOM tree starting from a specified DOM node and saves the information to the default path. The default path is DEFAULT_DUMP_DOM_TREE_PATH. |
OHOS::UIDumpDomTree::DumpDomNode (const char *id) |
|
OHOS::CancelEvent::CancelEvent (const Point &pos) |
A constructor used to create a CancelEvent instance. |
A destructor used to delete the CancelEvent instance. |
|
OHOS::ClickEvent::ClickEvent (const Point &pos) |
A constructor used to create a ClickEvent instance. |
A destructor used to delete the ClickEvent instance. |
|
OHOS::DragEvent::DragEvent (const Point &newPos, const Point &lastPos, const Point &totalLen) |
A constructor used to create a DragEvent instance. |
A destructor used to delete the DragEvent instance. |
|
OHOS::DragEvent::GetLastPoint () const |
const Point & Obtains the coordinates of the last position in the drag event. |
OHOS::DragEvent::GetStartPoint () const |
const Point & |
OHOS::DragEvent::SetPreLastPoint (const Point &preLastPos) |
Sets the coordinates of the stay position before the last position in the drag event. |
OHOS::DragEvent::GetPreLastPoint () const |
const Point & Obtains the coordinates of the stay position before the last position in the drag event. |
OHOS::DragEvent::GetDragDirection () const |
|
OHOS::DragEvent::GetDeltaX () const |
Obtains the difference between the current position and the last position of the view in the x-axis. |
OHOS::DragEvent::GetDeltaY () const |
Obtains the difference between the current position and the last position of the view in the y-axis. |
A default constructor used to create an Event instance. |
|
OHOS::Event::Event (const Point &curPos) |
A constructor used to create an Event instance. |
A destructor used to delete the Event instance. |
|
OHOS::Event::GetCurrentPos () const |
const Point & |
OHOS::Event::GetTimeStamp () const |
|
OHOS::Event::SetTimeStamp (const TimeType &timeStamp) |
|
OHOS::KeyEvent::KeyEvent (uint16_t keyId, uint16_t state) |
A constructor used to create a KeyEvent instance. |
A destructor used to delete the KeyEvent instance. |
|
OHOS::KeyEvent::GetKeyId () const |
|
OHOS::KeyEvent::GetState () const |
|
OHOS::LongPressEvent::LongPressEvent (const Point &pos, const TimeType &timeStamp) |
A constructor used to create a LongPressEvent instance. |
A destructor used to delete the LongPressEvent instance. |
|
OHOS::PressEvent::PressEvent (const Point &pos) |
A constructor used to create a PressEvent instance. |
A destructor used to delete the PressEvent instance. |
|
OHOS::ReleaseEvent::ReleaseEvent (const Point &pos) |
A constructor used to create a ReleaseEvent instance. |
A destructor used to delete the ReleaseEvent instance. |
|
OHOS::VirtualDeviceEvent::VirtualDeviceEvent (uint16_t type, uint16_t value) |
A constructor used to create a VirtualDeviceEvent instance. |
A destructor used to delete the VirtualDeviceEvent instance. |
|
OHOS::VirtualDeviceEvent::GetType () const |
|
OHOS::VirtualDeviceEvent::GetState () const |
|
The default constructor used to create a Line instance. |
|
OHOS::Line::Line (const Vector2< int16_t > &a, const Vector2< int16_t > &b) |
A constructor used to create a Line instance. |
OHOS::Line::Line (int16_t x1, int16_t y1, int16_t x2, int16_t y2) |
A constructor used to create a Line instance. |
A destructor used to delete the Line instance. |
|
OHOS::Line::operator[] (uint8_t index) |
Vector2< int16_t > & Obtains the start or end point of the line based on the value of index. |
OHOS::Line::operator[] (uint8_t index) const |
const Vector2< int16_t > Obtains the start or end point of the line based on the value of index. |
The default constructor used to create a Polygon instance. |
|
OHOS::Polygon::Polygon (const Rect &rect) |
A constructor used to construct a Polygon instance based on a rectangle. |
OHOS::Polygon::Polygon (const Vector2< int16_t > *vertexes, const uint8_t vertexNum) |
A constructor used to create a Polygon instance based on the vertex coordinates and the number of coordinates. |
A destructor used to delete the Polygon instance. |
|
OHOS::Polygon::MakeAABB () const |
Obtains the minimum rectangle that can contain the polygon. All vertices of the polygon are inside this rectangle. |
OHOS::Polygon::GetVertexNum () const |
|
OHOS::Polygon::SetVertexNum (uint8_t vertexNum) |
|
OHOS::Intersect (const Line &a, const Line &b, Vector2< int16_t > &out) |
Checks whether line segment a and line segment b intersect, and returns the intersection point (if available). |
OHOS::IsIntersect (const Line &a, const Line &b) |
|
OHOS::Clip (Polygon &poly, const Line &line) |
|
OHOS::SuthHodgClip (const Rect &clipRect, const Polygon &polygon) |
Implements Sutherland-Hodgman, an algorithm used for clipping polygons. |
OHOS::Clip (const Line &line, const Polygon &poly, Vector2< int16_t > *pOut, uint8_t *pNum) |
Clips a polygon by using a line segment and obtains the intersections. |
A constructor used to create a Vector2 instance. |
|
OHOS::Vector2< T >::Vector2 (T x, T y) |
A constructor used to create a Vector2 instance based on the X and Y coordinates. |
A destructor used to delete the Vector2 instance. |
|
OHOS::Vector2< T >::Dot (const Vector2< T > &other) const |
Calculates the scalar product of the two-dimensional vector and another two-dimensional vector. |
OHOS::Vector2< T >::Cross (const Vector2< T > &other) const |
Calculates the cross product of the two-dimensional vector and another two-dimensional vector. |
A constructor used to create a Vector3 instance. |
|
OHOS::Vector3< T >::Vector3 (T x, T y, T z) |
Defines a Vector3 instance and initializes the values of x, y, and z. |
A destructor used to delete the Vector3 instance. |
|
Defines a Matrix3 instance and initializes the 3 x 3 matrix data. |
|
OHOS::Matrix3< T >::Matrix3 (T m00, T m01, T m02, T m10, T m11, T m12, T m20, T m21, T m22) |
Defines a Matrix3 instance and initializes the 3 x 3 matrix data. |
A destructor used to delete the Matrix3 instance. |
|
OHOS::Matrix3< T >::GetData () const |
|
OHOS::Matrix3< T >::Determinant () const |
|
OHOS::Matrix3< T >::Inverse () const |
|
OHOS::Matrix3< T >::Rotate (T angle, const Vector2< T > &pivot) |
static Matrix3 Obtains a rotation matrix. After a matrix is rotated, its data is shifted leftwards by 15 bits. Therefore, the result data needs to be shifted rightwards by 15 bits. |
OHOS::Matrix3< T >::Scale (const Vector2< T > &scale, const Vector2< T > &fixed) |
static Matrix3 Obtains the scaling matrix. After a matrix is scaled, its data is shifted leftwards by 8 bits. Therefore, the result data needs to be shifted rightwards by 8 bits. |
OHOS::Matrix3< T >::Translate (const Vector2< T > &trans) |
static Matrix3< T > |
OHOS::HeapBase::operator new (size_t size) |
|
OHOS::HeapBase::operator delete (void *p) |
|
A default constructor used to create a FlexLayout instance. |
|
A destructor used to delete the FlexLayout instance. |
|
OHOS::FlexLayout::SetMajorAxisAlign (const AlignType &align) |
Sets the alignment mode of the primary axis (the axis where the layout direction is located). The child views in the layout are placed in this mode in the direction of the primary axis. |
OHOS::FlexLayout::SetSecondaryAxisAlign (const AlignType &align) |
Sets the alignment mode of the secondary axis (the axis perpendicular to the set layout direction). |
OHOS::FlexLayout::SetFlexWrap (uint8_t wrap) |
|
OHOS::FlexLayout::LayoutChildren (bool needInvalidate=false) override |
Lays out all child views according to the preset arrangement mode. |
A default constructor used to create a GridLayout instance. |
|
A destructor used to delete the GridLayout instance. |
|
OHOS::GridLayout::SetRows (const uint16_t &rows) |
|
OHOS::GridLayout::SetCols (const uint16_t &cols) |
|
OHOS::GridLayout::LayoutChildren (bool needInvalidate=false) override |
Lays out all child views according to the preset arrangement mode. |
A default constructor used to create a Layout instance. |
|
A destructor used to delete the Layout instance. |
|
OHOS::Layout::SetLayoutDirection (const DirectionType &direction) |
|
A default constructor used to create a List instance. The initial size is 0. |
|
A destructor used to delete the List instance. |
|
OHOS::List< T >::Front () const |
|
OHOS::List< T >::Back () const |
|
OHOS::List< T >::PushBack (T data) |
|
OHOS::List< T >::PushFront (T data) |
|
OHOS::List< T >::Insert (ListNode< T > *node, T data) |
Inserts data before a specified node, which follows the inserted data node. |
OHOS::List< T >::Remove (ListNode< T > *node) |
|
OHOS::List< T >::Head () const |
ListNode< T > * |
OHOS::List< T >::Tail () const |
ListNode< T > * |
OHOS::List< T >::Begin () const |
ListNode< T > * |
OHOS::List< T >::End () const |
const ListNode< T > * |
OHOS::List< T >::Next (const ListNode< T > *node) const |
ListNode< T > * Obtains the address of the node following the specified node. |
OHOS::List< T >::IsEmpty () const |
|
OHOS::List< T >::Size () const |
|
OHOS::ImageCacheMalloc (ImageInfo &info) |
Applies for the image cache memory. You can customize the memory area when loading image resources. |
OHOS::ImageCacheFree (ImageInfo &info) |
|
OHOS::UIMalloc (uint32_t size) |
Applies for memory for the graphics module. You can implement this function to override the malloc and new functions. |
OHOS::UIFree (void *buffer) |
Releases memory for the graphics module. You can implement this function to override the free and delete functions. |
A constructor used to create a Rect instance. |
|
A destructor used to delete the Rect instance. |
|
OHOS::Rect::Rect (int16_t left, int16_t top, int16_t right, int16_t bottom) |
A constructor used to create a Rect instance based on the coordinates of the four boundaries. |
OHOS::Rect::Rect (const Rect &other) |
A constructor used to create a Rect instance by copying another rectangle. |
OHOS::Rect::Rect (const Rect &&other) |
A constructor used to create a Rect instance by copying another rectangle. |
OHOS::Rect::SetRect (int16_t left, int16_t top, int16_t right, int16_t bottom) |
|
OHOS::Rect::GetWidth () const |
|
OHOS::Rect::GetHeight () const |
|
OHOS::Rect::GetX () const |
|
OHOS::Rect::GetY () const |
|
OHOS::Rect::GetLeft () const |
|
OHOS::Rect::GetTop () const |
|
OHOS::Rect::GetRight () const |
|
OHOS::Rect::GetBottom () const |
|
OHOS::Rect::SetX (int16_t x) |
Changes the left boundary coordinate of the rectangle without changing the rectangle width. |
OHOS::Rect::SetY (int16_t y) |
Changes the top boundary coordinate of the rectangle without changing the rectangle height. |
OHOS::Rect::SetPosition (int16_t x, int16_t y) |
Changes the coordinates of the left and top boundaries of the rectangle without changing the rectangle width and height. |
OHOS::Rect::SetWidth (int16_t width) |
Changes the width of the rectangle without changing the coordinate of the left boundary. |
OHOS::Rect::SetHeight (int16_t height) |
Changes the height of the rectangle without changing the coordinate of the top boundary. |
OHOS::Rect::SetLeft (int16_t left) |
|
OHOS::Rect::SetTop (int16_t top) |
|
OHOS::Rect::SetRight (int16_t right) |
|
OHOS::Rect::SetBottom (int16_t bottom) |
|
OHOS::Rect::Resize (int16_t width, int16_t height) |
|
OHOS::Rect::GetSize () const |
|
OHOS::Rect::Intersect (const Rect &rect1, const Rect &rect2) |
|
OHOS::Rect::Join (const Rect &rect1, const Rect &rect2) |
Obtains the minimum rectangle that contains another two rectangles. |
OHOS::Rect::IsContains (const Vector2< int16_t > &point) const |
|
OHOS::Rect::IsContains (const Point &point) const |
|
OHOS::Rect::IsExtends (const Rect &other) const |
Checks whether the rectangle is adjacent to another rectangle horizontally or vertically. |
OHOS::Rect::IsIntersect (const Rect &other) const |
Checks whether the rectangle intersects with another rectangle. |
OHOS::Rect::IsContains (const Rect &other) const |
|
A constructor used to create a Style instance. |
|
A destructor used to delete the Style instance. |
|
OHOS::Style::SetStyle (uint8_t key, int64_t value) |
|
OHOS::Style::GetStyle (uint8_t key) const |
|
A constructor used to create a StyleDefault instance. |
|
A destructor used to delete the StyleDefault instance. |
|
static Style & |
|
static Style & |
|
static Style & |
|
static Style & |
|
static Style & |
|
static Style & |
|
static Style & |
|
static Style & |
|
static Style & |
|
static Style & |
|
static Style & |
|
static Style & |
|
static Style & |
|
OHOS::SysInfo::OnFPSChangedListener::OnFPSChangedListener () |
A constructor used to create an OnFPSChangedListener instance with the default sampling type FPS_CT_FIXED_TIME. |
OHOS::SysInfo::OnFPSChangedListener::~OnFPSChangedListener () |
A destructor used to delete the OnFPSChangedListener instance. |
OHOS::SysInfo::OnFPSChangedListener::OnFPSChanged (float newFPS)=0 |
|
OHOS::SysInfo::OnFPSChangedListener::GetFPSCalculateType () const |
|
OHOS::SysInfo::OnFPSChangedListener::SetFPSCalculateType (FPSCalculateType type) |
|
OHOS::SysInfo::RegisterFPSChangedListener (OnFPSChangedListener *onFPSChangedListener) |
|
A constructor used to create a Theme instance. |
|
A destructor used to delete the Theme instance. |
|
Style & |
|
Style & |
|
Style & |
|
Style & |
|
Style & |
|
Style & |
|
Style & |
|
static ThemeManager & Obtains the singleton instance of the ThemeManager class. |
|
OHOS::ThemeManager::SetCurrent (Theme *theme) |
|
Theme * |
|
The default constructor used to create a TransformMap instance. |
|
OHOS::TransformMap::TransformMap (const Rect &rect) |
A constructor used to create a TransformMap instance. |
A destructor used to delete the TransformMap instance. |
|
OHOS::TransformMap::GetClockWise () const |
Checks whether the vertex coordinates of a polygon are clockwise. |
OHOS::TransformMap::SetPolygon (const Polygon &polygon) |
|
OHOS::TransformMap::GetPolygon () const |
|
OHOS::TransformMap::GetPivot () const |
|
OHOS::TransformMap::IsInvalid () const |
Checks whether the TransformMap instance is invalid. When the vertices are all 0, the TransformMap is invalid. |
OHOS::TransformMap::GetBoxRect () const |
Obtains the minimum rectangle that can contain a polygon. All vertices of the polygon are inside this rectangle. |
OHOS::TransformMap::Rotate (int16_t angle, const Vector2< int16_t > &pivot) |
|
OHOS::TransformMap::Scale (const Vector2< float > scale, const Vector2< int16_t > &pivot) |
|
OHOS::Rotate (const Vector2< int16_t > &point, int16_t angle, const Vector2< int16_t > &pivot, Vector2< int16_t > &out) |
|
OHOS::Rotate (const Line &origLine, int16_t angle, const Vector2< int16_t > &pivot, Line &out) |
|
OHOS::Rotate (const Rect &origRect, int16_t angle, const Vector2< int16_t > &pivot, Polygon &out) |
|
startPos | Indicates the start value of this animation. |
endPos | Indicates the end value of this animation. |
curTime | Indicates the current time of this animation. |
durationTime | Indicates the total duration of this animation. |
STOP | |
START | |
PAUSE | |
RUNNING |
STYLE_BACKGROUND_COLOR | |
STYLE_BACKGROUND_OPA | |
STYLE_BORDER_RADIUS | |
STYLE_BORDER_COLOR | |
STYLE_BORDER_OPA | |
STYLE_BORDER_WIDTH | |
STYLE_PADDING_LEFT | |
STYLE_PADDING_RIGHT | |
STYLE_PADDING_TOP | |
STYLE_PADDING_BOTTOM | |
STYLE_MARGIN_LEFT | |
STYLE_MARGIN_RIGHT | |
STYLE_MARGIN_TOP | |
STYLE_MARGIN_BOTTOM | |
STYLE_IMAGE_OPA | Image opacity |
STYLE_TEXT_COLOR | Text color |
STYLE_TEXT_FONT | Text font |
STYLE_LETTER_SPACE | |
STYLE_LINE_SPACE | Line spacing |
STYLE_TEXT_OPA | Text opacity |
STYLE_LINE_COLOR | Line color |
STYLE_LINE_WIDTH | Line width |
STYLE_LINE_OPA | Line opacity |
STYLE_LINE_CAP | Line cap style |
OPA_TRANSPARENT | |
OPA_OPAQUE |
CAP_NONE | |
CAP_ROUND |
ARGB8888 | |
RGB888 | |
RGB565 | |
ARGB1555 | |
ARGB4444 | |
AL44 | |
AL88 | |
L1 | |
L2 | |
L4 | |
L8 | |
A1 | |
A2 | |
A4 | |
A8 | |
UNKNOW |
BUTTON1 | |
BUTTON2 | |
BUTTON3 |
DIR_LEFT_TO_RIGHT | |
DIR_RIGHT_TO_LEFT | |
DIR_TOP_TO_BOTTOM | |
DIR_BOTTOM_TO_TOP |
DISPLAY_12_HOUR_NO_SECONDS | |
DISPLAY_24_HOUR_NO_SECONDS | |
DISPLAY_12_HOUR | |
DISPLAY_24_HOUR |
DRAW_LINE | |
DRAW_IMAGE |
HOUR_HAND | |
MINUTE_HAND | |
SECOND_HAND |
STROKE_STYLE | |
FILL_STYLE | |
STROKE_FILL_STYLE |
INSIDE | |
OUTSIDE |
HOUR_ELEMENT | |
MINUTE_ELEMENT | |
SECOND_ELEMENT |
TEXT_ALIGNMENT_LEFT | |
TEXT_ALIGNMENT_RIGHT | |
TEXT_ALIGNMENT_CENTER | |
TEXT_ALIGNMENT_TOP | |
TEXT_ALIGNMENT_BOTTOM |
TEXT_DIRECT_LTR | |
TEXT_DIRECT_RTL |
ALWAYS_ON | |
NORMAL |
animator | Indicates the pointer to the Animator instance to add. |
view | Indicates the pointer to the child view to add. |
view | Indicates the view to add. |
dataSerial | Indicates the pointer to the data set class. For details, see UIChartDataSerial. |
data | Indicates the pointer to the start address of the data point. |
count | Indicates the number of data points to add. |
id | Indicates the pointer to the ID of the sibling view. |
offset | Indicates the offset added to the y-axis after the view is placed. A positive number indicates the offset to the top, and a negative number indicates the offset to the bottom. |
id | Indicates the pointer to the ID of the sibling view. |
offset | Indicates the offset added to the x-axis after the view is placed. A positive number indicates the offset to the right, and a negative number indicates the offset to the left. |
id | Indicates the pointer to the ID of the sibling view. |
offset | Indicates the offset added to the x-axis after the view is placed. A positive number indicates the offset to the right, and a negative number indicates the offset to the left. |
id | Indicates the pointer to the ID of the sibling view. |
offset | Indicates the offset added to the x-axis after the view is placed. A positive number indicates the offset to the left, and a negative number indicates the offset to the right. |
id | Indicates the pointer to the ID of the sibling view. |
offset | Indicates the offset added to the y-axis after the view is placed. A positive number indicates the offset to the bottom, and a negative number indicates the offset to the top. |
id | Indicates the pointer to the ID of the sibling view. |
offset | Indicates the offset added to the y-axis after the view is placed. A positive number indicates the offset to the bottom, and a negative number indicates the offset to the top. |
callback | Indicates the animator callback for producing animator effects. For details, see AnimatorCallback. |
view | Indicates the UIView instance bound to an animator, which can be used when invoking the animator callback. |
time | Indicates the duration of this animator, in milliseconds. |
repeat | Specifies whether to repeat this animator. true indicates the animator is repeated, and false (default value) indicates the animator is played once. |
startPos | Indicates the start value of this animation. |
endPos | Indicates the end value of this animation. |
curTime | Indicates the current time of this animation. |
durationTime | Indicates the total duration of this animation. |
startPos | Indicates the start value of this animation. |
endPos | Indicates the end value of this animation. |
curTime | Indicates the current time of this animation. |
durationTime | Indicates the total duration of this animation. |
startPos | Indicates the start value of this animation. |
endPos | Indicates the end value of this animation. |
curTime | Indicates the current time of this animation. |
durationTime | Indicates the total duration of this animation. |
view | Indicates the UIView instance, which is added from the constructor of the Animator class. |
pos | Indicates the position where the cancel event occurs. |
startPos | Indicates the start value of this animation. |
endPos | Indicates the end value of this animation. |
curTime | Indicates the current time of this animation. |
durationTime | Indicates the total duration of this animation. |
startPos | Indicates the start value of this animation. |
endPos | Indicates the end value of this animation. |
curTime | Indicates the current time of this animation. |
durationTime | Indicates the total duration of this animation. |
startPos | Indicates the start value of this animation. |
endPos | Indicates the end value of this animation. |
curTime | Indicates the current time of this animation. |
durationTime | Indicates the total duration of this animation. |
pos | Indicates the position where the click event occurs. |
line | Indicates the line segment used for clipping. |
poly | Indicates the polygon to clip. |
pOut | Indicates the pointer to the intersections. |
pNum | Indicates the pointer to the number of the intersections. |
poly | Indicates the polygon to clip. |
line | Indicates the line segment used for clipping. |
color | Indicates the color data with the 32-bit color depth, which is defined by Color32. |
color | Indicates the color data with the 16-bit color depth, which is defined by Color16. |
alpha | Indicates the alpha, that is, how opaque each pixel is. |
color | Indicates the color data, which is defined by ColorType. |
other | Indicates the two-dimensional vector to be used for calculation. |
startPos | Indicates the start value of this animation. |
endPos | Indicates the end value of this animation. |
curTime | Indicates the current time of this animation. |
durationTime | Indicates the total duration of this animation. |
startPos | Indicates the start value of this animation. |
endPos | Indicates the end value of this animation. |
curTime | Indicates the current time of this animation. |
durationTime | Indicates the total duration of this animation. |
startPos | Indicates the start value of this animation. |
endPos | Indicates the end value of this animation. |
curTime | Indicates the current time of this animation. |
durationTime | Indicates the total duration of this animation. |
dataSerial | Indicates the pointer to the data set class. For details, see UIChartDataSerial. |
displayLeadingZero | Specifies whether to add 0 before the hour of this digital clock. true indicates that 0 is added, and false indicates the opposite case. |
other | Indicates the two-dimensional vector to be used for calculation. |
newPos | Indicates the new position in the drag event. |
lastPos | Indicates the last position in the drag event. |
totalLen | Indicates the distance that the view has been dragged, including the movement on the x-axis and y-axis. |
center | Indicates the coordinates of the arc's center. |
radius | Indicates the radius of the arc. |
startAngle | Indicates the start angle of the arc. Value 0 indicates the 12-o'clock direction, and 90 indicates the 3-o'clock direction. |
endAngle | Indicates the end angle of the arc. Value 0 indicates the 12-o'clock direction, and 90 indicates the 3-o'clock direction. |
paint | Indicates the arc style. For details, see Paint. |
center | Indicates the coordinates of the circle center. |
radius | Indicates the radius of the circle. |
paint | Indicates the circle style. For details, see Paint. |
control1 | Indicates the coordinates of the first control point of the cubic Bezier curve. |
control2 | Indicates the coordinates of the second control point of the cubic Bezier curve. |
endPoint | Indicates the coordinates of the end point of the cubic Bezier curve. |
paint | Indicates the curve style. For details, see Paint. |
startPoint | Indicates the coordinates of the start point of the cubic Bezier curve. |
control1 | Indicates the coordinates of the first control point of the cubic Bezier curve. |
control2 | Indicates the coordinates of the second control point of the cubic Bezier curve. |
endPoint | Indicates the coordinates of the end point of the cubic Bezier curve. |
paint | Indicates the curve style. For details, see Paint. |
startPoint | Indicates the coordinates of the start point. |
image | Indicates the pointer to the image source. |
paint | Indicates the image style. For details, see Paint. |
startPoint | Indicates the coordinates of the start point. |
text | Indicates the pointer to the text content. |
maxWidth | Indicates the maximum width of the text that can be displayed. If the maximum width is exceeded, the text is truncated. |
fontStyle | Indicates the text layout and font style. For details, see FontStyle. |
paint | Indicates the text style. For details, see Paint. |
endPoint | Indicates the end point of the straight line. |
paint | Indicates the straight line style. For details, see Paint. |
startPoint | Indicates the coordinates of the start point. |
endPoint | Indicates the coordinates of the end point. |
paint | Indicates the straight line style. For details, see Paint. |
startPoint | Indicates the coordinates of the point at the upper left corner of the rectangle. |
height | Indicates the height of the rectangle. |
width | Indicates the width of the rectangle. |
paint | Indicates the rectangle style. For details, see Paint. |
center | Indicates the coordinates of the sector's center. |
radius | Indicates the radius of the sector. |
startAngle | Indicates the start angle of the sector. Value 0 indicates the 12-o'clock direction, and 90 indicates the 3-o'clock direction. |
endAngle | Indicates the end angle of the sector. Value 0 indicates the 12-o'clock direction, and 90 indicates the 3-o'clock direction. |
paint | Indicates the sector style. For details, see Paint. |
id | Indicates the pointer to the DOM node ID. |
id | Indicates the pointer to the DOM node ID. |
id | Indicates the pointer to the DOM node ID. |
path | Indicates the pointer to the specified path. |
state | Indicates the automatic alignment state. true indicates this state is enabled, and false indicates the opposite case. |
enable | Specifies whether the background of the progress bar is visible. true (the default value) indicates that the background is visible, and false indicates the opposite case. |
enable | Specifies whether to draw the bottom point. Value true means to draw the bottom point, and value false means not to draw the bottom point. |
enable | Specifies whether to enable the fill color. Value true means to enable the fill color, and value false means to disable the fill color. The default value is false. |
enable | Specifies whether to draw the frontmost point. Value true means to draw the frontmost point, and value false means not to draw the frontmost point. |
enable | Specifies whether to enable chart reverse. Value true means to enable chart reverse, and value false means not to enable chart reverse. The default value is false. |
state | Specifies whether to enable seconds in the time picker. Value true means to enable seconds, and value false means to disable seconds. The default value is false. |
smooth | Specifies whether to smooth a polyline. Value true means to smooth a polyline, and value false means not to smooth a polyline. The default value is false. |
enable | Specifies whether to draw the top point. Value true means to draw the top point, and value false means not to draw the top point. |
pos | Indicates the position where the event occurs. |
parentView | Indicates the specified parent view. |
subView | Indicates the target child view. |
value | Indicates the input integer. |
outText | Indicates the pointer to the converted string. |
textLen | Indicates the length of the string. |
key | Indicates the key of the style. |
t | Indicates the current change rate of the cubic Bezier curve, within [0, 1024]. |
u0 | Indicates the coordinates for the start point of the cubic Bezier curve, within [0, 1024]. |
u1 | Indicates the coordinates for the first control point of the cubic Bezier curve, within [0, 1024]. |
u2 | Indicates the coordinates for the second control point of the cubic Bezier curve, within [0, 1024]. |
u3 | Indicates the coordinates for the end point of the cubic Bezier curve, within [0, 1024]. |
id | Indicates the pointer to the ID of the target child view. |
r8 | Indicates the intensity of red. |
g8 | Indicates the intensity of green. |
b8 | Indicates the intensity of blue. |
r8 | Indicates the intensity of red. |
g8 | Indicates the intensity of green. |
b8 | Indicates the intensity of blue. |
alpha | Indicates the alpha, that is, how opaque each pixel is. |
textRect | Indicates the text rectangle. |
style | Indicates the text style. |
key | Indicates the key of the style. |
type | Indicates the clock hand type, as enumerated in HandType. |
type | Indicates the clock hand type, as enumerated in HandType. |
type | Indicates the clock hand type, as enumerated in HandType. |
type | Indicates the clock hand type, as enumerated in HandType. |
header | Indicates the basic image information. |
key | Indicates the key of the style. |
key | Indicates the key of the style. |
c1 | Indicates color 1. |
c2 | Indicates color 2. |
mix | Indicates the alpha, that is, how opaque each pixel is. |
index | Indicates the index of the data point to obtain. |
point | Indicates the obtained coordinates. If the data set is not added to the chart, the original value of the data point is printed. |
key | Indicates the key of the style. |
key | Indicates the key of the style. |
key | Indicates the key of the style. |
key | Indicates the key of the style. |
state | Indicates the button state, as enumerated in ButtonState. |
point | Indicates the coordinates to specify. |
last | Indicates the double pointer to the view that contains the specified coordinates. |
point | Indicates the given coordinates. |
last | Indicates the double pointer to the target view. nullptr indicates that the target view is not available. |
inView | Indicates the pointer to the reusable instance. If this parameter is not NULL, a reusable UILabel instance is available. In this case, this function does not need to create a new UILabel instance, just resusing the instance specified by inView to update the inView data. If this parameter is NULL, there is no resuable UIView instance. In this case, this function needs to create a new UILabel instance. |
index | Indicates the adapter data index. |
inView | Indicates the pointer to the reusable instance. If this parameter is not NULL, a reusable UIView instance is available. In this case, this function does not need to create a new UIView instance, just reusing the instance specified by inView to update the inView data. If this parameter is NULL, there is no reusable UIView instance. In this case, this function needs to create a new UIView instance. |
index | Indicates the adapter data index. |
Indicates | the index of a view. |
index | Indicates the point from which the hide starts. |
count | Indicates the number of points to hide. |
info | Indicates the image information. For details, see ImageInfo. |
info | Indicates the image information. For details, see ImageInfo. |
node | Indicates the pointer to the node holding the inserted data. |
data | Indicates the data to insert. |
prevView | Indicates the pointer to the current child view, previous to the new child view to insert. |
view | Indicates the pointer to the new child view to insert. |
prevView | Indicates the previous view. |
insertView | Indicates the view to insert. |
a | Indicates line segment a. |
b | Indicates line segment b. |
out | Indicates the intersection point. |
rect1 | Indicates the first rectangle to check. |
rect2 | Indicates the second rectangle to check. |
invalidatedArea | Indicates the area to refresh. |
point | Indicates the coordinate point. |
other | Indicates the rectangle to be used for check. |
point | Indicates the coordinate point. |
other | Indicates the rectangle to be used for check. |
a | Indicates line segment a. |
b | Indicates line segment b. |
other | Indicates the rectangle to be used for check. |
rect1 | Indicates the first rectangle to contain. |
rect2 | Indicates the second rectangle to contain. |
keyId | Indicates the key ID. |
state | Indicates the key state. |
offset | Indicates the offset added to the y-axis after the view is placed. A positive number indicates the offset to the top, and a negative number indicates the offset to the bottom. |
id | Indicates the pointer to the ID of the sibling view. |
offset | Indicates the offset added to the y-axis after the view is placed. A positive number indicates the offset to the bottom, and a negative number indicates the offset to the top. |
xOffset | Indicates the offset added to the x-axis after the view is placed. A positive number indicates the offset to the right, and a negative number indicates the offset to the left. |
yOffset | Indicates the offset added to the y-axis after the view is placed. A positive number indicates the offset to the bottom, and a negative number indicates the offset to the top. |
offset | Indicates the offset added to the x-axis after the view is placed. A positive number indicates the offset to the right, and a negative number indicates the offset to the left. |
id | Indicates the pointer to the ID of the sibling view. |
offset | Indicates the offset added to the x-axis after the view is placed. A positive number indicates the offset to the left, and a negative number indicates the offset to the right. |
offset | Indicates the offset added to the x-axis after the view is placed. A positive number indicates the offset to the left, and a negative number indicates the offset to the right. |
id | Indicates the pointer to the ID of the sibling view. |
offset | Indicates the offset added to the x-axis after the view is placed. A positive number indicates the offset to the right, and a negative number indicates the offset to the left. |
offset | Indicates the offset added to the y-axis after the view is placed. A positive number indicates the offset to the bottom, and a negative number indicates the offset to the top. |
id | Indicates the pointer to the ID of the sibling view. |
offset | Indicates the offset added to the y-axis after the view is placed. A positive number indicates the offset to the top, and a negative number indicates the offset to the bottom. |
a | Indicates the start point of the line. |
b | Indicates the end point of the line. |
x1 | Indicates the X coordinate of the line's start point. |
y1 | Indicates the Y coordinate of the line's start point. |
x2 | Indicates the X coordinate of the line's end point. |
y2 | Indicates the Y coordinate of the line's end point. |
startPos | Indicates the start value of this animation. |
endPos | Indicates the end value of this animation. |
curTime | Indicates the current time of this animation. |
durationTime | Indicates the total duration of this animation. |
pos | Indicates the position where the long-press event occurs. |
timeStamp | Indicates the time stamp when the long-press event occurs. |
m00 | Indicates the element in row 1 and column 1 of the matrix. |
m01 | Indicates the element in row 1 and column 2 of the matrix. |
m02 | Indicates the element in row 1 and column 3 of the matrix. |
m10 | Indicates the element in row 2 and column 1 of the matrix. |
m11 | Indicates the element in row 2 and column 2 of the matrix. |
m12 | Indicates the element in row 2 and column 3 of the matrix. |
m20 | Indicates the element in row 3 and column 1 of the matrix. |
m21 | Indicates the element in row 3 and column 2 of the matrix. |
m22 | Indicates the element in row 3 and column 3 of the matrix. |
index | Indicates the index of the data point to modify. |
point | Indicates the new value of the data point. |
offsetX | Indicates the offset distance by which a child view is moved on the x-axis. |
offsetY | Indicates the offset distance by which a child view is moved on the y-axis. |
x | Indicates the offset distance by which this view group is moved on the x-axis. |
y | Indicates the offset distance by which this view group is moved on the y-axis. |
offsetX | Indicates the offset distance by which a child view is moved on the x-axis. |
offsetY | Indicates the offset distance by which a child view is moved on the y-axis. |
offsetX | Indicates the offset distance by which a child view is moved on the x-axis. |
offsetY | Indicates the offset distance by which a child view is moved on the y-axis. |
node | Indicates the pointer to the data node in the linked list. |
view | Indicates the instance of this view. |
view | Indicates the instance of this view. |
view | Indicates the view on which a click event is canceled. |
event | Indicates the cancel event. |
event | Indicates the cancel event. |
[in] | event | The cancel event. |
value | Indicates the current value of the slider. |
state | Indicates the current state of this check box. For details, see UICheckBoxState. |
view | Indicates the view clicked. |
event | Indicates the click event. |
event | Indicates the click event. |
[in] | event | click event. |
[in] | event | The event that passed when OnClickEvent is invoked. |
[in] | event | The event that passed when OnClickEvent is invoked. |
event | Indicates the click event. |
view | Indicates the view dragged. |
event | Indicates the drag event. |
view | Indicates the view dragged. |
event | Indicates the drag event. |
event | Indicates the drag event. |
event | Indicates the drag event. |
event | Indicates the drag event. |
event | Indicates the drag event. |
event | Indicates the drag event. |
event | Indicates the drag event. |
event | Indicates the drag event. |
event | Indicates the drag event. |
event | Indicates the drag event. |
event | The drag event |
view | Indicates the view dragged. |
event | Indicates the drag event. |
event | Indicates the drag event. |
invalidatedArea | Indicates the area to draw. |
invalidatedArea | Indicates the area to draw. |
[in] | invalidatedArea | The rectangle to draw, with coordinates relative to this drawable.. |
invalidatedArea | Indicates the area to draw. |
invalidatedArea | Indicates the area to draw. |
invalidatedArea | Indicates the area to draw. |
[in] | invalidatedArea | The invalidated area. |
invalidatedArea | Indicates the area to draw. |
invalidatedArea | Indicates the area to draw. |
invalidatedArea | Indicates the area to draw. |
invalidatedArea | Indicates the area to draw. |
invalidatedArea | Indicates the area to draw. |
invalidatedArea | Indicates the area to draw. |
invalidatedArea | Indicates the area to draw. |
newFPS | Indicates the FPS data. |
view | Indicates the view displayed upon a physical key event. |
event | Indicates the physical key event to respond to. |
event | Indicates the physical key event to execute. |
view | Indicates the view long pressed. |
event | Indicates the long-press event. |
event | Indicates the long-press event. |
[in] | event | long press event. |
picker | Indicates the picker instance. |
invalidatedArea | Indicates the area in which the view is drawn. |
invalidatedArea | Indicates the area in which the view is drawn. |
invalidatedArea | Indicates the area to draw. |
invalidatedArea | Indicates the area to draw. |
invalidatedArea | Indicates the area to draw. |
invalidatedArea | Indicates the area to draw. |
[in] | invalidate | area. |
[in] | invalidate | area. |
invalidatedArea | Indicates the area to draw. |
invalidatedArea | Indicates the area to draw. |
invalidatedArea | Indicates the area to draw. |
invalidatedArea | Indicates the area to draw. |
[in] | invalidate | area. |
invalidatedArea | Indicates the area to draw. |
invalidatedArea | Indicates the area to draw. |
invalidatedArea | Indicates the area to draw. |
view | Indicates the view pressed. |
event | Indicates the press event. |
event | Indicates the press event. |
[in] | event | The press event, contain press position. |
event | Indicates the press event. |
event | Indicates the press event. |
value | Indicates the current value of the slider. |
view | Indicates the view released. |
event | Indicates the release event. |
event | Indicates the release event. |
[in] | event | release event. |
[in] | event | The press release event. |
view | Indicates the UIView instance, which is added from the constructor of the Animator class. |
picker | Indicates the time picker instance. |
event | Indicates the input event to respond to. |
view | Indicates the view displayed upon an input event triggered by a virtual device. |
event | Indicates the input event to respond to. |
p | Indicates the pointer to the memory to be released. |
size | Indicates the size of the memory to be allocated. |
index | Indicates the start or end point to obtain. The value 0 indicates that the start point is to be obtained, and 1 indicates that the end point is to be obtained. |
index | Indicates the start or end point to obtain. The value 0 indicates that the start point is to be obtained, and 1 indicates that the end point is to be obtained. |
rect | Indicates the rectangle used to construct the polygon. |
vertexes | Indicates the pointer to the vertex coordinates. |
vertexNum | Indicates the number of vertices. |
pos | Indicates the position where the press event occurs. |
data | Indicates the data to insert. |
data | Indicates the data to insert. |
startPos | Indicates the start value of this animation. |
endPos | Indicates the end value of this animation. |
curTime | Indicates the current time of this animation. |
durationTime | Indicates the total duration of this animation. |
startPos | Indicates the start value of this animation. |
endPos | Indicates the end value of this animation. |
curTime | Indicates the current time of this animation. |
durationTime | Indicates the total duration of this animation. |
startPos | Indicates the start value of this animation. |
endPos | Indicates the end value of this animation. |
curTime | Indicates the current time of this animation. |
durationTime | Indicates the total duration of this animation. |
startPos | Indicates the start value of this animation. |
endPos | Indicates the end value of this animation. |
curTime | Indicates the current time of this animation. |
durationTime | Indicates the total duration of this animation. |
startPos | Indicates the start value of this animation. |
endPos | Indicates the end value of this animation. |
curTime | Indicates the current time of this animation. |
durationTime | Indicates the total duration of this animation. |
startPos | Indicates the start value of this animation. |
endPos | Indicates the end value of this animation. |
curTime | Indicates the current time of this animation. |
durationTime | Indicates the total duration of this animation. |
other | Indicates the rectangle to copy. |
other | Indicates the rectangle to copy. |
left | Indicates the coordinate of the left boundary. |
top | Indicates the coordinate of the top boundary. |
right | Indicates the coordinate of the right boundary. |
bottom | Indicates the coordinate of the bottom boundary. |
onFPSChangedListener | Indicates the pointer to the FPS change notification function. For details, see OnFPSChangedListener. |
scrollListener | Indicates the listener to register. For details, see OnScrollListener. |
pickerListener | Indicates the listener for a selected event in the picker. For details, see SelectedListener. |
timePickerListener | Indicates the listener to register. For details, see SelectedListener. |
pos | Indicates the position where the release event occurs. |
animator | Indicates the pointer to the Animator instance to remove. |
node | Indicates the pointer to the node to delete. |
view | Indicates the pointer to the child view to remove. |
view | Indicates the view to delete. |
width | Indicates the width of the rectangle. |
height | Indicates the height of the rectangle. |
width | Indicates the new width. |
height | Indicates the new height. |
width | Indicates the new width. |
height | Indicates the new height. |
x | Indicates the new x-coordinate. |
y | Indicates the new y-coordinate. |
width | Indicates the new width. |
height | Indicates the new height. |
origLine | Indicates the line segment to rotate. |
angle | Indicates the angle to rotate. |
pivot | Indicates the rotation pivot. |
out | Indicates the line generated after rotation. |
origRect | Indicates the rectangle to rotate. |
angle | Indicates the angle to rotate. |
pivot | Indicates the rotation pivot. |
out | Indicates the polygon generated after the rectangle is rotated. |
point | Indicates the point to rotate. |
angle | Indicates the angle to rotate. |
pivot | Indicates the rotation pivot. |
out | Indicates the point generated after rotation. |
angle | Indicates the angle to rotate. |
pivot | Indicates the rotation pivot. |
angle | Indicates the angle to rotate. |
pivot | Indicates the rotation pivot. |
scale | Indicates the scaling factors of the x-axis and y-axis. |
pivot | Indicates the pivot for scaling. |
scale | Indicates the scaling factors of the x-axis and y-axis. |
fixed | Indicates the fixed scaling point. |
distance | Indicates the distance by which the content is scrolled. |
xDistance | Indicates the offset distance by which the content is scrolled on the x-axis. |
yDistance | Indicates the offset distance by which the content is scrolled on the y-axis. |
index | Indicates the new index of the first row or column of the current view. |
adapter | Indicates the adapter to set. For details, see AbstractAdapter. |
align | Indicates the text alignment mode to set, as defined in UITextLanguageAlignment. |
horizontalAlign | Indicates the horizontal alignment mode to set, which can be TEXT_ALIGNMENT_LEFT, TEXT_ALIGNMENT_CENTER, or TEXT_ALIGNMENT_RIGHT. |
listener | Indicates the listener to set. For details, see AnimatorStopListener. |
listener | Indicates the listener to set. For details, see AnimatorStopListener. |
time | Indicates the time of the page being animated. |
startAngle | Indicates the start angle to set. |
endAngle | Indicates the end angle to set. |
x | Indicates the x-coordinate to set. |
y | Indicates the y-coordinate to set. |
orientation | Indicates the text orientation to set. |
radius | Indicates the radius to set. |
enable | Specifies whether the image view size needs to be adaptive to the image size. true indicates that automatic adaption is enabled, and false indicates the opposite case. |
state | Specifies whether the size of this view group is adaptive to that of all child views. true indicates automatic adaption is enabled, and false indicates the opposite case. |
x | Indicates the x-coordinate to set. The default value is 0. |
y | Indicates the y-coordinate to set. The default value is 0. |
style | Indicates the background style of the progress bar. For details, see Style. |
key | Indicates the key of the style to set. |
value | Indicates the value matching the key. |
overshoot | Indicates the overshoot s in the equation to set. |
size | Indicates the blank size to set. |
level | Indicates the blur level to set. For details, see BlurLevel. |
bottom | Indicates the coordinate of the bottom boundary. |
style | Indicates the style to set. For details, see PointStyle. |
buttonType | Indicates the button position. |
text | Indicates the pointer to the button text. |
listener | Indicates the pointer to the listener registered for the button. |
cap | Indicates the cap type. For details, see CapType. |
x | Indicates the x-coordinate to set. The default value is 0. |
y | Indicates the y-coordinate to set. The default value is 0. |
color | Indicates the front color to set. |
cols | Indicates the number of columns to set. |
theme | Indicates the theme to set. |
index | Indicates the index of a view. |
needAnimator | Specifies whether a flip animation is needed. false (default value) indicates a flip animation is not needed, and true indicates the opposite case. |
start | Indicates the start value of the integer data. |
end | Indicates the end value of the integer data. |
data | Indicates the string linked list data. |
min | Indicates the minimum value to set. |
max | Indicates the maximum value to set. |
min | Indicates the minimum value to set. |
max | Indicates the maximum value to set. |
min | Indicates the minimum value to set. |
max | Indicates the maximum value to set. |
delayTime | Indicates the delay time to set. |
direct | Indicates the text direction, as defined in UITextLanguageDirect. |
direct | Indicates the text direction to set, as defined in UITextLanguageDirect. |
direct | Indicates the direction of the UILabel constructed by the adapter. |
direct | Indicates the text direction to set. For details, see UITextLanguageDirect. |
direction | Indicates the direction to set. The default direction is from left to right. For details, see Direction. |
direction | Indicates the dragging direction, either HORIZONTAL or VERTICAL. |
flag | Specifies whether this view group is intercepted upon touch events. true indicates that this view group is intercepted upon touch events, and false indicates the opposite case. |
dm | Indicates the display mode to set. |
value | Indicates the drag acceleration to set. The default value is 10. A larger drag acceleration indicates a higher inertial scroll velocity. |
func | Indicates the easing function to set. The default function is EasingEquation::CubicEaseOut. For details, see EasingEquation. |
draggable | Specifies whether to set the view draggable. Value true means to set the view draggable, and false means the opposite. |
dragParentInstead | Specifies whether to transfer the event to the parent view for processing. Value true means to transfer the event to the parent view for processing, and false means the opposite. |
durationTime | Indicates the duration to set. |
easingFunc | Indicates the easing function to set. The animation moves at a constant velocity by default. For details, see EasingEquation. |
endAngle | Indicates the end angle to set, which can be any value represented by int16_t. The default value is 360. |
expand | Specifies whether to adapt the component height to this text. The value true indicates that the component height will adapt to this text, and false indicates not. |
expand | Specifies whether to adapt the component width to this text. The value true indicates that the component width will adapt to this text, and false indicates not. |
color | Indicates the fill color to set. |
color | Indicates the fill color to set. |
wrap | Indicates the word wrap attribute. |
name | Indicates the pointer to the font name. |
size | Indicates the font size to set. |
name | Indicates the pointer to the font name. |
size | Indicates the font size to set. |
name | Indicates the pointer to the font name. |
size | Indicates the font size to set. |
name | Indicates the pointer to the font name. |
size | Indicates the font size to set. |
name | Indicates the pointer to the font name. |
size | Indicates the font size to set. |
name | Indicates the pointer to the font name. |
size | Indicates the font size to set. |
backgroundFontId | Indicates the font ID of the background text. |
highlightFontId | Indicates the font ID of the highlighted text. |
fontId | Indicates the dynamic font ID to set. |
fontId | Indicates the font ID. For details, see UITextLanguageFontId. |
fontId | Indicates the font ID to set. |
fontId | Indicates the font ID composed of font name and size. |
fontId | Indicates the font ID composed of the font name and size. |
fontId | Indicates the font ID composed of font name and size. |
style | Indicates the foreground style of this progress bar. For details, see Style. |
key | Indicates the key of the style to set. |
value | Indicates the value matching the key. |
type | Indicates the FPS sampling type. For details, see FPSCalculateType. |
bottom | Indicates the bottom of the filling range. The value is the distance to the x-axis. |
minOpa | Indicates the opacity closest to the x-axis. |
maxOpa | Indicates the opacity farthest away from the x-axis. |
type | Indicates the clock hand type, as enumerated in HandType. |
img | Indicates the image to set. |
position | Indicates the start position of this image. |
center | Indicates the rotation center of this clock hand. |
type | Indicates the clock hand type, as enumerated in HandType. |
position | Indicates the position of the line endpoint close to the rotation center. |
center | Indicates the rotation center of this clock hand. |
color | Indicates the color of this line. |
width | Indicates the width of this line when it is 12 o'clock. |
height | Indicates the height of this line when it is 12 o'clock. |
opacity | Indicates the opacity of this line. |
style | Indicates the style to set. For details, see PointStyle. |
height | Indicates the height of the rectangle. |
height | Indicates the height to set. |
height | Indicates the height to set. |
height | Indicates the height to set. |
height | Indicates the height to set. |
height | Indicates the height to set. |
height | Indicates the height to set. |
height | Indicates the height to set. |
height | Indicates the height to set. |
state | Specifies whether a horizontal scroll is enabled. true indicates a horizontal scroll is enabled, and false indicates the opposite case. |
backgroundImage | Indicates the background image to set. |
foregroundImage | Indicates the foreground image to set. |
knobImage | Indicates the knob image to set. |
foregroundImage | Indicates the foreground image of the progress bar. The default value is nullptr. |
backgroundImage | Indicates the background image of the progress bar. The default value is nullptr. |
backgroundImage | Indicates the background image to set. |
foregroundImage | Indicates the foreground image to set. |
knobImage | Indicates the knob image to set. |
foregroundImage | Indicates the foreground image of the progress bar. The default value is nullptr. |
backgroundImage | Indicates the background image of the progress bar. The default value is nullptr. |
imageSrc | Indicates the pointer to the ImageAnimatorInfo array for storing the configured image information. The memory cannot be released before this animator stops. |
imageNum | Indicates the number of images. |
imageSrc | Indicates the pointer to the ImageAnimatorInfo array for storing the configured image information. The memory cannot be released before this animator stops. |
imageNum | Indicates the number of images. |
timeOfUpdate | Indicates the interval for updating images, in milliseconds. The default value is 1. |
x | Indicates the x-coordinate to set. |
y | Indicates the y-coordinate to set. |
selectedImageSrc | Indicates the image for this check box when selected. |
unselectedImageSrc | Indicates the image for this check box when unselected. |
selectedImageSrc | Indicates the image for this check box when selected. |
unselectedImageSrc | Indicates the image for this check box when unselected. |
defaultImgSrc | Indicates the default image. |
triggeredImgSrc | Indicates the image for a button when it is triggered. |
defaultImgSrc | Indicates the default image. |
triggeredImgSrc | Indicates the image for a button when it is triggered. |
hour | Indicates the hour to set. |
minute | Indicates the minute to set. |
second | Indicates the second to set. |
isIntercept | Specifies whether to intercept the drag event. Value true means to intercept the drag event, and false means the opposite. |
interval | Indicates the interval to set. |
height | Indicates the height of each item. |
height | Indicates the height to set. |
style | Indicates the knob style to set. For details, see Style. |
key | Indicates the key of the style to set. |
value | Indicates the value matching the key. |
width | Indicates the knob width to set. |
labelStyle | Indicates the label style to set. |
key | Indicates the key of the style to set. |
value | Indicates the value matching the key. |
x | Indicates the offset distance by which this label is moved on the x-axis. |
y | Indicates the offset distance by which this label is moved on the y-axis. |
lastRun | Indicates the end time to set. |
direction | Indicates the direction of the layout. Available values are as follows: LAYOUT_HOR: from left to right LAYOUT_HOR_R: from right to left LAYOUT_VER: from top to bottom LAYOUT_VER_R: from bottom to top |
left | Indicates the coordinate of the left boundary. |
lineBreakMode | Indicates the line break mode to set. |
lineBreakMode | Indicates the LineBreakMode of UILabel. |
color | Indicates the foreground color to set. For details, see ColorType. |
color | Indicates the line color to set. For details, see ColorType. |
color | Indicates the polyline color to set. |
loop | Indicates the cycle swipe flag. true indicates the cycle swipe is supported, and false indicates the opposite case. |
state | Indicates the loop state to set. |
align | Indicates the alignment mode to set. The value can be ALIGN_START, ALIGN_END, ALIGN_CENTER, ALIGN_EVENLY, ALIGN_AROUND, or ALIGN_BETWEEN. |
count | Indicates the number of scales to set. The default value is 5. |
count | Indicates the number of scales to set. The default value is 5. |
count | Indicates the number of scales to set. The default value is 5. |
maxCount | Indicates the number of data points. The default value is 0. |
distance | Indicates the maximum scroll distance to set. The default value is 0, indicating that the scroll distance is not limited. |
name | Indicates the name to set, which is a character string. |
sibling | Indicates the pointer to the next sibling view to set. |
listener | Indicates the listener to set. For details, see OnChangeListener. |
onClickListener | Indicates the pointer to the click event listener to set. |
clickListener | Indicates the pointer to the callback function. |
onDragListener | Indicates the pointer to the drag event listener to set. |
onKeyActListener | Indicates the pointer to the listener to set. |
onLongPressListener | Indicates the pointer to the long-press event listener to set. |
onSwipeListener | Indicates the listener to set. |
onTouchListener | Indicates the pointer to the touch event listener to set. |
onVirtualDeviceEventListener | Indicates the pointer to the listener to set. |
opacity | Indicates the opacity of this digital clock. The value ranges from 0 (transparency) to 255 (opacity). |
opacity | Indicates the opacity. The value range is [0, 255]. |
parent | Indicates the pointer to the parent view to set. |
period | Indicates the running period to set. |
x | Indicates the x-coordinate to set. |
y | Indicates the y-coordinate to set. |
polygon | Indicates the polygon to set. |
x | Indicates the coordinate of the left boundary. |
y | Indicates the coordinate of the top boundary. |
x | Indicates the x-coordinate to set. |
y | Indicates the y-coordinate to set. |
x | Indicates the x-coordinate to set. |
y | Indicates the y-coordinate to set. |
x | Indicates the x-coordinate to set. |
y | Indicates the y-coordinate to set. |
x | Indicates the new x-coordinate. |
y | Indicates the new y-coordinate. |
width | Indicates the new width. |
height | Indicates the new height. |
x | Indicates the x-coordinate to set. |
y | Indicates the y-coordinate to set. |
width | Indicates the width to set. |
height | Indicates the height to set. |
x | Indicates the x-coordinate to set. |
y | Indicates the y-coordinate to set. |
width | Indicates the width to set. |
height | Indicates the height to set. |
preLastPos | Indicates the coordinates of the stay position to set. |
x | Indicates the x-coordinate to set. The default value is 0. |
y | Indicates the y-coordinate to set. The default value is 0. |
radius | Indicates the outer radius to set. |
rangeMax | Indicates the maximum value of this progress bar. The default value is 100. |
rangeMin | Indicates the minimum value of this progress bar. The default value is 0. |
size | Indicates the rebound size to set. |
left | Indicates the coordinate of the left boundary. |
top | Indicates the coordinate of the top boundary. |
right | Indicates the coordinate of the right boundary. |
bottom | Indicates the coordinate of the bottom boundary. |
times | Indicates the playback times to set. The default value is 1. |
reverse | Indicates the playback sequence to set. true indicates a reverse playback and false (default value) indicates a forward playback. |
right | Indicates the coordinate of the right boundary. |
speed | Indicates the scroll speed to set. |
pos | Indicates the position to set. |
end | Indicates the end angle of rotation to set. The default value is 0. |
start | Indicates the start angle to set. The default value is 0. |
rows | Indicates the number of rows to set. |
runTime | Indicates the running time to set, in milliseconds. |
end | Indicates the end ratio to set. The default value is 1. |
start | Indicates the start ratio to set. The default value is 1. |
width | Indicates the width to set. The default value is DEFAULT_BAR_WIDTH. |
scrollListener | Indicates the listener to set. |
align | Indicates the alignment mode to set. The value can be ALIGN_START, ALIGN_CENTER, or ALIGN_END. |
value | Indicates the pointer to the selected time, which is in the format of "hour:minute:second", for example, 10:12:50. The second is optional and depends on the setting of EnableSecond. The time must be a valid value. For example, the hour value must range from 0 to 23. |
index | Indicates the index to set. |
position | Indicates the position to set. The default value is 0, indicating that no position is set. |
fixed | Specifies whether the image size is fixed to the view size. The value true indicates the size of the image is the same as that of the view, and false indicates the position and size of this image need to be set in the ImageAnimatorInfo structure. |
backgroundColor | Indicates the background color to set. |
foregroundColor | Indicates the foreground color to set. |
knobColor | Indicates the knob color to set. |
listener | Indicates the listener to set. For details, see UISliderEventListener. |
backgroundRadius | Indicates the background corner radius to set. |
foregroundRadius | Indicates the foreground corner radius to set. |
knobRadius | Indicates the knob corner radius to set. |
src | Indicates the pointer to image path in the format of ..\xxx\xxx\xxx.bin. |
src | Indicates the pointer to the image path represented by a string. |
src | Indicates the pointer to the image information. |
src | Indicates the pointer to the image information. For details, see ImageInfo. |
startAngle | Indicates the start angle to set, which can be any value represented by int16_t. The default value is 0. |
index | Indicates the start index to set. The default value is 0. |
startPoint | Indicates the coordinates of the start point. |
state | Indicates the state of this check box. For details, see UICheckBoxState. |
state | Indicates the current animator state to set, which can be STOP, START, or PAUSE. |
state | Indicates the button state, as enumerated in ButtonState. |
step | Indicates the step to set. The default value is 1. |
color | Indicates the line color when a line is drawn or the border color when a closed graph is drawn. |
width | Indicates the line width when a line is drawn or the border width when a closed graph is drawn. The width is extended to both sides. |
style | Indicates the paint style. Stroke and fill are set by default. For details, see PaintStyle. |
style | Indicates the view style. |
key | Indicates the key of the style to set. |
value | Indicates the value matching the key. |
key | Indicates the key of the style to set. |
value | Indicates the value matching the key. |
key | Indicates the key of the style to set. |
value | Indicates the value matching the key. |
key | Indicates the key of the style to set. |
value | Indicates the value matching the key. |
state | Indicates the button state, as enumerated in ButtonState. |
value | Indicates the compensation distance to set. The default value is 0. |
text | Indicates the pointer to the text. |
text | Indicates the pointer to the text content. |
text | Indicates the pointer to the text. |
text | Indicates the pointer to the text content. |
text | Indicates the pointer to the text content. |
backgroundColor | Indicates the color of the background text. |
highlightColor | Indicates the color of the highlighted text. |
color | Indicates the text color to set. |
color | Indicates the text color to set. |
formatter | Indicates the pointer to the text formatter. For details, see TextFormatter. |
formatter | Indicates the pointer to the text formatter. For details, see TextFormatter. |
angle | Indicates the rotation angle to set. The value can be DEGREE_0, DEGREE_90, DEGREE_180, or DEGREE_270, as defined in LabelRotateDegree. |
angle | Indicates the rotation angle to set. The value can be DEGREE_0, DEGREE_90, DEGREE_180, or DEGREE_270, as defined in LabelRotateDegree. |
backgroundFontId | Indicates the font ID of the background text. |
highlightFontId | Indicates the font ID of the highlighted text. |
backgroundColor | Indicates the color of the background text. |
highlightColor | Indicates the color of the highlighted text. |
throwDrag | Specifies whether to continue scrolling after a finger lifts the screen. true indicates the scroll continues, and false indicates the scroll stops immediately after a finger lifts. |
time | Indicates the total duration to set, in milliseconds. |
hour | Indicates the hour to set, within [0, 23] after the modulo operation. |
minute | Indicates the minute to set, within [0, 59] after the modulo operation. |
second | Indicates the second to set, within [0, 59] after the modulo operation. |
timeOfPause | Indicates the interval between two playbacks of an infinitely repeated animator, in milliseconds. The default value is 0, indicating that there is no interval. |
timeOfUpdate | Indicates the interval for updating images, in milliseconds. The default value is 1. |
timeStamp | Indicates the timestamp of the event to set. |
title | Indicates the pointer to the title. |
top | Indicates the coordinate of the top boundary. |
style | Indicates the style to set. For details, see PointStyle. |
touchable | Specifies whether to set the view touchable. Value true means to set the view touchable, and false means the opposite. |
algorithm | Indicates the image transformation algorithm. For details, see TransformAlgorithm. |
transMap | Indicates the transformation matrix. |
height | Indicates the actual height to set. |
width | Indicates the actual width of this progress bar. |
value | Indicates the current value of this progress bar, within [rangeMin, rangeMax] specified by SetRange. If the value is less than rangeMin, rangeMin is used; if the value is greater than rangeMax, rangeMax is used. |
value[] | Indicates the array of text data. |
count | Indicates the array size. |
start | Indicates the start integer. |
end | Indicates the end integer. |
vertexNum | Indicates the number of vertices. |
state | Specifies whether a vertical scroll is enabled. true indicates a vertical scroll is enabled, and false indicates the opposite case. |
id | Indicates the pointer to the view ID. |
index | Indicates the view index to set. |
visible | Specifies whether to set the view visible. Value true means to set the view visible, and false means the opposite. |
visible | Specifies whether a dialog box is visible. The value true means visible, and false means invisible. |
visible | Specifies whether this view is visible. true indicates this view is visible, and false indicates the opposite case. |
width | Indicates the width of the rectangle. |
width | Indicates the width to set. |
width | Indicates the width of the view. |
width | Indicates the width to set. |
width | Indicates the width to set. |
width | Indicates the width to set. |
width | Indicates the width to set. |
width | Indicates the width to set. |
width | Indicates the width to set. |
newMode | Indicates the working mode to set. For details, see WorkMode. |
newMode | Indicates the working mode to set. For details, see WorkMode. |
x | Indicates the coordinate of the left boundary. |
x | Indicates the x-coordinate to set. |
x | Indicates the x-coordinate to set. |
state | Specifies whether the horizontal scroll bar is visible. true indicates the horizontal scroll bar is visible, and false indicates the opposite case. |
y | Indicates the coordinate of the top boundary. |
y | Indicates the y-coordinate to set. |
y | Indicates the y-coordinate to set. |
state | Specifies whether this vertical scroll bar is visible. true indicates the horizontal scroll bar is visible, and false indicates the opposite case. |
startPos | Indicates the start value of this animation. |
endPos | Indicates the end value of this animation. |
curTime | Indicates the current time of this animation. |
durationTime | Indicates the total duration of this animation. |
startPos | Indicates the start value of this animation. |
endPos | Indicates the end value of this animation. |
curTime | Indicates the current time of this animation. |
durationTime | Indicates the total duration of this animation. |
startPos | Indicates the start value of this animation. |
endPos | Indicates the end value of this animation. |
curTime | Indicates the current time of this animation. |
durationTime | Indicates the total duration of this animation. |
needReset | Specifies whether the animator needs to be reset to the original one. true (default value) indicates the original image is displayed, and false indicates the current image is displayed. |
clipRect | Indicates the rectangle used for clipping the polygon. |
polygon | Indicates the polygon to clip. |
period | Indicates the running period of this task. |
rect | Indicates the rectangle to transform. |
trans | Indicates the distances to translate along the x-axis and y-axis. |
value | Indicates the current value. The x coordinate obtained after translation is also printed using this parameter. |
value | Indicates the current value. The y coordinate obtained after translation is also printed using this parameter. |
value | Indicates the current value. The coordinate value obtained after translation is also printed using this parameter. |
hour | Indicates the hour. |
minute | Indicates the minute. |
second | Indicates the second. |
id | Indicates the button ID. |
buffer | Indicates the pointer to the memory to be released. |
direction | Indicates the UIList direction, either HORIZONTAL or VERTICAL. |
size | Indicates the size of the memory to apply for. |
id | Indicates the pointer to the view ID. |
clockInit | Specifies whether it is the first initialization. true indicates it is the first initialization, and false indicates the opposite case. |
clockInit | Specifies whether the first initialization. true indicates the first initialization, and false indicates the opposite case. |
clockInit | Specifies whether it is the first initialization. true indicates it is the first initialization, and false indicates the opposite case. |
x | Indicates the X coordinate. |
y | Indicates the Y coordinate. |
x | Indicates the X coordinate. |
y | Indicates the Y coordinate. |
z | Indicates the Z coordinate. |
type | Indicates the virtual device type. The options are AOD and PRIVATE. |
value | Indicates the virtual event value. |