/external/webkit/Source/WebKit/chromium/src/ |
D | WebDeviceOrientation.cpp | 34 …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 …]
|
D | WebScrollbarImpl.cpp | 53 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/ |
D | JSDeviceOrientationEventCustom.cpp | 41 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/ |
D | ScrollbarThemeSafari.cpp | 109 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 …]
|
D | ScrollbarThemeWin.cpp | 150 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/ |
D | V8DeviceOrientationEventCustom.cpp | 45 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/ |
D | ScrollbarThemeGtk2.cpp | 70 …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 …]
|
D | MainFrameScrollbarGtk.cpp | 33 …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/ |
D | WebScrollBar.cpp | 96 /* [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/ |
D | candidate_window.cc | 108 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/ |
D | DeviceMotionAndOrientationManager.cpp | 65 …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/ |
D | DeviceOrientationEvent.cpp | 42 …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()
|
D | DeviceOrientationEvent.h | 42 …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/ |
D | ScrollbarThemeWx.cpp | 95 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/ |
D | camera.h | 24 : 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
|
D | quaternion_demo.cpp | 132 … 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 …]
|
D | camera.cpp | 91 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/ |
D | AccessibilityScrollbar.cpp | 67 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/ |
D | ScrollableArea.cpp | 60 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/ |
D | RenderScrollbar.cpp | 37 …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/ |
D | ScrollbarEfl.cpp | 45 …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/ |
D | ScrollbarThemeHaiku.cpp | 80 IntSize buttonSize = scrollbar->orientation() == HorizontalScrollbar in backButtonRect() 94 if (scrollbar->orientation() == HorizontalScrollbar) { in forwardButtonRect() 106 if (scrollbar->orientation() == HorizontalScrollbar) { in trackRect() 122 …orientation scrollbarOrientation = scrollbar->orientation() == HorizontalScrollbar ? B_HORIZONTAL … in paintScrollbarBackground() 141 if (scrollbar->orientation() == VerticalScrollbar) in paintButton()
|
/external/webkit/Source/WebCore/platform/qt/ |
D | WheelEventQt.cpp | 33 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/ |
D | SVGGlyphElement.h | 55 , orientation(Both) in SVGGlyphIdentifier() 76 && orientation == other.orientation 88 unsigned orientation : 2; // Orientation member
|
/external/webkit/Source/WebKit/qt/WebCoreSupport/ |
D | DeviceOrientationClientQt.cpp | 61 return m_provider->orientation(); in lastOrientation() 69 void DeviceOrientationClientQt::changeDeviceOrientation(DeviceOrientation* orientation) in changeDeviceOrientation() argument 74 m_controller->didChangeDeviceOrientation(orientation); in changeDeviceOrientation()
|