1 package org.robolectric.shadows; 2 3 import android.widget.ScrollView; 4 import org.robolectric.annotation.Implementation; 5 import org.robolectric.annotation.Implements; 6 7 @Implements(ScrollView.class) 8 public class ShadowScrollView extends ShadowViewGroup { 9 10 @Implementation smoothScrollTo(int x, int y)11 protected void smoothScrollTo(int x, int y) { 12 scrollTo(x, y); 13 } 14 15 @Implementation smoothScrollBy(int x, int y)16 protected void smoothScrollBy(int x, int y) { 17 scrollBy(x, y); 18 } 19 } 20