Home
last modified time | relevance | path

Searched refs:sticky_size (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/ash/wm/workspace/
Dworkspace_window_resizer.cc120 bool ShouldStickToEdge(int distance_from_edge, int sticky_size) { in ShouldStickToEdge() argument
125 distance_from_edge > -sticky_size; in ShouldStickToEdge()
127 return distance_from_edge < sticky_size && in ShouldStickToEdge()
128 distance_from_edge > -sticky_size * 2; in ShouldStickToEdge()
371 int sticky_size; in Drag() local
373 sticky_size = 0; in Drag()
376 sticky_size = kStickyDistancePixels; in Drag()
379 sticky_size = kScreenEdgeInsetForTouchResize; in Drag()
381 sticky_size = kScreenEdgeInset; in Drag()
386 AdjustBoundsForMainWindow(sticky_size, &bounds); in Drag()
[all …]
Dworkspace_window_resizer.h137 int sticky_size,
142 int sticky_size,
/external/chromium/chrome/browser/chromeos/notifications/
Dnotification_panel.cc761 gfx::Size sticky_size = balloon_container_->GetStickyNewSize(); in GetStickyNewBounds() local
762 int new_height = std::min(sticky_size.height(), kMaxPanelHeight); in GetStickyNewBounds()