Home
last modified time | relevance | path

Searched refs:right_edge (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/ash/system/tray/
Dtray_background_view.cc445 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/
Dapp_panel_browser_frame_view.cc326 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()
Dopaque_browser_frame_view.cc560 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/
Dapp_panel_browser_frame_view.cc320 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/
Dconstrained_window_views.cc434 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/
Dshelf_layout_manager_unittest.cc889 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/
Dworkspace_window_resizer.cc843 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/
Dtab_drag_controller.cc2252 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/
Dgl_renderer.cc1261 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()