/external/chromium_org/cc/layers/ |
H A D | contents_scaling_layer_unittest.cc | 60 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 D | contents_scaling_layer.cc | 27 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 D | contents_scaling_layer.h | 20 gfx::Size* content_bounds) OVERRIDE;
|
H A D | image_layer.cc | 54 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 D | surface_layer_impl.cc | 49 render_pass, content_bounds(), shared_quad_state, append_quads_data); 54 gfx::Rect quad_rect(content_bounds());
|
H A D | image_layer.h | 29 gfx::Size* content_bounds) OVERRIDE;
|
H A D | io_surface_layer_impl.cc | 76 render_pass, content_bounds(), shared_quad_state, append_quads_data); 78 gfx::Rect quad_rect(content_bounds());
|
H A D | solid_color_layer_impl.cc | 73 render_pass, content_bounds(), shared_quad_state, append_quads_data); 76 // |content_bounds()| here. 80 gfx::Rect(content_bounds()),
|
H A D | draw_properties.h | 96 gfx::Size content_bounds; member in struct:cc::DrawProperties
|
/external/chromium_org/mojo/examples/surfaces_app/ |
H A D | surfaces_util.cc | 21 const gfx::Size content_bounds = size; local 29 content_bounds,
|
/external/chromium_org/cc/quads/ |
H A D | shared_quad_state.cc | 32 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 D | shared_quad_state.h | 36 const gfx::Size& content_bounds, 48 gfx::Size content_bounds; member in class:cc::SharedQuadState
|
H A D | draw_quad.h | 114 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 D | shadow.h | 47 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 D | shadow_unittest.cc | 144 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 D | special_popup_row.cc | 111 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 D | tiled_layer_test_common.cc | 121 &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 D | picture_record_benchmark.cc | 92 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 D | rasterize_and_record_benchmark_impl.cc | 108 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 D | debug_rect_history.cc | 80 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 D | surfaces_utils.cc | 17 sqs->content_bounds = Size::From(size);
|
/external/chromium_org/ui/message_center/views/ |
H A D | message_view.cc | 203 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 D | resize_shadow.cc | 103 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 D | fingerprint.cc | 190 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 D | progress_bar.cc | 198 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();
|