/external/chromium/chrome/browser/ui/gtk/ |
H A D | first_run_bubble.cc | 41 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 D | fullscreen_exit_bubble.cc | 87 // 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 D | video_renderer_impl.cc | 48 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 D | workspace_window_resizer_unittest.cc | 1105 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 D | SampleForTests.java | 194 private native void nativeSetNonPODDatatype(Rect rect); argument
|
/external/chromium_org/cc/base/ |
H A D | tiling_data.cc | 9 #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 D | scrollbar_layer.cc | 217 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 D | delegating_renderer.cc | 164 void DelegatingRenderer::GetFramebufferPixels(void* pixels, gfx::Rect rect) { argument
|
/external/chromium_org/cc/resources/ |
H A D | picture.cc | 373 // 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 D | layer_tree_pixel_test.cc | 118 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 D | tiled_layer_test_common.cc | 52 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 D | damage_tracker.cc | 30 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 D | candidate_window_controller_impl.cc | 35 gfx::Rect IBusRectToGfxRect(const ibus::Rect& rect) { argument 36 return gfx::Rect(rect.x, rect.y, rect.width, rect.height);
|
H A D | textinput_test_helper.cc | 166 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 D | screenshot_taker.cc | 260 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 D | avatar_menu_bubble_gtk.cc | 41 const gfx::Rect* rect) 55 rect, 38 AvatarMenuBubbleGtk(Browser* browser, GtkWidget* anchor, BubbleGtk::FrameStyle arrow, const gfx::Rect* rect) argument
|
H A D | confirm_bubble_gtk.cc | 134 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 D | zoom_bubble_gtk.cc | 26 #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 D | web_notification_tray.cc | 22 #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 D | screen_capture_notification_ui_views.cc | 37 // 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 D | webview_plugin.cc | 126 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 D | backing_store_aura.cc | 14 #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 D | backing_store_win.cc | 156 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 D | browser_font_resource_trusted.cc | 374 // 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 D | ContentViewClient.java | 170 public void onGeometryChanged(int playerId, RectF rect) { argument
|