Searched defs:rotationRate (Results 1 - 4 of 4) sorted by relevance
/external/webkit/Source/WebCore/bindings/js/ |
H A D | JSDeviceMotionEventCustom.cpp | 123 static JSObject* createRotationRateObject(const DeviceMotionData::RotationRate* rotationRate, ExecState* exec) argument 126 object->putDirect(exec->globalData(), Identifier(exec, "alpha"), rotationRate->canProvideAlpha() ? jsNumber(rotationRate->alpha()) : jsNull()); 127 object->putDirect(exec->globalData(), Identifier(exec, "beta"), rotationRate->canProvideBeta() ? jsNumber(rotationRate->beta()) : jsNull()); 128 object->putDirect(exec->globalData(), Identifier(exec, "gamma"), rotationRate->canProvideGamma() ? jsNumber(rotationRate->gamma()) : jsNull()); 148 JSValue JSDeviceMotionEvent::rotationRate(ExecState* exec) const function in class:WebCore::JSDeviceMotionEvent 151 if (!imp->deviceMotionData()->rotationRate()) 153 return createRotationRateObject(imp->deviceMotionData()->rotationRate(), exe [all...] |
/external/webkit/Source/WebCore/dom/ |
H A D | DeviceMotionData.cpp | 72 PassRefPtr<RotationRate> rotationRate, bool canProvideInterval, double interval) 74 return adoptRef(new DeviceMotionData(acceleration, accelerationIncludingGravity, rotationRate, canProvideInterval, interval)); 83 PassRefPtr<RotationRate> rotationRate, bool canProvideInterval, double interval) 86 , m_rotationRate(rotationRate) 71 create(PassRefPtr<Acceleration> acceleration, PassRefPtr<Acceleration> accelerationIncludingGravity, PassRefPtr<RotationRate> rotationRate, bool canProvideInterval, double interval) argument 82 DeviceMotionData(PassRefPtr<Acceleration> acceleration, PassRefPtr<Acceleration> accelerationIncludingGravity, PassRefPtr<RotationRate> rotationRate, bool canProvideInterval, double interval) argument
|
H A D | DeviceMotionData.h | 87 PassRefPtr<RotationRate> rotationRate, bool canProvideInterval, double interval); 91 const RotationRate* rotationRate() const { return m_rotationRate.get(); } function in class:WebCore::DeviceMotionData 98 PassRefPtr<RotationRate> rotationRate, bool canProvideInterval, double interval);
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
H A D | V8DeviceMotionEventCustom.cpp | 51 v8::Handle<v8::Value> createRotationRateObject(const DeviceMotionData::RotationRate* rotationRate) argument 54 object->Set(v8::String::New("alpha"), rotationRate->canProvideAlpha() ? v8::Number::New(rotationRate->alpha()) : v8::Null()); 55 object->Set(v8::String::New("beta"), rotationRate->canProvideBeta() ? v8::Number::New(rotationRate->beta()) : v8::Null()); 56 object->Set(v8::String::New("gamma"), rotationRate->canProvideGamma() ? v8::Number::New(rotationRate->gamma()) : v8::Null()); 148 INC_STATS("DOM.DeviceMotionEvent.rotationRate._get"); 151 if (!imp->deviceMotionData()->rotationRate()) 153 return createRotationRateObject(imp->deviceMotionData()->rotationRate()); 174 RefPtr<DeviceMotionData::RotationRate> rotationRate = readRotationRateArgument(args[5]); local [all...] |
Completed in 87 milliseconds