/external/chromium_org/ash/system/tray/ |
D | tray_background_view.cc | 445 int left_edge, top_edge, right_edge, bottom_edge; in SetBorder() local 452 right_edge = on_edge ? kPaddingFromEdgeOfShelf : 0; in SetBorder() 458 right_edge = ShelfLayoutManager::kShelfItemInset; in SetBorder() 463 right_edge = ShelfLayoutManager::GetPreferredShelfSize() - in SetBorder() 473 right_edge = on_edge ? kPaddingFromRightEdgeOfScreenBottomAlignment : 0; in SetBorder() 479 right_edge = on_edge ? kPaddingFromRightEdgeOfScreenBottomAlignment : 0; in SetBorder() 484 right_edge = kPaddingFromInnerEdgeOfLauncherVerticalAlignment; in SetBorder() 489 right_edge = kPaddingFromOuterEdgeOfLauncherVerticalAlignment; in SetBorder() 493 top_edge, left_edge, bottom_edge, right_edge)); in SetBorder()
|
/external/chromium/chrome/browser/ui/views/frame/ |
D | app_panel_browser_frame_view.cc | 326 SkBitmap* right_edge = rb.GetBitmapNamed(IDR_WINDOW_RIGHT_SIDE); in PaintRestoredFrameBorder() local 351 canvas->FillRectInt(frame_color, width() - right_edge->width(), in PaintRestoredFrameBorder() 352 theme_frame->height(), right_edge->width(), in PaintRestoredFrameBorder() 357 width() - left_edge->width() - right_edge->width(), in PaintRestoredFrameBorder() 371 canvas->TileImageInt(*right_edge, width() - right_edge->width(), in PaintRestoredFrameBorder() 372 top_right_corner->height(), right_edge->width(), in PaintRestoredFrameBorder()
|
D | opaque_browser_frame_view.cc | 560 SkBitmap* right_edge = tp->GetBitmapNamed(IDR_WINDOW_RIGHT_SIDE); in PaintRestoredFrameBorder() local 612 canvas->FillRectInt(frame_color, width() - right_edge->width(), in PaintRestoredFrameBorder() 613 theme_frame->height(), right_edge->width(), in PaintRestoredFrameBorder() 618 width() - left_edge->width() - right_edge->width(), in PaintRestoredFrameBorder() 650 canvas->TileImageInt(*right_edge, width() - right_edge->width(), in PaintRestoredFrameBorder() 651 top_right_height, right_edge->width(), in PaintRestoredFrameBorder()
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
D | app_panel_browser_frame_view.cc | 320 gfx::ImageSkia* right_edge = rb.GetImageSkiaNamed(IDR_WINDOW_RIGHT_SIDE); in PaintRestoredFrameBorder() local 349 canvas->FillRect(gfx::Rect(width() - right_edge->width(), in PaintRestoredFrameBorder() 350 theme_frame->height(), right_edge->width(), in PaintRestoredFrameBorder() 352 int center_width = width() - left_edge->width() - right_edge->width(); in PaintRestoredFrameBorder() 372 canvas->TileImageInt(*right_edge, width() - right_edge->width(), in PaintRestoredFrameBorder() 373 top_right_corner->height(), right_edge->width(), in PaintRestoredFrameBorder()
|
/external/chromium/chrome/browser/ui/views/ |
D | constrained_window_views.cc | 434 SkBitmap* right_edge = resources_->GetPartBitmap(FRAME_RIGHT_EDGE); in PaintFrameBorder() local 452 canvas->FillRectInt(frame_color, width() - right_edge->width(), in PaintFrameBorder() 453 theme_frame->height(), right_edge->width(), in PaintFrameBorder() 458 width() - left_edge->width() - right_edge->width(), in PaintFrameBorder() 472 canvas->TileImageInt(*right_edge, width() - right_edge->width(), in PaintFrameBorder() 473 top_right_corner->height(), right_edge->width(), in PaintFrameBorder()
|
/external/chromium_org/ash/shelf/ |
D | shelf_layout_manager_unittest.cc | 889 int right_edge = root_windows[0]->GetBoundsInScreen().right() - 1; in TEST_F() local 894 generator.MoveMouseTo(right_edge - 50, y); in TEST_F() 900 generator.MoveMouseTo(right_edge - 1, y); in TEST_F() 903 EXPECT_EQ(right_edge - 1, Shell::GetScreen()->GetCursorScreenPoint().x()); in TEST_F() 906 generator.MoveMouseTo(right_edge - 50, y); in TEST_F() 913 generator.MoveMouseTo(right_edge - 1, y); in TEST_F() 914 generator.MoveMouseTo(right_edge, y); in TEST_F() 916 EXPECT_NE(right_edge - 1, Shell::GetScreen()->GetCursorScreenPoint().x()); in TEST_F() 920 generator.MoveMouseTo(right_edge - 50, y); in TEST_F() 926 generator.MoveMouseTo(right_edge - 1, y); in TEST_F() [all …]
|
/external/chromium_org/ash/wm/workspace/ |
D | workspace_window_resizer.cc | 843 const int right_edge = work_area.right(); in StickToWorkAreaOnMove() local 850 } else if (ShouldStickToEdge(right_edge - bounds->right(), sticky_size)) { in StickToWorkAreaOnMove() 851 bounds->set_x(right_edge - bounds->width()); in StickToWorkAreaOnMove() 874 const int right_edge = work_area.right(); in StickToWorkAreaOnResize() local 892 ShouldStickToEdge(right_edge - bounds->right(), sticky_size)) { in StickToWorkAreaOnResize() 893 bounds->set_width(right_edge - bounds->x()); in StickToWorkAreaOnResize()
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
D | tab_drag_controller.cc | 2252 gfx::Point right_edge(source->width(), 0); in CalculateDraggedBrowserBounds() local 2253 views::View::ConvertPointToWidget(source, &right_edge); in CalculateDraggedBrowserBounds() 2254 new_bounds.set_x(point_in_screen.x() - right_edge.x()); in CalculateDraggedBrowserBounds()
|
/external/chromium_org/cc/output/ |
D | gl_renderer.cc | 1261 LayerQuad::Edge right_edge(top_right, bottom_right); in SetupQuadForAntialiasing() local 1269 right_edge = device_layer_edges.right(); in SetupQuadForAntialiasing() 1277 right_edge.scale(sign); in SetupQuadForAntialiasing() 1280 LayerQuad device_quad(left_edge, top_edge, right_edge, bottom_edge); in SetupQuadForAntialiasing()
|