Searched refs:content_bounds (Results 1 - 25 of 90) sorted by relevance

1234

/external/chromium_org/cc/layers/
H A Dcontents_scaling_layer_unittest.cc60 EXPECT_EQ(320, test_layer->content_bounds().width());
61 EXPECT_EQ(240, test_layer->content_bounds().height());
64 EXPECT_EQ(640, test_layer->content_bounds().width());
65 EXPECT_EQ(480, test_layer->content_bounds().height());
69 EXPECT_EQ(20, test_layer->content_bounds().width());
70 EXPECT_EQ(40, test_layer->content_bounds().height());
73 EXPECT_EQ(14, test_layer->content_bounds().width());
74 EXPECT_EQ(27, test_layer->content_bounds().height());
H A Dcontents_scaling_layer.cc27 gfx::Size* content_bounds) {
30 *content_bounds = ComputeContentBoundsForScale(
23 CalculateContentsScale( float ideal_contents_scale, float* contents_scale_x, float* contents_scale_y, gfx::Size* content_bounds) argument
H A Dcontents_scaling_layer.h20 gfx::Size* content_bounds) OVERRIDE;
H A Dimage_layer.cc54 InvalidateContentRect(gfx::Rect(content_bounds()));
75 gfx::Size* content_bounds) {
78 *content_bounds = gfx::Size(bitmap_.width(), bitmap_.height());
72 CalculateContentsScale(float ideal_contents_scale, float* contents_scale_x, float* contents_scale_y, gfx::Size* content_bounds) argument
H A Dsurface_layer_impl.cc49 render_pass, content_bounds(), shared_quad_state, append_quads_data);
54 gfx::Rect quad_rect(content_bounds());
H A Dimage_layer.h29 gfx::Size* content_bounds) OVERRIDE;
H A Dio_surface_layer_impl.cc76 render_pass, content_bounds(), shared_quad_state, append_quads_data);
78 gfx::Rect quad_rect(content_bounds());
H A Dsolid_color_layer_impl.cc73 render_pass, content_bounds(), shared_quad_state, append_quads_data);
76 // |content_bounds()| here.
80 gfx::Rect(content_bounds()),
H A Ddraw_properties.h96 gfx::Size content_bounds; member in struct:cc::DrawProperties
/external/chromium_org/mojo/examples/surfaces_app/
H A Dsurfaces_util.cc21 const gfx::Size content_bounds = size; local
29 content_bounds,
/external/chromium_org/cc/quads/
H A Dshared_quad_state.cc32 const gfx::Size& content_bounds,
40 this->content_bounds = content_bounds;
55 MathUtil::AddToTracedValue(content_bounds, value);
31 SetAll(const gfx::Transform& content_to_target_transform, const gfx::Size& content_bounds, const gfx::Rect& visible_content_rect, const gfx::Rect& clip_rect, bool is_clipped, float opacity, SkXfermode::Mode blend_mode, int sorting_context_id) argument
H A Dshared_quad_state.h36 const gfx::Size& content_bounds,
48 gfx::Size content_bounds; member in class:cc::SharedQuadState
H A Ddraw_quad.h114 return rect.right() == shared_quad_state->content_bounds.width();
120 return rect.bottom() == shared_quad_state->content_bounds.height();
/external/chromium_org/ui/wm/core/
H A Dshadow.h47 const gfx::Rect& content_bounds() const { return content_bounds_; } function in class:wm::Shadow
50 // Moves and resizes the shadow layer to frame |content_bounds|.
51 void SetContentBounds(const gfx::Rect& content_bounds);
H A Dshadow_unittest.cc144 gfx::Rect content_bounds(100, 100, 300, 300);
145 shadow.SetContentBounds(content_bounds);
146 EXPECT_EQ(shadow.content_bounds(), content_bounds);
150 EXPECT_EQ(shadow.content_bounds(), content_bounds);
/external/chromium_org/ash/system/tray/
H A Dspecial_popup_row.cc111 gfx::Rect content_bounds = GetContentsBounds(); local
112 if (content_bounds.IsEmpty())
120 bounds.set_height(content_bounds.height());
121 gfx::Rect container_bounds = content_bounds;
123 container_bounds.set_x(content_bounds.width() - container_bounds.width());
/external/chromium_org/cc/test/
H A Dtiled_layer_test_common.cc121 &draw_properties().content_bounds);
149 const gfx::Size& content_bounds) {
150 forced_content_bounds_ = content_bounds;
151 draw_properties().content_bounds = forced_content_bounds_;
158 gfx::Size* content_bounds) {
163 *content_bounds = forced_content_bounds_;
148 SetContentBounds( const gfx::Size& content_bounds) argument
154 CalculateContentsScale( float ideal_contents_scale, float* contents_scale_x, float* contents_scale_y, gfx::Size* content_bounds) argument
/external/chromium_org/cc/debug/
H A Dpicture_record_benchmark.cc92 gfx::Size content_bounds = layer->content_bounds(); local
105 int y_limit = std::max(1, content_bounds.height() - height);
106 int x_limit = std::max(1, content_bounds.width() - width);
H A Drasterize_and_record_benchmark_impl.cc108 const gfx::Size& content_bounds) const OVERRIDE {
109 return base_client_->CalculateTileSize(content_bounds);
213 layer, gfx::Rect(layer->content_bounds()));
214 PictureLayerTilingSet tiling_set(&client, layer->content_bounds());
H A Ddebug_rect_history.cc80 float width_scale = layer->content_bounds().width() /
82 float height_scale = layer->content_bounds().height() /
126 gfx::Rect(layer->content_bounds()))));
219 gfx::ScaleToEnclosingRect(gfx::Rect(layer->content_bounds()),
240 gfx::ScaleToEnclosingRect(gfx::Rect(layer->content_bounds()),
/external/chromium_org/mojo/services/public/cpp/surfaces/lib/
H A Dsurfaces_utils.cc17 sqs->content_bounds = Size::From(size);
/external/chromium_org/ui/message_center/views/
H A Dmessage_view.cc203 gfx::Rect content_bounds = GetContentsBounds(); local
206 background_view_->SetBoundsRect(content_bounds);
210 gfx::Rect close_rect(content_bounds.right() - close_size.width(),
211 content_bounds.y(),
219 content_bounds.right() - small_image_size.width() - kSmallImagePadding,
220 content_bounds.bottom() - small_image_size.height() -
/external/chromium_org/ash/wm/
H A Dresize_shadow.cc103 void ResizeShadow::Layout(const gfx::Rect& content_bounds) { argument
104 gfx::Rect local_bounds(content_bounds.size());
/external/chromium_org/components/autofill/content/browser/risk/
H A Dfingerprint.cc190 const gfx::Rect& content_bounds,
267 const gfx::Rect& content_bounds,
281 content_bounds_(content_bounds),
447 const gfx::Rect& content_bounds,
459 new FingerprintDataLoader(obfuscated_gaia_id, window_bounds, content_bounds,
478 gfx::Rect content_bounds = web_contents->GetContainerBounds(); local
487 obfuscated_gaia_id, window_bounds, content_bounds, screen_info, version,
264 FingerprintDataLoader( uint64 obfuscated_gaia_id, const gfx::Rect& window_bounds, const gfx::Rect& content_bounds, const WebScreenInfo& screen_info, const std::string& version, const std::string& charset, const std::string& accept_languages, const base::Time& install_time, const std::string& app_locale, const std::string& user_agent, const base::TimeDelta& timeout, const base::Callback<void(scoped_ptr<Fingerprint>)>& callback) argument
444 GetFingerprintInternal( uint64 obfuscated_gaia_id, const gfx::Rect& window_bounds, const gfx::Rect& content_bounds, const blink::WebScreenInfo& screen_info, const std::string& version, const std::string& charset, const std::string& accept_languages, const base::Time& install_time, const std::string& app_locale, const std::string& user_agent, const base::TimeDelta& timeout, const base::Callback<void(scoped_ptr<Fingerprint>)>& callback) argument
/external/chromium_org/ui/views/controls/
H A Dprogress_bar.cc198 gfx::Rect content_bounds = GetContentsBounds();
199 int bar_left = content_bounds.x();
200 int bar_top = content_bounds.y();
201 int bar_width = content_bounds.width();
202 int bar_height = content_bounds.height();

Completed in 1920 milliseconds

1234