Searched defs:content_bounds (Results 1 - 25 of 34) sorted by relevance

12

/external/chromium_org/cc/quads/
H A Dshared_quad_state.cc31 gfx::Size content_bounds,
38 this->content_bounds = content_bounds;
51 MathUtil::AsValue(content_bounds).release());
30 SetAll(const gfx::Transform& content_to_target_transform, gfx::Size content_bounds, gfx::Rect visible_content_rect, gfx::Rect clip_rect, bool is_clipped, float opacity, SkXfermode::Mode blend_mode) argument
H A Dshared_quad_state.h28 gfx::Size content_bounds,
39 gfx::Size content_bounds; member in class:cc::SharedQuadState
/external/chromium_org/ash/wm/
H A Dresize_shadow.cc104 void ResizeShadow::Layout(const gfx::Rect& content_bounds) { argument
105 gfx::Rect local_bounds(content_bounds.size());
/external/chromium_org/cc/layers/
H A Dcontents_scaling_layer.cc30 gfx::Size* content_bounds) {
33 *content_bounds = ComputeContentBoundsForScale(
23 CalculateContentsScale( float ideal_contents_scale, float device_scale_factor, float page_scale_factor, bool animating_transform_to_screen, float* contents_scale_x, float* contents_scale_y, gfx::Size* content_bounds) argument
H A Dimage_layer.cc49 InvalidateContentRect(gfx::Rect(content_bounds()));
73 gfx::Size* content_bounds) {
76 *content_bounds = gfx::Size(bitmap_.width(), bitmap_.height());
67 CalculateContentsScale(float ideal_contents_scale, float device_scale_factor, float page_scale_factor, bool animating_transform_to_screen, float* contents_scale_x, float* contents_scale_y, gfx::Size* content_bounds) argument
H A Dpicture_image_layer_impl.cc37 gfx::Size* content_bounds) {
47 content_bounds);
30 CalculateContentsScale( float ideal_contents_scale, float device_scale_factor, float page_scale_factor, bool animating_transform_to_screen, float* contents_scale_x, float* contents_scale_y, gfx::Size* content_bounds) argument
H A Dpicture_image_layer_impl_unittest.cc80 gfx::Size content_bounds; local
83 &content_bounds);
86 EXPECT_EQ(layer->bounds(), content_bounds);
98 gfx::Size content_bounds; local
101 &content_bounds);
120 gfx::Size content_bounds; local
127 &content_bounds);
140 &content_bounds);
H A Ddraw_properties.h91 gfx::Size content_bounds; member in struct:cc::DrawProperties
H A Dpainted_scrollbar_layer.cc77 // If the scaled content_bounds() is bigger than the max texture size of the
78 // device, we need to clamp it by rescaling, since content_bounds() is used
98 gfx::Size* content_bounds) {
106 content_bounds); local
156 // We should never return a rect bigger than the content_bounds().
158 clamped_size.SetToMin(content_bounds());
91 CalculateContentsScale( float ideal_contents_scale, float device_scale_factor, float page_scale_factor, bool animating_transform_to_screen, float* contents_scale_x, float* contents_scale_y, gfx::Size* content_bounds) argument
H A Dtiled_layer_unittest.cc834 gfx::Rect content_bounds(0, 0, 200, 250);
837 layer->SetContentBounds(content_bounds.size());
838 layer->draw_properties().visible_content_rect = content_bounds;
843 layer->InvalidateContentRect(content_bounds);
856 layer->InvalidateContentRect(content_bounds);
942 gfx::Size content_bounds(300, 300);
943 gfx::Rect content_rect(content_bounds);
954 root_layer->SetBounds(content_bounds);
957 child_layer->SetBounds(content_bounds);
1031 gfx::Size content_bounds(30
1504 gfx::Rect content_bounds = gfx::Rect(0, 0, 100, 200); local
1627 gfx::Rect content_bounds = gfx::Rect(0, 0, 100, 300); local
[all...]
H A Dlayer.h384 gfx::Size content_bounds() const { return draw_properties_.content_bounds; } function in class:cc::Layer
392 gfx::Size* content_bounds);
H A Dpicture_layer_impl.cc123 gfx::Rect content_rect(content_bounds());
396 gfx::Size* content_bounds) {
411 *content_bounds = gfx::ToCeiledSize(gfx::ScaleSize(bounds(),
451 *content_bounds = gfx::ToCeiledSize(
508 gfx::Size content_bounds) const {
512 std::min(max_size, content_bounds.width()),
513 std::min(max_size, content_bounds.height()));
528 content_bounds.width() > max_untiled_content_size.width() ||
529 content_bounds.height() > max_untiled_content_size.height();
532 content_bounds
389 CalculateContentsScale( float ideal_contents_scale, float device_scale_factor, float page_scale_factor, bool animating_transform_to_screen, float* contents_scale_x, float* contents_scale_y, gfx::Size* content_bounds) argument
1041 gfx::Size content_bounds = local
[all...]
/external/chromium_org/ui/views/corewm/
H A Dshadow.h50 const gfx::Rect& content_bounds() const { return content_bounds_; } function in class:views::corewm::Shadow
53 // Moves and resizes |image_grid_| to frame |content_bounds|.
54 void SetContentBounds(const gfx::Rect& content_bounds);
H A Dshadow.cc70 void Shadow::SetContentBounds(const gfx::Rect& content_bounds) { argument
71 content_bounds_ = content_bounds;
H A Dimage_grid.cc213 void ImageGrid::SetContentBounds(const gfx::Rect& content_bounds) { argument
216 content_bounds.width() + left_image_width_ + right_image_width_,
217 content_bounds.height() + top_image_height_ +
220 gfx::Rect(content_bounds.x() - left_image_width_,
221 content_bounds.y() - top_image_height_,
/external/chromium_org/ash/system/tray/
H A Dspecial_popup_row.cc113 gfx::Rect content_bounds = GetContentsBounds(); local
114 if (content_bounds.IsEmpty())
122 bounds.set_height(content_bounds.height());
123 gfx::Rect container_bounds = content_bounds;
125 container_bounds.set_x(content_bounds.width() - container_bounds.width());
/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.cc106 gfx::Size content_bounds = layer->content_bounds(); local
/external/chromium_org/ui/oak/
H A Doak_window.cc89 gfx::Rect content_bounds = GetLocalBounds(); local
90 content_bounds.Inset(views::kPanelHorizMargin, views::kPanelVertMargin);
93 (content_bounds.height() / 2) - views::kUnrelatedControlVerticalSpacing;
94 gfx::Rect tree_bounds = content_bounds;
98 separator_rect_ = content_bounds;
103 gfx::Rect details_bounds = content_bounds;
106 details_bounds.set_height(content_bounds.bottom() - details_bounds.y());
/external/chromium_org/cc/test/
H A Dtiled_layer_test_common.cc123 &draw_properties().content_bounds);
151 gfx::Size content_bounds) {
152 forced_content_bounds_ = content_bounds;
153 draw_properties().content_bounds = forced_content_bounds_;
163 gfx::Size* content_bounds) {
168 *content_bounds = forced_content_bounds_;
150 SetContentBounds( gfx::Size content_bounds) argument
156 CalculateContentsScale( float ideal_contents_scale, float device_scale_factor, float page_scale_factor, bool animating_transform_to_screen, float* contents_scale_x, float* contents_scale_y, gfx::Size* content_bounds) argument
/external/chromium_org/components/autofill/content/browser/risk/
H A Dfingerprint.cc259 const gfx::Rect& content_bounds,
332 const gfx::Rect& content_bounds,
345 content_bounds_(content_bounds),
507 const gfx::Rect& content_bounds,
518 new FingerprintDataLoader(obfuscated_gaia_id, window_bounds, content_bounds,
535 gfx::Rect content_bounds; local
536 web_contents.GetView()->GetContainerBounds(&content_bounds);
545 obfuscated_gaia_id, window_bounds, content_bounds, screen_info, version,
329 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 base::TimeDelta& timeout, const base::Callback<void(scoped_ptr<Fingerprint>)>& callback) argument
504 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 base::TimeDelta& timeout, const base::Callback<void(scoped_ptr<Fingerprint>)>& callback) argument
/external/chromium_org/ui/message_center/views/
H A Dnotification_view.cc227 gfx::Rect content_bounds = GetContentsBounds(); local
231 background_path.addRoundRect(gfx::RectToSkRect(content_bounds),
242 static_cast<int>(content_bounds.width() * GetNormalizedValue() + 0.5);
246 gfx::Rect slice_bounds = content_bounds;
/external/chromium_org/cc/output/
H A Drenderer_pixeltest.cc48 const gfx::Size content_bounds = rect.size(); local
56 content_bounds,
69 const gfx::Size content_bounds = rect.size(); local
76 content_bounds,
/external/chromium_org/cc/resources/
H A Dpicture_layer_tiling.cc38 gfx::Size content_bounds = local
40 gfx::Size tile_size = client_->CalculateTileSize(content_bounds);
48 tiling_data_.SetTotalSize(content_bounds);
140 gfx::Size content_bounds = local
143 gfx::Size tile_size = client_->CalculateTileSize(content_bounds);
145 tiling_data_.SetTotalSize(content_bounds);
153 bounded_live_tiles_rect.Intersect(gfx::Rect(content_bounds));
155 tiling_data_.SetTotalSize(content_bounds);
642 state->Set("content_bounds",
/external/chromium_org/chrome/browser/ui/gtk/apps/
H A Dnative_app_window_gtk.cc296 gfx::Rect content_bounds = bounds; local
297 gtk_window_move(window_, content_bounds.x(), content_bounds.y());
300 gtk_window_util::BoundsMatchMonitorSize(window_, content_bounds)) {
301 content_bounds.set_height(content_bounds.height() - 1);
306 content_bounds.width(), content_bounds.height());

Completed in 400 milliseconds

12