Searched defs:rect (Results 276 - 300 of 829) sorted by relevance

<<11121314151617181920>>

/external/chromium/chrome/browser/ui/gtk/
H A Dfirst_run_bubble.cc41 const gfx::Rect& rect,
43 new FirstRunBubble(profile, anchor, rect, bubble_type);
75 const gfx::Rect& rect,
108 &rect,
39 Show(Profile* profile, GtkWidget* anchor, const gfx::Rect& rect, FirstRun::BubbleType bubble_type) argument
73 FirstRunBubble(Profile* profile, GtkWidget* anchor, const gfx::Rect& rect, FirstRun::BubbleType bubble_type) argument
/external/chromium/chrome/browser/ui/views/
H A Dfullscreen_exit_bubble.cc87 // Create a round-bottomed rect to fill the whole View.
88 SkRect rect; local
90 // The "-padding" top coordinate ensures that the rect is always tall enough
94 rect.set(0, -padding, SkIntToScalar(width()), SkIntToScalar(height()));
97 path.addRoundRect(rect, rad, SkPath::kCW_Direction);
/external/chromium/webkit/glue/media/
H A Dvideo_renderer_impl.cc48 void VideoRendererImpl::SetRect(const gfx::Rect& rect) { argument
130 // Get the properties of the SkDevice and the clip rect.
139 // Get the total clip rect associated with the canvas.
231 // Only does the paint if the destination rect intersects with the clip
232 // rect.
234 // At this point |local_dest_irect| contains the rect that we should draw
235 // to within the clipping rect.
237 // Calculate the address for the top left corner of destination rect in
239 // address of the canvas shifted by "left" and "top" of the rect.
244 // Project the clip rect t
[all...]
/external/chromium_org/ash/wm/workspace/
H A Dworkspace_window_resizer_unittest.cc1105 gfx::Rect rect = resizer->GetTargetBoundsForSize(0); local
1106 EXPECT_EQ("0,0 720x597", rect.ToString());
1107 rect = resizer->GetTargetBoundsForSize(1);
1108 EXPECT_EQ("0,0 640x597", rect.ToString());
1109 rect = resizer->GetTargetBoundsForSize(2);
1110 EXPECT_EQ("0,0 400x597", rect.ToString());
1113 rect = resizer->GetTargetBoundsForSize(0);
1114 EXPECT_EQ("0,0 720x552", rect.ToString());
1115 rect = resizer->GetTargetBoundsForSize(1);
1116 EXPECT_EQ("0,0 640x552", rect
[all...]
/external/chromium_org/base/android/jni_generator/java/src/org/chromium/example/jni_generator/
H A DSampleForTests.java194 private native void nativeSetNonPODDatatype(Rect rect); argument
/external/chromium_org/cc/base/
H A Dtiling_data.cc9 #include "ui/gfx/rect.h"
275 TilingData::Iterator::Iterator(const TilingData* tiling_data, gfx::Rect rect) argument
285 rect.Intersect(gfx::Rect(tiling_data_->total_size()));
286 index_x_ = tiling_data_->FirstBorderTileXIndexFromSrcCoord(rect.x());
287 index_y_ = tiling_data_->FirstBorderTileYIndexFromSrcCoord(rect.y());
289 right_ = tiling_data_->LastBorderTileXIndexFromSrcCoord(rect.right() - 1);
290 bottom_ = tiling_data_->LastBorderTileYIndexFromSrcCoord(rect.bottom() - 1);
295 if (!new_rect.Intersects(rect))
393 // If the ignore rect spans the whole consider rect horizontall
[all...]
/external/chromium_org/cc/layers/
H A Dscrollbar_layer.cc217 gfx::Rect rect,
225 resource->texture()->size() == rect.size() &&
236 painter->PrepareToUpdate(rect,
237 rect.size(),
255 resource->Update(queue, rect, dest_offset, partial_updates_allowed);
265 // We should never return a rect bigger than the content_bounds().
215 UpdatePart(CachingBitmapContentLayerUpdater* painter, LayerUpdater::Resource* resource, gfx::Rect rect, ResourceUpdateQueue* queue) argument
/external/chromium_org/cc/output/
H A Ddelegating_renderer.cc164 void DelegatingRenderer::GetFramebufferPixels(void* pixels, gfx::Rect rect) { argument
/external/chromium_org/cc/resources/
H A Dpicture.cc373 // Early out if the query rect doesn't intersect this picture
450 Picture::AsTraceableRasterData(gfx::Rect rect, float scale) const { argument
454 raster_data->SetDouble("rect_x", rect.x());
455 raster_data->SetDouble("rect_y", rect.y());
456 raster_data->SetDouble("rect_width", rect.width());
457 raster_data->SetDouble("rect_height", rect.height());
/external/chromium_org/cc/test/
H A Dlayer_tree_pixel_test.cc118 gfx::Rect rect, SkColor color) {
122 layer->SetBounds(rect.size());
123 layer->SetPosition(rect.origin());
147 gfx::Rect rect, SkColor color, int border_width, SkColor border_color) {
148 scoped_refptr<SolidColorLayer> layer = CreateSolidColorLayer(rect, color);
150 gfx::Rect(0, 0, rect.width(), border_width), border_color);
155 rect.height() - border_width * 2),
158 gfx::Rect(rect.width() - border_width,
161 rect.height() - border_width * 2),
164 gfx::Rect(0, rect
117 CreateSolidColorLayer( gfx::Rect rect, SkColor color) argument
146 CreateSolidColorLayerWithBorder( gfx::Rect rect, SkColor color, int border_width, SkColor border_color) argument
173 CreateTextureLayer( gfx::Rect rect, const SkBitmap& bitmap) argument
[all...]
H A Dtiled_layer_test_common.cc52 void FakeLayerUpdater::SetRectToInvalidate(gfx::Rect rect, argument
54 rect_to_invalidate_ = rect;
89 void FakeTiledLayer::SetNeedsDisplayRect(const gfx::RectF& rect) { argument
90 last_needs_display_rect_ = rect;
91 TiledLayer::SetNeedsDisplayRect(rect);
/external/chromium_org/cc/trees/
H A Ddamage_tracker.cc30 gfx::RectF* rect, const FilterOperations& filters) {
33 rect->Inset(-left, -top, -right, -bottom);
58 // This function computes the "damage rect" of a target surface, and updates
60 // rect is the region of the surface that may have changed and needs to be
64 // The surface's damage rect is computed as the union of all possible changes
86 // 4. combine all partial damage rects to get the full damage rect.
101 // anything. But this does not artificially inflate the damage rect. If the
122 // 3. After the damage rect is computed, the two maps are swapped, so
140 // TODO(shawnsingh): can we clamp this damage to the surface's content rect?
196 // HUD damage rect visualizatio
29 ExpandRectWithFilters( gfx::RectF* rect, const FilterOperations& filters) argument
[all...]
/external/chromium_org/chrome/browser/chromeos/input_method/
H A Dcandidate_window_controller_impl.cc35 gfx::Rect IBusRectToGfxRect(const ibus::Rect& rect) { argument
36 return gfx::Rect(rect.x, rect.y, rect.width, rect.height);
H A Dtextinput_test_helper.cc166 gfx::Rect* rect) {
167 DCHECK(rect);
180 *rect = gfx::Rect(x, y, width, height);
193 gfx::Rect rect;
194 if (!ConvertRectFromString(coordinate, &rect))
200 mouse_event.x = rect.CenterPoint().x();
201 mouse_event.y = rect.CenterPoint().y();
165 ConvertRectFromString(const std::string& str, gfx::Rect* rect) argument
/external/chromium_org/chrome/browser/ui/ash/
H A Dscreenshot_taker.cc260 gfx::Rect rect = root_window->bounds(); local
265 if (GrabWindowSnapshot(root_window, rect, &png_data->data())) {
282 aura::Window* window, const gfx::Rect& rect) {
301 if (GrabWindowSnapshot(window, rect, &png_data->data())) {
281 HandleTakePartialScreenshot( aura::Window* window, const gfx::Rect& rect) argument
/external/chromium_org/chrome/browser/ui/gtk/
H A Davatar_menu_bubble_gtk.cc41 const gfx::Rect* rect)
55 rect,
38 AvatarMenuBubbleGtk(Browser* browser, GtkWidget* anchor, BubbleGtk::FrameStyle arrow, const gfx::Rect* rect) argument
H A Dconfirm_bubble_gtk.cc134 gfx::Rect rect = ui::GetWidgetScreenBounds(anchor_); local
135 rect.set_x(anchor_point_.x() - rect.x());
136 rect.set_y(anchor_point_.y() - rect.y());
137 rect.set_width(0);
138 rect.set_height(0);
140 &rect,
H A Dzoom_bubble_gtk.cc26 #include "ui/gfx/rect.h"
131 gfx::Rect rect = gfx::Rect(kBubbleAnchorWidth, kBubbleAnchorHeight); local
135 bubble_ = BubbleGtk::Show(anchor, &rect, event_box_, frame_style,
/external/chromium_org/chrome/browser/ui/views/message_center/
H A Dweb_notification_tray.cc22 #include "ui/gfx/rect.h"
92 gfx::Point GetClosestCorner(const gfx::Rect& rect, const gfx::Point& query) { argument
93 gfx::Point center_point = rect.CenterPoint();
97 rv.set_x(rect.right());
99 rv.set_x(rect.x());
102 rv.set_y(rect.bottom());
104 rv.set_y(rect.y());
/external/chromium_org/chrome/browser/ui/views/
H A Dscreen_capture_notification_ui_views.cc37 // acts as a window caption, except a rect specified using SetClientRect().
47 void SetClientRect(const gfx::Rect& rect) { argument
48 rect_ = rect;
/external/chromium_org/chrome/renderer/plugins/
H A Dwebview_plugin.cc126 void WebViewPlugin::paint(WebCanvas* canvas, const WebRect& rect) { argument
127 gfx::Rect paint_rect = gfx::IntersectRects(rect_, rect);
216 void WebViewPlugin::didInvalidateRect(const WebRect& rect) { argument
218 container_->invalidateRect(rect);
/external/chromium_org/content/browser/renderer_host/
H A Dbacking_store_aura.cc14 #include "ui/gfx/rect.h"
155 SkIRect rect = SkIRect::MakeXYWH(x, y, w, h); local
156 bitmap_.scrollRect(&rect, pixel_delta.x(), pixel_delta.y());
159 bool BackingStoreAura::CopyFromBackingStore(const gfx::Rect& rect, argument
162 std::min(size().width(), rect.width()) * device_scale_factor_;
164 std::min(size().height(), rect.height()) * device_scale_factor_;
168 SkIRect skrect = SkIRect::MakeXYWH(rect.x(), rect.y(), width, height);
172 SkCanvas(output->GetBitmap()).writePixels(b, rect.x(), rect
[all...]
H A Dbacking_store_win.cc156 bool BackingStoreWin::CopyFromBackingStore(const gfx::Rect& rect, argument
159 if (!output->Allocate(rect.width(), rect.height(), true))
163 BitBlt(temp_dc, 0, 0, rect.width(), rect.height(),
164 hdc(), rect.x(), rect.y(), SRCCOPY);
/external/chromium_org/content/child/
H A Dbrowser_font_resource_trusted.cc374 // a 0-width rect around the insertion point. But that will be on the
376 WebFloatRect rect = font_->selectionRectForText( local
379 return cur_pixel_offset + static_cast<int>(rect.x);
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
H A DContentViewClient.java170 public void onGeometryChanged(int playerId, RectF rect) { argument

Completed in 600 milliseconds

<<11121314151617181920>>