Home
last modified time | relevance | path

Searched refs:target_position (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/chrome/browser/ui/panels/
Dpanel_drag_controller.cc160 gfx::Point target_position = GetPanelPositionForMouseLocation(mouse_location); in Drag() local
169 if (!TryUnstackFromTop(target_position)) in Drag()
170 TryUnstackFromBottom(target_position); in Drag()
173 TryStack(target_position); in Drag()
177 TryDock(target_position); in Drag()
180 TryDetach(target_position); in Drag()
185 TrySnap(&target_position); in Drag()
190 DockedPanelDragHandler::HandleDrag(dragging_panel_, target_position); in Drag()
193 DetachedPanelDragHandler::HandleDrag(dragging_panel_, target_position); in Drag()
198 target_position, in Drag()
[all …]
Dpanel_drag_controller.h64 void TryDetach(const gfx::Point& target_position);
65 void TryDock(const gfx::Point& target_position);
66 void TryStack(const gfx::Point& target_position);
67 bool TryUnstackFromTop(const gfx::Point& target_position);
68 bool TryUnstackFromBottom(const gfx::Point& target_position);
69 void TrySnap(gfx::Point* target_position);
Ddetached_panel_drag_handler.cc15 const gfx::Point& target_position) { in HandleDrag() argument
19 new_bounds.set_origin(target_position); in HandleDrag()
Ddocked_panel_drag_handler.cc15 const gfx::Point& target_position) { in HandleDrag() argument
25 new_bounds.set_x(target_position.x()); in HandleDrag()
30 new_bounds.set_y(target_position.y()); in HandleDrag()
Dstacked_panel_drag_handler.cc16 const gfx::Point& target_position, in HandleDrag() argument
38 gfx::Vector2d delta_origin = target_position - panel->GetBounds().origin(); in HandleDrag()
Ddetached_panel_drag_handler.h18 static void HandleDrag(Panel* panel, const gfx::Point& target_position);
Dstacked_panel_drag_handler.h19 const gfx::Point& target_position,
Ddocked_panel_drag_handler.h18 static void HandleDrag(Panel* panel, const gfx::Point& target_position);
/external/chromium_org/v8/src/
Dscanner-character-streams.cc251 void Utf8ToUtf16CharacterStream::SetRawPosition(unsigned target_position) { in SetRawPosition() argument
252 if (raw_character_position_ > target_position) { in SetRawPosition()
261 } while (raw_character_position_ > target_position); in SetRawPosition()
263 ASSERT(raw_character_position_ == target_position); in SetRawPosition()
267 while (raw_character_position_ < target_position) { in SetRawPosition()
276 ASSERT(raw_character_position_ == target_position); in SetRawPosition()
/external/chromium_org/ui/app_list/views/
Dapps_grid_view.cc1720 syncer::StringOrdinal target_position; in ReparentItemForReorder() local
1722 target_position = item_list_->item_at(target_model_index)->position(); in ReparentItemForReorder()
1723 model_->MoveItemToFolderAt(reparent_item, "", target_position); in ReparentItemForReorder()