Home
last modified time | relevance | path

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

/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/chromium_org/third_party/WebKit/Source/web/resources/
DcalendarPicker.js1695 this.scrollView = new ScrollView();
1696 this.scrollView.delegate = this;
1697 this.scrollView.minimumContentOffset = 0;
1698 this.scrollView.setWidth(0);
1699 this.scrollView.setHeight(0);
1700 this.scrollView.attachTo(this);
1769 cell.attachTo(this.scrollView.contentElement);
1771 cell.setPosition(this.scrollView.contentPositionForContentOffset(this.scrollOffsetForRow(row)));
1797 return this.rowAtScrollOffset(this.scrollView.contentOffset());
1804 return this.rowAtScrollOffset(this.scrollView.contentOffset() + this.scrollView.height() - 1);
[all …]
/external/chromium_org/third_party/mozilla/
DComplexTextInputPanel.mm75 NSScrollView* scrollView = [[NSScrollView alloc] initWithFrame:[self.contentView frame]];
76 scrollView.documentView = mInputTextView;
77 self.contentView = scrollView;
78 [scrollView release];
/external/chromium_org/third_party/WebKit/Source/web/
DViewportAnchor.cpp151 void ViewportAnchor::computeOrigins(const ScrollView& scrollView, const FloatSize& innerSize, in computeOrigins() argument
154 IntSize outerSize = scrollView.visibleContentRect().size(); in computeOrigins()
168 outerRect.setLocation(scrollView.adjustScrollPositionWithinRange(outerRect.location())); in computeOrigins()
/external/chromium_org/ui/message_center/cocoa/
Dtray_view_controller_unittest.mm71 NSScrollView* view = [[tray_ scrollView] documentView];
96 NSHeight([[tray_ scrollView] frame]));
108 NSScrollView* view = [[tray_ scrollView] documentView];
261 EXPECT_TRUE([[tray_ scrollView] isHidden]);
278 EXPECT_FALSE([[tray_ scrollView] isHidden]);
Dsettings_controller.h88 - (NSScrollView*)scrollView;
Dsettings_controller_unittest.mm20 return [[[[self scrollView] documentView] subviews] count];
26 return [[[[self scrollView] documentView] subviews] objectAtIndex:0];
Dtray_view_controller.h168 - (NSScrollView*)scrollView;
Dsettings_controller.mm302 - (NSScrollView*)scrollView { method
Dtray_view_controller.mm372 - (NSScrollView*)scrollView { method
/external/chromium_org/ui/app_list/cocoa/
Dapps_grid_controller.mm351 base::scoped_nsobject<ScrollViewWithNoScrollbars> scrollView(
353 [scrollView setBorderType:NSNoBorder];
354 [scrollView setLineScroll:kViewWidth];
355 [scrollView setPageScroll:kViewWidth];
356 [scrollView setDelegate:self];
357 [scrollView setDocumentView:pagesContainer];
358 [scrollView setDrawsBackground:NO];
364 object:[scrollView contentView]];
366 [self setView:scrollView];
/external/chromium_org/third_party/WebKit/Source/platform/mac/
DThemeMac.mm291 …tes, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView)
314 NSView *view = ThemeMac::ensuredView(scrollView);
375 …tes, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView)
397 NSView *view = ThemeMac::ensuredView(scrollView);
456 …tes, GraphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView)
489 NSView *view = ThemeMac::ensuredView(scrollView);
563 NSView *ThemeMac::ensuredView(ScrollView* scrollView)
568 [flippedView setFrameSize:NSSizeFromCGSize(scrollView->contentsSize())];
724 …raphicsContext* context, const IntRect& zoomedRect, float zoomFactor, ScrollView* scrollView) const
728 paintCheckbox(states, context, zoomedRect, zoomFactor, scrollView);
[all …]
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
DWebsiteSettingsPopup.java190 ScrollView scrollView = new ScrollView(mContext); in showDialog() local
191 scrollView.addView(mContainer); in showDialog()
192 mDialog.addContentView(scrollView, in showDialog()
DCertificateViewer.java96 ScrollView scrollView = new ScrollView(mContext); in showDialogForView() local
97 scrollView.addView(view); in showDialogForView()
98 dialog.addContentView(scrollView, in showDialogForView()
/external/clang/test/SemaObjC/
Divar-access-tests.m118 static void _CasperDiffScrollViewInstallMixerView(CasperDiffScrollView *scrollView) {
119 if (scrollView->someField != ((void *)0)) {
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
DAXScrollView.h41 ScrollView* scrollView() const { return m_scrollView; } in scrollView() function
DAXObjectCache.cpp1030 void AXObjectCache::handleScrollPositionChanged(ScrollView* scrollView) in handleScrollPositionChanged() argument
1032 postPlatformNotification(getOrCreate(scrollView), AXScrollPositionChanged); in handleScrollPositionChanged()
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bar_folder_controller.h207 - (NSScrollView*)scrollView;
Dbookmark_bar_folder_controller_unittest.mm511 NSScrollView* scrollView = [bbfc scrollView];
516 NSPoint scrollPoint = [scrollView documentVisibleRect].origin;
528 hitPoint = [targetButton convertPoint:hitPoint toView:scrollView];
534 NSView* hit = [scrollView hitTest:hitPoint];
1282 NSScrollView* scrollView = [folderController scrollView];
1283 NSRect scrollFrame = [scrollView frame];
Dbookmark_bar_folder_controller.mm1996 - (NSScrollView*)scrollView { method in CGFloat
/external/chromium_org/chrome/browser/ui/cocoa/extensions/
Dextension_install_view_controller.mm136 NSScrollView* scrollView = [outlineView enclosingScrollView];
137 NSRect frame = [scrollView frame];
148 [scrollView setFrame:frame];
/external/chromium_org/third_party/WebKit/Source/core/page/
DEventHandler.cpp583 if (ScrollView* scrollView = m_frame->view()) { in handleMousePressEvent() local
584 if (scrollView->isPointInScrollbarCorner(event.event().position())) in handleMousePressEvent()