Home
last modified time | relevance | path

Searched refs:child_i (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/mojo/services/public/cpp/view_manager/lib/
Dnode.cc125 const size_t child_i = in ReorderImpl() local
130 if ((direction == ORDER_ABOVE && child_i == target_i + 1) || in ReorderImpl()
131 (direction == ORDER_BELOW && child_i + 1 == target_i)) { in ReorderImpl()
139 (child_i < target_i ? target_i : target_i + 1) : in ReorderImpl()
140 (child_i < target_i ? target_i - 1 : target_i); in ReorderImpl()
141 children->erase(children->begin() + child_i); in ReorderImpl()
/external/chromium_org/ui/v2/src/
Dview.cc34 const size_t child_i = in StackChildRelativeTo() local
40 (child_i < other_i ? other_i : other_i + 1) : in StackChildRelativeTo()
41 (child_i < other_i ? other_i - 1 : other_i); in StackChildRelativeTo()
42 children->erase(children->begin() + child_i); in StackChildRelativeTo()
/external/chromium_org/ui/compositor/
Dlayer.cc729 const size_t child_i = in StackRelativeTo() local
733 if ((above && child_i == other_i + 1) || (!above && child_i + 1 == other_i)) in StackRelativeTo()
738 (child_i < other_i ? other_i : other_i + 1) : in StackRelativeTo()
739 (child_i < other_i ? other_i - 1 : other_i); in StackRelativeTo()
740 children_.erase(children_.begin() + child_i); in StackRelativeTo()
/external/chromium_org/ui/aura/
Dwindow.cc1107 const size_t child_i = in StackChildRelativeTo() local
1113 if ((direction == STACK_ABOVE && child_i == target_i + 1) || in StackChildRelativeTo()
1114 (direction == STACK_BELOW && child_i + 1 == target_i)) in StackChildRelativeTo()
1119 (child_i < target_i ? target_i : target_i + 1) : in StackChildRelativeTo()
1120 (child_i < target_i ? target_i - 1 : target_i); in StackChildRelativeTo()
1121 children_.erase(children_.begin() + child_i); in StackChildRelativeTo()
/external/chromium_org/mojo/services/view_manager/
Dview_manager_service_impl.cc296 const size_t child_i = in CanReorderNode() local
301 if ((direction == ORDER_ABOVE && child_i == target_i + 1) || in CanReorderNode()
302 (direction == ORDER_BELOW && child_i + 1 == target_i)) { in CanReorderNode()