Searched defs:new_pos (Results 1 - 8 of 8) sorted by relevance

/external/chromium/chrome/browser/ui/views/
H A Ddropdown_bar_host_gtk.cc25 void DropdownBarHost::SetWidgetPositionNative(const gfx::Rect& new_pos, argument
27 host_->SetBounds(new_pos);
H A Ddropdown_bar_host_win.cc35 void DropdownBarHost::SetWidgetPositionNative(const gfx::Rect& new_pos, argument
46 ::SetWindowPos(host_->GetNativeView(), HWND_TOP, new_pos.x(), new_pos.y(),
47 new_pos.width(), new_pos.height(), swp_flags);
H A Ddropdown_bar_host.cc200 void DropdownBarHost::UpdateWindowEdges(const gfx::Rect& new_pos) { argument
206 int w = new_pos.width() - 6; // -6 positions us at the left edge of the
208 int h = new_pos.height();
283 int difference = new_pos.right() - kAddedWidth - widget_bounds.right() -
H A Dfind_bar_host.cc121 gfx::Rect new_pos = GetDialogPosition(selection_rect); local
122 SetDialogPosition(new_pos, no_redraw);
261 gfx::Rect new_pos = FindBarController::GetLocationForFindbarView( local
267 new_pos.Offset(0, std::min(0, -animation_offset()));
269 return new_pos;
272 void FindBarHost::SetDialogPosition(const gfx::Rect& new_pos, bool no_redraw) { argument
273 if (new_pos.IsEmpty())
279 UpdateWindowEdges(new_pos);
281 SetWidgetPositionNative(new_pos, no_redraw);
/external/chromium/chrome/browser/ui/find_bar/
H A Dfind_bar_controller.cc161 gfx::Rect new_pos = view_location; local
167 avoid_overlapping_rect.Intersects(new_pos)) {
169 new_pos.set_x(avoid_overlapping_rect.x() +
174 if (new_pos.x() + new_pos.width() > dialog_bounds.width())
175 new_pos = view_location; // Reset.
177 new_pos.set_x(avoid_overlapping_rect.x() - new_pos.width() -
181 if (new_pos.x() < 0)
182 new_pos
[all...]
/external/qemu/audio/
H A Dfmodaudio.c455 int live, dead, new_pos, len; local
467 new_pos = FSOUND_Record_GetPosition ();
468 if (new_pos < 0) {
473 len = audio_ring_dist (new_pos, hw->wpos, hw->samples);
/external/chromium/chrome/browser/ui/gtk/
H A Dfind_bar_gtk.cc436 gfx::Rect new_pos = FindBarController::GetLocationForFindbarView( local
439 return new_pos;
/external/dbus/dbus/
H A Ddbus-marshal-basic.c463 * @param new_pos the new position of the string
470 int *new_pos)
474 if (new_pos)
475 *new_pos = pos + 4;
502 * @param new_pos pointer to update with new position, or #NULL
510 int *new_pos)
606 if (new_pos)
607 *new_pos = pos;
1521 * @param new_pos #NULL or location to store a position after the elements
1530 int *new_pos)
467 _dbus_marshal_read_uint32(const DBusString *str, int pos, int byte_order, int *new_pos) argument
505 _dbus_marshal_read_basic(const DBusString *str, int pos, int type, void *value, int byte_order, int *new_pos) argument
1524 _dbus_marshal_read_fixed_multi(const DBusString *str, int pos, int element_type, void *value, int n_elements, int byte_order, int *new_pos) argument
[all...]

Completed in 158 milliseconds