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

12

/external/chromium_org/cc/layers/
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 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 Ddraw_properties.h96 gfx::Size content_bounds; member in struct:cc::DrawProperties
H A Dpainted_scrollbar_layer.cc85 // If the scaled content_bounds() is bigger than the max texture size of the
86 // device, we need to clamp it by rescaling, since content_bounds() is used
103 gfx::Size* content_bounds) {
108 content_bounds); local
172 // We should never return a rect bigger than the content_bounds().
174 clamped_size.SetToMin(content_bounds());
99 CalculateContentsScale( float ideal_contents_scale, float* contents_scale_x, float* contents_scale_y, gfx::Size* content_bounds) argument
H A Dlayer.h387 gfx::Size content_bounds() const { return draw_properties_.content_bounds; } function in class:cc::Layer
392 gfx::Size* content_bounds);
H A Dlayer.cc210 content_rect.Intersect(gfx::Rect(content_bounds()));
408 gfx::Size* content_bounds) {
413 *content_bounds = bounds();
865 layer->SetContentBounds(content_bounds());
405 CalculateContentsScale(float ideal_contents_scale, float* contents_scale_x, float* contents_scale_y, gfx::Size* content_bounds) argument
H A Dlayer_impl.cc259 draw_properties_.content_bounds,
305 const gfx::Size& content_bounds,
312 content_bounds,
320 const gfx::Size& content_bounds,
328 gfx::Rect quad_rect(content_bounds);
492 content_rect.Intersect(gfx::Rect(content_bounds()));
508 layer->SetContentBounds(content_bounds());
1048 void LayerImpl::SetContentBounds(const gfx::Size& content_bounds) { argument
1049 if (this->content_bounds() == content_bounds)
303 AppendDebugBorderQuad( RenderPass* render_pass, const gfx::Size& content_bounds, const SharedQuadState* shared_quad_state, AppendQuadsData* append_quads_data) const argument
319 AppendDebugBorderQuad(RenderPass* render_pass, const gfx::Size& content_bounds, const SharedQuadState* shared_quad_state, AppendQuadsData* append_quads_data, SkColor color, float width) const argument
[all...]
/external/chromium_org/cc/quads/
H A Dshared_quad_state.h36 const gfx::Size& content_bounds,
48 gfx::Size content_bounds; member in class:cc::SharedQuadState
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
/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/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/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.cc95 void Shadow::SetContentBounds(const gfx::Rect& content_bounds) { argument
96 content_bounds_ = content_bounds;
H A Dimage_grid.cc248 void ImageGrid::SetContentBounds(const gfx::Rect& content_bounds) { argument
251 content_bounds.width() + left_image_width_ + right_image_width_,
252 content_bounds.height() + top_image_height_ +
255 gfx::Rect(content_bounds.x() - left_image_width_,
256 content_bounds.y() - top_image_height_,
/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/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.cc101 gfx::Size content_bounds = layer->content_bounds(); local
/external/chromium_org/cc/surfaces/
H A Dsurfaces_pixeltest.cc45 const gfx::Size content_bounds = size; local
53 content_bounds,
H A Dsurface_aggregator_test_helpers.cc29 gfx::Size content_bounds = surface_size; local
38 content_bounds,
/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/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() -
H A Dnotification_view.cc217 gfx::Rect content_bounds = GetContentsBounds(); local
221 background_path.addRoundRect(gfx::RectToSkRect(content_bounds),
232 static_cast<int>(content_bounds.width() * GetNormalizedValue() + 0.5);
236 gfx::Rect slice_bounds = content_bounds;
/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/cc/output/
H A Drenderer_pixeltest.cc54 const gfx::Size content_bounds = rect.size(); local
63 content_bounds,
78 const gfx::Size content_bounds = rect.size(); local
86 content_bounds,
/external/chromium_org/cc/resources/
H A Dpicture_layer_tiling.cc90 gfx::Size content_bounds = local
92 gfx::Size tile_size = client_->CalculateTileSize(content_bounds);
95 content_bounds = gfx::Size();
104 tiling_data_.SetTilingSize(content_bounds);
177 gfx::Size content_bounds = local
180 tile_size = client_->CalculateTileSize(content_bounds);
183 content_bounds = gfx::Size();
191 gfx::Rect content_rect(content_bounds);
202 tiling_data_.SetTilingSize(content_bounds);

Completed in 408 milliseconds

12