/lvgl-latest/src/libs/thorvg/ |
D | tvgSwRaster.cpp | 238 for (auto y = region.min.y; y < region.max.y; ++y) { in _compositeMaskImage() 241 for (auto x = region.min.x; x < region.max.x; x++, dst++, src++) { in _compositeMaskImage() 332 auto w = static_cast<uint32_t>(region.max.x - region.min.x); in _rasterCompositeMaskedRect() 333 auto h = static_cast<uint32_t>(region.max.y - region.min.y); in _rasterCompositeMaskedRect() 351 auto w = static_cast<uint32_t>(region.max.x - region.min.x); in _rasterDirectMaskedRect() 352 auto h = static_cast<uint32_t>(region.max.y - region.min.y); in _rasterDirectMaskedRect() 375 …ace->compositor->method, region.min.x, region.min.y, region.max.x - region.min.x, region.max.y - r… in _rasterMaskedRect() 386 auto w = static_cast<uint32_t>(region.max.x - region.min.x); in _rasterMattedRect() 387 auto h = static_cast<uint32_t>(region.max.y - region.min.y); in _rasterMattedRect() 425 auto w = static_cast<uint32_t>(region.max.x - region.min.x); in _rasterBlendingRect() [all …]
|
D | tvgSwMath.cpp | 213 /* approximate sqrt(x*x + y*y) using alpha max plus beta min algorithm. in mathLength() 280 clippee.max.x = (clippee.max.x < clipper.max.x) ? clippee.max.x : clipper.max.x; in mathClipBBox() 281 clippee.max.y = (clippee.max.y < clipper.max.y) ? clippee.max.y : clipper.max.y; in mathClipBBox() 286 if (clippee.max.x - clippee.min.x < 1 && clippee.max.y - clippee.min.y < 1) return false; in mathClipBBox() 289 if (clippee.min.x >= clipper.max.x || clippee.min.y >= clipper.max.y || in mathClipBBox() 290 clippee.max.x <= clipper.min.x || clippee.max.y <= clipper.min.y) return false; in mathClipBBox() 321 renderRegion.max.x = static_cast<SwCoord>(nearbyint(xMax / 64.0f)); in mathUpdateOutlineBBox() 323 renderRegion.max.y = static_cast<SwCoord>(nearbyint(yMax / 64.0f)); in mathUpdateOutlineBBox() 326 renderRegion.max.x = (xMax + 63) >> 6; in mathUpdateOutlineBBox() 328 renderRegion.max.y = (yMax + 63) >> 6; in mathUpdateOutlineBBox()
|
D | tvgSwRle.cpp | 210 SwCoord min, max; member 292 * Approximate sqrt(x*x+y*y) using the `alpha max plus beta min' 643 auto max = arc[0].y; in _cubicTo() local 649 if (y > max) max = y; in _cubicTo() 652 if (TRUNC(min) >= rw.cellMax.y || TRUNC(max) < rw.cellMin.y) goto draw; in _cubicTo() 667 //max deviation may be as much as (s/L) * 3/4 (if Hain's v = 1) in _cubicTo() 811 auto maxx = minx + static_cast<int16_t>(bbox->max.x - bbox->min.x) - 1; in _intersectSpansRect() 812 auto maxy = miny + static_cast<int16_t>(bbox->max.y - bbox->min.y) - 1; in _intersectSpansRect() 875 rw.cellMax = renderRegion.max; in rleRender() 897 SwCoord max; in rleRender() local [all …]
|
D | tvgPaint.cpp | 52 Point max = {0.0f, 0.0f}; in _clipRect() local 59 if (tmp[i].x > max.x) max.x = tmp[i].x; in _clipRect() 61 if (tmp[i].y > max.y) max.y = tmp[i].y; in _clipRect() 67 if (min.x <= region[0] && max.x >= region[1] && min.y <= region[2] && max.y >= region[3]) { in _clipRect() 71 … } else if (max.x <= region[0] || min.x >= region[1] || max.y <= region[2] || min.y >= region[3]) { in _clipRect()
|
D | tvgShape.h | 134 Point max = { pts->x, pts->y }; in bounds() local 139 if (pts2->x > max.x) max.x = pts2->x; in bounds() 140 if (pts2->y > max.y) max.y = pts2->y; in bounds() 145 if (w) *w = max.x - min.x; in bounds() 146 if (h) *h = max.y - min.y; in bounds()
|
D | tvgSwRenderer.cpp | 65 region.w = bbox.max.x - region.x; in bounds() 66 region.h = bbox.max.y - region.y; in bounds() 614 cmp->compositor->bbox.max.x = x + w; in target() 615 cmp->compositor->bbox.max.y = y + h; in target() 713 task->bbox.min.x = std::max(static_cast<SwCoord>(0), static_cast<SwCoord>(vport.x)); in prepareCommon() 714 task->bbox.min.y = std::max(static_cast<SwCoord>(0), static_cast<SwCoord>(vport.y)); in prepareCommon() 715 …task->bbox.max.x = std::min(static_cast<SwCoord>(surface->w), static_cast<SwCoord>(vport.x + vport… in prepareCommon() 716 …task->bbox.max.y = std::min(static_cast<SwCoord>(surface->h), static_cast<SwCoord>(vport.y + vport… in prepareCommon()
|
D | tvgSwCommon.h | 128 SwPoint min, max; member 132 min.x = min.y = max.x = max.y = 0; in reset() 440 // max(s, d) in opBlendLighten() 441 auto c1 = std::max(C1(s), C1(d)); in opBlendLighten() 442 auto c2 = std::max(C2(s), C2(d)); in opBlendLighten() 443 auto c3 = std::max(C3(s), C3(d)); in opBlendLighten()
|
D | tvgSwShape.cpp | 507 …if (renderRegion.max.x - renderRegion.min.x < 1 && renderRegion.max.y - renderRegion.min.y < 1) re… in shapePrepare() 510 if (renderRegion.min.x >= clipRegion.max.x || renderRegion.min.y >= clipRegion.max.y || in shapePrepare() 511 … renderRegion.max.x <= clipRegion.min.x || renderRegion.max.y <= clipRegion.min.y) return false; in shapePrepare()
|
D | tvgSwPostEffect.cpp | 168 auto w = (bbox.max.x - bbox.min.x); in effectGaussianBlur() 169 auto h = (bbox.max.y - bbox.min.y); in effectGaussianBlur() 178 …%ld, %ld) params(%f %d %d), level(%d)", bbox.min.x, bbox.min.y, bbox.max.x, bbox.max.y, params->si… in effectGaussianBlur()
|
/lvgl-latest/src/misc/ |
D | lv_math.h | 26 #define LV_BEZIER_VAL_MAX (1L << LV_BEZIER_VAL_SHIFT) /**< Max time in Bezier functions (not [0..1]… 135 * @param max_in max input range 136 * @param min_out max output range 137 * @param max_out max output range 151 * @param max the maximum value 152 * @return return the random number. min <= return_value <= max 154 uint32_t lv_rand(uint32_t min, uint32_t max); 167 #define LV_CLAMP(min, val, max) (LV_MAX(min, (LV_MIN(val, max)))) argument
|
D | lv_math.c | 363 if(tempdegree <= 32) comp++; /*max is 4 degrees compensated*/ in lv_atan2() 369 if(tempdegree >= 15) comp++; /*max is 4 degrees compensated*/ in lv_atan2() 430 uint32_t lv_rand(uint32_t min, uint32_t max) in lv_rand() argument 439 return (rand_seed % (max - min + 1)) + min; in lv_rand()
|
/lvgl-latest/src/indev/ |
D | lv_indev_scroll.c | 28 static int32_t find_snap_point_x(const lv_obj_t * obj, int32_t min, int32_t max, int32_t ofs); 29 static int32_t find_snap_point_y(const lv_obj_t * obj, int32_t min, int32_t max, int32_t ofs); 507 * Search for snap point in the min..max range. 510 * @param max ignore snap points greater than this. (Absolute coordinate) 514 * or `LV_COORD_MAX` if there is no snap point in the min..max range 516 static int32_t find_snap_point_x(const lv_obj_t * obj, int32_t min, int32_t max, int32_t ofs) in find_snap_point_x() argument 552 if(x_child >= min && x_child <= max) { in find_snap_point_x() 563 * Search for snap point in the min..max range. 566 * @param max ignore snap points greater than this. (Absolute coordinate) 570 * or `LV_COORD_MAX` if there is no snap point in the min..max range [all …]
|
/lvgl-latest/demos/high_res/ |
D | lv_demo_high_res_app_smart_meter.c | 43 static void widget1_anim_height_range(lv_demo_high_res_ctx_t * c, int32_t * min, int32_t * max); 222 static void widget1_anim_height_range(lv_demo_high_res_ctx_t * c, int32_t * min, int32_t * max) in widget1_anim_height_range() argument 225 *max = c->sz->card_long_edge - c->sz->gap[7] - c->sz->smart_meter_collapsed_part_height; in widget1_anim_height_range() 235 int32_t max; in widget1_open_part1_anim_cb() local 236 widget1_anim_height_range(c, &min, &max); in widget1_open_part1_anim_cb() 237 lv_obj_set_height(part1, lv_map(val, 0, 1000, min, max)); in widget1_open_part1_anim_cb() 260 int32_t max; in widget1_open_part2_anim_cb() local 261 widget1_anim_height_range(c, &min, &max); in widget1_open_part2_anim_cb() 262 lv_obj_set_height(part1, lv_map(val, 0, 1000, max, min)); in widget1_open_part2_anim_cb()
|
/lvgl-latest/src/widgets/chart/ |
D | lv_chart.c | 132 void lv_chart_set_range(lv_obj_t * obj, lv_chart_axis_t axis, int32_t min, int32_t max) in lv_chart_set_range() argument 136 max = max == min ? max + 1 : max; in lv_chart_set_range() 142 chart->ymax[0] = max; in lv_chart_set_range() 146 chart->ymax[1] = max; in lv_chart_set_range() 150 chart->xmax[0] = max; in lv_chart_set_range() 154 chart->xmax[1] = max; in lv_chart_set_range() 893 … /*Draw only one vertical line between the min and max y-values on the same x-value*/ in draw_series_line()
|
/lvgl-latest/src/core/ |
D | lv_obj_pos.h | 446 …* Clamp a width between min and max width. If the min/max width is in percentage value use the ref… 450 * @param ref_width the reference width used when min/max width is in percentage 456 …* Clamp a height between min and max height. If the min/max height is in percentage value use the … 460 * @param ref_height the reference height used when min/max height is in percentage
|
/lvgl-latest/demos/benchmark/ |
D | lv_demo_benchmark.c | 75 static int32_t rnd_next(int32_t min, int32_t max); 851 static int32_t rnd_next(int32_t min, int32_t max) in rnd_next() argument 889 if(min == max) return min; in rnd_next() 891 if(min > max) { in rnd_next() 893 min = max; in rnd_next() 894 max = t; in rnd_next() 897 int32_t d = max - min; in rnd_next()
|
/lvgl-latest/src/widgets/led/ |
D | lv_led.h | 60 * @param bright LV_LED_BRIGHT_MIN (max. dark) ... LV_LED_BRIGHT_MAX (max. light) 85 * @return bright 0 (max. dark) ... 255 (max. light)
|
/lvgl-latest/src/widgets/arc/ |
D | lv_arc.c | 256 void lv_arc_set_range(lv_obj_t * obj, int32_t min, int32_t max) in lv_arc_set_range() argument 261 if(arc->min_value == min && arc->max_value == max) return; in lv_arc_set_range() 264 arc->max_value = max; in lv_arc_set_range() 269 if(arc->value > max) { in lv_arc_set_range() 270 arc->value = max; in lv_arc_set_range() 530 …*It's mainly to avoid jumping to the opposite end if the "dead" range between min. and max. is cro… in lv_arc_event() 1002 /* angle is within the tolerance of the max end */ in lv_arc_angle_within_bg_bounds()
|
/lvgl-latest/tests/src/test_cases/ |
D | test_circle_buf.c | 19 * Write values to the circle buffer. The max size of the buffer is circle_buf_CAPACITY. in setUp() 69 * Read values from the circle buffer. The max size of the buffer is circle_buf_CAPACITY. in test_circle_buf_read_write_peek_values() 103 * Skip values from the circle buffer. The max size of the buffer is circle_buf_CAPACITY. in test_circle_buf_skip_values() 150 * Read values from the circle buffer. The max size of the buffer is circle_buf_CAPACITY. in test_circle_buf_read_after_read_and_write()
|
/lvgl-latest/src/others/monkey/ |
D | lv_monkey.c | 67 config->period_range.max = MONKEY_PERIOD_RANGE_MAX_DEF; in lv_monkey_config_init() 159 …c_diff = (int16_t)lv_monkey_random(monkey->config.input_range.min, monkey->config.input_range.max); in lv_monkey_timer_cb() 162 …tn_id = (uint32_t)lv_monkey_random(monkey->config.input_range.min, monkey->config.input_range.max); in lv_monkey_timer_cb() 175 …monkey->timer, lv_monkey_random(monkey->config.period_range.min, monkey->config.period_range.max)); in lv_monkey_timer_cb()
|
/lvgl-latest/docs/details/integration/bindings/ |
D | pikascript.rst | 55 print('mem used max: %0.2f kB' % (mem.getMax())) 71 print('mem used max: %0.2f kB' % (mem.getMax())) 101 print('mem used max: %0.2f kB' % (mem.getMax())) 128 print('mem used max: %0.2f kB' % (mem.getMax()))
|
/lvgl-latest/docs/details/base-widget/ |
D | coord.rst | 19 - support min-width, max-width, min-height, max-height 494 Min and Max size 497 Similarly to CSS, LVGL also supports ``min-width``, ``max-width``, 498 ``min-height`` and ``max-height``. These are limits preventing a
|
/lvgl-latest/docs/details/widgets/ |
D | scale.rst | 60 - :cpp:expr:`lv_scale_set_range(scale, min, max)`, and 63 where ``min`` and ``max`` will become the numeric low and high values for the Scale, 178 Next, set the range using :cpp:expr:`lv_scale_section_set_range(section, min, max)` 179 where ``min`` and ``max`` are the Section's boundary values that should normally be
|
/lvgl-latest/env_support/pikascript/ |
D | pika_lv_wegit.c | 87 void pika_lvgl_arc_set_range(PikaObj *self, int min, int max){ in pika_lvgl_arc_set_range() argument 89 lv_arc_set_range(lv_obj, min, max); in pika_lvgl_arc_set_range() 152 void pika_lvgl_bar_set_range(PikaObj *self, int min, int max){ in pika_lvgl_bar_set_range() argument 154 lv_bar_set_range(lv_obj, min, max); in pika_lvgl_bar_set_range()
|
/lvgl-latest/demos/smartwatch/ |
D | lv_demo_smartwatch_settings.h | 52 * @param max max value for the slider 57 int32_t min, int32_t max);
|