Searched refs:orientation (Results 1 - 25 of 205) sorted by relevance

123456789

/external/webkit/Source/WebKit/chromium/src/
H A DWebDeviceOrientation.cpp34 WebDeviceOrientation::WebDeviceOrientation(const PassRefPtr<WebCore::DeviceOrientation>& orientation) argument
36 if (!orientation) {
48 m_canProvideAlpha = orientation->canProvideAlpha();
49 m_alpha = orientation->alpha();
50 m_canProvideBeta = orientation->canProvideBeta();
51 m_beta = orientation->beta();
52 m_canProvideGamma = orientation->canProvideGamma();
53 m_gamma = orientation->gamma();
56 WebDeviceOrientation& WebDeviceOrientation::operator=(const PassRefPtr<WebCore::DeviceOrientation>& orientation) argument
58 if (!orientation) {
[all...]
H A DWebDeviceOrientationController.cpp36 void WebDeviceOrientationController::didChangeDeviceOrientation(const WebDeviceOrientation& orientation) argument
38 PassRefPtr<WebCore::DeviceOrientation> deviceOrientation(orientation);
H A DWebDeviceOrientationClientMock.cpp61 void WebDeviceOrientationClientMock::setOrientation(WebDeviceOrientation& orientation) argument
63 m_clientMock->setOrientation(orientation);
H A DWebScrollbarImpl.cpp53 WebScrollbar* WebScrollbar::create(WebScrollbarClient* client, Orientation orientation) argument
55 return new WebScrollbarImpl(client, orientation);
63 WebScrollbarImpl::WebScrollbarImpl(WebScrollbarClient* client, Orientation orientation) argument
69 static_cast<ScrollbarOrientation>(orientation),
84 int length = m_scrollbar->orientation() == HorizontalScrollbar ? m_scrollbar->width() : m_scrollbar->height();
98 ScrollableArea::scrollToOffsetWithoutAnimation(m_scrollbar->orientation(), static_cast<float>(position));
103 int length = m_scrollbar->orientation() == HorizontalScrollbar ? m_scrollbar->width() : m_scrollbar->height();
111 bool horizontal = m_scrollbar->orientation() == HorizontalScrollbar;
203 float delta = m_scrollbar->orientation() == HorizontalScrollbar ? mousewheel.deltaX : mousewheel.deltaY;
206 ASSERT(m_scrollbar->orientation()
[all...]
/external/webkit/Source/WebCore/dom/
H A DDeviceOrientationEvent.cpp42 DeviceOrientationEvent::DeviceOrientationEvent(const AtomicString& eventType, DeviceOrientation* orientation) argument
44 , m_orientation(orientation)
48 void DeviceOrientationEvent::initDeviceOrientationEvent(const AtomicString& type, bool bubbles, bool cancelable, DeviceOrientation* orientation) argument
54 m_orientation = orientation;
H A DDeviceOrientationEvent.h42 static PassRefPtr<DeviceOrientationEvent> create(const AtomicString& eventType, DeviceOrientation* orientation) argument
44 return adoptRef(new DeviceOrientationEvent(eventType, orientation));
51 DeviceOrientation* orientation() const { return m_orientation.get(); } function in class:WebCore::DeviceOrientationEvent
H A DDeviceOrientationController.cpp54 RefPtr<DeviceOrientation> orientation = m_client->lastOrientation(); local
55 RefPtr<DeviceOrientationEvent> event = DeviceOrientationEvent::create(eventNames().deviceorientationEvent, orientation.get());
66 // If the client already has an orientation, we should fire an event with that
67 // orientation. The event is fired asynchronously, but without
68 // waiting for the client to get a new orientation.
102 void DeviceOrientationController::didChangeDeviceOrientation(DeviceOrientation* orientation) argument
104 RefPtr<DeviceOrientationEvent> event = DeviceOrientationEvent::create(eventNames().deviceorientationEvent, orientation);
/external/skia/src/core/
H A DSkFontHost.cpp22 void SkFontHost::SetSubpixelOrientation(LCDOrientation orientation) argument
24 gLCDOrientation = orientation;
/external/webkit/Source/WebCore/bindings/js/
H A DJSDeviceOrientationEventCustom.cpp41 if (!imp->orientation()->canProvideAlpha())
43 return jsNumber(imp->orientation()->alpha());
49 if (!imp->orientation()->canProvideBeta())
51 return jsNumber(imp->orientation()->beta());
57 if (!imp->orientation()->canProvideGamma())
59 return jsNumber(imp->orientation()->gamma());
75 RefPtr<DeviceOrientation> orientation = DeviceOrientation::create(alphaProvided, alpha, betaProvided, beta, gammaProvided, gamma); local
77 imp->initDeviceOrientationEvent(type, bubbles, cancelable, orientation.get());
/external/webkit/Source/WebKit/qt/WebCoreSupport/
H A DDeviceOrientationClientQt.cpp61 return m_provider->orientation();
69 void DeviceOrientationClientQt::changeDeviceOrientation(DeviceOrientation* orientation) argument
74 m_controller->didChangeDeviceOrientation(orientation);
H A DDeviceMotionProviderQt.cpp59 m_deviceOrientation->hasAlpha(), m_deviceOrientation->orientation()->alpha(),
60 /* beta available */ true, m_deviceOrientation->orientation()->beta(),
61 /* gamma available */ true, m_deviceOrientation->orientation()->gamma());
H A DDeviceOrientationProviderQt.cpp53 // Provide device orientation data according W3C spec:
54 // http://dev.w3.org/geo/api/spec-source-orientation.html
72 void DeviceOrientationProviderQt::changeDeviceOrientation(DeviceOrientation* orientation) argument
74 m_orientation = orientation;
/external/webkit/Source/WebCore/accessibility/
H A DAccessibilityScrollbar.cpp67 AccessibilityOrientation AccessibilityScrollbar::orientation() const function in class:WebCore::AccessibilityScrollbar
72 if (m_scrollbar->orientation() == HorizontalScrollbar)
74 if (m_scrollbar->orientation() == VerticalScrollbar)
104 m_scrollbar->scrollableArea()->scrollToOffsetWithoutAnimation(m_scrollbar->orientation(), newValue);
/external/webkit/Source/WebKit/mac/WebView/
H A DWebDeviceOrientationProviderMock.h38 - (void)setOrientation:(WebDeviceOrientation*)orientation;
H A DWebDeviceOrientationProviderMock.mm43 - (void)setOrientation:(WebDeviceOrientation*)orientation
45 m_core->setOrientation(core(orientation));
102 - (void)setOrientation:(WebDeviceOrientation*)orientation
104 [m_internal setOrientation:orientation];
H A DWebDeviceOrientation.mm58 DeviceOrientation* core(WebDeviceOrientation* orientation)
60 return orientation ? orientation->m_internal->m_orientation.get() : 0;
/external/webkit/Source/WebKit/chromium/src/linux/
H A DWebFontRendering.cpp65 void WebFontRendering::setLCDOrientation(SkFontHost::LCDOrientation orientation) argument
67 SkFontHost::SetSubpixelOrientation(orientation);
/external/webkit/Source/WebCore/bindings/v8/custom/
H A DV8DeviceOrientationEventCustom.cpp45 if (!imp->orientation()->canProvideAlpha())
47 return v8::Number::New(imp->orientation()->alpha());
55 if (!imp->orientation()->canProvideBeta())
57 return v8::Number::New(imp->orientation()->beta());
65 if (!imp->orientation()->canProvideGamma())
67 return v8::Number::New(imp->orientation()->gamma());
84 RefPtr<DeviceOrientation> orientation = DeviceOrientation::create(alphaProvided, alpha, betaProvided, beta, gammaProvided, gamma); local
85 imp->initDeviceOrientationEvent(type, bubbles, cancelable, orientation.get());
/external/webkit/Source/WebCore/platform/mock/
H A DDeviceOrientationClientMock.cpp58 void DeviceOrientationClientMock::setOrientation(PassRefPtr<DeviceOrientation> orientation) argument
60 m_orientation = orientation;
/external/webkit/Source/WebCore/platform/gtk/
H A DMainFrameScrollbarGtk.cpp33 PassRefPtr<MainFrameScrollbarGtk> MainFrameScrollbarGtk::create(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, GtkAdjustment* adj) argument
35 return adoptRef(new MainFrameScrollbarGtk(scrollableArea, orientation, adj));
45 MainFrameScrollbarGtk::MainFrameScrollbarGtk(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, GtkAdjustment* adjustment) argument
46 : Scrollbar(scrollableArea, orientation, RegularScrollbar)
124 that->scrollableArea()->scrollToOffsetWithoutAnimation(that->orientation(), newValue);
/external/webkit/Source/WebCore/platform/win/
H A DScrollbarThemeSafari.cpp109 return scrollbar->enabled() && (scrollbar->orientation() == HorizontalScrollbar ?
116 return scrollbar->enabled() && (scrollbar->orientation() == HorizontalScrollbar ?
121 static IntRect buttonRepaintRect(const IntRect& buttonRect, ScrollbarOrientation orientation, ScrollbarControlSize controlSize, bool start) argument
124 if (orientation == HorizontalScrollbar) {
146 if (scrollbar->orientation() == HorizontalScrollbar)
151 return buttonRepaintRect(result, scrollbar->orientation(), scrollbar->controlSize(), true);
164 if (scrollbar->orientation() == HorizontalScrollbar)
169 return buttonRepaintRect(result, scrollbar->orientation(), scrollbar->controlSize(), false);
173 static IntRect trackRepaintRect(const IntRect& trackRect, ScrollbarOrientation orientation, ScrollbarControlSize controlSize) argument
176 if (orientation
[all...]
/external/webkit/Source/WebKit/android/jni/
H A DDeviceMotionAndOrientationManager.cpp65 void DeviceMotionAndOrientationManager::setMockOrientation(PassRefPtr<DeviceOrientation> orientation) argument
68 static_cast<DeviceOrientationClientMock*>(orientationClient())->setOrientation(orientation);
71 void DeviceMotionAndOrientationManager::onOrientationChange(PassRefPtr<DeviceOrientation> orientation) argument
74 static_cast<DeviceOrientationClientImpl*>(m_orientationClient.get())->onOrientationChange(orientation);
143 RefPtr<DeviceOrientation> orientation = DeviceOrientation::create(canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma); local
144 getWebViewCore(env, webViewCoreObject)->deviceMotionAndOrientationManager()->setMockOrientation(orientation.release());
149 RefPtr<DeviceOrientation> orientation = DeviceOrientation::create(canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma); local
150 getWebViewCore(env, webViewCoreObject)->deviceMotionAndOrientationManager()->onOrientationChange(orientation.release());
/external/webkit/Source/WebCore/css/
H A DSVGCSSPropertyNames.in44 glyph-orientation-horizontal
45 glyph-orientation-vertical
/external/webkit/Source/WebCore/platform/qt/
H A DWheelEventQt.cpp33 void PlatformWheelEvent::applyDelta(int delta, Qt::Orientation orientation) argument
40 if (orientation == Qt::Horizontal) {
73 applyDelta(e->delta(), e->orientation());
92 applyDelta(e->delta(), e->orientation());
/external/webkit/Source/WebCore/svg/
H A DSVGGlyphElement.h55 , orientation(Both)
76 && orientation == other.orientation
88 unsigned orientation : 2; // Orientation member in struct:WebCore::SVGGlyphIdentifier

Completed in 1995 milliseconds

123456789