Home
last modified time | relevance | path

Searched full:py (Results 1 – 25 of 78) sorted by relevance

1234

/lvgl-latest/scripts/built_in_font/
Dgenerate_all.py6 os.system("./built_in_font_gen.py --size 8 -o lv_font_montserrat_8.c --bpp 4")
9 os.system("./built_in_font_gen.py --size 10 -o lv_font_montserrat_10.c --bpp 4")
12 os.system("./built_in_font_gen.py --size 12 -o lv_font_montserrat_12.c --bpp 4")
15 os.system("./built_in_font_gen.py --size 14 -o lv_font_montserrat_14.c --bpp 4")
18 os.system("./built_in_font_gen.py --size 16 -o lv_font_montserrat_16.c --bpp 4")
21 os.system("./built_in_font_gen.py --size 18 -o lv_font_montserrat_18.c --bpp 4")
24 os.system("./built_in_font_gen.py --size 20 -o lv_font_montserrat_20.c --bpp 4")
27 os.system("./built_in_font_gen.py --size 22 -o lv_font_montserrat_22.c --bpp 4")
30 os.system("./built_in_font_gen.py --size 24 -o lv_font_montserrat_24.c --bpp 4")
33 os.system("./built_in_font_gen.py --size 26 -o lv_font_montserrat_26.c --bpp 4")
[all …]
/lvgl-latest/docs/_ext/
Dlv_example.py28 if language == 'py':
71 py_path = self.get_example_code_path(example_path, 'py')
81 py_code = self.embed_code(py_path, example_path, 'py', buttons={
82 … '<i class="fa fa-github"></i>&nbsp;View on GitHub': self.github_path(example_path, 'py'),
83 …ash}/examples/header.py&script=https://raw.githubusercontent.com/lvgl/lvgl/{env.config.repo_commit…
98 if 'py' not in excluded_languages and py_code is not None:
112 # Default to 'master' if Sphinx is being run outside of `build.py`.
125 … # print(f"repo_commit_hash from lv_example.py: [{app.config._options['repo_commit_hash']}]")
/lvgl-latest/docs/
Dbuild.py7 (used in `conf.py` and in [Edit on GitHub] links), and then ran:
22 of re-writing writing `conf.py` and a `header.rst` each time docs
28 (config_builder.py).
61 $ python build.py skip_latex
71 2. $ python build.py skip_latex preserve fixed_tmp_dir
81 $ python build.py skip_latex docs_dev update
258 # done in 2 places (add_translation.py and ./docs/_ext/link_roles.py) rather
316 # - `conf.py` to build `html_baseurl` for Sphinx for
320 # - `link_roles.py` to generate translation links
321 # - `doc_builder.py` to generate links to API pages
[all …]
DREADME_zh.rst256 …eader.py&script=https://raw.githubusercontent.com/lvgl/lvgl/0d9ab4ee0e591aad1970e3c9164fd7c544ecce…
322 …eader.py&script=https://raw.githubusercontent.com/lvgl/lvgl/0d9ab4ee0e591aad1970e3c9164fd7c544ecce…
419 …eader.py&script=https://raw.githubusercontent.com/lvgl/lvgl/0d9ab4ee0e591aad1970e3c9164fd7c544ecce…
502 …eader.py&script=https://raw.githubusercontent.com/lvgl/lvgl/0d9ab4ee0e591aad1970e3c9164fd7c544ecce…
/lvgl-latest/tests/
DREADME.md16 1. Run all executable tests with `./tests/main.py test`.
17 2. Build all build-only tests with `./tests/main.py build`.
20 report `./tests/main.py --clean --report build test`.
22 It relies on scripts/LVGLImage.py, which requires pngquant and pypng.
24 `./tests/main.py --update-image test`
28 For full information on running tests run: `./tests/main.py --help`.
40 - `report` - Coverage report. Generated if the `report` flag was passed to `./main.py`
/lvgl-latest/.github/workflows/
Dccpp.yml35 run: python tests/main.py --build-option=${{ matrix.build_option }} build
46 run: python tests/main.py build
64 run: python tests/main.py build
80 run: . /opt/esp/idf/export.sh && idf.py set-target esp32s3
82 run: . /opt/esp/idf/export.sh && idf.py build
107 run: python tests/main.py --report --update-image test
Dcheck_bom.yml26 …de="*.h" --include="*.rst" --include="*.txt" --include="*.mk" --include="*.py" --include="*.cmake"…
35 …de="*.h" --include="*.rst" --include="*.txt" --include="*.mk" --include="*.py" --include="*.cmake"…
44 …de="*.h" --include="*.rst" --include="*.txt" --include="*.mk" --include="*.py" --include="*.cmake"…
Dcheck_conf.yml27 run: python lv_conf_internal_gen.py
30 … 2>&1 || (echo "Please regenerate lv_conf_internal.h using scripts/lv_conf_internal_gen.py"; false)
Dcheck_properties.yml23 run: python properties.py
30 echo "Please apply the preceding diff to your code or run scripts/properties.py"
Dverify_kconfig.yml33 - name: Run kconfig_verify.py
34 run: python3 -m pip install kconfiglib && python kconfig_verify.py ../Kconfig
/lvgl-latest/
DREADME.md175 …eader.py&script=https://raw.githubusercontent.com/lvgl/lvgl/0d9ab4ee0e591aad1970e3c9164fd7c544ecce…
229 …eader.py&script=https://raw.githubusercontent.com/lvgl/lvgl/0d9ab4ee0e591aad1970e3c9164fd7c544ecce…
316 …eader.py&script=https://raw.githubusercontent.com/lvgl/lvgl/0d9ab4ee0e591aad1970e3c9164fd7c544ecce…
389 …eader.py&script=https://raw.githubusercontent.com/lvgl/lvgl/0d9ab4ee0e591aad1970e3c9164fd7c544ecce…
/lvgl-latest/docs/details/integration/chip/
Despressif.rst33 idf.py add-dependency "espressif/esp_lvgl_port^2.3.0"
45 idf.py add-dependency "lvgl/lvgl^9.*"
64 To configure LVGL, launch the configuration menu with ``idf.py menuconfig`` in your project root di…
82 idf.py add-dependency "espressif/esp_lcd_gc9a01^2.0.0"
141 LVGL's ``LVGLImage.py`` Python tool can be used to convert images to binary pixel map files.
185 After calling ``idf.py build flash`` the picture should be displayed on the screen.
/lvgl-latest/examples/
Dtest_ex.sh2 cat ../../header.py $1 > test.py
3 chmod +x test.py
4 ./test.py
/lvgl-latest/env_support/cmsis-pack/
DLVGL.lvgl.9.3.0-dev2.pack ... assets/ demos/ebike/assets/font_gen.py demos/ebike/assets/img_gen.sh demos ...
/lvgl-latest/src/others/ime/
Dlv_ime_pinyin.c869 if((NULL == (dict[i].py)) || (NULL == (dict[i].py_mb))) { in init_pinyin_dict()
870 headletter = dict[i - 1].py[0]; in init_pinyin_dict()
876 if(headletter == (dict[i].py[0])) { in init_pinyin_dict()
880 headletter = dict[i].py[0]; in init_pinyin_dict()
913 if(*(py_str + index) != *((cpHZ->py) + index)) { in pinyin_search_matching()
1071 if(*(py_str + index) != *((cpHZ->py) + index)) { in pinyin_k9_is_valid_py()
/lvgl-latest/src/libs/thorvg/
DtvgSwRle.cpp582 auto py = diff.y * ONE_PIXEL; in _lineTo() local
587 prod -= py; in _lineTo()
593 } else if (prod - px <= 0 && prod - px + py > 0) { in _lineTo()
601 } else if (prod - px + py <= 0 && prod + py >= 0) { in _lineTo()
602 prod += py; in _lineTo()
DtvgScene.h197 bool bounds(float* px, float* py, float* pw, float* ph, bool stroking) in bounds()
222 if (py) *py = y1; in bounds()
/lvgl-latest/demos/music/
DREADME.md15 - `assets/spectrum.py` creates an array of spectrum values from a music. 4 band are created with 33…
24 ## Using spectrum.py
26 - run `python spectrum.py my_file.mp3`
/lvgl-latest/.github/
Dpull_request_template.md9 …template.h` run [lv_conf_internal_gen.py](https://github.com/lvgl/lvgl/blob/master/scripts/lv_conf…
10 - Run `scripts/code-format.py` (`astyle v3.4.12` needs to installed by running `cd scripts; ./insta…
/lvgl-latest/docs/details/libs/
Drle.rst35 can be found from ``lvgl/script/LVGLImage.py``.
81 The image can be directly generated using script ``lvgl/script/LVGLImage.py``
86 ./script/LVGLImage.py --ofmt BIN --cf I8 --compress RLE cogwheel.png
Drlottie.rst79 ``lvgl/scripts/filetohex.py`` can be used to convert a Lottie file a hex
84 ./filetohex.py path/to/lottie.json --filter-character --null-terminate > out.txt
261 You will need to enable :c:macro:`LV_USE_RLOTTIE` through **idf.py** menuconfig under
/lvgl-latest/docs/details/debugging/
Dprofiler.rst125 Save the output log as `my_trace.txt`, use `trace_filter.py` for filtering and preprocessing:
129 ./lvgl/scripts/trace_filter.py my_trace.txt
135 python3 ./lvgl/scripts/trace_filter.py my_trace.txt
/lvgl-latest/src/libs/tiny_ttf/
Dstb_truetype_htcw.h5084 float px = x0 - sx, py = y0 - sy; local
5085 …// minimize (px+t*dx)^2 + (py+t*dy)^2 = px*px + 2*px*dx*t + t^2*dx*dx + py*py + 2*py*dy*t + t^2*dy…
5086 … // derivative: 2*px*dx + 2*py*dy + (2*dx*dx+2*dy*dy)*t, set to 0 and solve
5087 float t = -(px * dx + py * dy) / (dx * dx + dy * dy);
5106 float px, py, t, it, dist2; local
5142 py = it * it * y0 + 2 * t * it * y1 + t * t * y2;
5143 dist2 = (px - sx) * (px - sx) + (py - sy) * (py - sy);
5150 py = it * it * y0 + 2 * t * it * y1 + t * t * y2;
5151 dist2 = (px - sx) * (px - sx) + (py - sy) * (py - sy);
5158 py = it * it * y0 + 2 * t * it * y1 + t * t * y2;
[all …]
/lvgl-latest/src/libs/tjpgd/
Dtjpgd.c837 jd_yuv_t * py, * pc; in jd_mcu_output() local
865 pc = py = jd->mcubuf; in jd_mcu_output()
868 if(iy >= 8) py += 64; in jd_mcu_output()
873 py += iy * 8; in jd_mcu_output()
878 if(ix == 8) py += 64 - 8; /* Jump to next block if double block height */ in jd_mcu_output()
884 yy = *py++; /* Get Y component */ in jd_mcu_output()
/lvgl-latest/src/misc/
Dlv_area.c594 int32_t py = p->y - cy; in lv_point_within_circle() local
597 uint32_t dist = (px * px) + (py * py); in lv_point_within_circle()

1234