Home
last modified time | relevance | path

Searched refs:position (Results 1 – 25 of 40) sorted by relevance

12

/lvgl-latest/src/drivers/uefi/
Dlv_uefi_indev_pointer.c39 lv_point_t position; member
208 if(indev_ctx->position.x < 0) { in _simple_pointer_read_cb()
209 indev_ctx->position.x = 0; in _simple_pointer_read_cb()
211 else if(indev_ctx->position.x > indev_ctx->display_res.x - 1) { in _simple_pointer_read_cb()
212 indev_ctx->position.x = indev_ctx->display_res.x - 1; in _simple_pointer_read_cb()
215 if(indev_ctx->position.y < 0) { in _simple_pointer_read_cb()
216 indev_ctx->position.y = 0; in _simple_pointer_read_cb()
218 else if(indev_ctx->position.y > indev_ctx->display_res.y - 1) { in _simple_pointer_read_cb()
219 indev_ctx->position.y = indev_ctx->display_res.y - 1; in _simple_pointer_read_cb()
222 data->point.x = indev_ctx->position.x; in _simple_pointer_read_cb()
[all …]
Dlv_uefi_indev_touch.c40 lv_point_t position; member
211 if(indev_ctx->position.x < 0) { in _absolute_pointer_read_cb()
212 indev_ctx->position.x = 0; in _absolute_pointer_read_cb()
214 else if(indev_ctx->position.x > indev_ctx->display_res.x - 1) { in _absolute_pointer_read_cb()
215 indev_ctx->position.x = indev_ctx->display_res.x - 1; in _absolute_pointer_read_cb()
218 if(indev_ctx->position.y < 0) { in _absolute_pointer_read_cb()
219 indev_ctx->position.y = 0; in _absolute_pointer_read_cb()
221 else if(indev_ctx->position.y > indev_ctx->display_res.y - 1) { in _absolute_pointer_read_cb()
222 indev_ctx->position.y = indev_ctx->display_res.y - 1; in _absolute_pointer_read_cb()
225 data->point.x = indev_ctx->position.x; in _absolute_pointer_read_cb()
[all …]
/lvgl-latest/src/libs/thorvg/
DtvgLottieModel.h189 LottiePosition position = Point{0, 0};
380 if (position.ix == ix) return &position; in property()
386 LottiePosition position = Point{0.0f, 0.0f};
403 if (position.ix == ix) return &position; in property()
413 LottiePosition position = Point{0.0f, 0.0f};
433 if (position.ix == ix) return &position; in property()
438 LottiePosition position = Point{0.0f, 0.0f};
476 if (position.ix == ix) return &position; in property()
490 LottiePosition position = Point{0.0f, 0.0f};
676 if (position.ix == ix) return &position; in property()
[all …]
DtvgLottieBuilder.cpp119 auto position = transform->position(frameNo, exps); in _updateTransform() local
120 translate(&matrix, position.x, position.y); in _updateTransform()
124 if (autoOrient) angle = transform->position.angle(frameNo); in _updateTransform()
353 …translate(&m, repeater->position.x * multiplier + repeater->anchor.x, repeater->position.y * multi… in _repeat()
476 auto position = rect->position(frameNo, exps); in updateRect() local
488 …_appendRect(shape, position.x - size.x * 0.5f, position.y - size.y * 0.5f, size.x, size.y, r, ctx-… in updateRect()
492 …_appendRect(ctx->merging, position.x - size.x * 0.5f, position.y - size.y * 0.5f, size.x, size.y, … in updateRect()
543 auto position = ellipse->position(frameNo, exps); in updateEllipse() local
549 …_appendCircle(shape, position.x, position.y, size.x * 0.5f, size.y * 0.5f, ctx->offsetPath, ctx->t… in updateEllipse()
553 …_appendCircle(ctx->merging, position.x, position.y, size.x * 0.5f, size.y * 0.5f, ctx->offsetPath,… in updateEllipse()
[all …]
DtvgLottieParser.cpp549 else if (KEY_AS("p")) parseProperty<LottieProperty::Type::Position>(rect->position); in parseRect()
567 else if (KEY_AS("p")) parseProperty<LottieProperty::Type::Position>(ellipse->position); in parseEllipse()
594 if (KEY_AS("k")) parsePropertyInternal(transform->position); in parseTransform()
599 … (KEY_AS("x")) transform->position.exp = _expression(getStringCopy(), comp, context.layer, context… in parseTransform()
602 transform->position.type = LottieProperty::Type::Position; in parseTransform()
724 else if (KEY_AS("p")) parseProperty<LottieProperty::Type::Position>(star->position); in parsePolyStar()
852 … else if (KEY_AS("p")) parseProperty<LottieProperty::Type::Position>(repeater->position); in parseRepeater()
1172 … else if (KEY_AS("p")) parseProperty<LottieProperty::Type::Position>(selector->style.position); in parseTextRange()
DtvgLottieExpressions.cpp167 auto position = _value(frameNo, &transform->position); in _buildTransform() local
168 jerry_object_set_sz(obj, "position", position); in _buildTransform()
169 jerry_value_free(position); in _buildTransform()
207 auto position = jerry_object(); in _buildPolystar() local
208 jerry_object_set_native_ptr(position, nullptr, &polystar->position); in _buildPolystar()
209 jerry_object_set_sz(obj, "position", position); in _buildPolystar()
210 jerry_value_free(position); in _buildPolystar()
DtvgLottieBuilder.h43 Point position; member
/lvgl-latest/src/libs/tiny_ttf/
Dlv_tiny_ttf.c41 size_t position; member
45 static void ttf_cb_stream_seek(ttf_cb_stream_t * stream, size_t position);
183 if(to_read + stream->position >= stream->size) { in ttf_cb_stream_read()
184 to_read = stream->size - stream->position; in ttf_cb_stream_read()
186 memcpy(data, ((const unsigned char *)stream->data + stream->position), to_read); in ttf_cb_stream_read()
187 stream->position += to_read; in ttf_cb_stream_read()
190 static void ttf_cb_stream_seek(ttf_cb_stream_t * stream, size_t position) in ttf_cb_stream_seek() argument
193 lv_fs_seek(stream->file, position, LV_FS_SEEK_SET); in ttf_cb_stream_seek()
196 if(position > stream->size) { in ttf_cb_stream_seek()
197 stream->position = stream->size; in ttf_cb_stream_seek()
[all …]
/lvgl-latest/docs/details/base-widget/
Dcoord.rst18 - Explicitly set coordinates are stored in styles (position, size, layouts, etc.)
33 functions that modify position, size, etc., to make layout of your UI convenient, you
119 Widgets. If so it refreshes their position, size and layout.
125 The size and position might depend on the parent or layout. Therefore
249 If the parent's size changes, the set alignment and position of the
360 Under the hood the position, size and alignment properties are style
362 related code for the sake of simplicity and set the position, size, and
373 - The Widget can have different position or size depending on state.
390 position setting. However, to keep the LVGL API lean, only the most
401 Let's say the there are 3 buttons next to each other. Their position is
[all …]
Dscroll.rst110 - :cpp:enumerator:`LV_EVENT_SCROLL`: Signals that the scrolling position changed;
111 triggered on every position change.
149 bottom-most position), additional scrolling is propagated to its parent.
180 position.
241 From time to time you may need to retrieve the *scroll position* of a
243 elements according to its current scroll position. Here is an example to illustrate
244 how to combine scroll event and store the scroll-top position.
268 Setting scroll position can be done with these functions:
Dlayer.rst41 lv_obj_set_pos(btn1, 60, 40); /* Set the position of the first button */
44 lv_obj_set_pos(btn2, 180, 80); /* Set the position of the second button */
71 - Use :cpp:expr:`lv_obj_swap(widget1, widget2)` to swap the relative layer position of two Widgets.
Dobj.rst68 lv_obj_set_pos(btn1, 20,30); /* Set a button's position */
70 For complete details on position, size, coordinates and layouts, see :ref:`coord`.
88 lv_slider_set_value(slider1, 40, LV_ANIM_ON); /* Set the current value (position) */
132 You can swap the position of two Widgets with :cpp:expr:`lv_obj_swap(widget1, widget2)`.
156 If the position of a parent changes, the children will move along with
167 lv_obj_set_pos(widget1, 10, 10); /* Set position of new Widget */
169 Modify the position of the parent:
585 - :cpp:enumerator:`LV_EVENT_CHILD_CHANGED` Child was removed, added, or its size, position
590 - :cpp:enumerator:`LV_EVENT_LAYOUT_CHANGED` A child's position has changed due to a layout r…
/lvgl-latest/docs/details/widgets/
Dtextarea.rst34 - :cpp:enumerator:`LV_PART_CURSOR` Marks the position where the characters are
53 You can insert text or characters to the current cursor's position with:
78 To delete the character to the left of the current cursor position, use
86 The cursor position can be modified programmatically using
92 You can move the cursor one character-position (or line) at a time with
100 cursor will jump to the position where the Text Area was clicked.
167 vertical position of the text shown. With this mode configured, scrolling and drawing
250 - ``Any character`` Add the character to the current cursor position
Darc.rst21 size and position will respect the *padding* style properties.
59 An offset to the 0-degree position can be added with
133 Another Widget can be positioned according to the current position of
Dtabview.rst71 Setting tab bar position
Dbar.rst15 value other than the minimum value in its range changes the start position of the indicator.
Dspinbox.rst12 decimal point position and a configurable number of digits. The value can be
Dchart.rst300 the new zero-based index position to start plotting from.
323 A new cursor is initially given position :c:macro:`LV_CHART_POINT_NONE` which causes
336 :cpp:expr:`lv_chart_set_cursor_pos(chart, cursor, &point)` sets the position of
346 cursor on the specified data point on the chart. If the point's position changes
/lvgl-latest/docs/_static/css/
Dcustom.css80 position: relative;
84 position: absolute;
/lvgl-latest/docs/details/integration/bindings/
Djavascript.rst100 .. include::https://github.com/lvgl/lv_binding_js/blob/master/doc/style/position-size-layout.md
102 - `position-size-layout <https://github.com/lvgl/lv_binding_js/blob/master/doc/style/position-size-…
/lvgl-latest/demos/music/
DREADME.md20 …- If there is a large enough bass, add a random offset to the position of the bars. E.g. start fro…
/lvgl-latest/src/libs/fsdrv/
Dlv_fs_arduino_esp_littlefs.cpp183 *pos_p = lf->file.position(); in fs_tell()
Dlv_fs_arduino_sd.cpp175 *pos_p = lf->file.position(); in fs_tell()
/lvgl-latest/docs/details/integration/driver/
Dopengles.rst147 /* position the sub texture within the window */
185 /* set the position and opacity of the external texture within the window */
/lvgl-latest/src/libs/expat/
Dxmltok.h149 typedef struct position { struct

12