Home
last modified time | relevance | path

Searched refs:widget (Results 1 – 25 of 969) sorted by relevance

12345678910>>...39

/third_party/skia/third_party/externals/angle2/src/libANGLE/
DOverlay_autogen.cpp37 PerSecond *widget = new PerSecond; in initOverlayWidgets() local
45 widget->type = WidgetType::PerSecond; in initOverlayWidgets()
46 widget->fontSize = fontSize; in initOverlayWidgets()
47 widget->coords[0] = offsetX; in initOverlayWidgets()
48 widget->coords[1] = offsetY; in initOverlayWidgets()
49 widget->coords[2] = offsetX + width; in initOverlayWidgets()
50 widget->coords[3] = offsetY + height; in initOverlayWidgets()
51 widget->color[0] = 0.498039215686f; in initOverlayWidgets()
52 widget->color[1] = 0.749019607843f; in initOverlayWidgets()
53 widget->color[2] = 1.0f; in initOverlayWidgets()
[all …]
Dgen_overlay_widgets.py182 def get_offset_helper(widget, axis, smaller_coord_side): argument
198 coord = widget.coords[axis]
215 def get_offset_x(widget): argument
216 return get_offset_helper(widget, 0, 'left')
219 def get_offset_y(widget): argument
220 return get_offset_helper(widget, 1, 'top')
242 def generate_widget_init_helper(widget, is_graph_description=False): argument
246 color = [channel / 255.0 for channel in widget.color]
247 offset_x, offset_x_is_left = get_offset_x(widget)
248 offset_y, offset_y_is_top = get_offset_y(widget)
[all …]
DOverlayWidgets.cpp175 using AppendWidgetDataFunc = void (*)(const overlay::Widget *widget,
185 static void Append##WIDGET_ID(const overlay::Widget *widget, const gl::Extents &imageExtent, \
204 static void AppendTextCommon(const overlay::Widget *widget,
211 static void AppendRunningGraphCommon(const overlay::Widget *widget,
220 static void AppendRunningHistogramCommon(const overlay::Widget *widget,
227 static void AppendGraphCommon(const overlay::Widget *widget,
236 void AppendWidgetDataHelper::AppendTextCommon(const overlay::Widget *widget, in AppendTextCommon() argument
242 GetWidgetCoordinates(widget->coords, imageExtent, textWidget->coordinates); in AppendTextCommon()
243 GetWidgetColor(widget->color, textWidget->color); in AppendTextCommon()
244 GetTextFontSize(widget->fontSize, textWidget->fontSize); in AppendTextCommon()
[all …]
/third_party/python/Lib/tkinter/test/
Dwidget_tests.py48 def checkParam(self, widget, name, value, *, expected=_sentinel, argument
50 widget[name] = value
62 self.assertEqual2(widget[name], expected, eq=eq)
63 self.assertEqual2(widget.cget(name), expected, eq=eq)
64 t = widget.configure(name)
68 def checkInvalidParam(self, widget, name, value, errmsg=None, *, argument
70 orig = widget[name]
74 widget[name] = value
78 self.assertEqual(widget[name], orig)
80 widget[name] = orig
[all …]
/third_party/python/Lib/tkinter/test/test_tkinter/
Dtest_widgets.py26 widget = self.create()
27 self.assertEqual(widget['class'],
28 widget.__class__.__name__.title())
29 self.checkInvalidParam(widget, 'class', 'Foo',
35 widget = self.create()
36 self.assertEqual(widget['colormap'], '')
37 self.checkInvalidParam(widget, 'colormap', 'new',
43 widget = self.create()
44 self.assertEqual(widget['container'], 0 if self.wantobjects else '0')
45 self.checkInvalidParam(widget, 'container', 1,
[all …]
/third_party/alsa-utils/alsamixer/
Dwidget.c34 const struct widget *active_widget; in update_cursor_visibility()
44 void widget_init(struct widget *widget, int lines_, int cols, int y, int x, in widget_init() argument
54 old_window = widget->window; in widget_init()
55 widget->window = newwin(lines_, cols, y, x); in widget_init()
56 if (!widget->window) in widget_init()
58 keypad(widget->window, TRUE); in widget_init()
59 nodelay(widget->window, TRUE); in widget_init()
60 leaveok(widget->window, !(flags & WIDGET_CURSOR_VISIBLE)); in widget_init()
61 wbkgdset(widget->window, bkgd); in widget_init()
62 werase(widget->window); in widget_init()
[all …]
/third_party/gstreamer/gstplugins_good/ext/gtk/
Dgtkgstbasewidget.c49 _calculate_par (GtkGstBaseWidget * widget, GstVideoInfo * info) in _calculate_par() argument
62 if (widget->video_par_n != 0 && widget->video_par_d != 0) { in _calculate_par()
63 par_n = widget->video_par_n; in _calculate_par()
64 par_d = widget->video_par_d; in _calculate_par()
74 if (widget->par_n != 0 && widget->par_d != 0) { in _calculate_par()
75 display_par_n = widget->par_n; in _calculate_par()
76 display_par_d = widget->par_d; in _calculate_par()
83 ok = gst_video_calculate_display_ratio (&widget->display_ratio_num, in _calculate_par()
84 &widget->display_ratio_den, width, height, par_n, par_d, display_par_n, in _calculate_par()
97 _apply_par (GtkGstBaseWidget * widget) in _apply_par() argument
[all …]
Dgstgtkbasesink.c175 if (gtk_sink->widget && gtk_sink->widget_destroy_id) in gst_gtk_base_sink_finalize()
176 g_signal_handler_disconnect (gtk_sink->widget, gtk_sink->widget_destroy_id); in gst_gtk_base_sink_finalize()
178 g_clear_object (&gtk_sink->widget); in gst_gtk_base_sink_finalize()
185 widget_destroy_cb (GtkWidget * widget, GstGtkBaseSink * gtk_sink) in widget_destroy_cb() argument
188 g_clear_object (&gtk_sink->widget); in widget_destroy_cb()
193 window_destroy_cb (GtkWidget * widget, GstGtkBaseSink * gtk_sink) in window_destroy_cb() argument
203 if (gtk_sink->widget != NULL) in gst_gtk_base_sink_get_widget()
204 return g_object_ref (gtk_sink->widget); in gst_gtk_base_sink_get_widget()
214 gtk_sink->widget = (GtkGstBaseWidget *) in gst_gtk_base_sink_get_widget()
218 g_object_bind_property (gtk_sink, "force-aspect-ratio", gtk_sink->widget, in gst_gtk_base_sink_get_widget()
[all …]
/third_party/weston/clients/
Dwindow.h39 struct widget;
239 typedef void (*widget_resize_handler_t)(struct widget *widget,
242 typedef void (*widget_redraw_handler_t)(struct widget *widget, void *data);
244 typedef int (*widget_enter_handler_t)(struct widget *widget,
247 typedef void (*widget_leave_handler_t)(struct widget *widget,
249 typedef int (*widget_motion_handler_t)(struct widget *widget,
252 typedef void (*widget_button_handler_t)(struct widget *widget,
257 typedef void (*widget_touch_down_handler_t)(struct widget *widget,
265 typedef void (*widget_touch_up_handler_t)(struct widget *widget,
271 typedef void (*widget_touch_motion_handler_t)(struct widget *widget,
[all …]
Dwindow.c208 struct widget *widget; member
284 struct widget *confined_widget;
291 struct widget { struct
330 struct widget *widget; argument
360 struct widget *focus_widget;
361 struct widget *grab;
413 struct widget *widget; member
414 struct widget *child;
425 struct widget *widget; member
437 struct widget *parent;
[all …]
Ddesktop-shell.c77 struct widget *grab_widget;
102 struct widget *widget; member
117 struct widget *widget; member
137 struct widget *widget; member
148 struct widget *widget; member
157 struct widget *widget; member
158 struct widget *button;
209 panel_launcher_activate(struct panel_launcher *widget) in panel_launcher_activate() argument
223 argv = widget->argv.data; in panel_launcher_activate()
228 if (execve(argv[0], argv, widget->envp.data) < 0) { in panel_launcher_activate()
[all …]
Deventdemo.c96 struct widget *widget; member
112 redraw_handler(struct widget *widget, void *data) in redraw_handler() argument
122 widget_get_allocation(e->widget, &rect); in redraw_handler()
149 resize_handler(struct widget *widget, in resize_handler() argument
165 widget_set_size(e->widget, width, height); in resize_handler()
230 button_handler(struct widget *widget, struct input *input, uint32_t time, in button_handler() argument
259 axis_handler(struct widget *widget, struct input *input, uint32_t time, in axis_handler() argument
277 pointer_frame_handler(struct widget *widget, struct input *input, void *data) in pointer_frame_handler() argument
289 axis_source_handler(struct widget *widget, struct input *input, in axis_source_handler() argument
319 axis_stop_handler(struct widget *widget, struct input *input, in axis_stop_handler() argument
[all …]
Dcontent_protection.c58 struct widget *widget; member
67 struct widget *widget; member
154 redraw_handler(struct widget *widget, void *data) in redraw_handler() argument
160 widget_get_allocation(pc_player->widget, &rect); in redraw_handler()
173 resize_handler(struct widget *widget, int32_t width, int32_t height, void *data) in resize_handler() argument
178 widget_get_allocation(pc_player->widget, &allocation); in resize_handler()
179 widget_set_allocation(pc_player->b0->widget, in resize_handler()
182 widget_set_allocation(pc_player->b1->widget, in resize_handler()
186 widget_set_allocation(pc_player->off->widget, in resize_handler()
190 widget_set_allocation(pc_player->enforced->widget, in resize_handler()
[all …]
Dflower.c43 struct widget *widget; member
109 resize_handler(struct widget *widget, in resize_handler() argument
115 widget_set_size(flower->widget, flower->width, flower->height); in resize_handler()
119 redraw_handler(struct widget *widget, void *data) in redraw_handler() argument
136 button_handler(struct widget *widget, in button_handler() argument
150 widget_schedule_redraw(widget); in button_handler()
160 touch_down_handler(struct widget *widget, struct input *input, in touch_down_handler() argument
188 flower.widget = window_add_widget(flower.window, &flower); in main()
191 widget_set_resize_handler(flower.widget, resize_handler); in main()
192 widget_set_redraw_handler(flower.widget, redraw_handler); in main()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/
Dwpagui.ui3 <widget class="QMainWindow" name="WpaGui" >
19 <widget class="QWidget" name="widget" >
22 <widget class="QLabel" name="adapterLabel" >
26 </widget>
29 <widget class="QComboBox" name="adapterSelect" />
32 <widget class="QLabel" name="networkLabel" >
36 </widget>
39 <widget class="QComboBox" name="networkSelect" />
42 <widget class="QTabWidget" name="wpaguiTab" >
46 <widget class="QWidget" name="statusTab" >
[all …]
Dnetworkconfig.ui3 <widget class="QDialog" name="NetworkConfig" >
17 <widget class="QPushButton" name="cancelButton" >
21 </widget>
24 <widget class="QFrame" name="frame9" >
33 <widget class="QLabel" name="ssidLabel" >
37 </widget>
40 <widget class="QLineEdit" name="ssidEdit" >
47 </widget>
50 <widget class="QLabel" name="authLabel" >
54 </widget>
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/
Dwpagui.ui3 <widget class="QMainWindow" name="WpaGui" >
19 <widget class="QWidget" name="widget" >
22 <widget class="QLabel" name="adapterLabel" >
26 </widget>
29 <widget class="QComboBox" name="adapterSelect" />
32 <widget class="QLabel" name="networkLabel" >
36 </widget>
39 <widget class="QComboBox" name="networkSelect" />
42 <widget class="QTabWidget" name="wpaguiTab" >
46 <widget class="QWidget" name="statusTab" >
[all …]
Dnetworkconfig.ui3 <widget class="QDialog" name="NetworkConfig" >
17 <widget class="QPushButton" name="cancelButton" >
21 </widget>
24 <widget class="QFrame" name="frame9" >
33 <widget class="QLabel" name="ssidLabel" >
37 </widget>
40 <widget class="QLineEdit" name="ssidEdit" >
47 </widget>
50 <widget class="QLabel" name="authLabel" >
54 </widget>
[all …]
/third_party/gettext/gettext-tools/tests/
Dxgettext-glade-143 <widget>
60 <widget>
71 <widget>
86 <widget>
91 <widget>
96 <widget>
100 <widget>
110 </widget>
112 <widget>
123 </widget>
[all …]
Dxgettext-glade-323 <widget class="GtkDialog" id="dialog">
33 <widget class="GtkVBox" id="dialog-vbox1">
39 <widget class="GtkHButtonBox" id="dialog-action_area1">
45 <widget class="GtkButton" id="insert_char_button">
50 </widget>
54 <widget class="GtkButton" id="close_button">
61 </widget>
65 <widget class="GtkButton" id="help_button">
72 </widget>
74 </widget>
[all …]
/third_party/flutter/flutter/examples/stocks/lib/
Dstock_settings.dart22 …sendUpdates(widget.configuration.copyWith(stockMode: value ? StockMode.optimistic : StockMode.pess…
26 …sendUpdates(widget.configuration.copyWith(backupMode: value ? BackupMode.enabled : BackupMode.disa…
30 sendUpdates(widget.configuration.copyWith(debugShowGrid: value));
34 sendUpdates(widget.configuration.copyWith(debugShowSizes: value));
38 sendUpdates(widget.configuration.copyWith(debugShowBaselines: value));
42 sendUpdates(widget.configuration.copyWith(debugShowLayers: value));
46 sendUpdates(widget.configuration.copyWith(debugShowPointers: value));
50 sendUpdates(widget.configuration.copyWith(debugShowRainbow: value));
55 sendUpdates(widget.configuration.copyWith(showPerformanceOverlay: value));
59 sendUpdates(widget.configuration.copyWith(showSemanticsDebugger: value));
[all …]
/third_party/cef/libcef/browser/views/
Dwindow_view.cc37 ClientViewEx(views::Widget* widget, in ClientViewEx() argument
40 : views::ClientView(widget, contents_view), in ClientViewEx()
61 NativeFrameViewEx(views::Widget* widget, CefWindowView* view) in NativeFrameViewEx() argument
62 : views::NativeFrameView(widget), widget_(widget), view_(view) {} in NativeFrameViewEx()
117 CaptionlessFrameView(views::Widget* widget, CefWindowView* view) in CaptionlessFrameView() argument
118 : widget_(widget), view_(view) {} in CaptionlessFrameView()
262 views::Widget* widget = cef::IsChromeRuntimeEnabled() ? new ChromeBrowserFrame in CreateWidget() local
308 params.parent = view_util::GetNativeView(parent_window_impl->widget()); in CreateWidget()
336 widget->Init(std::move(params)); in CreateWidget()
337 widget->AddObserver(this); in CreateWidget()
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Ddebug.dart26 if (context.widget is! Material && context.ancestorWidgetOfExactType(Material) == null) {
28 message.writeln('No Material widget found.');
30 '${context.widget.runtimeType} widgets require a Material '
31 'widget ancestor.'
36 'material is represented by the Material widget. It is the '
37 'Material widget that renders ink splashes, for instance. '
39 'there be a Material widget in the tree above them.'
42 'To introduce a Material widget, you can either directly '
43 'include one, or use a widget that contains Material itself, '
47 'The specific widget that could not find a Material ancestor was:'
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Ddebug.dart20 /// widget tree (e.g. in a call to [runApp]) from the regular builds triggered
24 /// widget's dirty/clean lifecycle.
36 /// Callback invoked for every dirty widget built each frame.
47 /// callback to generate aggregate profile statistics describing which widget
60 /// triggered by the initial mounting of a widget tree (e.g. in a call to
72 /// To see when a widget is rebuilt, see [debugPrintRebuildDirtyWidgets].
101 for (Widget widget in widgets) {
102 assert(widget != null);
103 if (widget.key == null)
105 if (!keySet.add(widget.key))
[all …]
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/transformations/
Dtransformations_demo_gesture_transformable.dart5 // This widget allows 2D transform interactions on its child in relation to its
16 // The desired visible size of the widget and the area that is receptive to
17 // gestures. If a widget that's as big as possible is desired, then wrap
38 // If set to true, this widget will animate back to its initial transform
154 if (widget.initialTranslation != null) {
155 matrix = matrixTranslate(matrix, widget.initialTranslation);
157 if (widget.initialScale != null) {
158 matrix = matrixScale(matrix, widget.initialScale);
160 if (widget.initialRotation != null) {
161 matrix = matrixRotate(matrix, widget.initialRotation, Offset.zero);
[all …]

12345678910>>...39