Home
last modified time | relevance | path

Searched refs:view_size (Results 1 – 25 of 80) sorted by relevance

1234

/external/chromium_org/remoting/codec/
Dvideo_decoder_vpx.cc148 void VideoDecoderVpx::Invalidate(const webrtc::DesktopSize& view_size, in Invalidate() argument
150 DCHECK(!view_size.is_empty()); in Invalidate()
153 updated_region_.AddRect(ScaleRect(i.rect(), view_size, screen_size_)); in Invalidate()
164 void VideoDecoderVpx::RenderFrame(const webrtc::DesktopSize& view_size, in RenderFrame() argument
170 DCHECK(!view_size.is_empty()); in RenderFrame()
184 (source_clip.width() < view_size.width() || in RenderFrame()
185 source_clip.height() < view_size.height())) { in RenderFrame()
189 ScaleRect(clip_area, view_size, screen_size_); in RenderFrame()
234 rect = ScaleRect(rect, screen_size_, view_size); in RenderFrame()
248 view_size, in RenderFrame()
[all …]
Dcodec_test.cc57 const DesktopSize& view_size) in VideoDecoderTester() argument
59 view_size_(view_size), in VideoDecoderTester()
350 const DesktopSize& view_size, in TestVideoEncoderDecoderGradient() argument
359 new webrtc::BasicDesktopFrame(view_size)); in TestVideoEncoderDecoderGradient()
362 VideoDecoderTester decoder_tester(decoder, screen_size, view_size); in TestVideoEncoderDecoderGradient()
376 webrtc::DesktopSize(view_size.width(), view_size.height()), in TestVideoEncoderDecoderGradient()
378 webrtc::DesktopRect::MakeWH(view_size.width(), view_size.height()))); in TestVideoEncoderDecoderGradient()
Dvideo_decoder.h39 virtual void Invalidate(const webrtc::DesktopSize& view_size,
54 virtual void RenderFrame(const webrtc::DesktopSize& view_size,
Dvideo_decoder_verbatim.h28 virtual void Invalidate(const webrtc::DesktopSize& view_size,
30 virtual void RenderFrame(const webrtc::DesktopSize& view_size,
Dvideo_decoder_vpx.h30 virtual void Invalidate(const webrtc::DesktopSize& view_size,
32 virtual void RenderFrame(const webrtc::DesktopSize& view_size,
Dvideo_decoder_verbatim.cc72 void VideoDecoderVerbatim::Invalidate(const webrtc::DesktopSize& view_size, in Invalidate() argument
77 void VideoDecoderVerbatim::RenderFrame(const webrtc::DesktopSize& view_size, in RenderFrame() argument
/external/chromium_org/ui/views/
Dview_model_utils.cc27 for (int i = 0; i < model.view_size(); ++i) in SetViewBoundsToIdealBounds()
33 for (int i = 0; i < model.view_size(); ++i) { in IsAtIdealBounds()
59 if (current_index + 1 == model.view_size()) in DetermineMoveIndex()
70 for (int i = current_index + 1; i < model.view_size(); ++i) { in DetermineMoveIndex()
79 return model.view_size() - 1; in DetermineMoveIndex()
Dview_model_unittest.cc18 for (int i = 0; i < model.view_size(); ++i) { in BoundsString()
29 for (int i = 0; i < model.view_size(); ++i) { in ViewIDsString()
43 EXPECT_EQ(1, model.view_size()); in TEST()
/external/chromium_org/remoting/client/
Drectangle_update_decoder.cc46 virtual void Invalidate(const webrtc::DesktopSize& view_size, in Invalidate() argument
48 return parent_->Invalidate(view_size, region); in Invalidate()
51 virtual void RenderFrame(const webrtc::DesktopSize& view_size, in RenderFrame() argument
56 parent_->RenderFrame(view_size, clip_area, image_buffer, image_stride, in RenderFrame()
246 const webrtc::DesktopSize& view_size, in SetOutputSizeAndClip() argument
251 this, view_size, clip_area)); in SetOutputSizeAndClip()
256 if (!view_size_.equals(view_size) && decoder_.get()) { in SetOutputSizeAndClip()
258 region.AddRect(webrtc::DesktopRect::MakeSize(view_size)); in SetOutputSizeAndClip()
259 decoder_->Invalidate(view_size, region); in SetOutputSizeAndClip()
262 if (!view_size_.equals(view_size) || in SetOutputSizeAndClip()
[all …]
Dframe_consumer_proxy.cc24 void FrameConsumerProxy::ApplyBuffer(const webrtc::DesktopSize& view_size, in ApplyBuffer() argument
31 view_size, clip_area, buffer, region)); in ApplyBuffer()
36 frame_consumer_->ApplyBuffer(view_size, clip_area, buffer, region); in ApplyBuffer()
/external/chromium_org/chrome/browser/ui/views/app_list/linux/
Dapp_list_linux.cc29 gfx::Point AppListLinux::FindAnchorPoint(const gfx::Size& view_size, in FindAnchorPoint() argument
33 AppListPositioner positioner(display, view_size, 0); in FindAnchorPoint()
47 ? view_size.height() in FindAnchorPoint()
48 : view_size.width(); in FindAnchorPoint()
/external/chromium_org/content/browser/browser_plugin/
Dtest_browser_plugin_guest.cc48 last_view_size_observed_ = params.view_size; in SendMessageToEmbedder()
50 expected_auto_view_size_ == params.view_size) { in SendMessageToEmbedder()
173 void TestBrowserPluginGuest::WaitForViewSize(const gfx::Size& view_size) { in WaitForViewSize() argument
174 if (last_view_size_observed_ == view_size) { in WaitForViewSize()
179 expected_auto_view_size_ = view_size; in WaitForViewSize()
/external/chromium/chrome/browser/chromeos/
Dsetting_level_bubble.cc111 const gfx::Size view_size = view_->GetPreferredSize(); in ShowBubble() local
113 const int x = view_size.width() / 2 + in ShowBubble()
114 kBubbleXRatio * (bounds.width() - view_size.width()); in ShowBubble()
115 const int y = bounds.height() - view_size.height() / 2 - kBubbleBottomGap; in ShowBubble()
/external/chromium_org/sandbox/win/src/
Dtarget_interceptions.cc21 PLARGE_INTEGER offset, PSIZE_T view_size, SECTION_INHERIT inherit, in TargetNtMapViewOfSection() argument
24 commit_size, offset, view_size, inherit, in TargetNtMapViewOfSection()
43 if (!IsValidImageSection(section, base, offset, view_size)) in TargetNtMapViewOfSection()
/external/chromium_org/sandbox/win/wow_helper/
Dtarget_code.cc12 SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size, in TargetNtMapViewOfSection() argument
16 offset, view_size, inherit, in TargetNtMapViewOfSection()
/external/chromium_org/remoting/client/jni/
Djni_frame_consumer.cc45 void JniFrameConsumer::ApplyBuffer(const webrtc::DesktopSize& view_size, in ApplyBuffer() argument
51 if (!view_size_.equals(view_size)) { in ApplyBuffer()
66 webrtc::DesktopRect buffer_rect = webrtc::DesktopRect::MakeSize(view_size); in ApplyBuffer()
/external/chromium_org/ui/app_list/views/
Dapps_grid_view.cc456 if (drag_view_ || pulsing_blocks_model_.view_size()) in InitiateDrag()
673 int end = std::min(view_model_.view_size(), in Prerender()
714 for (int i = 0; i < view_model_.view_size(); ++i) { in Layout()
809 if (view_model_.view_size() && tiles_per_page()) in UpdatePaging()
810 total_page += (view_model_.view_size() - 1) / tiles_per_page() + 1; in UpdatePaging()
822 if (pulsing_blocks_model_.view_size() == desired) in UpdatePulsingBlockViews()
825 while (pulsing_blocks_model_.view_size() > desired) { in UpdatePulsingBlockViews()
831 while (pulsing_blocks_model_.view_size() < desired) { in UpdatePulsingBlockViews()
894 GetModelIndexFromIndex(index) < view_model_.view_size(); in IsValidIndex()
945 int last_item_slot = (view_model_.view_size() - 1) % tiles_per_page(); in MoveSelected()
[all …]
Dapp_list_main_view_unittest.cc77 EXPECT_EQ(kInitialItems, ViewModel()->view_size()); in TEST_F()
86 EXPECT_EQ(kReplacementItems, ViewModel()->view_size()); in TEST_F()
/external/chromium_org/ash/shelf/
Dshelf_view.cc230 index = view_model_->view_size() - 1; in FindNextFocusableView()
233 if (index >= view_model_->view_size()) in FindNextFocusableView()
425 for (int i=0; i < view_model_->view_size(); ++i) { in OnShelfAlignmentChanged()
450 for (int i = 0; i < view_model_->view_size(); ++i) { in SchedulePaintForAllButtons()
492 while (target_index < view_model_->view_size() - 1 && in UpdatePanelIconPosition()
691 DCHECK_LT(last_visible_index_, view_model_->view_size()); in UpdateAllButtonsVisibilityInOverflowMode()
692 for (int i = 0; i < view_model_->view_size(); ++i) { in UpdateAllButtonsVisibilityInOverflowMode()
710 DCHECK(model_->item_count() == view_model_->view_size()); in CalculateIdealBounds()
729 for (int i = 0; i < view_model_->view_size(); ++i) { in CalculateIdealBounds()
750 if (view_model_->view_size() > 0) { in CalculateIdealBounds()
[all …]
/external/chromium_org/content/browser/renderer_host/media/
Dweb_contents_video_capture_device.cc607 gfx::Size view_size = view->GetViewBounds().size(); in Capture() local
609 if (!view_size.IsEmpty()) { in Capture()
610 fitted_size = ComputeYV12LetterboxRegion(video_size, view_size).size(); in Capture()
612 if (view_size != last_view_size_) { in Capture()
613 last_view_size_ = view_size; in Capture()
618 view_size.width() * view_size.height() / 1024); in Capture()
630 gfx::Rect(view_size), in Capture()
/external/chromium_org/ui/views/controls/
Dstyled_label.cc255 const gfx::Size view_size = label->GetPreferredSize(); in CalculateAndDoLayout() local
256 DCHECK_EQ(line_height, view_size.height() - 2 * overlap); in CalculateAndDoLayout()
261 view_size)); in CalculateAndDoLayout()
264 x += view_size.width() - 2 * overlap; in CalculateAndDoLayout()
/external/chromium_org/chrome/browser/ui/views/download/
Ddownload_shelf_view.cc256 gfx::Size view_size = (*ri)->GetPreferredSize(); in Layout() local
261 int item_width = view_size.width(); in Layout()
263 item_width = static_cast<int>(static_cast<double>(view_size.width()) * in Layout()
272 (*ri)->SetBounds(x, CenterPosition(view_size.height(), height()), in Layout()
273 item_width, view_size.height()); in Layout()
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_impl.cc794 gfx::Size view_size = current_size_; in GetBackingStore() local
800 view_size = view_rect.size(); in GetBackingStore()
804 "width", base::IntToString(view_size.width()), in GetBackingStore()
805 "height", base::IntToString(view_size.height())); in GetBackingStore()
822 if (TryGetBackingStore(view_size, &backing_store) || !force_create) in GetBackingStore()
832 Send(new ViewMsg_Repaint(routing_id_, view_size)); in GetBackingStore()
854 view_size = current_size_; in GetBackingStore()
858 if (TryGetBackingStore(view_size, &backing_store) || in GetBackingStore()
877 if (view_size != current_size_) in GetBackingStore()
1547 current_size_ = params.view_size; in OnUpdateRect()
[all …]
/external/chromium_org/chrome/browser/ui/views/app_list/win/
Dapp_list_win.cc53 gfx::Point AppListWin::FindAnchorPoint(const gfx::Size& view_size, in FindAnchorPoint() argument
57 AppListPositioner positioner(display, view_size, kMinDistanceFromEdge); in FindAnchorPoint()
/external/chromium/chrome/browser/ui/views/download/
Ddownload_shelf_view.cc303 gfx::Size view_size = (*ri)->GetPreferredSize(); in Layout() local
308 int item_width = view_size.width(); in Layout()
310 item_width = static_cast<int>(static_cast<double>(view_size.width()) * in Layout()
319 (*ri)->SetBounds(x, CenterPosition(view_size.height(), height()), in Layout()
320 item_width, view_size.height()); in Layout()

1234