HomeSort by relevance Sort by last modified time
    Searched full:orientation_buffer_ (Results 1 - 6 of 6) sorted by null

  /external/chromium_org/content/browser/device_orientation/
data_fetcher_impl_android_unittest.cc 45 orientation_buffer_.reset(new DeviceOrientationHardwareBuffer);
49 scoped_ptr<DeviceOrientationHardwareBuffer> orientation_buffer_; member in class:content::__anon7622::AndroidDataFetcherTest
128 fetcher.StartFetchingDeviceOrientationData(orientation_buffer_.get());
129 ASSERT_FALSE(orientation_buffer_->data.allAvailableSensorsAreActive);
132 ASSERT_TRUE(orientation_buffer_->data.allAvailableSensorsAreActive);
133 ASSERT_EQ(1, orientation_buffer_->data.alpha);
134 ASSERT_TRUE(orientation_buffer_->data.hasAlpha);
135 ASSERT_EQ(2, orientation_buffer_->data.beta);
136 ASSERT_TRUE(orientation_buffer_->data.hasBeta);
137 ASSERT_EQ(3, orientation_buffer_->data.gamma)
    [all...]
data_fetcher_shared_memory_default.cc 37 : motion_buffer_(NULL), orientation_buffer_(NULL) {
52 orientation_buffer_ =
56 return SetOrientationBuffer(orientation_buffer_, true);
69 return SetOrientationBuffer(orientation_buffer_, false);
data_fetcher_shared_memory_mac.cc 110 FetchOrientation(sudden_motion_sensor_.get(), orientation_buffer_);
132 orientation_buffer_ =
158 if (orientation_buffer_) {
159 orientation_buffer_->seqlock.WriteBegin();
160 orientation_buffer_->data.allAvailableSensorsAreActive = false;
161 orientation_buffer_->seqlock.WriteEnd();
162 orientation_buffer_ = NULL;
data_fetcher_shared_memory_win.cc 228 orientation_buffer_(NULL) {
244 orientation_buffer_ =
247 new SensorEventSinkOrientation(orientation_buffer_));
293 orientation_buffer_ = NULL;
382 if (orientation_buffer_) {
383 orientation_buffer_->seqlock.WriteBegin();
384 orientation_buffer_->data.allAvailableSensorsAreActive = enabled;
385 orientation_buffer_->seqlock.WriteEnd();
data_fetcher_shared_memory.h 37 DeviceOrientationHardwareBuffer* orientation_buffer_; member in class:content::DataFetcherSharedMemory
data_fetcher_shared_memory_base_unittest.cc 29 orientation_buffer_(NULL) {
41 orientation_buffer_ =
73 return orientation_buffer_;
119 DeviceOrientationHardwareBuffer* orientation_buffer_; member in class:content::__anon7624::FakeDataFetcher

Completed in 321 milliseconds