/lvgl-latest/src/libs/thorvg/ |
D | tvgSwMath.cpp | 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 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() 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 900 for (int n = 0; n < bandCnt; ++n, min = max) { in rleRender() 901 max = min + rw.bandSize; in rleRender() [all …]
|
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 | 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 | 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()
|
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 | tvgMath.h | 75 static inline void clamp(T& v, const T& min, const T& max) in clamp() argument 78 else if (v > max) v = max; in clamp()
|
D | tvgSwRasterC.h | 102 auto h = static_cast<uint32_t>(region.max.y - region.min.y); in cRasterTranslucentRect() 103 auto w = static_cast<uint32_t>(region.max.x - region.min.x); in cRasterTranslucentRect()
|
/lvgl-latest/examples/others/monkey/ |
D | lv_example_monkey_2.c | 11 config.period_range.max = 500; in lv_example_monkey_2() 13 config.input_range.max = 5; in lv_example_monkey_2()
|
D | lv_example_monkey_3.c | 14 config.period_range.max = 500; in lv_example_monkey_3() 16 config.input_range.max = sizeof(btn_points) / sizeof(lv_point_t) - 1; in lv_example_monkey_3()
|
D | lv_example_monkey_1.c | 11 config.period_range.max = 100; in lv_example_monkey_1()
|
/lvgl-latest/src/others/monkey/ |
D | lv_monkey.h | 38 uint32_t max; member 45 int32_t max; member
|
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/src/misc/ |
D | lv_math.h | 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
|
/lvgl-latest/libs/nema_gfx/include/ |
D | nema_math.h | 172 #define nema_clamp(val, min, max) nema_min2((max), nema_max2((min), (val))) argument
|
/lvgl-latest/src/widgets/scale/ |
D | lv_scale.h | 121 void lv_scale_set_range(lv_obj_t * obj, int32_t min, int32_t max); 212 void lv_scale_section_set_range(lv_scale_section_t * section, int32_t min, int32_t max);
|
/lvgl-latest/demos/smartwatch/ |
D | lv_demo_smartwatch_settings.h | 57 int32_t min, int32_t max);
|
/lvgl-latest/scripts/ |
D | code-format.cfg | 14 --max-code-length=120 19 --max-continuation-indent=120
|
/lvgl-latest/src/widgets/line/ |
D | lv_line.c | 174 static inline lv_value_precise_t resolve_point_coord(lv_value_precise_t coord, int32_t max) in resolve_point_coord() argument 177 return LV_CLAMP(0, max * LV_COORD_GET_PCT((int32_t)coord) / 100, max); in resolve_point_coord()
|
/lvgl-latest/examples/widgets/menu/ |
D | lv_example_menu_5.c | 15 … const char * icon, const char * txt, int32_t min, int32_t max, int32_t val); 174 …t * create_slider(lv_obj_t * parent, const char * icon, const char * txt, int32_t min, int32_t max, in create_slider() argument 181 lv_slider_set_range(slider, min, max); in create_slider()
|
/lvgl-latest/src/widgets/bar/ |
D | lv_bar.h | 83 void lv_bar_set_range(lv_obj_t * obj, int32_t min, int32_t max);
|
/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/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/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()
|