HomeSort by relevance Sort by last modified time
    Searched refs:Scroller (Results 1 - 25 of 49) sorted by null

1 2

  /external/chromium_org/ui/gfx/android/
scroller.cc 5 #include "ui/gfx/android/scroller.h"
14 // Default scroll duration from android.widget.Scroller.
158 Scroller::Config::Config()
162 Scroller::Scroller(const Config& config)
188 Scroller::~Scroller() {}
190 void Scroller::StartScroll(float start_x,
203 void Scroller::StartScroll(float start_x,
222 void Scroller::Fling(float start_x
    [all...]
scroller.h 13 // Native port of android.widget.Scroller.
16 class GFX_EXPORT Scroller {
28 explicit Scroller(const Config& config);
29 ~Scroller();
71 // causes the scroller to move to the final x and y position.
77 // Returns whether the scroller has finished scrolling.
scroller_unittest.cc 7 #include "ui/gfx/android/scroller.h"
21 Scroller::Config DefaultConfig() {
22 return Scroller::Config();
30 Scroller scroller(DefaultConfig());
34 scroller.StartScroll(kDefaultStartX,
40 EXPECT_EQ(kDefaultStartX, scroller.GetStartX());
41 EXPECT_EQ(kDefaultStartY, scroller.GetStartY());
42 EXPECT_EQ(kDefaultStartX, scroller.GetCurrX());
43 EXPECT_EQ(kDefaultStartY, scroller.GetCurrY())
    [all...]
  /external/chromium_org/content/child/
fling_animator_impl_android.h 12 #include "ui/gfx/android/scroller.h"
38 gfx::Scroller scroller_;
fling_animator_impl_android.cc 23 gfx::Scroller::Config GetScrollerConfig() {
24 gfx::Scroller::Config config;
  /external/droiddriver/src/com/google/android/droiddriver/helpers/
ScrollerHelper.java 24 import com.google.android.droiddriver.scroll.Scroller;
27 * Helper for Scroller.
32 private final Scroller scroller; field in class:ScrollerHelper
34 public ScrollerHelper(Scroller scroller, DroidDriver driver, Finder containerFinder) {
35 this.scroller = scroller;
50 return scroller.scrollTo(driver, containerFinder, itemFinder);
64 return scroller.scrollTo(driver, containerFinder, itemFinder, direction)
    [all...]
  /frameworks/support/v4/java/android/support/v4/widget/
ScrollerCompat.java 23 import android.widget.Scroller;
26 * Provides access to new {@link android.widget.Scroller Scroller} APIs when available.
30 * the APIs from Scroller or OverScroller.</p>
40 boolean isFinished(Object scroller);
41 int getCurrX(Object scroller);
42 int getCurrY(Object scroller);
43 float getCurrVelocity(Object scroller);
44 boolean computeScrollOffset(Object scroller);
45 void startScroll(Object scroller, int startX, int startY, int dx, int dy)
    [all...]
  /external/droiddriver/src/com/google/android/droiddriver/scroll/
Scroller.java 27 public interface Scroller {
Scrollers.java 30 * Static utility classes and methods pertaining to {@link Scroller} instances.
59 * Returns a new default Scroller that works in simple cases. In complex cases
63 * <li>If the Scroller is used with InstrumentationDriver,
73 * serves as an example of how to construct {@link Scroller}s rather than
74 * providing the "official" {@link Scroller}.
76 public static Scroller newScroller(UiAutomation uiAutomation) {
82 // TODO: A {@link Scroller} that directly jumps to the view if an
StepBasedScroller.java 35 * A {@link Scroller} that looks for the desired item in the currently shown
41 public class StepBasedScroller implements Scroller {
54 * @param axis the axis this scroller can scroll
  /cts/tests/tests/widget/src/android/widget/cts/
ScrollerTest.java 23 import android.widget.Scroller;
26 * Test {@link Scroller}.
29 private Scroller mScroller;
37 mScroller = new Scroller(mTargetContext);
41 new Scroller(mTargetContext);
43 new Scroller(mTargetContext, new LinearInterpolator());
65 mScroller = new Scroller(mTargetContext);
185 // we just check whether the scroller reaches the destination
326 mScroller = new Scroller(mTargetContext, new LinearInterpolator());
  /packages/apps/Launcher2/src/com/android/launcher2/
SmoothPagedView.java 22 import android.widget.Scroller;
105 mScroller = new Scroller(getContext(), mScrollInterpolator);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
ScrollController.java 24 import android.widget.Scroller;
27 * Maintains a Scroller object and two axis scrolling information
601 private Scroller mScrollScroller;
602 private Scroller mFlingScroller;
606 /** using fling scroller */
609 /** using scroll scroller */
662 mScrollScroller = new Scroller(mContext, new DecelerateInterpolator(2));
663 mFlingScroller = new Scroller(mContext, new LinearInterpolator());
789 Scroller scroller; local
827 Scroller scroller; local
928 Scroller scroller; local
968 Scroller scroller; local
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
Scroller.java 35 public class Scroller {
105 * Create a Scroller with the default duration and interpolator.
107 public Scroller(Context context) {
112 * Create a Scroller with the specified interpolator. If the interpolator is
116 public Scroller(Context context, Interpolator interpolator) {
122 * Create a Scroller with the specified interpolator. If the interpolator is
126 public Scroller(Context context, Interpolator interpolator, boolean flywheel) {
154 * Returns whether the scroller has finished scrolling.
156 * @return True if the scroller has finished scrolling, false otherwise.
358 * @param minX Minimum X value. The scroller will not scroll past thi
    [all...]
  /external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
TrackingInputHandler.java 13 import android.widget.Scroller;
38 private Scroller mFlingScroller;
98 mFlingScroller = new Scroller(context);
378 // Initialize the scroller's current offset coordinates, since they are used for
  /frameworks/base/core/java/android/widget/
Scroller.java 29 * <p>This class encapsulates scrolling. You can use scrollers ({@link Scroller}
38 * <pre> private Scroller mScroller = new Scroller(context);
52 * whether the scroller is finished. If it isn't, it means that a fling or
63 public class Scroller {
149 * Create a Scroller with the default duration and interpolator.
151 public Scroller(Context context) {
156 * Create a Scroller with the specified interpolator. If the interpolator is
160 public Scroller(Context context, Interpolator interpolator) {
166 * Create a Scroller with the specified interpolator. If the interpolator i
    [all...]
NumberPicker.java 334 * The {@link Scroller} responsible for flinging the selector.
336 private final Scroller mFlingScroller;
339 * The {@link Scroller} responsible for adjusting the selector.
341 private final Scroller mAdjustScroller;
405 * The back ground color used to optimize scroller fading.
747 mFlingScroller = new Scroller(getContext(), null, true);
748 mAdjustScroller = new Scroller(getContext(), new DecelerateInterpolator(2.5f));
806 * Move to the final position of a scroller. Ensures to force finish the scroller
810 * @param scroller The scroller to whose final position to get
1070 Scroller scroller = mFlingScroller; local
    [all...]
OverScroller.java 30 * {@link android.widget.Scroller} in most cases.
74 mInterpolator = new Scroller.ViscousFluidInterpolator();
120 mInterpolator = new Scroller.ViscousFluidInterpolator();
140 * Returns whether the scroller has finished scrolling.
142 * @return True if the scroller has finished scrolling, false otherwise.
151 * does NOT cause the scroller to move to the final x and y
260 * Sets the final position (X) for this scroller.
278 * Sets the final position (Y) for this scroller.
307 // Any scroller can be used for time, since they were started
417 * @param minX Minimum X value. The scroller will not scroll past this poin
    [all...]
Gallery.java     [all...]
  /packages/apps/Gallery/src/com/android/camera/
GridViewSpecial.java 40 import android.widget.Scroller;
60 * @param scrollPosition the position of the scroller in the range
141 private Scroller mScroller = null;
335 mScroller = new Scroller(getContext());
435 mScroller = new Scroller(getContext());
440 mScroller = new Scroller(getContext());
    [all...]
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
SlidingChallengeLayout.java 40 import android.widget.Scroller;
79 private final Scroller mScroller;
239 mScroller = new Scroller(context, sMotionInterpolator);
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/widget/
MultiShrinkScroller.java 40 import android.widget.Scroller;
145 private final Scroller mScroller;
249 mScroller = new Scroller(context, sInterpolator);
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/widget/
ViewDragHelper.java 30 import android.widget.Scroller;
133 // We need to use a Scroller instead of an OverScroller (b/17700698) and as a result, we need
136 private Scroller mScroller;
398 mScroller = new Scroller(context);
766 // Since Scroller's getFinalY() can't be properly set (b/17704016), we need to
781 // Close enough. The interpolator/scroller might think we're still moving
    [all...]
  /packages/apps/FMRadio/src/com/android/fmradio/views/
FmScroller.java 59 import android.widget.Scroller;
112 private final Scroller mScroller;
178 mScroller = new Scroller(context, INTERPOLATOR);
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
PositionController.java 22 import android.widget.Scroller;
131 private Scroller mFilmScroller;
214 mFilmScroller = new Scroller(context, null, false);
    [all...]

Completed in 1032 milliseconds

1 2