Home
last modified time | relevance | path

Searched refs:range (Results 1 – 25 of 42) sorted by relevance

12

/lvgl-latest/scripts/
Djpg_to_sjpg.py52 for i in range(splits):
64 for i in range(splits):
101 for i in range(len(lenbuf)):
110 for i in range(len(sjpeg)):
DLVGLImage.py223 values = [x * 17 for x in range(16)]
225 values = [x for x in range(16)]
228 for i in range(2):
235 values = [x * 85 for x in range(4)]
237 values = [x for x in range(4)]
239 for i in range(4):
249 for i in range(8):
256 for i in range(len(data) // 2)]
274 for i in range(len(pixel_data) // 2)]
546 for i in range(h):
[all …]
/lvgl-latest/docs/details/widgets/
Dscale.rst54 Setting range
57 A Scale starts its life with a default numeric range of [0..100] and a default
58 angular range of 270. You can change these ranges with:
121 …e Scale might be drawn upside down (to match the tick) if the Scale includes a certain angle range.
132 number of ticks and the Scale range, so the label drawn can present rounding
157 A Section represents a sub-range of the Scale, whose Styles (like Cascading Style
159 the Scale that are within the range of that Section.
161 If a PART of a Scale is within the range of 2 or more Sections (i.e. those Sections
174 range [0..0] and no Styles added to it, which ensures that Section will not be drawn
175 yet: it needs both a range inside the Scale's range and at least one :ref:`Style
[all …]
Dbar.rst15 value other than the minimum value in its range changes the start position of the indicator.
49 Value and range
54 interpreted in a range (minimum and maximum values) which can be
55 modified with :cpp:expr:`lv_bar_set_range(bar, min, max)`. The default range is
Darc.rst36 Value and range
40 value is interpreted in a range (minimum and maximum values) which can
41 be modified with :cpp:expr:`lv_arc_set_range(arc, min, max)`. The default range
54 the range [0..360].
125 in the range between start and end background angles and on the Arc itself (not inside the Arc).
128 hit-test range along the Arc's length.
Dled.rst37 The ``brightness`` value should be in the range 0 (darkest) to 255 (lightest).
48 values are 80 and 255. These too must be in the range [0..255].
Dslider.rst41 Value, range and orientation
47 - default range of [0..100],
76 current value. Requires negative minimum range and positive maximum range.
Dspinbox.rst26 Value, range and step
32 - :cpp:expr:`lv_spinbox_set_range(spinbox, -1000, 2500)` sets its range. If the
35 this range will be respected.
Dcalendar.rst58 ``month`` needs to be in 1..12 range and ``day`` in 1..31 range.
/lvgl-latest/demos/music/assets/
Dspectrum.py21 for t in range(0,len(S[0]-1)):
26 for i in range(f_prev, f): v += S[i][t]
/lvgl-latest/src/drivers/uefi/
Dlv_uefi_indev_touch.c33 lv_point_t range; /**< The touchscreen resolution*/ member
133 handle_ctx->range.x = handle_ctx->interface->Mode->AbsoluteMaxX - in lv_uefi_absolute_pointer_indev_add_handle()
135 handle_ctx->range.y = handle_ctx->interface->Mode->AbsoluteMaxY - in lv_uefi_absolute_pointer_indev_add_handle()
138 handle_ctx->factor_8.x = (indev_ctx->display_res.x << 8) / handle_ctx->range.x; in lv_uefi_absolute_pointer_indev_add_handle()
139 handle_ctx->factor_8.y = (indev_ctx->display_res.y << 8) / handle_ctx->range.y; in lv_uefi_absolute_pointer_indev_add_handle()
/lvgl-latest/src/widgets/bar/
Dlv_bar.c298 int32_t range = bar->max_value - bar->min_value; in draw_indic() local
301 if(range == 0) { in draw_indic()
302 range = 1; in draw_indic()
366 … (int32_t)((int32_t)anim_length * (bar->start_value_anim.anim_start - bar->min_value)) / range; in draw_indic()
368 … (int32_t)((int32_t)anim_length * (bar->start_value_anim.anim_end - bar->min_value)) / range; in draw_indic()
376 …anim_start_value_x = (int32_t)((int32_t)anim_length * (bar->start_value - bar->min_value)) / range; in draw_indic()
381 … (int32_t)((int32_t)anim_length * (bar->cur_value_anim.anim_start - bar->min_value)) / range; in draw_indic()
383 … (int32_t)((int32_t)anim_length * (bar->cur_value_anim.anim_end - bar->min_value)) / range; in draw_indic()
390 … anim_cur_value_x = (int32_t)((int32_t)anim_length * (bar->cur_value - bar->min_value)) / range; in draw_indic()
423 shift = (-bar->min_value * anim_length) / range; in draw_indic()
/lvgl-latest/scripts/gdb/lvglgdb/
Dlvgl.py101 for i in range(self.child_count):
114 for i in range(count):
118 for j in range(prop_cnt):
139 for i in range(self.screen_cnt):
/lvgl-latest/examples/widgets/bar/
Dindex.rst19 Stripe pattern and range value
/lvgl-latest/scripts/built_in_font/
Dbuilt_in_font_gen.py61 …st-kern-format".format(subpx, compr, args.bpp, args.size, args.font, args.range[0], args.symbols[0…
/lvgl-latest/src/libs/thorvg/
DtvgLottieProperty.h237 auto range = frames->last().no - (*frames)[exp->loop.key].no; in _loop() local
238 auto forward = (static_cast<int>(frameNo / range) % 2) == 0 ? true : false; in _loop()
239 frameNo = fmodf(frameNo, range); in _loop()
240 return (forward ? frameNo : (range - frameNo)) + (*frames)[exp->loop.key].no; in _loop()
246 auto range = (*frames)[frames->count - 1 - exp->loop.key].no - frames->first().no; in _loop() local
247 auto forward = (static_cast<int>(frameNo / range) % 2) == 0 ? true : false; in _loop()
248 frameNo = fmodf(frameNo, range); in _loop()
249 return (forward ? frameNo : (range - frameNo)) + frames->first().no; in _loop()
DtvgLottieModel.cpp116 void LottieTextRange::range(float frameNo, float totalLen, float& start, float& end) in range() function in LottieTextRange
127 auto range = end - start; in range() local
129 start = static_cast<float>(random % int(len - range)); in range()
130 end = start + range; in range()
/lvgl-latest/src/draw/sw/
Dlv_draw_sw_gradient.c164 void LV_ATTRIBUTE_FAST_MEM lv_gradient_color_calculate(const lv_grad_dsc_t * dsc, int32_t range, in lv_gradient_color_calculate() argument
169 int32_t min = (dsc->stops[0].frac * range) >> 8; in lv_gradient_color_calculate()
177 int32_t max = (dsc->stops[dsc->stops_count - 1].frac * range) >> 8; in lv_gradient_color_calculate()
189 int32_t cur = (dsc->stops[i].frac * range) >> 8; in lv_gradient_color_calculate()
201 min = (dsc->stops[found_i - 1].frac * range) >> 8; in lv_gradient_color_calculate()
202 max = (dsc->stops[found_i].frac * range) >> 8; in lv_gradient_color_calculate()
Dlv_draw_sw_gradient.h51 …d /* LV_ATTRIBUTE_FAST_MEM */ lv_gradient_color_calculate(const lv_grad_dsc_t * dsc, int32_t range,
/lvgl-latest/docs/details/libs/
Dlibpng.rst36 …:ref:`overview_image_caching` feature to ensure that the memory usage is within a reasonable range.
Dlibjpeg_turbo.rst41 …:ref:`overview_image_caching` feature to ensure that the memory usage is within a reasonable range.
/lvgl-latest/src/libs/thorvg/rapidjson/internal/
Dregex.h276 SizeType range; in RAPIDJSON_DIAG_OFF() local
277 if (!ParseRange(ds, &range)) in RAPIDJSON_DIAG_OFF()
280 GetState(s).rangeStart = range; in RAPIDJSON_DIAG_OFF()
482 bool ParseRange(DecodedStream<InputStream, Encoding>& ds, SizeType* range) { in RAPIDJSON_DIAG_OFF()
509 *range = start; in RAPIDJSON_DIAG_OFF()
/lvgl-latest/docs/details/integration/boards/
Dtoradex.rst20 Toradex offers a wide range of system-on-modules (SoMs) and carrier boards
56 product range, and they provide the most interfaces of any product line on the
86 extensive range of Colibri-compatible carrier boards and accessories, such as
Driverdi.rst7 range from simple display panels to intelligent displays, and
/lvgl-latest/src/widgets/slider/
Dlv_slider.c562 const int32_t range = slider->bar.max_value - slider->bar.min_value; in update_knob_pos() local
582 new_value = (new_value * range + indic_w / 2) / indic_w; in update_knob_pos()
601 new_value = (new_value * range + indic_h / 2) / indic_h; in update_knob_pos()

12