Home
last modified time | relevance | path

Searched refs:DeviceOrientation (Results 1 – 25 of 55) sorted by relevance

123

/external/webkit/Source/WebCore/dom/
DDeviceOrientation.cpp31 PassRefPtr<DeviceOrientation> DeviceOrientation::create() in create()
33 return adoptRef(new DeviceOrientation); in create()
36 PassRefPtr<DeviceOrientation> DeviceOrientation::create(bool canProvideAlpha, double alpha, bool ca… in create()
38 …return adoptRef(new DeviceOrientation(canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamm… in create()
42 DeviceOrientation::DeviceOrientation() in DeviceOrientation() function in WebCore::DeviceOrientation
49 DeviceOrientation::DeviceOrientation(bool canProvideAlpha, double alpha, bool canProvideBeta, doubl… in DeviceOrientation() function in WebCore::DeviceOrientation
59 double DeviceOrientation::alpha() const in alpha()
64 double DeviceOrientation::beta() const in beta()
69 double DeviceOrientation::gamma() const in gamma()
74 bool DeviceOrientation::canProvideAlpha() const in canProvideAlpha()
[all …]
DDeviceOrientation.h34 class DeviceOrientation : public RefCounted<DeviceOrientation> {
36 static PassRefPtr<DeviceOrientation> create();
37 …static PassRefPtr<DeviceOrientation> create(bool canProvideAlpha, double alpha, bool canProvideBet…
47 DeviceOrientation();
48DeviceOrientation(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canPr…
DDeviceOrientationEvent.h33 class DeviceOrientation; variable
42 …efPtr<DeviceOrientationEvent> create(const AtomicString& eventType, DeviceOrientation* orientation) in create()
47 …eviceOrientationEvent(const AtomicString& type, bool bubbles, bool cancelable, DeviceOrientation*);
51 DeviceOrientation* orientation() const { return m_orientation.get(); } in orientation()
55 DeviceOrientationEvent(const AtomicString& eventType, DeviceOrientation*);
57 RefPtr<DeviceOrientation> m_orientation;
DDeviceOrientationEvent.cpp38 : m_orientation(DeviceOrientation::create()) in DeviceOrientationEvent()
42 DeviceOrientationEvent::DeviceOrientationEvent(const AtomicString& eventType, DeviceOrientation* or… in DeviceOrientationEvent()
48 …ationEvent(const AtomicString& type, bool bubbles, bool cancelable, DeviceOrientation* orientation) in initDeviceOrientationEvent()
DDeviceOrientationClient.h31 class DeviceOrientation; variable
41 virtual DeviceOrientation* lastOrientation() const = 0;
DDeviceOrientationController.h36 class DeviceOrientation; variable
49 void didChangeDeviceOrientation(DeviceOrientation*);
DDeviceOrientationController.cpp54 RefPtr<DeviceOrientation> orientation = m_client->lastOrientation(); in timerFired()
102 void DeviceOrientationController::didChangeDeviceOrientation(DeviceOrientation* orientation) in didChangeDeviceOrientation()
/external/webkit/Source/WebKit/mac/WebView/
DWebDeviceOrientationInternal.h28 #import <WebCore/DeviceOrientation.h>
33 RefPtr<WebCore::DeviceOrientation> m_orientation;
36 - (id)initWithCoreDeviceOrientation:(PassRefPtr<WebCore::DeviceOrientation>)coreDeviceOrientation;
41 - (id)initWithCoreDeviceOrientation:(PassRefPtr<WebCore::DeviceOrientation>)coreDeviceOrientation;
45 WebCore::DeviceOrientation* core(WebDeviceOrientation*);
DWebDeviceOrientation.mm32 - (id)initWithCoreDeviceOrientation:(PassRefPtr<DeviceOrientation>)coreDeviceOrientation
45 - (id)initWithCoreDeviceOrientation:(PassRefPtr<WebCore::DeviceOrientation>)coreDeviceOrientation
58 DeviceOrientation* core(WebDeviceOrientation* orientation)
68 …[[WebDeviceOrientationInternal alloc] initWithCoreDeviceOrientation:DeviceOrientation::create(canP…
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DDeviceOrientationProviderQt.cpp30 m_orientation = DeviceOrientation::create(); in DeviceOrientationProviderQt()
64 m_orientation = DeviceOrientation::create(hasAlpha(), reading->z(), in filter()
72 void DeviceOrientationProviderQt::changeDeviceOrientation(DeviceOrientation* orientation) in changeDeviceOrientation()
79 …::client(), SIGNAL(mockOrientationChanged(DeviceOrientation*)), SLOT(changeDeviceOrientation(Devic… in activeClientMock()
DDeviceOrientationProviderQt.h45 DeviceOrientation* orientation() const { return m_orientation.get(); } in orientation()
49 void deviceOrientationChanged(DeviceOrientation*);
52 void changeDeviceOrientation(DeviceOrientation*);
57 RefPtr<DeviceOrientation> m_orientation;
DDeviceOrientationClientQt.cpp35 …provider, SIGNAL(deviceOrientationChanged(DeviceOrientation*)), SLOT(changeDeviceOrientation(Devic… in DeviceOrientationClientQt()
59 DeviceOrientation* DeviceOrientationClientQt::lastOrientation() const in lastOrientation()
69 void DeviceOrientationClientQt::changeDeviceOrientation(DeviceOrientation* orientation) in changeDeviceOrientation()
DDeviceOrientationClientMockQt.h30 class DeviceOrientation; variable
43 virtual DeviceOrientation* lastOrientation() const;
49 void mockOrientationChanged(DeviceOrientation*);
56 RefPtr<DeviceOrientation> m_orientation;
DDeviceOrientationClientMockQt.cpp43 m_orientation = DeviceOrientation::create(); in DeviceOrientationClientMockQt()
66 DeviceOrientation* DeviceOrientationClientMockQt::lastOrientation() const in lastOrientation()
78 m_orientation = DeviceOrientation::create(canProvideAlpha, alpha, in setOrientation()
DDeviceOrientationClientQt.h43 virtual DeviceOrientation* lastOrientation() const;
47 void changeDeviceOrientation(DeviceOrientation*);
/external/webkit/Source/WebKit/chromium/src/
DWebDeviceOrientation.cpp34 WebDeviceOrientation::WebDeviceOrientation(const PassRefPtr<WebCore::DeviceOrientation>& orientatio… in WebDeviceOrientation()
56 WebDeviceOrientation& WebDeviceOrientation::operator=(const PassRefPtr<WebCore::DeviceOrientation>&… in operator =()
79 WebDeviceOrientation::operator PassRefPtr<WebCore::DeviceOrientation>() const in operator PassRefPtr<WebCore::DeviceOrientation>()
83 …return WebCore::DeviceOrientation::create(m_canProvideAlpha, m_alpha, m_canProvideBeta, m_beta, m_… in operator PassRefPtr<WebCore::DeviceOrientation>()
DDeviceOrientationClientProxy.h50 WebCore::DeviceOrientation* lastOrientation() const;
55 mutable RefPtr<WebCore::DeviceOrientation> m_lastOrientation;
DWebDeviceOrientationController.cpp38 PassRefPtr<WebCore::DeviceOrientation> deviceOrientation(orientation); in didChangeDeviceOrientation()
/external/webkit/Source/WebKit/chromium/public/
DWebDeviceOrientation.h31 namespace WebCore { class DeviceOrientation; } variable
60 WebDeviceOrientation(const WTF::PassRefPtr<WebCore::DeviceOrientation>&);
61 WebDeviceOrientation& operator=(const WTF::PassRefPtr<WebCore::DeviceOrientation>&);
62 operator WTF::PassRefPtr<WebCore::DeviceOrientation>() const;
/external/webkit/Source/WebKit/android/jni/
DDeviceMotionAndOrientationManager.cpp65 void DeviceMotionAndOrientationManager::setMockOrientation(PassRefPtr<DeviceOrientation> orientatio… in setMockOrientation()
71 void DeviceMotionAndOrientationManager::onOrientationChange(PassRefPtr<DeviceOrientation> orientati… in onOrientationChange()
143 …RefPtr<DeviceOrientation> orientation = DeviceOrientation::create(canProvideAlpha, alpha, canProvi… in setMockOrientation()
149 …RefPtr<DeviceOrientation> orientation = DeviceOrientation::create(canProvideAlpha, alpha, canProvi… in onOrientationChange()
DDeviceOrientationClientImpl.h47 void onOrientationChange(PassRefPtr<DeviceOrientation>);
54 virtual DeviceOrientation* lastOrientation() const { return m_lastOrientation.get(); } in lastOrientation()
65 RefPtr<DeviceOrientation> m_lastOrientation;
DDeviceMotionAndOrientationManager.h52 void setMockOrientation(PassRefPtr<WebCore::DeviceOrientation>);
53 void onOrientationChange(PassRefPtr<WebCore::DeviceOrientation>);
/external/webkit/Source/WebCore/platform/mock/
DDeviceOrientationClientMock.h51 virtual DeviceOrientation* lastOrientation() const { return m_orientation.get(); } in lastOrientation()
54 void setOrientation(PassRefPtr<DeviceOrientation>);
59 RefPtr<DeviceOrientation> m_orientation;
/external/webkit/Source/WebCore/bindings/js/
DJSDeviceOrientationEventCustom.cpp75 …RefPtr<DeviceOrientation> orientation = DeviceOrientation::create(alphaProvided, alpha, betaProvid… in initDeviceOrientationEvent()
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8DeviceOrientationEventCustom.cpp84 …RefPtr<DeviceOrientation> orientation = DeviceOrientation::create(alphaProvided, alpha, betaProvid… in initDeviceOrientationEventCallback()

123