/external/chromium/chrome/browser/ui/find_bar/ |
find_bar_controller.cc | 161 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 = view_location; // Reset [all...] |
/external/chromium_org/chrome/browser/ui/find_bar/ |
find_bar_controller.cc | 184 gfx::Rect new_pos = view_location; local 190 avoid_overlapping_rect.Intersects(new_pos)) { 192 new_pos.set_x(avoid_overlapping_rect.x() + 197 if (new_pos.x() + new_pos.width() > dialog_bounds.width()) 198 new_pos = view_location; // Reset. 200 new_pos.set_x(avoid_overlapping_rect.x() - new_pos.width() - 204 if (new_pos.x() < 0) 205 new_pos = view_location; // Reset [all...] |
/external/chromium/chrome/browser/ui/views/ |
find_bar_host.cc | 121 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) { 273 if (new_pos.IsEmpty()) 279 UpdateWindowEdges(new_pos); 281 SetWidgetPositionNative(new_pos, no_redraw);
|
/external/chromium_org/chrome/browser/ui/views/ |
find_bar_host.cc | 125 gfx::Rect new_pos = GetDialogPosition(selection_rect); 126 SetDialogPosition(new_pos, no_redraw); 294 gfx::Rect new_pos = FindBarController::GetLocationForFindbarView( local 300 new_pos.Offset(0, std::min(0, -animation_offset())); 302 return new_pos; 305 void FindBarHost::SetDialogPosition(const gfx::Rect& new_pos, bool no_redraw) { 306 if (new_pos.IsEmpty()) 312 UpdateWindowEdges(new_pos); 314 SetWidgetPositionNative(new_pos, no_redraw);
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-buffer.cc | 90 hb_glyph_position_t *new_pos = NULL; local 104 new_pos = (hb_glyph_position_t *) realloc (pos, new_allocated * sizeof (pos[0])); 108 if (unlikely (!new_pos || !new_info)) 111 if (likely (new_pos)) 112 pos = new_pos;
|
hb-ot-shape-complex-indic.cc | 1229 unsigned int new_pos = base == end ? base - 2 : base - 1; local 1452 unsigned int new_pos = base; local [all...] |
/external/harfbuzz_ng/src/ |
hb-buffer.cc | 90 hb_glyph_position_t *new_pos = NULL; local 104 new_pos = (hb_glyph_position_t *) realloc (pos, new_allocated * sizeof (pos[0])); 108 if (unlikely (!new_pos || !new_info)) 111 if (likely (new_pos)) 112 pos = new_pos;
|
hb-ot-shape-complex-indic.cc | 1229 unsigned int new_pos = base == end ? base - 2 : base - 1; local 1452 unsigned int new_pos = base; local [all...] |
/external/chromium_org/sync/internal_api/public/base/ |
unique_position_unittest.cc | 348 UniquePosition new_pos = local 350 ASSERT_PRED_FORMAT2(LessThan, left_pos, new_pos); 351 ASSERT_PRED_FORMAT2(LessThan, new_pos, right_pos); 352 left_pos = new_pos; 370 UniquePosition new_pos = local 372 ASSERT_PRED_FORMAT2(LessThan, left_pos, new_pos); 373 ASSERT_PRED_FORMAT2(LessThan, new_pos, right_pos); 374 right_pos = new_pos; 434 UniquePosition new_pos = UniquePosition::After(pos, suffix); local 435 ASSERT_PRED_FORMAT2(LessThan, pos, new_pos); 460 UniquePosition new_pos = UniquePosition::After(pos, suffix); local 481 UniquePosition new_pos = UniquePosition::After(pos, suffix); local [all...] |
/external/qemu/audio/ |
fmodaudio.c | 455 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/ |
find_bar_gtk.cc | 436 gfx::Rect new_pos = FindBarController::GetLocationForFindbarView( local 439 return new_pos; [all...] |
/external/chromium_org/chrome/browser/ui/gtk/ |
find_bar_gtk.cc | 447 gfx::Rect new_pos = FindBarController::GetLocationForFindbarView( local 450 return new_pos; [all...] |
/external/chromium_org/chrome/service/cloud_print/ |
print_system_win.cc | 101 ULARGE_INTEGER new_pos = {0}; local 102 (*stream)->Seek(pos, STREAM_SEEK_SET, &new_pos); 816 ULARGE_INTEGER new_pos = {0}; local 817 print_ticket_stream->Seek(pos, STREAM_SEEK_SET, &new_pos);
|
/external/chromium_org/chrome_frame/ |
chrome_active_document.cc | 422 ULARGE_INTEGER new_pos = {0}; local [all...] |
utils.cc | 1111 ULARGE_INTEGER new_pos = {0}; local [all...] |