/external/chromium_org/remoting/codec/ |
D | video_decoder_vpx.cc | 148 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 …]
|
D | codec_test.cc | 57 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()
|
D | video_decoder.h | 39 virtual void Invalidate(const webrtc::DesktopSize& view_size, 54 virtual void RenderFrame(const webrtc::DesktopSize& view_size,
|
D | video_decoder_verbatim.h | 28 virtual void Invalidate(const webrtc::DesktopSize& view_size, 30 virtual void RenderFrame(const webrtc::DesktopSize& view_size,
|
D | video_decoder_vpx.h | 30 virtual void Invalidate(const webrtc::DesktopSize& view_size, 32 virtual void RenderFrame(const webrtc::DesktopSize& view_size,
|
D | video_decoder_verbatim.cc | 72 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/ |
D | view_model_utils.cc | 27 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()
|
D | view_model_unittest.cc | 18 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/ |
D | rectangle_update_decoder.cc | 46 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 …]
|
D | frame_consumer_proxy.cc | 24 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/ |
D | app_list_linux.cc | 29 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/ |
D | test_browser_plugin_guest.cc | 48 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/ |
D | setting_level_bubble.cc | 111 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/ |
D | target_interceptions.cc | 21 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/ |
D | target_code.cc | 12 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/ |
D | jni_frame_consumer.cc | 45 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/ |
D | apps_grid_view.cc | 456 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 …]
|
D | app_list_main_view_unittest.cc | 77 EXPECT_EQ(kInitialItems, ViewModel()->view_size()); in TEST_F() 86 EXPECT_EQ(kReplacementItems, ViewModel()->view_size()); in TEST_F()
|
/external/chromium_org/ash/shelf/ |
D | shelf_view.cc | 230 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/ |
D | web_contents_video_capture_device.cc | 607 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/ |
D | styled_label.cc | 255 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/ |
D | download_shelf_view.cc | 256 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/ |
D | render_widget_host_impl.cc | 794 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/ |
D | app_list_win.cc | 53 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/ |
D | download_shelf_view.cc | 303 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()
|