Home
last modified time | relevance | path

Searched refs:left_edge (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/core/
DSkBlitBWMaskTemplate.h59 int left_edge = cx - maskLeft; in SK_BLITBWMASK_NAME() local
60 SkASSERT(left_edge >= 0); in SK_BLITBWMASK_NAME()
62 SkASSERT(rite_edge > left_edge); in SK_BLITBWMASK_NAME()
64 int left_mask = 0xFF >> (left_edge & 7); in SK_BLITBWMASK_NAME()
67 int full_runs = (rite_edge >> 3) - ((left_edge + 7) >> 3); in SK_BLITBWMASK_NAME()
81 device -= left_edge & 7; in SK_BLITBWMASK_NAME()
DSkBlitter.cpp132 int left_edge = cx - maskLeft; in blitMask() local
133 SkASSERT(left_edge >= 0); in blitMask()
135 SkASSERT(rite_edge > left_edge); in blitMask()
137 int left_mask = 0xFF >> (left_edge & 7); in blitMask()
139 int full_runs = (rite_edge >> 3) - ((left_edge + 7) >> 3); in blitMask()
153 cx -= left_edge & 7; in blitMask()
/external/chromium_org/third_party/skia/src/core/
DSkBlitBWMaskTemplate.h59 int left_edge = cx - maskLeft; in SK_BLITBWMASK_NAME() local
60 SkASSERT(left_edge >= 0); in SK_BLITBWMASK_NAME()
62 SkASSERT(rite_edge > left_edge); in SK_BLITBWMASK_NAME()
64 int left_mask = 0xFF >> (left_edge & 7); in SK_BLITBWMASK_NAME()
67 int full_runs = (rite_edge >> 3) - ((left_edge + 7) >> 3); in SK_BLITBWMASK_NAME()
81 device -= left_edge & 7; in SK_BLITBWMASK_NAME()
DSkBlitter.cpp132 int left_edge = cx - maskLeft; in blitMask() local
133 SkASSERT(left_edge >= 0); in blitMask()
135 SkASSERT(rite_edge > left_edge); in blitMask()
137 int left_mask = 0xFF >> (left_edge & 7); in blitMask()
139 int full_runs = (rite_edge >> 3) - ((left_edge + 7) >> 3); in blitMask()
153 cx -= left_edge & 7; in blitMask()
/external/chromium_org/ash/system/tray/
Dtray_background_view.cc445 int left_edge, top_edge, right_edge, bottom_edge; in SetBorder() local
449 left_edge = 0; in SetBorder()
455 left_edge = ShelfLayoutManager::GetPreferredShelfSize() - in SetBorder()
461 left_edge = ShelfLayoutManager::kShelfItemInset; in SetBorder()
470 left_edge = 0; in SetBorder()
477 left_edge = 0; in SetBorder()
482 left_edge = kPaddingFromOuterEdgeOfLauncherVerticalAlignment; in SetBorder()
487 left_edge = kPaddingFromInnerEdgeOfLauncherVerticalAlignment; 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.cc327 SkBitmap* left_edge = rb.GetBitmapNamed(IDR_WINDOW_LEFT_SIDE); in PaintRestoredFrameBorder() local
349 canvas->FillRectInt(frame_color, 0, theme_frame->height(), left_edge->width(), in PaintRestoredFrameBorder()
355 canvas->FillRectInt(frame_color, left_edge->width(), in PaintRestoredFrameBorder()
357 width() - left_edge->width() - right_edge->width(), in PaintRestoredFrameBorder()
387 canvas->TileImageInt(*left_edge, 0, top_left_corner->height(), in PaintRestoredFrameBorder()
388 left_edge->width(), in PaintRestoredFrameBorder()
Dopaque_browser_frame_view.cc561 SkBitmap* left_edge = tp->GetBitmapNamed(IDR_WINDOW_LEFT_SIDE); in PaintRestoredFrameBorder() local
610 canvas->FillRectInt(frame_color, 0, theme_frame->height(), left_edge->width(), in PaintRestoredFrameBorder()
616 canvas->FillRectInt(frame_color, left_edge->width(), in PaintRestoredFrameBorder()
618 width() - left_edge->width() - right_edge->width(), in PaintRestoredFrameBorder()
666 canvas->TileImageInt(*left_edge, 0, top_left_height, left_edge->width(), in PaintRestoredFrameBorder()
/external/chromium_org/chrome/browser/ui/views/frame/
Dapp_panel_browser_frame_view.cc321 gfx::ImageSkia* left_edge = rb.GetImageSkiaNamed(IDR_WINDOW_LEFT_SIDE); in PaintRestoredFrameBorder() local
347 canvas->FillRect(gfx::Rect(0, theme_frame->height(), left_edge->width(), in PaintRestoredFrameBorder()
352 int center_width = width() - left_edge->width() - right_edge->width(); in PaintRestoredFrameBorder()
355 canvas->FillRect(gfx::Rect(left_edge->width(), in PaintRestoredFrameBorder()
388 canvas->TileImageInt(*left_edge, 0, top_left_corner->height(), in PaintRestoredFrameBorder()
389 left_edge->width(), in PaintRestoredFrameBorder()
/external/chromium/chrome/browser/ui/views/
Dconstrained_window_views.cc435 SkBitmap* left_edge = resources_->GetPartBitmap(FRAME_LEFT_EDGE); in PaintFrameBorder() local
450 canvas->FillRectInt(frame_color, 0, theme_frame->height(), left_edge->width(), in PaintFrameBorder()
457 left_edge->width(), height() - bottom_edge->height(), in PaintFrameBorder()
458 width() - left_edge->width() - right_edge->width(), in PaintFrameBorder()
488 canvas->TileImageInt(*left_edge, 0, top_left_corner->height(), in PaintFrameBorder()
489 left_edge->width(), in PaintFrameBorder()
/external/chromium_org/ash/wm/workspace/
Dworkspace_window_resizer.cc842 const int left_edge = work_area.x(); in StickToWorkAreaOnMove() local
847 if (ShouldStickToEdge(bounds->x() - left_edge, sticky_size)) { in StickToWorkAreaOnMove()
848 bounds->set_x(left_edge); in StickToWorkAreaOnMove()
873 const int left_edge = work_area.x(); in StickToWorkAreaOnResize() local
883 ShouldStickToEdge(bounds->x() - left_edge, sticky_size)) { in StickToWorkAreaOnResize()
884 bounds->set_width(bounds->right() - left_edge); in StickToWorkAreaOnResize()
885 bounds->set_x(left_edge); in StickToWorkAreaOnResize()
/external/chromium_org/ash/wm/dock/
Ddocked_window_resizer_unittest.cc432 const int left_edge = window->bounds().x(); in TEST_P() local
439 EXPECT_EQ(left_edge - 32, window->GetBoundsInScreen().x()); in TEST_P()
512 const int left_edge = w2->bounds().x(); in TEST_P() local
525 EXPECT_EQ(left_edge - 32, w2->GetBoundsInScreen().x()); in TEST_P()
755 const int left_edge = w2->bounds().x(); in TEST_P() local
767 EXPECT_EQ(left_edge + drag_x, w2->bounds().x()); in TEST_P()
/external/chromium_org/cc/output/
Dgl_renderer.cc1259 LayerQuad::Edge left_edge(bottom_left, top_left); in SetupQuadForAntialiasing() local
1267 left_edge = device_layer_edges.left(); in SetupQuadForAntialiasing()
1275 left_edge.scale(sign); in SetupQuadForAntialiasing()
1280 LayerQuad device_quad(left_edge, top_edge, right_edge, bottom_edge); in SetupQuadForAntialiasing()