HomeSort by relevance Sort by last modified time
    Searched refs:new_pos (Results 1 - 25 of 44) sorted by null

1 2

  /external/chromium_org/chrome/browser/ui/views/
dropdown_bar_host_win.cc 29 void DropdownBarHost::SetWidgetPositionNative(const gfx::Rect& new_pos,
37 ::SetWindowPos(host_->GetNativeView(), HWND_TOP, new_pos.x(), new_pos.y(),
38 new_pos.width(), new_pos.height(), swp_flags);
dropdown_bar_host_aura.cc 26 void DropdownBarHost::SetWidgetPositionNative(const gfx::Rect& new_pos,
30 host_->GetNativeView()->SetBounds(new_pos);
find_bar_host.cc 125 gfx::Rect new_pos = GetDialogPosition(selection_rect);
126 SetDialogPosition(new_pos, no_redraw);
300 gfx::Rect new_pos = FindBarController::GetLocationForFindbarView( local
306 new_pos.Offset(0, std::min(0, -animation_offset()));
308 return new_pos;
311 void FindBarHost::SetDialogPosition(const gfx::Rect& new_pos, bool no_redraw) {
312 if (new_pos.IsEmpty())
318 UpdateWindowEdges(new_pos);
320 SetWidgetPositionNative(new_pos, no_redraw);
dropdown_bar_host.h 81 virtual void SetDialogPosition(const gfx::Rect& new_pos, bool no_redraw) = 0;
154 void UpdateWindowEdges(const gfx::Rect& new_pos);
157 void SetWidgetPositionNative(const gfx::Rect& new_pos, bool no_redraw);
dropdown_bar_host.cc 234 void DropdownBarHost::UpdateWindowEdges(const gfx::Rect& new_pos) {
240 int w = new_pos.width() - 6; // -6 positions us at the left edge of the
242 int h = new_pos.height();
317 int difference = new_pos.right() - kAddedWidth - widget_bounds.right() -
find_bar_host.h 103 virtual void SetDialogPosition(const gfx::Rect& new_pos,
  /external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
decoder.py 108 decoder returns a (value, new_pos) pair.
161 """Read a tag from the buffer, and return a (tag_bytes, new_pos) tuple.
217 (element, new_pos) = decode_value(buffer, pos)
221 pos = new_pos + tag_len
222 if buffer[new_pos:pos] != tag_bytes or new_pos >= end:
224 if new_pos > end:
226 return new_pos
249 (result, new_pos) = decode_value(buffer, pos)
250 return (modify_value(result), new_pos)
    [all...]
  /external/protobuf/python/google/protobuf/internal/
decoder.py 101 decoder returns a (value, new_pos) pair.
154 """Read a tag from the buffer, and return a (tag_bytes, new_pos) tuple.
210 (element, new_pos) = decode_value(buffer, pos)
214 pos = new_pos + tag_len
215 if buffer[new_pos:pos] != tag_bytes or new_pos >= end:
217 if new_pos > end:
219 return new_pos
242 (result, new_pos) = decode_value(buffer, pos)
243 return (modify_value(result), new_pos)
    [all...]
  /external/chromium/chrome/browser/ui/views/
dropdown_bar_host_win.cc 35 void DropdownBarHost::SetWidgetPositionNative(const gfx::Rect& new_pos,
46 ::SetWindowPos(host_->GetNativeView(), HWND_TOP, new_pos.x(), new_pos.y(),
47 new_pos.width(), new_pos.height(), swp_flags);
dropdown_bar_host.h 71 virtual void SetDialogPosition(const gfx::Rect& new_pos, bool no_redraw) = 0;
137 void UpdateWindowEdges(const gfx::Rect& new_pos);
143 void SetWidgetPositionNative(const gfx::Rect& new_pos, bool no_redraw);
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);
dropdown_bar_host_gtk.cc 25 void DropdownBarHost::SetWidgetPositionNative(const gfx::Rect& new_pos,
27 host_->SetBounds(new_pos);
dropdown_bar_host.cc 200 void DropdownBarHost::UpdateWindowEdges(const gfx::Rect& new_pos) {
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() -
find_bar_host.h 95 virtual void SetDialogPosition(const gfx::Rect& new_pos, bool no_redraw);
  /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 190 gfx::Rect new_pos = view_location; local
196 avoid_overlapping_rect.Intersects(new_pos)) {
198 new_pos.set_x(avoid_overlapping_rect.x() +
203 if (new_pos.x() + new_pos.width() > dialog_bounds.width())
204 new_pos = view_location; // Reset.
206 new_pos.set_x(avoid_overlapping_rect.x() - new_pos.width() -
210 if (new_pos.x() < 0)
211 new_pos = view_location; // Reset
    [all...]
  /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
ANTLRStringStream.js 116 var new_pos = this.p+i-1;
117 if (new_pos>=this.n || new_pos<0) {
120 return this.data.charAt(new_pos);
  /external/chromium_org/chrome_frame/
urlmon_upload_data_stream.h 34 STDMETHOD(Seek)(LARGE_INTEGER move, DWORD origin, ULARGE_INTEGER* new_pos);
urlmon_upload_data_stream.cc 119 ULARGE_INTEGER* new_pos) {
128 if (new_pos) {
129 new_pos->QuadPart = 0;
stream_impl.cc 29 ULARGE_INTEGER* new_pos) {
32 hr = delegate_->Seek(move, origin, new_pos);
stream_impl.h 24 STDMETHOD(Seek)(LARGE_INTEGER move, DWORD origin, ULARGE_INTEGER* new_pos);
  /external/harfbuzz_ng/src/
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/chromium_org/third_party/harfbuzz-ng/src/
hb-ot-shape-complex-indic.cc 1343 unsigned int new_pos = base == end ? base - 2 : base - 1; local
1578 unsigned int new_pos = base; local
    [all...]
  /external/chromium_org/media/mp2t/
es_parser_adts.cc 78 // |new_pos| returns
81 // In every case, the returned value in |new_pos| is such that new_pos >= pos
86 int* new_pos, int* frame_sz) {
98 *new_pos = pos;
124 *new_pos = offset;
129 *new_pos = max_offset;

Completed in 297 milliseconds

1 2