Home
last modified time | relevance | path

Searched refs:top_edge (Results 1 – 8 of 8) 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
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/
Dbrowser_non_client_frame_view_ash_browsertest.cc41 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()
Dapp_panel_browser_frame_view.cc319 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/
Dworkspace_window_resizer.cc844 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/
Dapp_panel_browser_frame_view.cc325 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()
Dopaque_browser_frame_view.cc559 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/
Dconstrained_window_views.cc433 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/
Dgl_renderer.cc1260 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()