Searched refs:component2 (Results 1 – 3 of 3) sorted by relevance
63 bool WindowComponentsAllowMoving(int component1, int component2) { in WindowComponentsAllowMoving() argument64 return ((IsTopEdge(component1) && IsTopEdge(component2)) || in WindowComponentsAllowMoving()65 (IsBottomEdge(component1) && IsBottomEdge(component2)) || in WindowComponentsAllowMoving()66 (IsLeftEdge(component1) && IsLeftEdge(component2)) || in WindowComponentsAllowMoving()67 (IsRightEdge(component1) && IsRightEdge(component2)) || in WindowComponentsAllowMoving()68 (!IsSomeEdge(component1) && !IsSomeEdge(component2))); in WindowComponentsAllowMoving()
52 const base::StringPiece component2(device_id.data() + sep_pos + 1, in ExtractTabCaptureTarget() local56 base::StringToInt(component2, render_view_id)); in ExtractTabCaptureTarget()
35 bool ColorComponentsClose(SkColor component1, SkColor component2) { in ColorComponentsClose() argument37 int c2 = static_cast<int>(component2); in ColorComponentsClose()