/cts/tests/tests/widget/src/android/widget/cts/ |
HorizontalScrollViewTest.java | 105 HorizontalScrollView scrollView = new HorizontalScrollView(mActivity); 106 scrollView.layout(0, 0, 100, 200); 107 assertEquals((100 - 0) / 2, scrollView.getMaxScrollAmount()); 109 scrollView.layout(0, 0, 150, 100); 110 assertEquals((150 - 0) / 2, scrollView.getMaxScrollAmount()); 122 HorizontalScrollView scrollView = new HorizontalScrollView(mActivity); 124 scrollView.addView(child0); 125 assertSame(child0, scrollView.getChildAt(0)); 127 assertEquals(1, scrollView.getChildCount()); 130 scrollView.addView(child1) [all...] |
ScrollViewTest.java | 43 import android.widget.ScrollView; 47 * Test {@link ScrollView}. 49 @TestTargetClass(ScrollView.class) 93 method = "ScrollView", 98 method = "ScrollView", 103 method = "ScrollView", 110 new ScrollView(mActivity); 112 new ScrollView(mActivity, attrs); 114 new ScrollView(mActivity, attrs, 0); 124 ScrollView scrollView = new ScrollView(mActivity) [all...] |
/external/webkit/WebCore/platform/mac/ |
ScrollViewMac.mm | 27 #import "ScrollView.h" 45 inline NSScrollView<WebCoreFrameScrollView> *ScrollView::scrollView() const 52 NSView *ScrollView::documentView() const 55 return [scrollView() documentView]; 60 void ScrollView::platformAddChild(Widget* child) 77 void ScrollView::platformRemoveChild(Widget* child) 82 void ScrollView::platformSetScrollbarModes() 85 [scrollView() setScrollingModes:m_horizontalScrollbarMode vertical:m_verticalScrollbarMode andLock:NO]; 89 void ScrollView::platformScrollbarModes(ScrollbarMode& horizontal, ScrollbarMode& vertical) cons [all...] |
WidgetMac.mm | 44 #import "ScrollView.h" 206 NSScrollView *scrollView = 0; 209 NSScrollView *scrollView = static_cast<NSScrollView *>(innerView); 211 if ([scrollView drawsBackground] && ![[scrollView contentView] copiesOnScroll]) 212 [scrollView setDrawsBackground:NO]; 214 scrollView = 0; 240 if (scrollView) 241 [scrollView setDrawsBackground:YES];
|
ThemeMac.mm | 32 #import "ScrollView.h" 197 static void paintCheckbox(ControlStates states, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView) 220 [checkboxCell drawWithFrame:NSRect(inflatedRect) inView:scrollView->documentView()]; 276 static void paintRadio(ControlStates states, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView) 298 [radioCell drawWithFrame:NSRect(inflatedRect) inView:scrollView->documentView()]; 372 static void paintButton(ControlPart part, ControlStates states, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView) 408 NSView *view = scrollView->documentView() [all...] |
/external/webkit/WebKit/mac/Plugins/Hosted/ |
WebTextInputWindowController.m | 69 NSScrollView* scrollView = [[NSScrollView alloc] initWithFrame:[self.contentView frame]]; 70 scrollView.documentView = _inputTextView; 71 self.contentView = scrollView; 72 [scrollView release];
|
/external/webkit/WebKit/mac/WebView/ |
WebFrameView.mm | 338 WebDynamicScrollBarsView *scrollView = [[WebDynamicScrollBarsView alloc] initWithFrame:NSMakeRect(0.0f, 0.0f, frame.size.width, frame.size.height)]; 339 _private->frameScrollView = scrollView; 340 [scrollView setContentView:[[[WebClipView alloc] initWithFrame:[scrollView bounds]] autorelease]]; 341 [scrollView setDrawsBackground:NO]; 342 [scrollView setHasVerticalScroller:NO]; 343 [scrollView setHasHorizontalScroller:NO]; 344 [scrollView setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable]; 345 [scrollView setLineScroll:Scrollbar::pixelsPerLineStep()]; 346 [self addSubview:scrollView]; [all...] |
WebTextCompletionController.mm | 105 NSScrollView *scrollView = [[NSScrollView alloc] initWithFrame:scrollFrame]; 106 [scrollView setBorderType:NSNoBorder]; 107 [scrollView setHasVerticalScroller:YES]; 108 [scrollView setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable]; 109 [scrollView setDocumentView:_tableView]; 114 [_popupWindow setContentView:scrollView]; 115 [scrollView release];
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
RequestRectangleVisibleWithInternalScrollTest.java | 26 import android.widget.ScrollView; 39 private ScrollView mScrollView; 54 mScrollView = (ScrollView) getActivity().findViewById(R.id.scrollView);
|
ScrollViewButtonsAndLabels.java | 24 import android.widget.ScrollView; 34 private ScrollView mScrollView; 40 public ScrollView getScrollView() { 69 mScrollView = (ScrollView) findViewById(R.id.scrollView);
|
RequestRectangleVisibleTest.java | 27 import android.widget.ScrollView; 38 private ScrollView mScrollView; 60 mScrollView = (ScrollView) a.findViewById(R.id.scrollView);
|
/external/webkit/WebCore/platform/chromium/ |
ThemeChromiumMac.mm | 33 #import "ScrollView.h" 347 static void paintCheckbox(ControlStates states, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView) 429 static void paintRadio(ControlStates states, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView) 528 static void paintButton(ControlPart part, ControlStates states, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView) 710 void ThemeChromiumMac::paint(ControlPart part, ControlStates states, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView) const 714 paintCheckbox(states, context, zoomedRect, zoomFactor, scrollView); [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
ViewTreeObserverTest.java | 43 import android.widget.ScrollView; 372 final ScrollView scrollView = (ScrollView) mActivity.findViewById(R.id.scroll_view); 374 mViewTreeObserver = scrollView.getViewTreeObserver(); 382 scrollView.fullScroll(View.FOCUS_DOWN); 394 scrollView.fullScroll(View.FOCUS_UP);
|
ViewTest.java | 381 MockView scrollView = (MockView) mActivity.findViewById(R.id.scroll_view); 396 scrollView.setTag(viewGroup); 397 assertSame(viewGroup, scrollView.getTag()); 401 assertSame(scrollView, viewGroup.findViewWithTag(viewGroup)); [all...] |
/external/webkit/WebCore/platform/qt/ |
ScrollbarThemeQt.cpp | 35 #include "ScrollView.h" 229 void ScrollbarThemeQt::paintScrollCorner(ScrollView* scrollView, GraphicsContext* context, const IntRect& rect) 232 scrollView->invalidateRect(rect);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
DragController.java | 372 View scrollView = mScrollView; 388 if ((screenX < mScrollZone) || (screenX > scrollView.getWidth() - mScrollZone)) { 437 } else if (!inDeleteRegion && screenX > scrollView.getWidth() - mScrollZone) {
|
/external/webkit/WebCore/page/ |
Chrome.cpp | 100 void Chrome::scrollRectIntoView(const IntRect& rect, const ScrollView* scrollView) const 102 m_client->scrollRectIntoView(rect, scrollView);
|
EventHandler.cpp | 379 if (ScrollView* scrollView = m_frame->view()) { 380 if (scrollView->isPointInScrollbarCorner(event.event().pos())) 722 bool east = m_panScrollStartPos.x() < (m_currentMousePosition.x() - ScrollView::noPanScrollRadius); 723 bool west = m_panScrollStartPos.x() > (m_currentMousePosition.x() + ScrollView::noPanScrollRadius); 724 bool north = m_panScrollStartPos.y() > (m_currentMousePosition.y() + ScrollView::noPanScrollRadius); 725 bool south = m_panScrollStartPos.y() < (m_currentMousePosition.y() - ScrollView::noPanScrollRadius); [all...] |
/external/webkit/WebCore/platform/wx/ |
ScrollViewWx.cpp | 27 #include "ScrollView.h" 47 class ScrollView::ScrollViewPrivate : public wxEvtHandler { 50 ScrollViewPrivate(ScrollView* scrollView) 52 , m_scrollView(scrollView) 115 ScrollView* m_scrollView; 122 void ScrollView::platformInit() 128 void ScrollView::platformDestroy() 133 void ScrollView::setPlatformWidget(wxWindow* win) 139 void ScrollView::platformRepaintContentRectangle(const IntRect& updateRect, bool now [all...] |
/external/webkit/WebKit/android/plugins/ |
PluginWidgetAndroid.cpp | 39 #include "ScrollView.h" 504 ScrollView* scrollView = m_pluginView->parent(); 505 android::WebViewCore* core = android::WebViewCore::getWebViewCore(scrollView);
|
/external/webkit/WebCore/platform/ |
ScrollView.h | 56 class ScrollView : public Widget, public ScrollbarClient { 58 ~ScrollView(); 63 // The window thats hosts the ScrollView. The ScrollView will communicate scrolls and repaints to the 128 // Methods for getting/setting the size of the document contained inside the ScrollView (as an IntSize or as individual width and height 179 virtual void setParent(ScrollView*); // Overridden to update the overlapping scrollbar count. 237 ScrollView(); 312 NSScrollView<WebCoreFrameScrollView>* scrollView() const; 341 }; // class ScrollView
|
/frameworks/base/core/java/com/android/internal/app/ |
AlertController.java | 52 import android.widget.ScrollView; 100 private ScrollView mScrollView; 444 mScrollView = (ScrollView) mWindow.findViewById(R.id.scrollView); 460 contentPanel.removeView(mWindow.findViewById(R.id.scrollView)); [all...] |
/external/webkit/WebKit/mac/WebCoreSupport/ |
WebChromeClient.mm | 64 #import <WebCore/ScrollView.h> 489 void WebChromeClient::scrollRectIntoView(const IntRect& r, const ScrollView* scrollView) const
|
/prebuilt/darwin-x86_64/swt/ |
swt.jar | |