Home
last modified time | relevance | path

Searched refs:orientation (Results 1 – 25 of 252) sorted by relevance

1234567891011

/external/webkit/Source/WebKit/chromium/src/
DWebDeviceOrientation.cpp34 …bDeviceOrientation::WebDeviceOrientation(const PassRefPtr<WebCore::DeviceOrientation>& orientation) in WebDeviceOrientation() argument
36 if (!orientation) { in WebDeviceOrientation()
48 m_canProvideAlpha = orientation->canProvideAlpha(); in WebDeviceOrientation()
49 m_alpha = orientation->alpha(); in WebDeviceOrientation()
50 m_canProvideBeta = orientation->canProvideBeta(); in WebDeviceOrientation()
51 m_beta = orientation->beta(); in WebDeviceOrientation()
52 m_canProvideGamma = orientation->canProvideGamma(); in WebDeviceOrientation()
53 m_gamma = orientation->gamma(); in WebDeviceOrientation()
56 …ntation& WebDeviceOrientation::operator=(const PassRefPtr<WebCore::DeviceOrientation>& orientation) in operator =() argument
58 if (!orientation) { in operator =()
[all …]
DWebScrollbarImpl.cpp53 WebScrollbar* WebScrollbar::create(WebScrollbarClient* client, Orientation orientation) in create() argument
55 return new WebScrollbarImpl(client, orientation); in create()
63 WebScrollbarImpl::WebScrollbarImpl(WebScrollbarClient* client, Orientation orientation) in WebScrollbarImpl() argument
69 static_cast<ScrollbarOrientation>(orientation), in WebScrollbarImpl()
84 …int length = m_scrollbar->orientation() == HorizontalScrollbar ? m_scrollbar->width() : m_scrollba… in setLocation()
98 …ScrollableArea::scrollToOffsetWithoutAnimation(m_scrollbar->orientation(), static_cast<float>(posi… in setValue()
103 …int length = m_scrollbar->orientation() == HorizontalScrollbar ? m_scrollbar->width() : m_scrollba… in setDocumentSize()
111 bool horizontal = m_scrollbar->orientation() == HorizontalScrollbar; in scroll()
203 …float delta = m_scrollbar->orientation() == HorizontalScrollbar ? mousewheel.deltaX : mousewheel.d… in onMouseWheel()
206 ASSERT(m_scrollbar->orientation() == VerticalScrollbar); in onMouseWheel()
[all …]
/external/webkit/Source/WebCore/bindings/js/
DJSDeviceOrientationEventCustom.cpp41 if (!imp->orientation()->canProvideAlpha()) in alpha()
43 return jsNumber(imp->orientation()->alpha()); in alpha()
49 if (!imp->orientation()->canProvideBeta()) in beta()
51 return jsNumber(imp->orientation()->beta()); in beta()
57 if (!imp->orientation()->canProvideGamma()) in gamma()
59 return jsNumber(imp->orientation()->gamma()); in gamma()
75 …RefPtr<DeviceOrientation> orientation = DeviceOrientation::create(alphaProvided, alpha, betaProvid… in initDeviceOrientationEvent() local
77 imp->initDeviceOrientationEvent(type, bubbles, cancelable, orientation.get()); in initDeviceOrientationEvent()
/external/webkit/Source/WebCore/platform/win/
DScrollbarThemeSafari.cpp109 return scrollbar->enabled() && (scrollbar->orientation() == HorizontalScrollbar ? in hasButtons()
116 return scrollbar->enabled() && (scrollbar->orientation() == HorizontalScrollbar ? in hasThumb()
121 static IntRect buttonRepaintRect(const IntRect& buttonRect, ScrollbarOrientation orientation, Scrol… in buttonRepaintRect() argument
124 if (orientation == HorizontalScrollbar) { in buttonRepaintRect()
146 if (scrollbar->orientation() == HorizontalScrollbar) in backButtonRect()
151 return buttonRepaintRect(result, scrollbar->orientation(), scrollbar->controlSize(), true); in backButtonRect()
164 if (scrollbar->orientation() == HorizontalScrollbar) in forwardButtonRect()
169 return buttonRepaintRect(result, scrollbar->orientation(), scrollbar->controlSize(), false); in forwardButtonRect()
173 static IntRect trackRepaintRect(const IntRect& trackRect, ScrollbarOrientation orientation, Scrollb… in trackRepaintRect() argument
176 if (orientation == HorizontalScrollbar) in trackRepaintRect()
[all …]
DScrollbarThemeWin.cpp150 if (scrollbar->orientation() == HorizontalScrollbar) in backButtonRect()
169 if (scrollbar->orientation() == HorizontalScrollbar) { in forwardButtonRect()
181 if (scrollbar->orientation() == HorizontalScrollbar) { in trackRect()
201 const bool horz = scrollbar->orientation() == HorizontalScrollbar; in shouldSnapBackToDragOrigin()
227 if (scrollbar->orientation() == HorizontalScrollbar) in paintTrackPiece()
281 if (scrollbar->orientation() == HorizontalScrollbar) in paintButton()
304 if (scrollbar->orientation() == HorizontalScrollbar) in paintButton()
348 …DrawThemeBackground(scrollbarTheme, hdc, scrollbar->orientation() == HorizontalScrollbar ? SP_GRIP… in paintGripper()
367 …alphaBlend = IsThemeBackgroundPartiallyTransparent(scrollbarTheme, scrollbar->orientation() == Hor… in paintThumb()
371 …DrawThemeBackground(scrollbarTheme, hdc, scrollbar->orientation() == HorizontalScrollbar ? SP_THUM… in paintThumb()
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8DeviceOrientationEventCustom.cpp45 if (!imp->orientation()->canProvideAlpha()) in alphaAccessorGetter()
47 return v8::Number::New(imp->orientation()->alpha()); in alphaAccessorGetter()
55 if (!imp->orientation()->canProvideBeta()) in betaAccessorGetter()
57 return v8::Number::New(imp->orientation()->beta()); in betaAccessorGetter()
65 if (!imp->orientation()->canProvideGamma()) in gammaAccessorGetter()
67 return v8::Number::New(imp->orientation()->gamma()); in gammaAccessorGetter()
84 …RefPtr<DeviceOrientation> orientation = DeviceOrientation::create(alphaProvided, alpha, betaProvid… in initDeviceOrientationEventCallback() local
85 imp->initDeviceOrientationEvent(type, bubbles, cancelable, orientation.get()); in initDeviceOrientationEventCallback()
/external/webkit/Source/WebCore/platform/gtk/
DScrollbarThemeGtk2.cpp70 …return scrollbar->orientation() == VerticalScrollbar ? theme->gtkVScrollbar() : theme->gtkHScrollb… in getWidgetForScrollbar()
118 GtkOrientation orientation = GTK_ORIENTATION_HORIZONTAL; in paintThumb() local
119 if (scrollbar->orientation() == VerticalScrollbar) { in paintThumb()
121 orientation = GTK_ORIENTATION_VERTICAL; in paintThumb()
127 widgetContext.gtkPaintSlider(sliderRect, widget, stateType, shadowType, "slider", orientation); in paintThumb()
152 ScrollbarOrientation orientation = scrollbar->orientation(); in paintButton() local
153 int buttonSize = (orientation == VerticalScrollbar) ? rect.height() : rect.width(); in paintButton()
171 if (orientation == VerticalScrollbar) { in paintButton()
180 const char* detail = orientation == VerticalScrollbar ? "vscrollbar" : "hscrollbar"; in paintButton()
203 if (orientation == VerticalScrollbar) { in paintButton()
[all …]
DMainFrameScrollbarGtk.cpp33 …ollbarGtk::create(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, GtkAdjustment*… in create() argument
35 return adoptRef(new MainFrameScrollbarGtk(scrollableArea, orientation, adj)); in create()
45 …FrameScrollbarGtk(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, GtkAdjustment*… in MainFrameScrollbarGtk() argument
46 : Scrollbar(scrollableArea, orientation, RegularScrollbar) in MainFrameScrollbarGtk()
124 that->scrollableArea()->scrollToOffsetWithoutAnimation(that->orientation(), newValue); in gtkValueChanged()
/external/webkit/Source/WebKit/win/
DWebScrollBar.cpp96 /* [in] */ WebScrollBarOrientation orientation, in init() argument
101 ScrollbarOrientation webCoreOrientation = (ScrollbarOrientation) orientation; in init()
146 ScrollableArea::scrollToOffsetWithoutAnimation(m_scrollBar->orientation(), m_currentPosition); in setValue()
206 …*w = m_scrollBar->orientation() == VerticalScrollbar ? ScrollbarTheme::nativeTheme()->scrollbarThi… in requestedWidth()
216 …*h = m_scrollBar->orientation() == HorizontalScrollbar ? ScrollbarTheme::nativeTheme()->scrollbarT… in requestedHeight()
256 int WebScrollBar::scrollSize(ScrollbarOrientation orientation) const in scrollSize()
258 …return (orientation == m_scrollBar->orientation()) ? (m_scrollBar->totalSize() - m_scrollBar->visi… in scrollSize()
268 … m_currentPosition = (m_scrollBar->orientation() == HorizontalScrollbar) ? offset.x() : offset.y(); in setScrollOffset()
280 return m_scrollBar->orientation() == HorizontalScrollbar ? m_scrollBar.get() : 0; in horizontalScrollbar()
285 return m_scrollBar->orientation() == VerticalScrollbar ? m_scrollBar.get() : 0; in verticalScrollbar()
/external/chromium/chrome/browser/chromeos/input_method/
Dcandidate_window.cc108 chromeos::InputMethodLookupTable::Orientation orientation) { in CreateShortcutText() argument
119 if (orientation == chromeos::InputMethodLookupTable::kVertical) { in CreateShortcutText()
131 chromeos::InputMethodLookupTable::Orientation orientation) { in CreateShortcutLabel() argument
137 if (orientation == chromeos::InputMethodLookupTable::kVertical) { in CreateShortcutLabel()
155 chromeos::InputMethodLookupTable::Orientation orientation) { in CreateWrappedShortcutLabel() argument
160 (orientation == chromeos::InputMethodLookupTable::kVertical ? in CreateWrappedShortcutLabel()
167 if (orientation == chromeos::InputMethodLookupTable::kVertical) { in CreateWrappedShortcutLabel()
180 chromeos::InputMethodLookupTable::Orientation orientation) { in CreateCandidateLabel() argument
185 if (orientation == chromeos::InputMethodLookupTable::kVertical) { in CreateCandidateLabel()
202 chromeos::InputMethodLookupTable::Orientation orientation) { in CreateAnnotationLabel() argument
[all …]
/external/webkit/Source/WebKit/android/jni/
DDeviceMotionAndOrientationManager.cpp65 …id DeviceMotionAndOrientationManager::setMockOrientation(PassRefPtr<DeviceOrientation> orientation) in setMockOrientation() argument
68 static_cast<DeviceOrientationClientMock*>(orientationClient())->setOrientation(orientation); in setMockOrientation()
71 …d DeviceMotionAndOrientationManager::onOrientationChange(PassRefPtr<DeviceOrientation> orientation) in onOrientationChange() argument
74 …ic_cast<DeviceOrientationClientImpl*>(m_orientationClient.get())->onOrientationChange(orientation); in onOrientationChange()
143 …RefPtr<DeviceOrientation> orientation = DeviceOrientation::create(canProvideAlpha, alpha, canProvi… in setMockOrientation() local
144 …webViewCoreObject)->deviceMotionAndOrientationManager()->setMockOrientation(orientation.release()); in setMockOrientation()
149 …RefPtr<DeviceOrientation> orientation = DeviceOrientation::create(canProvideAlpha, alpha, canProvi… in onOrientationChange() local
150 …ebViewCoreObject)->deviceMotionAndOrientationManager()->onOrientationChange(orientation.release()); in onOrientationChange()
/external/webkit/Source/WebCore/dom/
DDeviceOrientationEvent.cpp42 …ntationEvent::DeviceOrientationEvent(const AtomicString& eventType, DeviceOrientation* orientation) in DeviceOrientationEvent() argument
44 , m_orientation(orientation) in DeviceOrientationEvent()
48 …ationEvent(const AtomicString& type, bool bubbles, bool cancelable, DeviceOrientation* orientation) in initDeviceOrientationEvent() argument
54 m_orientation = orientation; in initDeviceOrientationEvent()
DDeviceOrientationEvent.h42 …efPtr<DeviceOrientationEvent> create(const AtomicString& eventType, DeviceOrientation* orientation) in create() argument
44 return adoptRef(new DeviceOrientationEvent(eventType, orientation)); in create()
51 DeviceOrientation* orientation() const { return m_orientation.get(); } in orientation() function
/external/webkit/Source/WebCore/platform/wx/
DScrollbarThemeWx.cpp95 if (scrollbar->orientation() == HorizontalScrollbar) { in splitTrack()
117 if (scrollbar->orientation() == HorizontalScrollbar) in backButtonRect()
135 if (scrollbar->orientation() == HorizontalScrollbar) { in forwardButtonRect()
155 if (scrollbar->orientation() == HorizontalScrollbar) in trackRect()
165 if (scrollbar->orientation() == HorizontalScrollbar) { in trackRect()
186 …wxOrientation orientation = (scrollbar->orientation() == HorizontalScrollbar) ? wxHORIZONTAL : wxV… in paint() local
204 …wxRenderer_DrawScrollbar(webview, *dc, scrollbar->frameRect(), orientation, scrollbar->currentPos(… in paint()
/external/eigen/demos/opengl/
Dcamera.h24 : orientation(o), position(pos) in orientation() function
29 orientation.slerp(alpha,other.orientation)); in lerp()
32 Eigen::Quaternionf orientation; variable
64 inline const Eigen::Quaternionf& orientation(void) const { return mFrame.orientation; } in orientation() function
Dquaternion_demo.cpp132 … Quaternionf(lerp(alpha,OrientationType(a.orientation),OrientationType(b.orientation)))); in lerpFrame()
222 aux.orientation = mCamera.viewMatrix().linear(); in grabFrame()
302 currentFrame.orientation.coeffs().normalize(); in animate()
305 currentFrame.orientation = currentFrame.orientation.inverse(); in animate()
306 currentFrame.position = - (currentFrame.orientation * currentFrame.position); in animate()
486 mInitFrame.orientation = mCamera.orientation().inverse(); in initializeGL()
516 aux0.orientation = aux0.orientation.inverse(); in resetCamera()
525 aux1.orientation = aux1.orientation.inverse(); in resetCamera()
527 float duration = aux0.orientation.angularDistance(aux1.orientation) * 0.9; in resetCamera()
533 aux1.orientation = aux1.orientation.inverse(); in resetCamera()
[all …]
Dcamera.cpp91 return - (orientation() * Vector3f::UnitZ()); in direction()
95 return orientation() * Vector3f::UnitY(); in up()
99 return orientation() * Vector3f::UnitX(); in right()
135 mFrame.orientation = q; in setOrientation()
169 setOrientation(orientation() * q); in localRotate()
186 Vector3f trans = orientation() * t; in localTranslate()
197 Quaternionf q = orientation().conjugate(); in updateViewMatrix()
/external/webkit/Source/WebCore/accessibility/
DAccessibilityScrollbar.cpp67 AccessibilityOrientation AccessibilityScrollbar::orientation() const in orientation() function in WebCore::AccessibilityScrollbar
72 if (m_scrollbar->orientation() == HorizontalScrollbar) in orientation()
74 if (m_scrollbar->orientation() == VerticalScrollbar) in orientation()
104 …m_scrollbar->scrollableArea()->scrollToOffsetWithoutAnimation(m_scrollbar->orientation(), newValue… in setValue()
/external/webkit/Source/WebCore/platform/
DScrollableArea.cpp60 ScrollbarOrientation orientation; in scroll() local
63 orientation = VerticalScrollbar; in scroll()
66 orientation = HorizontalScrollbar; in scroll()
92 return m_scrollAnimator->scroll(orientation, granularity, step, multiplier); in scroll()
100 void ScrollableArea::scrollToOffsetWithoutAnimation(ScrollbarOrientation orientation, float offset) in scrollToOffsetWithoutAnimation() argument
102 if (orientation == HorizontalScrollbar) in scrollToOffsetWithoutAnimation()
/external/webkit/Source/WebCore/rendering/
DRenderScrollbar.cpp37 …teCustomScrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, RenderBox* ren… in createCustomScrollbar() argument
39 return adoptRef(new RenderScrollbar(scrollableArea, orientation, renderer, owningFrame)); in createCustomScrollbar()
42 RenderScrollbar::RenderScrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, … in RenderScrollbar() argument
43 …: Scrollbar(scrollableArea, orientation, RegularScrollbar, RenderScrollbarTheme::renderScrollbarTh… in RenderScrollbar()
57 } else if (this->orientation() == HorizontalScrollbar) in RenderScrollbar()
187 bool isHorizontal = orientation() == HorizontalScrollbar; in updateScrollbarParts()
289 bool isHorizontal = orientation() == HorizontalScrollbar; in buttonRect()
320 if (orientation() == HorizontalScrollbar) { in trackRect()
347 if (orientation() == HorizontalScrollbar) { in trackPieceRectWithMargins()
363 return orientation() == HorizontalScrollbar ? partRenderer->width() : partRenderer->height(); in minimumThumbLength()
/external/webkit/Source/WebCore/platform/efl/
DScrollbarEfl.cpp45 …teNativeScrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarContr… in createNativeScrollbar() argument
47 return adoptRef(new ScrollbarEfl(scrollableArea, orientation, size)); in createNativeScrollbar()
50 ScrollbarEfl::ScrollbarEfl(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, Scroll… in ScrollbarEfl() argument
51 : Scrollbar(scrollableArea, orientation, controlSize) in ScrollbarEfl()
87 that->scrollableArea()->scrollToOffsetWithoutAnimation(that->orientation(), value); in scrollbarEflEdjeMessage()
114 const char* group = (orientation() == HorizontalScrollbar) in setParent()
/external/webkit/Source/WebCore/platform/haiku/
DScrollbarThemeHaiku.cpp80 IntSize buttonSize = scrollbar->orientation() == HorizontalScrollbar in backButtonRect()
94 if (scrollbar->orientation() == HorizontalScrollbar) { in forwardButtonRect()
106 if (scrollbar->orientation() == HorizontalScrollbar) { in trackRect()
122orientation scrollbarOrientation = scrollbar->orientation() == HorizontalScrollbar ? B_HORIZONTAL … in paintScrollbarBackground()
141 if (scrollbar->orientation() == VerticalScrollbar) in paintButton()
/external/webkit/Source/WebCore/platform/qt/
DWheelEventQt.cpp33 void PlatformWheelEvent::applyDelta(int delta, Qt::Orientation orientation) in applyDelta() argument
40 if (orientation == Qt::Horizontal) { in applyDelta()
73 applyDelta(e->delta(), e->orientation()); in PlatformWheelEvent()
92 applyDelta(e->delta(), e->orientation()); in PlatformWheelEvent()
/external/webkit/Source/WebCore/svg/
DSVGGlyphElement.h55 , orientation(Both) in SVGGlyphIdentifier()
76 && orientation == other.orientation
88 unsigned orientation : 2; // Orientation member
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DDeviceOrientationClientQt.cpp61 return m_provider->orientation(); in lastOrientation()
69 void DeviceOrientationClientQt::changeDeviceOrientation(DeviceOrientation* orientation) in changeDeviceOrientation() argument
74 m_controller->didChangeDeviceOrientation(orientation); in changeDeviceOrientation()

1234567891011