| /third_party/skia/third_party/externals/angle2/src/libANGLE/ |
| H A D | Overlay_autogen.cpp | 9 // Autogenerated overlay widget declarations. 37 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 in initOverlayWidgets() 60 Text *widget = new Text; initOverlayWidgets() local 83 Count *widget = new Count; initOverlayWidgets() local 107 RunningGraph *widget = new RunningGraph(60); initOverlayWidgets() local 150 RunningHistogram *widget = new RunningHistogram(100); initOverlayWidgets() local 193 RunningHistogram *widget = new RunningHistogram(50); initOverlayWidgets() local 236 RunningGraph *widget = new RunningGraph(60); initOverlayWidgets() local 279 RunningGraph *widget = new RunningGraph(60); initOverlayWidgets() local 322 RunningGraph *widget = new RunningGraph(60); initOverlayWidgets() local 365 RunningGraph *widget = new RunningGraph(120); initOverlayWidgets() local [all...] |
| H A D | gen_overlay_widgets.py | 28 // Autogenerated overlay widget declarations. 70 // Autogenerated overlay widget declarations. 95 widget->{subwidget}type = WidgetType::{type}; 96 widget->{subwidget}fontSize = fontSize; 97 widget->{subwidget}coords[0] = {coord0}; 98 widget->{subwidget}coords[1] = {coord1}; 99 widget->{subwidget}coords[2] = {coord2}; 100 widget->{subwidget}coords[3] = {coord3}; 101 widget->{subwidget}color[0] = {color_r}f; 102 widget [all...] |
| H A D | OverlayWidgets.cpp | 7 // Implements functions that interpret widget data. Data formats and limits correspond to the 21 // Internally, every widget is either Text or Graph. 31 // A map that says how the API-facing widget types map to internal types. 175 using AppendWidgetDataFunc = void (*)(const overlay::Widget *widget, 185 static void Append##WIDGET_ID(const overlay::Widget *widget, const gl::Extents &imageExtent, \ 190 // widget. This often means generating text specific to this item and scaling graph data to 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, 250 AppendGraphCommon(const overlay::Widget *widget, const gl::Extents &imageExtent, const std::vector<size_t> runningValues, size_t startIndex, float scale, GraphWidgetData *graphWidget, OverlayWidgetCounts *widgetCounts) AppendGraphCommon() argument 269 AppendRunningGraphCommon( const overlay::Widget *widget, const gl::Extents &imageExtent, TextWidgetData *textWidget, GraphWidgetData *graphWidget, OverlayWidgetCounts *widgetCounts, AppendWidgetDataHelper::FormatGraphTitleFunc formatFunc) AppendRunningGraphCommon() argument 296 AppendRunningHistogramCommon(const overlay::Widget *widget, const gl::Extents &imageExtent, TextWidgetData *textWidget, GraphWidgetData *graphWidget, OverlayWidgetCounts *widgetCounts, FormatHistogramTitleFunc formatFunc) AppendRunningHistogramCommon() argument 328 AppendFPS(const overlay::Widget *widget, const gl::Extents &imageExtent, TextWidgetData *textWidget, GraphWidgetData *graphWidget, OverlayWidgetCounts *widgetCounts) AppendFPS() argument 342 AppendVulkanLastValidationMessage(const overlay::Widget *widget, const gl::Extents &imageExtent, TextWidgetData *textWidget, GraphWidgetData *graphWidget, OverlayWidgetCounts *widgetCounts) AppendVulkanLastValidationMessage() argument 356 AppendVulkanValidationMessageCount(const overlay::Widget *widget, const gl::Extents &imageExtent, TextWidgetData *textWidget, GraphWidgetData *graphWidget, OverlayWidgetCounts *widgetCounts) AppendVulkanValidationMessageCount() argument 370 AppendVulkanRenderPassCount(const overlay::Widget *widget, const gl::Extents &imageExtent, TextWidgetData *textWidget, GraphWidgetData *graphWidget, OverlayWidgetCounts *widgetCounts) AppendVulkanRenderPassCount() argument 385 AppendVulkanSecondaryCommandBufferPoolWaste( const overlay::Widget *widget, const gl::Extents &imageExtent, TextWidgetData *textWidget, GraphWidgetData *graphWidget, OverlayWidgetCounts *widgetCounts) AppendVulkanSecondaryCommandBufferPoolWaste() argument 403 AppendVulkanRenderPassBufferCount(const overlay::Widget *widget, const gl::Extents &imageExtent, TextWidgetData *textWidget, GraphWidgetData *graphWidget, OverlayWidgetCounts *widgetCounts) AppendVulkanRenderPassBufferCount() argument 419 AppendVulkanWriteDescriptorSetCount(const overlay::Widget *widget, const gl::Extents &imageExtent, TextWidgetData *textWidget, GraphWidgetData *graphWidget, OverlayWidgetCounts *widgetCounts) AppendVulkanWriteDescriptorSetCount() argument 434 AppendVulkanDescriptorSetAllocations(const overlay::Widget *widget, const gl::Extents &imageExtent, TextWidgetData *textWidget, GraphWidgetData *graphWidget, OverlayWidgetCounts *widgetCounts) AppendVulkanDescriptorSetAllocations() argument 449 AppendVulkanShaderBufferDSHitRate(const overlay::Widget *widget, const gl::Extents &imageExtent, TextWidgetData *textWidget, GraphWidgetData *graphWidget, OverlayWidgetCounts *widgetCounts) AppendVulkanShaderBufferDSHitRate() argument 464 AppendVulkanDynamicBufferAllocations(const overlay::Widget *widget, const gl::Extents &imageExtent, TextWidgetData *textWidget, GraphWidgetData *graphWidget, OverlayWidgetCounts *widgetCounts) AppendVulkanDynamicBufferAllocations() argument 587 const std::unique_ptr<overlay::Widget> &widget = mOverlayWidgets[id]; fillWidgetData() local [all...] |
| H A D | Overlay.cpp | 46 [](const std::unique_ptr<overlay::Widget> &widget) { return widget.get() != nullptr; })); in init() 91 for (const std::unique_ptr<overlay::Widget> &widget : mState.mOverlayWidgets) in onSwap() 93 if (widget->type == WidgetType::PerSecond) in onSwap() 96 reinterpret_cast<overlay::PerSecond *>(widget.get()); in onSwap()
|
| /third_party/python/Lib/tkinter/test/ |
| H A D | widget_tests.py | 37 def checkParam(self, widget, name, value, *, expected=_sentinel, 39 widget[name] = value 51 self.assertEqual2(widget[name], expected, eq=eq) 52 self.assertEqual2(widget.cget(name), expected, eq=eq) 53 t = widget.configure(name) 57 def checkInvalidParam(self, widget, name, value, errmsg=None): 58 orig = widget[name] 62 widget[name] = value 65 self.assertEqual(widget[name], orig) 67 widget [all...] |
| H A D | support.py | 72 def simulate_mouse_click(widget, x, y): 75 widget.event_generate('<Enter>', x=0, y=0) 76 widget.event_generate('<Motion>', x=x, y=y) 77 widget.event_generate('<ButtonPress-1>', x=x, y=y) 78 widget.event_generate('<ButtonRelease-1>', x=x, y=y)
|
| /third_party/python/Lib/tkinter/test/test_tkinter/ |
| H A D | test_widgets.py | 26 widget = self.create() 27 self.assertEqual(widget['class'], 28 widget.__class__.__name__.title()) 29 self.checkInvalidParam(widget, 'class', 'Foo', 30 errmsg="can't modify -class option after widget is created") 35 widget = self.create() 36 self.assertEqual(widget['colormap'], '') 37 self.checkInvalidParam(widget, 'colormap', 'new', 38 errmsg="can't modify -colormap option after widget is created") 43 widget [all...] |
| /third_party/alsa-utils/alsamixer/ |
| H A D | widget.c | 2 * widget.c - handles widget objects and the widget stack 25 #include "widget.h" 34 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 in widget_init() 92 widget_free(struct widget *widget) widget_free() argument 124 const struct widget *widget; window_size_changed() local [all...] |
| H A D | widget.h | 12 struct widget { struct 26 void widget_init(struct widget *widget, 29 void widget_free(struct widget *widget); 30 const struct widget *get_active_widget(void);
|
| H A D | menu_widget.c | 65 void menu_widget_create(struct widget *widget, MENU *menu, const char *title) in menu_widget_create() argument 73 widget->close(); in menu_widget_create() 85 widget_init(widget, rows, columns, SCREEN_CENTER, SCREEN_CENTER, in menu_widget_create() 88 mvwprintw(widget->window, 0, (columns - 2 - get_mbs_width(title)) / 2, " %s ", title); in menu_widget_create() 89 set_menu_win(menu, widget->window); in menu_widget_create() 90 set_menu_sub(menu, widget->subwindow); in menu_widget_create()
|
| /third_party/lame/frontend/ |
| H A D | gpkplotting.c | 58 setcolor(GtkWidget * widget, GdkColor * color, gint red, gint green, gint blue) in setcolor() argument 67 gdk_color_alloc(gtk_widget_get_colormap(widget), color); in setcolor() 82 findpixmap(GtkWidget * widget) in findpixmap() argument 85 for (i = 0; i < num_plotwindows && widget != pixmapboxes[i]; i++); in findpixmap() 87 g_print("findpixmap(): bad argument widget \n"); in findpixmap() 94 gpk_graph_draw(GtkWidget * widget, /* plot on this widged */ in gpk_graph_draw() argument 109 gc = gdk_gc_new(widget->window); in gpk_graph_draw() 114 if ((ppixmap = findpixmap(widget))) { in gpk_graph_draw() 115 width = widget->allocation.width; in gpk_graph_draw() 116 height = widget in gpk_graph_draw() 150 gpk_rectangle_draw(GtkWidget * widget, gdouble * xcord, gdouble * ycord, gdouble xmn, gdouble ymn, gdouble xmx, gdouble ymx, GdkColor * color) gpk_rectangle_draw() argument 186 gpk_bargraph_draw(GtkWidget * widget, int n, gdouble * xcord, gdouble * ycord, gdouble xmn, gdouble ymn, gdouble xmx, gdouble ymx, int clear, char *title, int barwidth, GdkColor * color) gpk_bargraph_draw() argument 272 configure_event(GtkWidget * widget, GdkEventConfigure * event, gpointer data) configure_event() argument 291 expose_event(GtkWidget * widget, GdkEventExpose * event, gpointer data) expose_event() argument [all...] |
| H A D | gpkplotting.h | 27 /* allocate a graphing widget */ 31 void gpk_graph_draw(GtkWidget * widget, 36 /* draw a rectangle in the graphing widget */ 37 void gpk_rectangle_draw(GtkWidget * widget, /* plot on this widged */ 43 void gpk_bargraph_draw(GtkWidget * widget, 49 void setcolor(GtkWidget * widget, GdkColor * color, int red, int green, int blue);
|
| /third_party/alsa-lib/src/topology/ |
| H A D | dapm.c | 22 /* mapping of widget text names to types */ 74 /* move referenced controls to the widget */ 77 struct snd_soc_tplg_dapm_widget *widget = elem->widget; in copy_dapm_control() local 82 widget->priv.size); in copy_dapm_control() 84 widget = realloc(widget, elem->size + ref->size); in copy_dapm_control() 85 if (!widget) in copy_dapm_control() 88 elem->widget = widget; in copy_dapm_control() 513 struct snd_soc_tplg_dapm_widget *widget; tplg_parse_dapm_widget() local 685 struct snd_soc_tplg_dapm_widget *widget = elem->widget; tplg_save_dapm_widget() local [all...] |
| /third_party/python/Lib/idlelib/ |
| H A D | redirector.py | 4 """Support for redirecting arbitrary widget subcommands. 7 character is inserted into a Text widget by pressing a key, a default Tk 8 binding to the widget's 'insert' operation is activated, and the Tk library 15 When a widget is instantiated, a Tcl command is created whose name is the 16 same as the pathname widget._w. This command is used to invoke the various 17 widget operations, e.g. insert (for a Text widget). We are going to hook 18 this command and provide a facility ('register') to intercept the widget 20 instance that represents the tk widget. 25 original Tk widget operatio [all...] |
| H A D | multicall.py | 2 MultiCall - a class which inherits its methods from a Tkinter widget (Text, for 59 # In 3.4, if no shell window is ever open, the underlying Tk widget is 74 def __init__(self, type, widget, widgetinst): 77 self.widget = widget 94 self.handlerid = self.widget.bind(self.widgetinst, 101 self.widget.unbind(self.widgetinst, self.sequence, self.handlerid) 107 self.widget.unbind(self.widgetinst, self.sequence, 190 def __init__(self, type, widget, widgetinst): 193 self.widget [all...] |
| H A D | autocomplete_w.py | 29 def __init__(self, widget, tags): 30 # The widget (Text) on which we place the AutoCompleteWindow 31 self.widget = widget 70 self.widget.delete("%s+%dc" % (self.startindex, i), 73 self.widget.insert("%s+%dc" % (self.startindex, i), 170 self.startindex = self.widget.index(index) 171 self.start = self.widget.get(self.startindex, "insert") 185 self.autocompletewindow = acw = Toplevel(self.widget) 213 self.hidewid = self.widget [all...] |
| H A D | codecontext.py | 53 self.text is the editor window text widget. 63 self.t1 and self.t2 are two timer events on the editor text widget to 102 # align the context with the text in the main Text widget. 110 for widget in widgets: 111 info = (widget.grid_info() 112 if widget is self.editwin.text 113 else widget.pack_info()) 114 padx += widget.tk.getint(info['padx']) 115 padx += widget.tk.getint(widget [all...] |
| /third_party/python/Lib/tkinter/test/test_ttk/ |
| H A D | test_widgets.py | 20 widget = self.create() 21 self.assertEqual(widget['class'], '') 25 self.checkInvalidParam(widget, 'class', 'Foo', errmsg=errmsg) 30 widget = self.create() 31 self.checkParam(widget, 'padding', 0, expected=('0',)) 32 self.checkParam(widget, 'padding', 5, expected=('5',)) 33 self.checkParam(widget, 'padding', (5, 6), expected=('5', '6')) 34 self.checkParam(widget, 'padding', (5, 6, 7), 36 self.checkParam(widget, 'padding', (5, 6, 7, 8), 38 self.checkParam(widget, 'paddin [all...] |
| /third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
| H A D | StreamConfigurationView.java | 24 import android.widget.AdapterView; 25 import android.widget.CheckBox; 26 import android.widget.Spinner; 27 import android.widget.TableLayout; 28 import android.widget.TableRow; 29 import android.widget.TextView; 30 import android.widget.LinearLayout; 281 private class NativeApiSpinnerListener implements android.widget.AdapterView.OnItemSelectedListener { 293 private class PerformanceModeSpinnerListener implements android.widget.AdapterView.OnItemSelectedListener { 306 private class ChannelCountSpinnerListener implements android.widget [all...] |
| /third_party/mesa3d/bin/pick/ |
| H A D | ui.py | 164 o = self.mainloop.widget 165 self.mainloop.widget = urwid.Overlay( 170 self.mainloop.widget = o 194 o = self.mainloop.widget 197 self.mainloop.widget = o 228 self.mainloop.widget = urwid.Overlay( 233 o = self.mainloop.widget 236 self.mainloop.widget = o 262 self.mainloop.widget = urwid.Overlay(
|
| /third_party/python/Lib/tkinter/ |
| H A D | dnd.py | 7 the use of a particular widget or icon type, etc. I also hope that 24 The object is *not* necessarily a widget -- it can be any 30 Tk widget directly under the mouse is inspected. This is the target 31 widget (not to be confused with the target object, yet to be 32 determined). If there is no target widget, there is no dnd target 33 object. If there is a target widget, and it has an attribute 40 object. If dnd_accept() returns None, or if the target widget has no 41 dnd_accept attribute, the target widget's parent is considered as the 42 target widget, and the search for a target object is repeated from 44 root widget [all...] |
| /third_party/python/Lib/idlelib/idle_test/ |
| H A D | test_tree.py | 35 # Fake widget class containing `yview` only. 37 def __init__(widget, *expected): 38 widget.expected = expected 39 def yview(widget, *args): 40 self.assertTupleEqual(widget.expected, args)
|
| /third_party/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ |
| H A D | StateAdapter.java | 9 import android.widget.AdapterView; 10 import android.widget.BaseAdapter; 11 import android.widget.CompoundButton; 12 import android.widget.EditText; 13 import android.widget.LinearLayout; 14 import android.widget.Spinner; 15 import android.widget.Switch; 16 import android.widget.TextView;
|
| /third_party/skia/third_party/externals/oboe/samples/LiveEffect/src/main/java/com/google/oboe/samples/liveEffect/ |
| H A D | MainActivity.java | 29 import android.widget.AdapterView; 30 import android.widget.Button; 31 import android.widget.RadioButton; 32 import android.widget.RadioGroup; 33 import android.widget.TextView; 34 import android.widget.Toast;
|
| /third_party/icu/icu4c/source/samples/layout/ |
| H A D | cgnomelayout.c | 48 static void showabout(GtkWidget *widget, gpointer data) in showabout() argument 156 static void closeapp(GtkWidget *widget, gpointer data) in closeapp() argument 195 static gint eventDelete(GtkWidget *widget, GdkEvent *event, gpointer data) in eventDelete() argument 197 closeSample(widget); in eventDelete() 203 static gint eventConfigure(GtkWidget *widget, GdkEventConfigure *event, Context *context) in eventConfigure() argument 217 static gint eventExpose(GtkWidget *widget, GdkEvent *event, Context *context) in eventExpose() argument 222 rs_surface *surface = rs_gnomeRenderingSurfaceOpen(widget); in eventExpose()
|