Searched defs:view_size (Results 1 - 20 of 20) sorted by path

/external/chromium_org/ash/system/audio/
H A Dvolume_view.cc264 gfx::Size view_size = view_left_to_more->GetPreferredSize(); local
265 gfx::Rect view_bounds(view_size);
266 view_bounds.set_x(more_->bounds().x() - view_size.width() -
268 view_bounds.set_y((height() - view_size.height()) / 2);
/external/chromium_org/chrome/browser/ui/views/app_list/linux/
H A Dapp_list_linux.cc53 gfx::Point AppListLinux::FindAnchorPoint(const gfx::Size& view_size, argument
58 AppListPositioner positioner(display, view_size, 0);
76 ? view_size.height()
77 : view_size.width();
/external/chromium_org/chrome/browser/ui/views/app_list/win/
H A Dapp_list_win.cc46 gfx::Point AppListWin::FindAnchorPoint(const gfx::Size& view_size, argument
51 AppListPositioner positioner(display, view_size, kMinDistanceFromEdge);
/external/chromium_org/chrome/browser/ui/views/download/
H A Ddownload_shelf_view.cc260 gfx::Size view_size = (*ri)->GetPreferredSize(); local
265 int item_width = view_size.width();
267 item_width = static_cast<int>(static_cast<double>(view_size.width()) *
276 (*ri)->SetBounds(x, CenterPosition(view_size.height(), height()),
277 item_width, view_size.height());
/external/chromium_org/chrome_elf/blacklist/
H A Dblacklist_interceptions.cc91 PSIZE_T view_size) {
94 if (!section || !base || !view_size || offset)
180 PSIZE_T view_size,
185 commit_size, offset, view_size, inherit,
189 !IsModuleValidImageSection(section, base, offset, view_size)) {
249 PSIZE_T view_size,
258 view_size, inherit, allocation_type,
269 SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size,
272 base, zero_bits, commit_size, offset, view_size,
88 IsModuleValidImageSection(HANDLE section, PVOID *base, PLARGE_INTEGER offset, PSIZE_T view_size) argument
172 BlNtMapViewOfSectionImpl( NtMapViewOfSectionFunction orig_MapViewOfSection, HANDLE section, HANDLE process, PVOID *base, ULONG_PTR zero_bits, SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size, SECTION_INHERIT inherit, ULONG allocation_type, ULONG protect) argument
241 BlNtMapViewOfSection( NtMapViewOfSectionFunction orig_MapViewOfSection, HANDLE section, HANDLE process, PVOID *base, ULONG_PTR zero_bits, SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size, SECTION_INHERIT inherit, ULONG allocation_type, ULONG protect) argument
267 BlNtMapViewOfSection64( HANDLE section, HANDLE process, PVOID *base, ULONG_PTR zero_bits, SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size, SECTION_INHERIT inherit, ULONG allocation_type, ULONG protect) argument
/external/chromium_org/content/browser/media/capture/
H A Dweb_contents_video_capture_device.cc620 gfx::Size view_size = view->GetViewBounds().size(); local
622 if (!view_size.IsEmpty()) {
623 fitted_size = ComputeYV12LetterboxRegion(video_size, view_size).size();
625 if (view_size != last_view_size_) {
626 last_view_size_ = view_size;
631 view_size.width() * view_size.height() / 1024);
636 gfx::Rect(view_size),
/external/chromium_org/content/renderer/browser_plugin/
H A Dbrowser_plugin.cc143 gfx::Size view_size(width(), height());
144 if (!view_size.IsEmpty()) {
145 PopulateResizeGuestParameters(view_size,
462 const gfx::Size& view_size,
464 params->view_size = view_size;
461 PopulateResizeGuestParameters( const gfx::Size& view_size, BrowserPluginHostMsg_ResizeGuest_Params* params) argument
/external/chromium_org/remoting/client/
H A Dframe_consumer_proxy.cc24 void FrameConsumerProxy::ApplyBuffer(const webrtc::DesktopSize& view_size, argument
32 view_size, clip_area, buffer, region, shape));
37 frame_consumer_->ApplyBuffer(view_size, clip_area, buffer, region, shape);
H A Dsoftware_video_renderer.cc50 virtual void Invalidate(const webrtc::DesktopSize& view_size,
52 return parent_->Invalidate(view_size, region);
55 virtual void RenderFrame(const webrtc::DesktopSize& view_size,
60 parent_->RenderFrame(view_size, clip_area, image_buffer, image_stride,
93 const webrtc::DesktopSize& view_size,
286 const webrtc::DesktopSize& view_size,
291 if (!view_size_.equals(view_size) && decoder_.get()) {
293 region.AddRect(webrtc::DesktopRect::MakeSize(view_size));
294 decoder_->Invalidate(view_size, region);
297 if (!view_size_.equals(view_size) ||
285 SetOutputSizeAndClip( const webrtc::DesktopSize& view_size, const webrtc::DesktopRect& clip_area) argument
409 SetOutputSizeAndClip( const webrtc::DesktopSize& view_size, const webrtc::DesktopRect& clip_area) argument
[all...]
/external/chromium_org/remoting/client/jni/
H A Djni_frame_consumer.cc45 void JniFrameConsumer::ApplyBuffer(const webrtc::DesktopSize& view_size, argument
68 webrtc::DesktopRect buffer_rect = webrtc::DesktopRect::MakeSize(view_size);
/external/chromium_org/remoting/client/plugin/
H A Dpepper_view.cc169 void PepperView::ApplyBuffer(const webrtc::DesktopSize& view_size, argument
185 if (!view_size_.equals(view_size)) {
/external/chromium_org/remoting/codec/
H A Dcodec_test.cc59 const DesktopSize& view_size)
61 view_size_(view_size),
352 const DesktopSize& view_size,
361 new BasicDesktopFrame(view_size));
364 VideoDecoderTester decoder_tester(decoder, screen_size, view_size);
378 DesktopSize(view_size.width(), view_size.height()),
380 DesktopRect::MakeWH(view_size.width(), view_size.height())));
57 VideoDecoderTester(VideoDecoder* decoder, const DesktopSize& screen_size, const DesktopSize& view_size) argument
349 TestVideoEncoderDecoderGradient(VideoEncoder* encoder, VideoDecoder* decoder, const DesktopSize& screen_size, const DesktopSize& view_size, double max_error_limit, double mean_error_limit) argument
H A Dvideo_decoder_verbatim.cc72 void VideoDecoderVerbatim::Invalidate(const webrtc::DesktopSize& view_size, argument
77 void VideoDecoderVerbatim::RenderFrame(const webrtc::DesktopSize& view_size, argument
H A Dvideo_decoder_vpx.cc150 void VideoDecoderVpx::Invalidate(const webrtc::DesktopSize& view_size, argument
152 DCHECK(!view_size.is_empty());
155 updated_region_.AddRect(ScaleRect(i.rect(), view_size, screen_size_));
166 void VideoDecoderVpx::RenderFrame(const webrtc::DesktopSize& view_size, argument
172 DCHECK(!view_size.is_empty());
185 if (view_size.equals(screen_size_)) {
222 (source_clip.width() < view_size.width() ||
223 source_clip.height() < view_size.height())) {
227 ScaleRect(clip_area, view_size, screen_size_);
273 rect = ScaleRect(rect, screen_size_, view_size);
[all...]
/external/chromium_org/sandbox/win/src/
H A Dinterceptors_64.cc26 SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size,
32 commit_size, offset, view_size, inherit,
24 TargetNtMapViewOfSection64( HANDLE section, HANDLE process, PVOID *base, ULONG_PTR zero_bits, SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size, SECTION_INHERIT inherit, ULONG allocation_type, ULONG protect) argument
H A Dsandbox_nt_util.cc303 PSIZE_T view_size) {
304 if (!section || !base || !view_size || offset)
302 IsValidImageSection(HANDLE section, PVOID *base, PLARGE_INTEGER offset, PSIZE_T view_size) argument
H A Dtarget_interceptions.cc21 PLARGE_INTEGER offset, PSIZE_T view_size, SECTION_INHERIT inherit,
24 commit_size, offset, view_size, inherit,
43 if (!IsValidImageSection(section, base, offset, view_size))
18 TargetNtMapViewOfSection( NtMapViewOfSectionFunction orig_MapViewOfSection, HANDLE section, HANDLE process, PVOID *base, ULONG_PTR zero_bits, SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size, SECTION_INHERIT inherit, ULONG allocation_type, ULONG protect) argument
/external/chromium_org/sandbox/win/wow_helper/
H A Dtarget_code.cc12 SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size,
16 offset, view_size, inherit,
10 TargetNtMapViewOfSection( PatchInfo *patch_info, HANDLE process, PVOID *base, ULONG_PTR zero_bits, SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size, SECTION_INHERIT inherit, ULONG allocation_type, ULONG protect) argument
/external/chromium_org/ui/views/controls/
H A Dstyled_label.cc304 const gfx::Size view_size = label->GetPreferredSize(); local
310 view_size));
313 x += view_size.width() - focus_border_insets.width();
/external/chromium_org/ui/views/
H A Dview_model.h48 int view_size() const { return static_cast<int>(entries_.size()); } function in class:views::ViewModel

Completed in 6067 milliseconds