Home
last modified time | relevance | path

Searched refs:views (Results 1 – 25 of 578) sorted by relevance

12345678910>>...24

/third_party/flutter/skia/src/gpu/vk/
DGrVkTextureRenderTarget.cpp113 Views views; in create_views() local
114 views.imageView = GrVkImageView::Create(gpu, image, info.fFormat, GrVkImageView::kColor_Type, in create_views()
116 if (!views.imageView) { in create_views()
139 if (!GrVkImage::InitImageInfo(gpu, msImageDesc, &views.msInfo)) { in create_views()
140 views.imageView->unref(gpu); in create_views()
145 colorImage = views.msInfo.fImage; in create_views()
148 views.resolveAttachmentView = in create_views()
151 if (!views.resolveAttachmentView) { in create_views()
152 GrVkImage::DestroyImageInfo(gpu, &views.msInfo); in create_views()
153 views.imageView->unref(gpu); in create_views()
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_sampler_view.c93 struct st_sampler_views *views; in st_texture_set_sampler_view() local
99 views = stObj->sampler_views; in st_texture_set_sampler_view()
101 for (i = 0; i < views->count; ++i) { in st_texture_set_sampler_view()
102 sv = &views->views[i]; in st_texture_set_sampler_view()
122 if (views->count >= views->max) { in st_texture_set_sampler_view()
124 unsigned new_max = 2 * views->max; in st_texture_set_sampler_view()
125 unsigned new_size = sizeof(*views) + new_max * sizeof(views->views[0]); in st_texture_set_sampler_view()
127 if (new_max < views->max || in st_texture_set_sampler_view()
128 new_max > (UINT_MAX - sizeof(*views)) / sizeof(views->views[0])) { in st_texture_set_sampler_view()
139 new_views->count = views->count; in st_texture_set_sampler_view()
[all …]
/third_party/cef/libcef/browser/views/
Dwindow_view.cc35 class ClientViewEx : public views::ClientView {
37 ClientViewEx(views::Widget* widget, in ClientViewEx()
38 views::View* contents_view, in ClientViewEx()
40 : views::ClientView(widget, contents_view), in ClientViewEx()
48 views::CloseRequestResult OnWindowCloseRequested() override { in OnWindowCloseRequested()
50 ? views::CloseRequestResult::kCanClose in OnWindowCloseRequested()
51 : views::CloseRequestResult::kCannotClose; in OnWindowCloseRequested()
59 class NativeFrameViewEx : public views::NativeFrameView {
61 NativeFrameViewEx(views::Widget* widget, CefWindowView* view) in NativeFrameViewEx()
62 : views::NativeFrameView(widget), widget_(widget), view_(view) {} in NativeFrameViewEx()
[all …]
Dbutton_impl.h53 views::Button::ButtonState old_state = ParentClass::root_view()->GetState(); in SetState()
54 views::Button::ButtonState new_state = in SetState()
55 static_cast<views::Button::ButtonState>(state); in SetState()
57 if (views::InkDrop::Get(ParentClass::root_view())->ink_drop_mode() != in SetState()
58 views::InkDropHost::InkDropMode::OFF && in SetState()
62 views::InkDropState ink_state = views::InkDropState::HIDDEN; in SetState()
63 if (new_state == views::Button::STATE_PRESSED) { in SetState()
64 ink_state = views::InkDropState::ACTIVATED; in SetState()
65 } else if (old_state == views::Button::STATE_PRESSED) { in SetState()
66 ink_state = views::InkDropState::DEACTIVATED; in SetState()
[all …]
Dview_util.cc41 views::View* view = CefViewAdapter::GetFor(cef_view)->Get(); in Register()
50 static CefRefPtr<CefView> GetFor(const views::View* view) { in GetFor()
62 static std::unique_ptr<views::View> PassOwnership(CefRefPtr<CefView> cef_view) in PassOwnership()
67 std::unique_ptr<views::View> view = in PassOwnership()
87 views::View* view = adapter->Get(); in ResumeOwnership()
134 CefRefPtr<CefView> GetFor(const views::View* view, bool find_known_parent) { in GetFor()
142 const views::View* current_view = view; in GetFor()
153 views::View* GetFor(CefRefPtr<CefView> view) { in GetFor()
157 std::unique_ptr<views::View> PassOwnership(CefRefPtr<CefView> view) { in PassOwnership()
165 CefRefPtr<CefWindow> GetWindowFor(views::Widget* widget) { in GetWindowFor()
[all …]
Dview_util.h22 namespace views {
52 CefRefPtr<CefView> GetFor(const views::View* view, bool find_known_parent);
56 views::View* GetFor(CefRefPtr<CefView> view);
64 std::unique_ptr<views::View> PassOwnership(CefRefPtr<CefView> view)
72 CefRefPtr<CefWindow> GetWindowFor(views::Widget* widget);
97 bool ConvertPointToScreen(views::View* view,
105 bool ConvertPointFromScreen(views::View* view,
111 bool ConvertPointToWindow(views::View* view, gfx::Point* point);
115 bool ConvertPointFromWindow(views::View* view, gfx::Point* point);
118 gfx::NativeWindow GetNativeWindow(views::Widget* widget);
[all …]
Dwindow_view.h25 : public CefPanelView<views::WidgetDelegateView, CefWindowDelegate>,
26 public views::WidgetObserver {
29 CefPanelView<views::WidgetDelegateView, CefWindowDelegate>;
67 views::View* GetContentsView() override;
68 views::ClientView* CreateClientView(views::Widget* widget) override;
69 std::unique_ptr<views::NonClientFrameView> CreateNonClientFrameView(
70 views::Widget* widget) override;
79 const views::ViewHierarchyChangedDetails& details) override;
82 void OnWidgetBoundsChanged(views::Widget* widget,
113 views::NonClientFrameView* GetNonClientFrameView() const;
Dbox_layout_impl.cc13 views::View* owner_view) { in Create()
30 views::View* view_ptr = view_util::GetFor(view); in SetFlexForView()
44 views::View* view_ptr = view_util::GetFor(view); in ClearFlexForView()
55 views::BoxLayout* CefBoxLayoutImpl::CreateLayout() { in CreateLayout()
56 views::BoxLayout* layout = new views::BoxLayout( in CreateLayout()
57 settings_.horizontal ? views::BoxLayout::Orientation::kHorizontal in CreateLayout()
58 : views::BoxLayout::Orientation::kVertical, in CreateLayout()
63 static_cast<views::BoxLayout::MainAxisAlignment>( in CreateLayout()
66 static_cast<views::BoxLayout::CrossAxisAlignment>( in CreateLayout()
Doverlay_view_host.h22 class CefOverlayViewHost : public views::WidgetDelegate,
23 public views::ViewObserver {
36 void Init(views::View* host_view, CefRefPtr<CefView> view);
46 void OnViewBoundsChanged(views::View* observed_view) override;
51 views::Widget* widget() const { return widget_.get(); } in widget()
52 views::View* view() const { return view_; } in view()
65 views::View* view_ = nullptr;
69 std::unique_ptr<views::Widget> widget_;
Dbutton_view.h45 void StateChanged(views::Button::ButtonState old_state) override;
52 views::Button::ButtonState old_state) { in StateChanged()
63 if (views::InkDrop::Get(this)->ink_drop_mode() != in ButtonPressed()
64 views::InkDropHost::InkDropMode::OFF && in ButtonPressed()
66 ParentClass::GetState() != views::Button::STATE_PRESSED) { in ButtonPressed()
71 views::InkDrop::Get(this)->AnimateToState( in ButtonPressed()
72 views::InkDropState::HIDDEN, ui::LocatedEvent::FromIfValid(&event)); in ButtonPressed()
Dtextfield_view.h18 : public CefViewView<views::Textfield, CefTextfieldDelegate>,
19 public views::TextfieldController {
21 using ParentClass = CefViewView<views::Textfield, CefTextfieldDelegate>;
40 bool HandleKeyEvent(views::Textfield* sender,
42 void OnAfterUserAction(views::Textfield* sender) override;
/third_party/cef/
Dcef_paths.gypi93 'include/views/cef_box_layout.h',
94 'include/views/cef_browser_view.h',
95 'include/views/cef_browser_view_delegate.h',
96 'include/views/cef_button.h',
97 'include/views/cef_button_delegate.h',
98 'include/views/cef_display.h',
99 'include/views/cef_fill_layout.h',
100 'include/views/cef_label_button.h',
101 'include/views/cef_layout.h',
102 'include/views/cef_menu_button.h',
[all …]
/third_party/cef/libcef/browser/native/
Dwindow_delegate_view.cc28 web_view_ = new views::WebView(web_contents->GetBrowserContext()); in Init()
34 views::Widget* widget = new views::Widget; in Init()
39 views::Widget::InitParams params; in Init()
46 params.type = views::Widget::InitParams::TYPE_CONTROL; in Init()
48 params.opacity = views::Widget::InitParams::WindowOpacity::kOpaque; in Init()
53 params.activatable = views::Widget::InitParams::Activatable::kYes; in Init()
70 SetBackground(views::CreateSolidBackground(background_color_)); in InitContent()
71 SetLayoutManager(std::make_unique<views::FillLayout>()); in InitContent()
76 const views::ViewHierarchyChangedDetails& details) { in ViewHierarchyChanged()
82 views::WidgetDelegateView::OnBoundsChanged(previous_bounds); in OnBoundsChanged()
/third_party/cef/patch/patches/
Dviews_widget.patch50 // the list of registered views, i.e., TextInputManager is no longer tracking
168 diff --git ui/views/widget/desktop_aura/desktop_screen_win.cc ui/views/widget/desktop_aura/desktop_…
170 --- ui/views/widget/desktop_aura/desktop_screen_win.cc
171 +++ ui/views/widget/desktop_aura/desktop_screen_win.cc
181 diff --git ui/views/widget/desktop_aura/desktop_window_tree_host_linux.cc ui/views/widget/desktop_a…
183 --- ui/views/widget/desktop_aura/desktop_window_tree_host_linux.cc
184 +++ ui/views/widget/desktop_aura/desktop_window_tree_host_linux.cc
213 diff --git ui/views/widget/desktop_aura/desktop_window_tree_host_linux.h ui/views/widget/desktop_au…
215 --- ui/views/widget/desktop_aura/desktop_window_tree_host_linux.h
216 +++ ui/views/widget/desktop_aura/desktop_window_tree_host_linux.h
[all …]
Dchrome_runtime_views.patch33 diff --git chrome/browser/ui/views/frame/browser_frame.cc chrome/browser/ui/views/frame/browser_fra…
35 --- chrome/browser/ui/views/frame/browser_frame.cc
36 +++ chrome/browser/ui/views/frame/browser_frame.cc
117 diff --git chrome/browser/ui/views/frame/browser_frame.h chrome/browser/ui/views/frame/browser_fram…
119 --- chrome/browser/ui/views/frame/browser_frame.h
120 +++ chrome/browser/ui/views/frame/browser_frame.h
123 class BrowserFrame : public views::Widget, public views::ContextMenuController {
131 diff --git chrome/browser/ui/views/frame/browser_view.cc chrome/browser/ui/views/frame/browser_view…
133 --- chrome/browser/ui/views/frame/browser_view.cc
134 +++ chrome/browser/ui/views/frame/browser_view.cc
[all …]
Dviews_1749_2102.patch108 diff --git ui/views/animation/ink_drop_host_view.h ui/views/animation/ink_drop_host_view.h
110 --- ui/views/animation/ink_drop_host_view.h
111 +++ ui/views/animation/ink_drop_host_view.h
121 diff --git ui/views/controls/button/label_button.cc ui/views/controls/button/label_button.cc
123 --- ui/views/controls/button/label_button.cc
124 +++ ui/views/controls/button/label_button.cc
138 diff --git ui/views/controls/button/label_button.h ui/views/controls/button/label_button.h
140 --- ui/views/controls/button/label_button.h
141 +++ ui/views/controls/button/label_button.h
152 diff --git ui/views/controls/label.cc ui/views/controls/label.cc
[all …]
Dchrome_browser_profile_menu.patch16 diff --git chrome/browser/ui/views/profiles/incognito_menu_view.cc chrome/browser/ui/views/profiles…
18 --- chrome/browser/ui/views/profiles/incognito_menu_view.cc
19 +++ chrome/browser/ui/views/profiles/incognito_menu_view.cc
21 IncognitoMenuView::IncognitoMenuView(views::Button* anchor_button,
31 diff --git chrome/browser/ui/views/profiles/profile_menu_view_base.cc chrome/browser/ui/views/profi…
33 --- chrome/browser/ui/views/profiles/profile_menu_view_base.cc
34 +++ chrome/browser/ui/views/profiles/profile_menu_view_base.cc
Dset_resize_background_color.patch1 diff --git ui/views/controls/webview/webview.cc ui/views/controls/webview/webview.cc
3 --- ui/views/controls/webview/webview.cc
4 +++ ui/views/controls/webview/webview.cc
16 diff --git ui/views/controls/webview/webview.h ui/views/controls/webview/webview.h
18 --- ui/views/controls/webview/webview.h
19 +++ ui/views/controls/webview/webview.h
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_meta_blit.c37 struct pan_image_view views[2] = { in panvk_meta_blit() local
73 views[0].format = blitinfo->dst.planes[0].image->layout.format; in panvk_meta_blit()
74 fbinfo->zs.view.zs = &views[0]; in panvk_meta_blit()
78 fbinfo->zs.view.s = &views[0]; in panvk_meta_blit()
82 fbinfo->rts[0].view = &views[0]; in panvk_meta_blit()
90 views[1].format = blitinfo->dst.planes[1].format; in panvk_meta_blit()
91 views[1].dim = MALI_TEXTURE_DIMENSION_2D; in panvk_meta_blit()
92 views[1].image = blitinfo->dst.planes[1].image; in panvk_meta_blit()
93 views[1].nr_samples = blitinfo->dst.planes[1].image->layout.nr_samples; in panvk_meta_blit()
94 views[1].first_level = blitinfo->dst.level; in panvk_meta_blit()
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_sampler.c124 struct pipe_sampler_view **views) in llvmpipe_set_sampler_views() argument
140 if (views && views[i]) in llvmpipe_set_sampler_views()
141 view = views[i]; in llvmpipe_set_sampler_views()
277 struct pipe_sampler_view **views, in prepare_shader_sampling() argument
292 struct pipe_sampler_view *view = i < num ? views[i] : NULL; in prepare_shader_sampling()
381 struct pipe_sampler_view **views) in llvmpipe_prepare_vertex_sampling() argument
383 prepare_shader_sampling(lp, num, views, PIPE_SHADER_VERTEX); in llvmpipe_prepare_vertex_sampling()
393 struct pipe_sampler_view **views) in llvmpipe_prepare_geometry_sampling() argument
395 prepare_shader_sampling(lp, num, views, PIPE_SHADER_GEOMETRY); in llvmpipe_prepare_geometry_sampling()
404 struct pipe_sampler_view **views) in llvmpipe_prepare_tess_ctrl_sampling() argument
[all …]
Dlp_state.h164 struct pipe_sampler_view **views);
169 struct pipe_sampler_view **views);
174 struct pipe_sampler_view **views);
179 struct pipe_sampler_view **views);
187 struct pipe_image_view *views);
192 struct pipe_image_view *views);
197 struct pipe_image_view *views);
202 struct pipe_image_view *views);
/third_party/skia/src/gpu/
DGrYUVATextureProxies.cpp70 GrSurfaceProxyView views[SkYUVAInfo::kMaxPlanes], in GrYUVATextureProxies()
84 num_channels(views[i].proxy()->backendFormat().channelMask())); in GrYUVATextureProxies()
85 if (!views[i] || views[i].origin() != views[0].origin()) { in GrYUVATextureProxies()
90 if (views[i].proxy()->asTextureProxy()->mipmapped() == GrMipmapped::kNo) { in GrYUVATextureProxies()
107 switch (views[plane].swizzle()[chanAsIdx]) { in GrYUVATextureProxies()
114 SkDEBUGFAILF("Unexpected swizzle value: %c", views[i].swizzle()[chanAsIdx]); in GrYUVATextureProxies()
122 fProxies[i] = views[i].detachProxy(); in GrYUVATextureProxies()
124 fTextureOrigin = views[0].origin(); in GrYUVATextureProxies()
/third_party/flutter/flutter/packages/fuchsia_remote_debug_protocol/test/src/dart/
Ddart_vm_test.dart63 'views': <Map<String, dynamic>>[
106 final List<FlutterView> views = await vm.getAllFlutterViews();
107 expect(views.length, 3);
109 expect(views[0].id, 'flutterView0');
110 expect(views[1].id, 'flutterView1');
111 expect(views[2].id, 'flutterView2');
114 expect(views[0].name, equals(null));
115 expect(views[1].name, 'file://flutterBinary1');
116 expect(views[2].name, 'file://flutterBinary2');
121 'views': <dynamic>[
[all …]
/third_party/skia/src/gpu/effects/
DGrDistanceFieldGeoProc.h63 const GrSurfaceProxyView* views, in Make() argument
71 caps, views, numActiveViews, params, lum, flags, localMatrixIfUsesLocalCoords); in Make()
77 const GrSurfaceProxyView* views, in Make() argument
84 caps, views, numActiveViews, params, flags, localMatrixIfUsesLocalCoords); in Make()
93 void addNewViews(const GrSurfaceProxyView* views, int numViews, GrSamplerState);
103 const GrSurfaceProxyView* views,
143 const GrSurfaceProxyView* views, int numActiveViews, in Make() argument
146 return new (ptr) GrDistanceFieldPathGeoProc(caps, matrix, wideColor, views, in Make()
167 const GrSurfaceProxyView* views,
214 const GrSurfaceProxyView* views, in Make() argument
[all …]
/third_party/flutter/flutter/packages/fuchsia_remote_debug_protocol/test/
Dfuchsia_remote_connection_test.dart54 'views': <Map<String, dynamic>>[
62 'views': <Map<String, dynamic>>[
77 'views': <Map<String, dynamic>>[
138 final List<FlutterView> views = await connection.getFlutterViews();
139 expect(views, isNot(null));
140 expect(views.length, 3);
142 expect(views[0].id, 'flutterView0');
143 expect(views[1].id, 'flutterView1');
144 expect(views[2].id, 'flutterView2');
146 expect(views[0].name, equals(null));
[all …]

12345678910>>...24