Searched refs:top_edge (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/ash/system/tray/ |
D | tray_background_view.cc | 445 int left_edge, top_edge, right_edge, bottom_edge; in SetBorder() local 448 top_edge = ShelfLayoutManager::kShelfItemInset; in SetBorder() 454 top_edge = 0; in SetBorder() 460 top_edge = 0; in SetBorder() 469 top_edge = 0; in SetBorder() 475 top_edge = on_edge ? kPaddingFromBottomOfScreenBottomAlignment : in SetBorder() 481 top_edge = 0; in SetBorder() 486 top_edge = 0; in SetBorder() 493 top_edge, left_edge, bottom_edge, right_edge)); in SetBorder()
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
D | browser_non_client_frame_view_ash_browsertest.cc | 41 gfx::Point top_edge(kWindowWidth / 2, 0); in IN_PROC_BROWSER_TEST_F() local 42 EXPECT_EQ(HTTOP, frame_view->NonClientHitTest(top_edge)); in IN_PROC_BROWSER_TEST_F() 51 EXPECT_EQ(HTCLIENT, frame_view->NonClientHitTest(top_edge)); in IN_PROC_BROWSER_TEST_F()
|
D | app_panel_browser_frame_view.cc | 319 gfx::ImageSkia* top_edge = rb.GetImageSkiaNamed(IDR_WINDOW_TOP_CENTER); in PaintRestoredFrameBorder() local 366 canvas->TileImageInt(*top_edge, top_left_corner->width(), 0, in PaintRestoredFrameBorder() 367 width() - top_right_corner->width(), top_edge->height()); in PaintRestoredFrameBorder()
|
/external/chromium_org/ash/wm/workspace/ |
D | workspace_window_resizer.cc | 844 const int top_edge = work_area.y(); in StickToWorkAreaOnMove() local 854 if (ShouldStickToEdge(bounds->y() - top_edge, sticky_size)) { in StickToWorkAreaOnMove() 855 bounds->set_y(top_edge); in StickToWorkAreaOnMove() 858 bounds->height() < (bottom_edge - top_edge)) { in StickToWorkAreaOnMove() 875 const int top_edge = work_area.y(); in StickToWorkAreaOnResize() local 878 ShouldStickToEdge(bounds->y() - top_edge, sticky_size)) { in StickToWorkAreaOnResize() 879 bounds->set_height(bounds->bottom() - top_edge); in StickToWorkAreaOnResize() 880 bounds->set_y(top_edge); in StickToWorkAreaOnResize()
|
/external/chromium/chrome/browser/ui/views/frame/ |
D | app_panel_browser_frame_view.cc | 325 SkBitmap* top_edge = rb.GetBitmapNamed(IDR_WINDOW_TOP_CENTER); in PaintRestoredFrameBorder() local 365 canvas->TileImageInt(*top_edge, top_left_corner->width(), 0, in PaintRestoredFrameBorder() 366 width() - top_right_corner->width(), top_edge->height()); in PaintRestoredFrameBorder()
|
D | opaque_browser_frame_view.cc | 559 SkBitmap* top_edge = tp->GetBitmapNamed(IDR_WINDOW_TOP_CENTER); in PaintRestoredFrameBorder() local 637 canvas->TileImageInt(*top_edge, top_left_corner->width(), 0, in PaintRestoredFrameBorder() 638 width() - top_right_corner->width(), top_edge->height()); in PaintRestoredFrameBorder()
|
/external/chromium/chrome/browser/ui/views/ |
D | constrained_window_views.cc | 433 SkBitmap* top_edge = resources_->GetPartBitmap(FRAME_TOP_EDGE); in PaintFrameBorder() local 466 canvas->TileImageInt(*top_edge, top_left_corner->width(), 0, in PaintFrameBorder() 467 width() - top_right_corner->width(), top_edge->height()); in PaintFrameBorder()
|
/external/chromium_org/cc/output/ |
D | gl_renderer.cc | 1260 LayerQuad::Edge top_edge(top_left, top_right); in SetupQuadForAntialiasing() local 1265 top_edge = device_layer_edges.top(); in SetupQuadForAntialiasing() 1276 top_edge.scale(sign); in SetupQuadForAntialiasing() 1280 LayerQuad device_quad(left_edge, top_edge, right_edge, bottom_edge); in SetupQuadForAntialiasing()
|