/cts/tests/tests/widget/src/android/widget/cts/ |
HorizontalScrollViewTest.java | 77 HorizontalScrollView scrollView = new HorizontalScrollView(mActivity); 78 scrollView.layout(0, 0, 100, 200); 79 assertEquals((100 - 0) / 2, scrollView.getMaxScrollAmount()); 81 scrollView.layout(0, 0, 150, 100); 82 assertEquals((150 - 0) / 2, scrollView.getMaxScrollAmount()); 86 HorizontalScrollView scrollView = new HorizontalScrollView(mActivity); 88 scrollView.addView(child0); 89 assertSame(child0, scrollView.getChildAt(0)); 91 assertEquals(1, scrollView.getChildCount()); 94 scrollView.addView(child1) [all...] |
ScrollViewTest.java | 38 import android.widget.ScrollView; 42 * Test {@link ScrollView}. 87 new ScrollView(mActivity); 89 new ScrollView(mActivity, attrs); 91 new ScrollView(mActivity, attrs, 0); 96 ScrollView scrollView = new ScrollView(mActivity); 97 scrollView.layout(0, 0, 100, 200); 98 assertEquals((200 - 0) / 2, scrollView.getMaxScrollAmount()) [all...] |
/external/webkit/Source/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" 132 ScrollView* view = root(); 275 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] [all...] |
ThemeMac.mm | 32 #import "ScrollView.h" 255 static void paintCheckbox(ControlStates states, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView) 279 [checkboxCell drawWithFrame:NSRect(inflatedRect) inView:ThemeMac::ensuredView(scrollView)]; 335 static void paintRadio(ControlStates states, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView) 358 [radioCell drawWithFrame:NSRect(inflatedRect) inView:ThemeMac::ensuredView(scrollView)]; 442 static void paintButton(ControlPart part, ControlStates states, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView) 478 NSView *view = ThemeMac::ensuredView(scrollView); [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GlyphCacheActivity.java | 24 import android.widget.ScrollView; 39 ScrollView scrollView = new ScrollView(this); 40 scrollView.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, 46 scrollView.addView(layout); 51 setContentView(scrollView);
|
/external/webkit/Source/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/Source/WebKit2/UIProcess/API/mac/ |
WKTextInputWindowController.mm | 68 NSScrollView* scrollView = [[NSScrollView alloc] initWithFrame:[self.contentView frame]]; 69 scrollView.documentView = _inputTextView; 70 self.contentView = scrollView; 71 [scrollView release];
|
PageClientImpl.h | 55 virtual void scrollView(const WebCore::IntRect& scrollRect, const WebCore::IntSize& scrollOffset);
|
/external/webkit/Source/WebKit/mac/WebView/ |
WebFrameView.mm | 335 WebDynamicScrollBarsView *scrollView = [[WebDynamicScrollBarsView alloc] initWithFrame:NSMakeRect(0.0f, 0.0f, frame.size.width, frame.size.height)]; 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]; [all...] |
WebTextCompletionController.mm | 106 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];
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
PlayheadView.java | 107 final TimelineHorizontalScrollView scrollView = 109 mScrollX = scrollView.getScrollX(); 110 scrollView.addScrollListener(mScrollListener); 115 final TimelineHorizontalScrollView scrollView = 117 scrollView.removeScrollListener(mScrollListener);
|
AudioTrackView.java | 145 final TimelineHorizontalScrollView scrollView = 147 mScrollX = scrollView.getScrollX(); 148 scrollView.addScrollListener(mScrollListener); 153 final TimelineHorizontalScrollView scrollView = 155 scrollView.removeScrollListener(mScrollListener);
|
/external/webkit/Source/WebCore/accessibility/ |
AccessibilityScrollView.h | 35 class ScrollView; 39 static PassRefPtr<AccessibilityScrollView> create(ScrollView*); 41 ScrollView* scrollView() const { return m_scrollView.get(); } 44 AccessibilityScrollView(ScrollView*); 67 RefPtr<ScrollView> m_scrollView;
|
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
PlatformBridge.cpp | 180 void PlatformBridge::setScrollPosition(ScrollView* scrollView, int x, int y) { 181 FrameView* frameView = scrollView->frameView(); 184 android::WebViewCore *webViewCore = android::WebViewCore::getWebViewCore(scrollView); 185 if (webViewCore->mainFrame()->view() == scrollView) {
|
/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);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
RecentsScrollViewPerformanceHelper.java | 43 AttributeSet attrs, View scrollView, boolean isVertical) { 47 return new RecentsScrollViewPerformanceHelper(context, attrs, scrollView, isVertical); 54 AttributeSet attrs, View scrollView, boolean isVertical) { 55 mScrollView = scrollView;
|
RecentsPanelView.java | 262 RecentsScrollView scrollView 264 return scrollView.numItemsInOneScreenful(); 266 throw new IllegalArgumentException("missing Recents[Horizontal]ScrollView"); 426 RecentsScrollView scrollView 428 scrollView.setAdapter(mListAdapter); 429 scrollView.setCallback(this); 431 throw new IllegalArgumentException("missing Recents[Horizontal]ScrollView"); 450 RecentsScrollView scrollView 452 scrollView.setMinSwipeAlpha(minAlpha); 628 RecentsScrollView scrollView [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
ViewTreeObserverTest.java | 39 import android.widget.ScrollView; 311 final ScrollView scrollView = (ScrollView) mActivity.findViewById(R.id.scroll_view); 313 mViewTreeObserver = scrollView.getViewTreeObserver(); 322 scrollView.fullScroll(View.FOCUS_DOWN); 340 scrollView.fullScroll(View.FOCUS_UP);
|
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_bar_folder_controller.h | 226 - (NSScrollView*)scrollView;
|
/external/webkit/Source/WebCore/platform/chromium/ |
ThemeChromiumMac.mm | 33 #import "ScrollView.h" 373 static void paintCheckbox(ControlStates states, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView) 456 static void paintRadio(ControlStates states, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView) 556 static void paintButton(ControlPart part, ControlStates states, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView) 621 static void paintStepper(ControlStates states, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView*) 820 void ThemeChromiumMac::paint(ControlPart part, ControlStates states, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView) cons [all...] |
/external/webkit/Source/WebKit2/UIProcess/API/qt/ |
qwkpage_p.h | 54 virtual void scrollView(const WebCore::IntRect& scrollRect, const WebCore::IntSize& scrollOffset);
|
/external/webkit/Source/WebKit2/UIProcess/ |
PageClient.h | 63 virtual void scrollView(const WebCore::IntRect& scrollRect, const WebCore::IntSize& scrollOffset) = 0;
|
/external/webkit/Source/WebKit2/UIProcess/gtk/ |
WebView.h | 82 virtual void scrollView(const WebCore::IntRect& scrollRect, const WebCore::IntSize& scrollOffset);
|