Searched refs:target_position (Results 1 – 10 of 10) sorted by relevance
160 gfx::Point target_position = GetPanelPositionForMouseLocation(mouse_location); in Drag() local169 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 …]
64 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);
15 const gfx::Point& target_position) { in HandleDrag() argument19 new_bounds.set_origin(target_position); in HandleDrag()
15 const gfx::Point& target_position) { in HandleDrag() argument25 new_bounds.set_x(target_position.x()); in HandleDrag()30 new_bounds.set_y(target_position.y()); in HandleDrag()
16 const gfx::Point& target_position, in HandleDrag() argument38 gfx::Vector2d delta_origin = target_position - panel->GetBounds().origin(); in HandleDrag()
18 static void HandleDrag(Panel* panel, const gfx::Point& target_position);
19 const gfx::Point& target_position,
251 void Utf8ToUtf16CharacterStream::SetRawPosition(unsigned target_position) { in SetRawPosition() argument252 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()
1720 syncer::StringOrdinal target_position; in ReparentItemForReorder() local1722 target_position = item_list_->item_at(target_model_index)->position(); in ReparentItemForReorder()1723 model_->MoveItemToFolderAt(reparent_item, "", target_position); in ReparentItemForReorder()