Home
last modified time | relevance | path

Searched refs:frame_ (Results 1 – 25 of 118) sorted by relevance

12345

/external/chromium_org/third_party/webrtc/modules/utility/source/
Daudio_frame_operations_unittest.cc23 frame_.samples_per_channel_ = 320; in AudioFrameOperationsTest()
24 frame_.num_channels_ = 2; in AudioFrameOperationsTest()
27 AudioFrame frame_; member in webrtc::__anon23c60a8e0111::AudioFrameOperationsTest
55 EXPECT_EQ(-1, AudioFrameOperations::MonoToStereo(&frame_)); in TEST_F()
57 frame_.samples_per_channel_ = AudioFrame::kMaxDataSizeSamples; in TEST_F()
58 frame_.num_channels_ = 1; in TEST_F()
59 EXPECT_EQ(-1, AudioFrameOperations::MonoToStereo(&frame_)); in TEST_F()
63 frame_.num_channels_ = 1; in TEST_F()
64 SetFrameData(&frame_, 1); in TEST_F()
66 temp_frame.CopyFrom(frame_); in TEST_F()
[all …]
/external/chromium_org/net/tools/balsa/
Dbalsa_frame_test.cc62 frame_.reset(new BalsaFrame); in SetUp()
65 frame_->set_balsa_visitor(visitor_.get()); in SetUp()
69 scoped_ptr<BalsaFrame> frame_; member in net::__anon3bb1636a0111::BalsaFrameTest
76 frame_->ParseState()); in TEST_F()
77 ASSERT_FALSE(frame_->MessageFullyRead()); in TEST_F()
78 ASSERT_FALSE(frame_->Error()); in TEST_F()
79 ASSERT_EQ(NULL, frame_->const_balsa_headers()); in TEST_F()
80 ASSERT_EQ(NULL, frame_->balsa_headers()); in TEST_F()
81 ASSERT_EQ(NULL, frame_->headers()); in TEST_F()
82 ASSERT_EQ(NULL, frame_->mutable_headers()); in TEST_F()
[all …]
/external/webrtc/src/modules/audio_processing/test/
Dunit_test.cc68 webrtc::AudioFrame* frame_; member in __anonbd7223bc0111::ApmTest
83 frame_(NULL), in ApmTest()
92 frame_ = new AudioFrame(); in SetUp()
99 frame_->_payloadDataLengthInSamples = 320; in SetUp()
100 frame_->_audioChannel = 2; in SetUp()
101 frame_->_frequencyInHz = 32000; in SetUp()
117 if (frame_) { in TearDown()
118 delete frame_; in TearDown()
120 frame_ = NULL; in TearDown()
353 apm_->ProcessStream(frame_)); in TEST_F()
[all …]
/external/chromium_org/third_party/webrtc/test/
Dframe_generator.cc31 frame_.CreateEmptyFrame(static_cast<int>(width_), in NextFrame()
40 memset(frame_.buffer(kYPlane), 0x80, frame_.allocated_size(kYPlane)); in NextFrame()
41 memset(frame_.buffer(kUPlane), u, frame_.allocated_size(kUPlane)); in NextFrame()
42 memset(frame_.buffer(kVPlane), v, frame_.allocated_size(kVPlane)); in NextFrame()
43 return &frame_; in NextFrame()
50 I420VideoFrame frame_; member in webrtc::test::__anon78c096e50111::ChromaGenerator
77 frame_.CreateEmptyFrame(static_cast<int>(width_), in NextFrame()
91 &frame_); in NextFrame()
92 return &frame_; in NextFrame()
101 I420VideoFrame frame_; member in webrtc::test::__anon78c096e50111::YuvFileGenerator
/external/chromium_org/ui/views/window/
Dcustom_frame_view.cc86 : frame_(NULL), in CustomFrameView()
101 frame_ = frame; in Init()
112 if (frame_->widget_delegate()->ShouldShowWindowIcon()) { in Init()
140 int frame_component = frame_->client_view()->NonClientHitTest(point); in NonClientHitTest()
147 if (frame_->IsMaximized()) in NonClientHitTest()
170 frame_->widget_delegate()->CanResize()); in NonClientHitTest()
178 if (frame_->IsMaximized() || !ShouldShowTitleBarAndBorder()) in GetWindowMask()
197 if (frame_->widget_delegate()->ShouldShowWindowTitle()) in UpdateWindowTitle()
213 if (frame_->IsMaximized()) in OnPaint()
232 return frame_->non_client_view()->GetWindowBoundsForClientBounds( in GetPreferredSize()
[all …]
Dnative_frame_view.cc24 frame_(frame) { in NativeFrameView()
53 return frame_->client_view()->NonClientHitTest(point); in NonClientHitTest()
78 gfx::Size client_preferred_size = frame_->client_view()->GetPreferredSize(); in GetPreferredSize()
86 return frame_->non_client_view()->GetWindowBoundsForClientBounds( in GetPreferredSize()
92 return frame_->client_view()->GetMinimumSize(); in GetMinimumSize()
96 return frame_->client_view()->GetMaximumSize(); in GetMaximumSize()
/external/chromium_org/content/renderer/
Drender_frame_impl.cc433 : frame_(NULL), in RenderFrameImpl()
497 DCHECK(!frame_); in SetWebFrame()
503 frame_ = web_frame; in SetWebFrame()
512 if (!frame_->parent()) in Initialize()
716 if (frame_->parent() == NULL && in Send()
747 if (!frame_->document().isNull()) in OnMessageReceived()
748 GetContentClient()->SetActiveURL(frame_->document().url()); in OnMessageReceived()
872 WebFrame* frame = frame_; in OnNavigate()
1014 CHECK(!frame_->parent()); in OnBeforeUnload()
1017 bool proceed = frame_->dispatchBeforeUnloadEvent(); in OnBeforeUnload()
[all …]
/external/chromium_org/third_party/webrtc/modules/audio_processing/test/
Daudio_processing_unittest.cc328 AudioFrame* frame_; member in webrtc::__anon5da67b260111::ApmTest
347 frame_(NULL), in ApmTest()
362 frame_ = new AudioFrame(); in SetUp()
373 if (frame_) { in TearDown()
374 delete frame_; in TearDown()
376 frame_ = NULL; in TearDown()
401 ap->Initialize(frame_->sample_rate_hz_, in Init()
404 LayoutFromChannels(frame_->num_channels_), in Init()
416 SetContainerFormat(sample_rate_hz, num_input_channels, frame_, &float_cb_); in Init()
494 if (!ReadFrame(near_file_, frame_, cb)) { in ReadFrameWithRewind()
[all …]
/external/chromium_org/media/filters/
Dskcanvas_video_renderer.cc211 VideoImageGenerator(const scoped_refptr<VideoFrame>& frame) : frame_(frame) {} in VideoImageGenerator()
214 void set_frame(const scoped_refptr<VideoFrame>& frame) { frame_ = frame; } in set_frame()
218 info->fWidth = frame_->visible_rect().width(); in onGetInfo()
219 info->fHeight = frame_->visible_rect().height(); in onGetInfo()
230 if (!frame_.get()) in onGetPixels()
235 ConvertVideoFrameToRGBPixels(frame_, pixels, row_bytes); in onGetPixels()
236 frame_ = NULL; in onGetPixels()
244 if (!frame_.get() || !IsYUV(frame_->format())) in onGetYUV8Planes()
248 if (IsJPEGColorSpace(frame_->format())) in onGetYUV8Planes()
259 VideoFrame::PlaneSize(frame_->format(), in onGetYUV8Planes()
[all …]
/external/chromium_org/cc/layers/
Ddelegated_frame_provider.cc26 TransferableResource::ReturnResources(frame_->resource_list, &returned); in ~DelegatedFrameProvider()
38 DCHECK(frame_) << "Must have a frame when given to a DelegatedRendererLayer."; in AddObserver()
58 if (frame_) { in SetFrameData()
60 TransferableResource::ReturnResources(frame_->resource_list, &returned); in SetFrameData()
64 frame_ = frame.Pass(); in SetFrameData()
66 resource_collection_->ReceivedResources(frame_->resource_list); in SetFrameData()
67 resource_collection_->RefResources(frame_->resource_list); in SetFrameData()
69 RenderPass* root_pass = frame_->render_pass_list.back(); in SetFrameData()
96 resource_collection_->RefResources(frame_->resource_list); in GetFrameDataAndRefResources()
97 return frame_.get(); in GetFrameDataAndRefResources()
/external/chromium_org/athena/activity/
Dactivity_frame_view.cc49 : frame_(frame), in ActivityFrameView()
85 int client_hit_test = frame_->client_view()->NonClientHitTest(point); in NonClientHitTest()
115 title_->SetText(frame_->widget_delegate()->GetWindowTitle()); in UpdateWindowTitle()
123 gfx::Size pref = frame_->client_view()->GetPreferredSize(); in GetPreferredSize()
125 return frame_->non_client_view() in GetPreferredSize()
135 if (frame_->IsFullscreen() || !view_model_->UsesFrame()) { in Layout()
176 frame_->client_view()->InvalidateLayout(); in OnOverviewModeEnter()
177 frame_->GetRootView()->Layout(); in OnOverviewModeEnter()
184 frame_->client_view()->InvalidateLayout(); in OnOverviewModeExit()
185 frame_->GetRootView()->Layout(); in OnOverviewModeExit()
[all …]
/external/chromium_org/chrome/browser/resources/gaia_auth_host/
Dgaia_auth_host.js103 this.frame_ = typeof container == 'string' ? $(container) : container;
104 assert(this.frame_);
185 return this.frame_;
261 this.frame_.src = url;
271 this.frame_.src = this.reloadUrl_;
285 this.frame_.contentWindow.postMessage(msg, AUTH_URL_BASE);
300 this.frame_.contentWindow.postMessage(msg, AUTH_URL_BASE);
321 return this.frame_.src &&
322 this.frame_.src.indexOf(e.origin) == 0 &&
323 e.source == this.frame_.contentWindow;
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/test/
Di420_video_source.h33 frame_(0), in I420VideoSource()
58 frame_ = start_; in Begin()
63 ++frame_; in Next()
67 virtual vpx_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img()
70 virtual vpx_codec_pts_t pts() const { return frame_; } in pts()
79 virtual unsigned int frame() const { return frame_; } in frame()
98 limit_ = frame_; in FillFrame()
109 unsigned int frame_; variable
Dy4m_video_source.h30 frame_(0), in Y4mVideoSource()
53 frame_ = 0; in ReadSourceToStart()
66 ++frame_; in Next()
71 return (frame_ < limit_) ? img_.get() : NULL; in img()
75 virtual vpx_codec_pts_t pts() const { return frame_; } in pts()
84 virtual unsigned int frame() const { return frame_; } in frame()
109 unsigned int frame_; variable
Dvideo_source.h144 frame_ = 0; in Begin()
149 ++frame_; in Next()
154 return (frame_ < limit_) ? img_ : NULL; in img()
158 virtual vpx_codec_pts_t pts() const { return frame_; } in pts()
167 virtual unsigned int frame() const { return frame_; } in frame()
191 unsigned int frame_; variable
206 frame_ = 0; in Begin()
215 if (frame_ % 30 < 15) in FillFrame()
/external/libvpx/libvpx/test/
Di420_video_source.h33 frame_(0), in I420VideoSource()
58 frame_ = start_; in Begin()
63 ++frame_; in Next()
67 virtual vpx_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img()
70 virtual vpx_codec_pts_t pts() const { return frame_; } in pts()
79 virtual unsigned int frame() const { return frame_; } in frame()
98 limit_ = frame_; in FillFrame()
109 unsigned int frame_; variable
Dy4m_video_source.h30 frame_(0), in Y4mVideoSource()
51 frame_ = 0; in Begin()
60 ++frame_; in Next()
65 return (frame_ < limit_) ? img_.get() : NULL; in img()
69 virtual vpx_codec_pts_t pts() const { return frame_; } in pts()
78 virtual unsigned int frame() const { return frame_; } in frame()
103 unsigned int frame_; variable
Dvideo_source.h94 frame_ = 0; in Begin()
99 ++frame_; in Next()
104 return (frame_ < limit_) ? img_ : NULL; in img()
108 virtual vpx_codec_pts_t pts() const { return frame_; } in pts()
117 virtual unsigned int frame() const { return frame_; } in frame()
137 unsigned int frame_; variable
152 frame_ = 0; in Begin()
160 if (frame_ % 30 < 15) in FillFrame()
/external/chromium_org/chrome/browser/ui/views/autofill/
Dinfo_bubble.cc57 frame_(NULL), in InfoBubble()
93 frame_->bubble_border()->set_arrow(arrow()); in Show()
122 DCHECK(!frame_); in CreateNonClientFrameView()
123 frame_ = new InfoBubbleFrame(margins()); in CreateNonClientFrameView()
124 frame_->set_available_bounds(anchor_widget()->GetWindowBoundsInScreen()); in CreateNonClientFrameView()
125 frame_->SetBubbleBorder(scoped_ptr<views::BubbleBorder>( in CreateNonClientFrameView()
127 return frame_; in CreateNonClientFrameView()
132 pref_width -= frame_->GetInsets().width(); in GetPreferredSize()
146 frame_->set_available_bounds(widget->GetWindowBoundsInScreen()); in OnWidgetBoundsChanged()
/external/chromium_org/ash/wm/panels/
Dpanel_frame_view.cc22 : frame_(frame), in PanelFrameView()
26 new FrameBorderHitTestController(frame_)) { in PanelFrameView()
27 DCHECK(!frame_->widget_delegate()->CanMaximize()); in PanelFrameView()
42 caption_button_container_ = new FrameCaptionButtonContainerView(frame_, in InitHeaderPainter()
46 header_painter_->Init(frame_, this, caption_button_container_); in InitHeaderPainter()
48 if (frame_->widget_delegate()->ShouldShowWindowIcon()) { in InitHeaderPainter()
64 gfx::Size min_client_view_size(frame_->client_view()->GetMinimumSize()); in GetMinimumSize()
88 views::WidgetDelegate* delegate = frame_->widget_delegate(); in UpdateWindowIcon()
/external/chromium_org/ash/frame/
Ddefault_header_painter.cc78 : frame_(NULL), in DefaultHeaderPainter()
99 frame_ = frame; in Init()
146 if (!initial_paint_ && HeaderPainterUtil::CanAnimateActivation(frame_)) { in PaintHeader()
161 int corner_radius = (frame_->IsMaximized() || frame_->IsFullscreen()) ? in PaintHeader()
171 if (!frame_->IsMaximized() && in PaintHeader()
172 !frame_->IsFullscreen() && in PaintHeader()
176 if (frame_->widget_delegate() && in PaintHeader()
177 frame_->widget_delegate()->ShouldShowWindowTitle()) { in PaintHeader()
273 canvas->DrawStringRectWithFlags(frame_->widget_delegate()->GetWindowTitle(), in PaintTitleBar()
311 if (frame_->IsMaximized() || frame_->IsFullscreen()) { in UpdateSizeButtonImages()
[all …]
Dcustom_frame_view_ash.cc182 views::Widget* frame_; member in ash::CustomFrameViewAsh::HeaderView
200 : frame_(frame), in HeaderView()
206 frame_->widget_delegate()->CanMinimize() ? in HeaderView()
209 caption_button_container_ = new FrameCaptionButtonContainerView(frame_, in HeaderView()
214 header_painter_->Init(frame_, this, caption_button_container_); in HeaderView()
233 if (frame_->IsFullscreen()) { in GetPreferredOnScreenHeight()
251 aura::Window* window = frame_->GetNativeView(); in UpdateAvatarIcon()
288 frame_->non_client_view()->frame_view()->ShouldPaintAsActive(); in OnPaint()
435 : frame_(frame), in CustomFrameViewAsh()
438 new FrameBorderHitTestController(frame_)) { in CustomFrameViewAsh()
[all …]
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
Dwindow_capturer_unittest.cc39 frame_.reset(frame); in OnCaptureCompleted()
44 scoped_ptr<DesktopFrame> frame_; member in webrtc::WindowCapturerTest
74 frame_.reset(); in TEST_F()
80 if (!frame_.get()) { in TEST_F()
90 EXPECT_GT(frame_->size().width(), 0); in TEST_F()
91 EXPECT_GT(frame_->size().height(), 0); in TEST_F()
/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_header_painter_ash.cc112 : frame_(NULL), in BrowserHeaderPainterAsh()
139 frame_ = frame; in Init()
162 ash::HeaderPainterUtil::CanAnimateActivation(frame_)) { in PaintHeader()
177 int corner_radius = (frame_->IsMaximized() || frame_->IsFullscreen()) ? in PaintHeader()
221 if (!frame_->IsMaximized() && !frame_->IsFullscreen()) in PaintHeader()
223 if (frame_->widget_delegate() && in PaintHeader()
224 frame_->widget_delegate()->ShouldShowWindowTitle()) { in PaintHeader()
334 canvas->DrawStringRectWithFlags(frame_->widget_delegate()->GetWindowTitle(), in PaintTitleBar()
360 ui::ThemeProvider* tp = frame_->GetThemeProvider(); in GetFrameImagesForTabbedBrowser()
395 if (frame_->IsMaximized() || frame_->IsFullscreen()) { in UpdateCaptionButtonImages()
[all …]
/external/chromium_org/ui/webui/resources/js/cr/ui/
Ddialogs.js50 this.frame_ = doc.createElement('div');
51 this.frame_.className = 'cr-dialog-frame';
54 this.frame_.tabIndex = -1;
55 this.container_.appendChild(this.frame_);
59 this.frame_.appendChild(this.title_);
65 this.frame_.appendChild(this.closeButton_);
69 this.frame_.appendChild(this.text_);
73 this.frame_.appendChild(this.buttons);
107 var classList = this.frame_.classList;
234 this.frame_.classList.remove('pulse');
[all …]

12345