/aosp_15_r20/external/perfetto/ui/src/widgets/ |
H A D | modal.ts | 15 import m from 'mithril'; 23 // Mithril sub-component, but we want the result dom element to be nested under 33 // - A static set of mithril vnodes (for cases when the contents of the modal 35 // - A function, invoked on each render pass, that returns mithril vnodes upon 44 // In this case, just ust the Modal class as a standard mithril component. 78 // is scoped to a mithril component, not fullscreen). 88 // Retuning `removePromise` will cause Mithril to defer the actual component
|
H A D | menu.ts | 15 import m from 'mithril'; 120 // MenuDividers, but really they can be any Mithril component. 128 // The trigger is mithril component which is used to toggle the popup when 132 // This trigger can be any mithril component, but it is typically a Button, 156 // MenuDividers, but really they can be any Mithril component.
|
H A D | virtual_table.ts | 15 import m from 'mithril'; 32 * - Rendering thousands of DOM elements using Mithril can get be slow. 65 * straight to mithril. 69 * which behave in the same way as they do on other Mithril components. 133 // Used for callbacks and as a Mithril key.
|
H A D | tree.ts | 15 import m from 'mithril'; 174 // in Mithril.
|
H A D | error.ts | 15 import m from 'mithril';
|
/aosp_15_r20/external/perfetto/docs/contributing/ |
H A D | ui-development.md | 24 ## Mithril components 26 Perfetto UI uses the [Mithril](https://mithril.js.org/) library for rendering 28 [class components](https://mithril.js.org/components.html#classes). When Mithril
|
H A D | ui-plugins.md | 523 import m from 'mithril'; 593 selection object and returns either mithril vnodes or a falsy value. 702 Pages should be mithril components that accept `PageWithTraceAttrs` for 707 import m from 'mithril'; 722 import m from 'mithril';
|
/aosp_15_r20/external/perfetto/ui/src/core/ |
H A D | raf_scheduler.ts | 16 import m from 'mithril'; 24 name: 'Enable Mithril autoredraw', 146 // Mithril's render() function takes a third argument which tells us if a 149 // official Mithril docs but is just not part of the @types/mithril package.
|
H A D | perf_manager.ts | 15 import m from 'mithril'; 46 // want to redraw the mithril component even if there is no full DOM redraw 67 // The mithril component that draws the contents of the perf stats box.
|
H A D | router.ts | 15 import m from 'mithril'; 58 // 1) Maps fragment paths (#!/page/subpage) to Mithril components.
|
/aosp_15_r20/external/perfetto/infra/ci/frontend/ |
H A D | Makefile | 55 static/third_party/mithril-1.1.6.min.js: 56 curl -Sso $@ https://cdnjs.cloudflare.com/ajax/libs/mithril/1.1.6/mithril.min.js 59 static_3p: static/third_party/mithril-1.1.6.min.js static/third_party/xterm-4.11.0.min.css static/t…
|
/aosp_15_r20/external/perfetto/ui/src/base/ |
H A D | mithril_utils.ts | 15 import m from 'mithril'; 17 // Check if a mithril component vnode has children 57 * Utility function to pre-bind some mithril attrs of a component, and leave 72 * The return value of bindMithrilApps is a mithril component that takes in
|
/aosp_15_r20/external/perfetto/ui/src/public/ |
H A D | page.ts | 15 import m from 'mithril'; 38 * Mithril attrs for pages that don't require a Trace object. These pages are 47 * Mithril attrs for pages that require a Trace object. These pages are
|
/aosp_15_r20/external/perfetto/ui/src/plugins/dev.perfetto.RecordTrace/ |
H A D | recording_multiple_choice.ts | 15 import m from 'mithril'; 62 // Work around mithril bug 63 // (https://github.com/MithrilJS/mithril.js/issues/2107): We
|
H A D | record_page_v2.ts | 15 import m from 'mithril'; 16 import {Attributes} from 'mithril'; 66 // css attributes passed to the mithril components which displays the target 147 // Work around mithril bug 148 // (https://github.com/MithrilJS/mithril.js/issues/2107): We may
|
H A D | record_page.ts | 15 import m from 'mithril'; 119 // Work around mithril bug 120 // (https://github.com/MithrilJS/mithril.js/issues/2107): We may
|
/aosp_15_r20/external/perfetto/ui/src/frontend/ |
H A D | index.ts | 20 import m from 'mithril'; 218 // And replace it with the root <main> element which will be used by mithril. 228 // Mount the main mithril component. This also forces a sync render pass.
|
H A D | omnibox.ts | 15 import m from 'mithril'; 335 // manually to the DOM and doesn't use Mithril's auto-redraw system.
|
H A D | panel_container.ts | 15 import m from 'mithril'; 268 // `key` attribute for intermediate tree vnodes: otherwise Mithril internals
|
/aosp_15_r20/external/perfetto/ui/ |
H A D | package.json | 23 "@types/mithril": "^2.2.6", 38 "mithril": "^2.2.2", string
|
/aosp_15_r20/external/perfetto/ui/src/core_plugins/flags_page/ |
H A D | plugins_page.ts | 15 import m from 'mithril'; 26 // changes. It is purposely a global as we want it to outlive the Mithril
|
/aosp_15_r20/external/perfetto/ui/src/bigtrace/ |
H A D | index.ts | 17 import m from 'mithril'; 107 // And replace it with the root <main> element which will be used by mithril.
|
/aosp_15_r20/external/perfetto/ui/src/assets/ |
H A D | modal.scss | 18 // reaches the end, the Mithril component that renders .modal-backdrop 21 // hooking the onanimationend events to synchronize the Mithril removal with
|
/aosp_15_r20/external/perfetto/ui/src/plugins/org.chromium.ChromeScrollJank/ |
H A D | scroll_details_panel.ts | 15 import m from 'mithril'; 84 // TODO(altimin): Don't store Mithril vnodes between render cycles.
|
/aosp_15_r20/external/perfetto/ui/src/plugins/dev.perfetto.TimelineSync/ |
H A D | index.ts | 15 import m from 'mithril'; 161 // The function below is called on every mithril render pass. It's important
|