HomeSort by relevance Sort by last modified time
    Searched defs:rotationRate (Results 1 - 3 of 3) sorted by null

  /external/webkit/Source/WebCore/bindings/js/
JSDeviceMotionEventCustom.cpp 76 static PassRefPtr<DeviceMotionData::RotationRate> readRotationRateArgument(JSValue value, ExecState* exec)
111 return DeviceMotionData::RotationRate::create(canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma);
123 static JSObject* createRotationRateObject(const DeviceMotionData::RotationRate* rotationRate, ExecState* exec)
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())
    [all...]
  /external/webkit/Source/WebCore/bindings/v8/custom/
V8DeviceMotionEventCustom.cpp 51 v8::Handle<v8::Value> createRotationRateObject(const DeviceMotionData::RotationRate* rotationRate)
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());
92 RefPtr<DeviceMotionData::RotationRate> readRotationRateArgument(v8::Local<v8::Value> value)
121 return DeviceMotionData::RotationRate::create(canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma)
    [all...]
  /external/webkit/Source/WebCore/dom/
DeviceMotionData.h 61 class RotationRate : public RefCounted<DeviceMotionData::RotationRate> {
63 static PassRefPtr<RotationRate> create(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma);
74 RotationRate(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma);
87 PassRefPtr<RotationRate> rotationRate, bool canProvideInterval, double interval);
91 const RotationRate* rotationRate() const { return m_rotationRate.get(); }
98 PassRefPtr<RotationRate> rotationRate, bool canProvideInterval, double interval)
    [all...]

Completed in 70 milliseconds