/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ScrollViewTest.java | 3 import android.widget.ScrollView; 14 ScrollView scrollView = new ScrollView(null); 15 scrollView.smoothScrollTo(7, 6); 17 assertEquals(7, scrollView.getScrollX()); 18 assertEquals(6, scrollView.getScrollY());
|
/cts/tests/tests/widget/src/android/widget/cts/ |
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...] |
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...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/ |
ShadowScrollView.java | 3 import android.widget.ScrollView; 8 @Implements(ScrollView.class)
|
/packages/experimental/BugReportSender/res/layout/ |
bugreport_preview.xml | 0 <ScrollView 12 </ScrollView
|
/developers/build/templates/CardStream/_MODULE_/src/template/res/layout/ |
cardstream.xml.ftl | 0 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 12 </ScrollView>
|
/sdk/testapps/testSensors/res/layout/ |
main.xml | 3 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 14 </ScrollView>
|
/development/samples/Support4Demos/res/layout/ |
accessibility_manager.xml | 2 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 24 </ScrollView>
|
/development/samples/ApiDemos/res/layout/ |
scrollbar3.xml | 17 <!-- Demonstrates scrolling with a ScrollView. --> 30 <ScrollView 80 </ScrollView> 82 <ScrollView 93 </ScrollView> 95 <ScrollView 105 </ScrollView> 111 <ScrollView 122 </ScrollView> 123 <ScrollView [all...] |
scroll_view_2.xml | 17 <!-- Demonstrates scrolling with a ScrollView. --> 19 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 41 </ScrollView>
|
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
ScrollView.cpp | 27 #include "platform/scroll/ScrollView.h" 39 ScrollView::ScrollView() 55 ScrollView::~ScrollView() 59 void ScrollView::addChild(PassRefPtr<Widget> prpChild) 67 void ScrollView::removeChild(Widget* child) 74 void ScrollView::setHasHorizontalScrollbar(bool hasBar) 88 void ScrollView::setHasVerticalScrollbar(bool hasBar) 102 PassRefPtr<Scrollbar> ScrollView::createScrollbar(ScrollbarOrientation orientation [all...] |
/frameworks/base/core/tests/coretests/res/layout/ |
scroll_to_rect_with_internal_scroll.xml | 21 <!-- Demonstrates scrolling with a ScrollView. --> 23 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 24 android:id="@+id/scrollView" 49 </ScrollView>
|
scrollview_linear_layout.xml | 17 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 18 android:id="@+id/scrollView" 32 </ScrollView>
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
InternalSelectionScroll.java | 23 import android.widget.ScrollView; 27 * ({@link InternalSelectionView}) can cause its parent {@link android.widget.ScrollView} 33 * {@link android.widget.ScrollView}, in turn, implements {@link android.view.View#requestRectangleOnScreen} 36 * within either {@link android.widget.ScrollView}s or {@link android.widget.ListView}s can 45 ScrollView sv = new ScrollView(this); 46 ViewGroup.LayoutParams svLp = new ScrollView.LayoutParams(
|
/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);
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
BigEditTextActivityScrollablePanScan.java | 27 import android.widget.ScrollView; 41 mRootView = new ScrollView(this); 42 ((ScrollView) mRootView).setFillViewport(true); 54 R.layout.full_screen_edit_text, ((ScrollView) mRootView), false); 58 ((ScrollView) mRootView).addView(mLayout);
|
BigEditTextActivityScrollableResize.java | 27 import android.widget.ScrollView; 41 mRootView = new ScrollView(this); 42 ((ScrollView) mRootView).setFillViewport(true); 54 R.layout.full_screen_edit_text, ((ScrollView) mRootView), false); 58 ((ScrollView) mRootView).addView(mLayout);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
ScrollViewWithNotifier.java | 21 import android.widget.ScrollView; 24 * This is an extended {@link ScrollView} that can notify 25 * {@link ScrollView#onScrollChanged(int,int,int,int} and 26 * {@link ScrollView#onOverScrolled(int,int,int,int)} to a content view. 28 public class ScrollViewWithNotifier extends ScrollView {
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
MessageScrollView.java | 23 import android.widget.ScrollView; 33 * Touch events on any other child of this ScrollView are intercepted in the standard fashion. 35 public class MessageScrollView extends ScrollView { 78 LogUtils.d(LOG_TAG, "IN ScrollView.onIntercept, NOW stealing. ev=%s", ev); 81 LogUtils.d(LOG_TAG, "IN ScrollView.onIntercept, already stealing. ev=%s", ev); 86 LogUtils.d(LOG_TAG, "OUT ScrollView.onIntercept, steal=%s ev=%s", mWantToIntercept, ev); 95 LogUtils.d(LOG_TAG, "IN ScrollView.dispatchTouch, clearing flags"); 104 LogUtils.d(LOG_TAG, "OUT ScrollView.dispatchTouch, handled=%s ev=%s", handled, ev); 111 LogUtils.d(LOG_TAG, "IN extra ScrollView.onTouch, ev=%s", ev);
|
/external/chromium_org/third_party/WebKit/Source/core/accessibility/ |
AXScrollView.h | 35 class ScrollView; 39 static PassRefPtr<AXScrollView> create(ScrollView*); 41 ScrollView* scrollView() const { return m_scrollView; } 51 explicit AXScrollView(ScrollView*); 78 ScrollView* m_scrollView;
|
/cts/apps/CtsVerifier/res/layout/ |
intent_driven_test.xml | 9 <ScrollView 20 </ScrollView>
|
/developers/samples/android/background/alarms/Scheduler/res/layout/ |
activity_main.xml | 17 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 27 </ScrollView>
|
/pdk/apps/TestingCamera/res/layout/ |
fragment_info.xml | 7 <ScrollView 20 </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);
|
/external/chromium_org/ui/views/controls/ |
scroll_view.h | 17 // ScrollView class 19 // A ScrollView is used to make any View scrollable. The view is added to 25 // The scrollview supports keyboard UI and mousewheel. 29 class VIEWS_EXPORT ScrollView : public View, public ScrollBarController { 33 ScrollView(); 34 virtual ~ScrollView(); 36 // Creates a ScrollView with a theme specific border. 37 static ScrollView* CreateScrollViewWithBorder(); 64 // Customize the scrollbar design. ScrollView takes the ownership of the 134 DISALLOW_COPY_AND_ASSIGN(ScrollView); [all...] |