Searched refs:sticky_size (Results 1 – 3 of 3) sorted by relevance
120 bool ShouldStickToEdge(int distance_from_edge, int sticky_size) { in ShouldStickToEdge() argument125 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() local373 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 …]
137 int sticky_size,142 int sticky_size,
761 gfx::Size sticky_size = balloon_container_->GetStickyNewSize(); in GetStickyNewBounds() local762 int new_height = std::min(sticky_size.height(), kMaxPanelHeight); in GetStickyNewBounds()