Home
last modified time | relevance | path

Searched refs:current_position_ (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/ash/wm/
Dpartial_screenshot_view.cc140 int left = std::min(start_position_.x(), current_position_.x()); in GetScreenshotRect()
141 int top = std::min(start_position_.y(), current_position_.y()); in GetScreenshotRect()
142 int width = ::abs(start_position_.x() - current_position_.x()); in GetScreenshotRect()
143 int height = ::abs(start_position_.y() - current_position_.y()); in GetScreenshotRect()
152 if (is_dragging_ && current_position_ == position) in OnSelectionChanged()
154 current_position_ = position; in OnSelectionChanged()
Dpartial_screenshot_view_unittest.cc47 EXPECT_EQ("200,200", view_->current_position_.ToString()); in TEST_F()
69 EXPECT_EQ("200,200", view_->current_position_.ToString()); in TEST_F()
Dpartial_screenshot_view.h62 gfx::Point current_position_; variable
/external/chromium_org/net/base/
Dupload_data_stream.cc21 current_position_(0), in UploadDataStream()
33 current_position_(0), in UploadDataStream()
69 return current_position_ == total_size_; in IsEOF()
120 current_position_ = 0; in Reset()
221 current_position_ += bytes_copied; in ReadInternal()
222 DCHECK(is_chunked_ || total_size_ >= current_position_); in ReadInternal()
Dupload_data_stream.h78 uint64 position() const { return current_position_; } in position()
135 uint64 current_position_; variable
/external/chromium/net/base/
Dupload_data_stream.h55 uint64 position() const { return current_position_; } in position()
115 uint64 current_position_; variable
Dupload_data_stream.cc43 current_position_ += num_bytes; in MarkConsumedAndFillBuffer()
54 current_position_(0), in UploadDataStream()
/external/chromium_org/media/filters/
Dpipeline_integration_test.cc256 current_position_(0), in MockMediaSource()
291 current_position_ = new_position; in Seek()
298 DCHECK_LT(current_position_, file_data_->data_size()); in AppendData()
299 DCHECK_LE(current_position_ + size, file_data_->data_size()); in AppendData()
301 kSourceId, file_data_->data() + current_position_, size); in AppendData()
302 current_position_ += size; in AppendData()
368 int current_position_; member in media::MockMediaSource