Home
last modified time | relevance | path

Searched refs:scrollView (Results 1 – 25 of 43) sorted by relevance

12

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DScrollViewTest.java14 ScrollView scrollView = new ScrollView(null); in shouldSmoothScrollTo() local
15 scrollView.smoothScrollTo(7, 6); in shouldSmoothScrollTo()
17 assertEquals(7, scrollView.getScrollX()); in shouldSmoothScrollTo()
18 assertEquals(6, scrollView.getScrollY()); in shouldSmoothScrollTo()
/external/webkit/Source/WebCore/platform/mac/
DScrollViewMac.mm45 inline NSScrollView<WebCoreFrameScrollView> *ScrollView::scrollView() const
55 return [scrollView() documentView];
85 …[scrollView() setScrollingModes:m_horizontalScrollbarMode vertical:m_verticalScrollbarMode andLock…
92 [scrollView() scrollingModes:&horizontal vertical:&vertical];
99 [[scrollView() contentView] setCopiesOnScroll:canBlitOnScroll];
105 return [[scrollView() contentView] copiesOnScroll];
111 IntRect result = enclosingIntRect([scrollView() documentVisibleRect]);
113 result.setSize(IntSize([scrollView() frame].size));
142 [scrollView() setScrollBarsSuppressed:m_scrollbarsSuppressed
151 …NSPoint tempPoint = { max(-[scrollView() scrollOrigin].x, floatPoint.x), max(-[scrollView() scroll…
[all …]
DWidgetMac.mm275 NSScrollView *scrollView = 0;
278 NSScrollView *scrollView = static_cast<NSScrollView *>(innerView);
280 if ([scrollView drawsBackground] && ![[scrollView contentView] copiesOnScroll])
281 [scrollView setDrawsBackground:NO];
283 scrollView = 0;
318 if (scrollView)
319 [scrollView setDrawsBackground:YES];
DThemeMac.mm255 …tes, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView)
279 [checkboxCell drawWithFrame:NSRect(inflatedRect) inView:ThemeMac::ensuredView(scrollView)];
335 …tes, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView)
358 [radioCell drawWithFrame:NSRect(inflatedRect) inView:ThemeMac::ensuredView(scrollView)];
442 …tes, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView)
478 NSView *view = ThemeMac::ensuredView(scrollView);
557 NSView *ThemeMac::ensuredView(ScrollView* scrollView)
559 if (NSView *documentView = scrollView->documentView())
729 …raphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView) const
733 paintCheckbox(states, context, zoomedRect, zoomFactor, scrollView);
[all …]
/external/webkit/Source/WebKit/mac/WebView/
DWebFrameView.mm335 …WebDynamicScrollBarsView *scrollView = [[WebDynamicScrollBarsView alloc] initWithFrame:NSMakeRect(…
336 _private->frameScrollView = scrollView;
337 … [scrollView setContentView:[[[WebClipView alloc] initWithFrame:[scrollView bounds]] autorelease]];
338 [scrollView setDrawsBackground:NO];
339 [scrollView setHasVerticalScroller:NO];
340 [scrollView setHasHorizontalScroller:NO];
341 [scrollView setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];
342 [scrollView setLineScroll:Scrollbar::pixelsPerLineStep()];
343 [self addSubview:scrollView];
348 [super setNextKeyView:scrollView];
[all …]
DWebTextCompletionController.mm106 NSScrollView *scrollView = [[NSScrollView alloc] initWithFrame:scrollFrame];
107 [scrollView setBorderType:NSNoBorder];
108 [scrollView setHasVerticalScroller:YES];
109 [scrollView setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];
110 [scrollView setDocumentView:_tableView];
115 [_popupWindow setContentView:scrollView];
116 [scrollView release];
/external/webkit/Source/WebKit/android/WebCoreSupport/
DPlatformBridge.cpp180 void PlatformBridge::setScrollPosition(ScrollView* scrollView, int x, int y) { in setScrollPosition() argument
181 FrameView* frameView = scrollView->frameView(); in setScrollPosition()
184 android::WebViewCore *webViewCore = android::WebViewCore::getWebViewCore(scrollView); in setScrollPosition()
185 if (webViewCore->mainFrame()->view() == scrollView) { in setScrollPosition()
/external/webkit/Source/WebKit2/UIProcess/API/mac/
DWKTextInputWindowController.mm68 NSScrollView* scrollView = [[NSScrollView alloc] initWithFrame:[self.contentView frame]];
69 scrollView.documentView = _inputTextView;
70 self.contentView = scrollView;
71 [scrollView release];
DPageClientImpl.h55 … virtual void scrollView(const WebCore::IntRect& scrollRect, const WebCore::IntSize& scrollOffset);
/external/webkit/Source/WebKit/mac/Plugins/Hosted/
DWebTextInputWindowController.m69 NSScrollView* scrollView = [[NSScrollView alloc] initWithFrame:[self.contentView frame]];
70 scrollView.documentView = _inputTextView;
71 self.contentView = scrollView;
72 [scrollView release];
/external/clang/test/SemaObjC/
Divar-access-tests.m118 static void _CasperDiffScrollViewInstallMixerView(CasperDiffScrollView *scrollView) {
119 if (scrollView->someField != ((void *)0)) {
/external/webkit/Source/WebCore/accessibility/
DAccessibilityScrollView.h41 ScrollView* scrollView() const { return m_scrollView.get(); } in scrollView() function
/external/webkit/Source/WebCore/platform/qt/
DScrollbarThemeQt.cpp236 void ScrollbarThemeQt::paintScrollCorner(ScrollView* scrollView, GraphicsContext* context, const In… in paintScrollCorner() argument
239 scrollView->invalidateRect(rect); in paintScrollCorner()
/external/webkit/Source/WebCore/platform/wx/
DScrollViewWx.cpp50 ScrollViewPrivate(ScrollView* scrollView) in ScrollViewPrivate() argument
52 , m_scrollView(scrollView) in ScrollViewPrivate()
/external/webkit/Source/WebCore/platform/chromium/
DThemeChromiumMac.mm373 …tes, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView)
456 …tes, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView)
556 …tes, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView)
820 …raphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView) const
824 paintCheckbox(states, context, zoomedRect, zoomFactor, scrollView);
827 paintRadio(states, context, zoomedRect, zoomFactor, scrollView);
834 paintButton(part, states, context, zoomedRect, zoomFactor, scrollView);
837 paintStepper(states, context, zoomedRect, zoomFactor, scrollView);
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bar_folder_controller.h226 - (NSScrollView*)scrollView;
Dbookmark_bar_folder_controller_unittest.mm475 NSScrollView* scrollView = [bbfc scrollView];
480 NSPoint scrollPoint = [scrollView documentVisibleRect].origin;
492 hitPoint = [targetButton convertPoint:hitPoint toView:scrollView];
498 NSView* hit = [scrollView hitTest:hitPoint];
1201 NSScrollView* scrollView = [folderController scrollView];
1202 NSRect scrollFrame = [scrollView frame];
/external/webkit/Source/WebKit2/UIProcess/gtk/
DWebView.h82 … virtual void scrollView(const WebCore::IntRect& scrollRect, const WebCore::IntSize& scrollOffset);
/external/webkit/Source/WebKit2/UIProcess/API/qt/
Dqwkpage_p.h54 … virtual void scrollView(const WebCore::IntRect& scrollRect, const WebCore::IntSize& scrollOffset);
/external/webkit/Source/WebKit2/UIProcess/
DPageClient.h63 …virtual void scrollView(const WebCore::IntRect& scrollRect, const WebCore::IntSize& scrollOffset) …
DDrawingAreaProxyImpl.cpp251 m_webPageProxy->scrollView(updateInfo.scrollRect, updateInfo.scrollOffset); in incorporateUpdate()
/external/webkit/Source/WebKit2/WebProcess/Plugins/
DPluginView.cpp547 void PluginView::setParent(ScrollView* scrollView) in setParent() argument
549 Widget::setParent(scrollView); in setParent()
551 if (scrollView) in setParent()
/external/webkit/Source/WebKit/android/plugins/
DPluginWidgetAndroid.cpp596 ScrollView* scrollView = m_pluginView->parent(); in scrollToVisiblePluginRect() local
597 android::WebViewCore* core = android::WebViewCore::getWebViewCore(scrollView); in scrollToVisiblePluginRect()
/external/webkit/Source/WebKit2/UIProcess/win/
DWebView.h148 … virtual void scrollView(const WebCore::IntRect& scrollRect, const WebCore::IntSize& scrollOffset);
/external/webkit/Source/WebCore/platform/
DScrollView.h420 NSScrollView<WebCoreFrameScrollView>* scrollView() const;

12