/frameworks/support/v4/gingerbread/android/support/v4/widget/ |
ScrollerCompatGingerbread.java | 30 public static boolean isFinished(Object scroller) { 31 return ((OverScroller) scroller).isFinished(); 34 public static int getCurrX(Object scroller) { 35 return ((OverScroller) scroller).getCurrX(); 38 public static int getCurrY(Object scroller) { 39 return ((OverScroller) scroller).getCurrY(); 42 public static boolean computeScrollOffset(Object scroller) { 43 return ((OverScroller) scroller).computeScrollOffset(); 46 public static void startScroll(Object scroller, int startX, int startY, int dx, int dy) { 47 ((OverScroller) scroller).startScroll(startX, startY, dx, dy) [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
ScrollerCompat.java | 22 import android.widget.Scroller; 25 * Provides access to new {@link android.widget.Scroller Scroller} APIs when available. 29 * the APIs from Scroller or OverScroller.</p> 36 boolean isFinished(Object scroller); 37 int getCurrX(Object scroller); 38 int getCurrY(Object scroller); 39 float getCurrVelocity(Object scroller); 40 boolean computeScrollOffset(Object scroller); 41 void startScroll(Object scroller, int startX, int startY, int dx, int dy) [all...] |
AutoScrollHelper.java | 136 /** Scroller used to control acceleration toward maximum velocity. */ 172 /** Whether to reset the scroller start time on the next animation. */ 178 /** Whether the auto-scroller is actively scrolling. */ 181 /** Whether the auto-scroller is enabled. */ 184 /** Whether the auto-scroller consumes events when scrolling. */ 473 // If the auto scroller was not previously active, but it should 492 final ClampedScroller scroller = mScroller; local 493 final int verticalDirection = scroller.getVerticalDirection(); 494 final int horizontalDirection = scroller.getHorizontalDirection(); 696 final ClampedScroller scroller = mScroller local [all...] |
/external/chromium/chrome/browser/chromeos/panels/ |
panel_scroller_container.h | 14 // This class wraps the contents of a panel in the panel scroller. It currently 18 PanelScrollerContainer(PanelScroller* scroller, views::View* contents); 29 // Non-owning pointer to our parent scroller object.
|
panel_scroller_container.cc | 9 PanelScrollerContainer::PanelScrollerContainer(PanelScroller* scroller, 12 scroller_(scroller),
|
panel_scroller_header.h | 17 explicit PanelScrollerHeader(PanelScroller* scroller); 31 // Non-owning pointer to our parent scroller object.
|
panel_scroller_header.cc | 13 PanelScrollerHeader::PanelScrollerHeader(PanelScroller* scroller) 15 scroller_(scroller) {
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
AwScrollOffsetManagerTest.java | 120 OverScroller scroller = new OverScroller(getInstrumentation().getContext()); local 121 AwScrollOffsetManager offsetManager = new AwScrollOffsetManager(delegate, scroller); 173 OverScroller scroller = new OverScroller(getInstrumentation().getContext()); local 174 AwScrollOffsetManager offsetManager = new AwScrollOffsetManager(delegate, scroller); 231 OverScroller scroller = new OverScroller(getInstrumentation().getContext()); local 232 AwScrollOffsetManager offsetManager = new AwScrollOffsetManager(delegate, scroller); 258 OverScroller scroller = new OverScroller(getInstrumentation().getContext()); local 259 AwScrollOffsetManager offsetManager = new AwScrollOffsetManager(delegate, scroller); 273 OverScroller scroller = new OverScroller(getInstrumentation().getContext()); local 274 AwScrollOffsetManager offsetManager = new AwScrollOffsetManager(delegate, scroller); 296 OverScroller scroller = new OverScroller(getInstrumentation().getContext()); local 321 OverScroller scroller = new OverScroller(getInstrumentation().getContext()); local 348 OverScroller scroller = new OverScroller(getInstrumentation().getContext()); local 366 OverScroller scroller = new OverScroller(getInstrumentation().getContext()); local 391 OverScroller scroller = new OverScroller(getInstrumentation().getContext()); local 413 OverScroller scroller = new OverScroller(getInstrumentation().getContext()); local 435 OverScroller scroller = new OverScroller(getInstrumentation().getContext()); local [all...] |
/frameworks/support/v4/ics/android/support/v4/widget/ |
ScrollerCompatIcs.java | 25 public static float getCurrVelocity(Object scroller) { 26 return ((OverScroller) scroller).getCurrVelocity();
|
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
WebTestThemeEngineMac.mm | 163 NSScroller* scroller = [[NSScroller alloc] initWithFrame:NSMakeRect(rect.x, rect.y, rect.width, rect.height)]; 164 [scroller setEnabled:state != WebThemeEngine::StateDisabled]; 166 [[[FakeActiveWindow alwaysInactiveWindow] contentView] addSubview:scroller]; 168 [[[FakeActiveWindow alwaysActiveWindow] contentView] addSubview:scroller]; 170 [scroller setControlSize:size == WebThemeEngine::SizeRegular ? NSRegularControlSize : NSSmallControlSize]; 173 [scroller setDoubleValue: value]; 176 [scroller setKnobProportion: knobProportion]; 183 // Despite passing in frameRect() to the scroller, it always draws at (0, 0). 191 [scroller drawKnob]; 194 [scroller release] [all...] |
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/ |
Zoomer.java | 26 * android.widget.Scroller}. 69 * @see android.widget.Scroller#forceFinished(boolean) 78 * @see android.widget.Scroller#abortAnimation() 89 * @see android.widget.Scroller#startScroll(int, int, int, int) 103 * @see android.widget.Scroller#computeScrollOffset() 125 * @see android.widget.Scroller#getCurrX()
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
IconEditor.java | 39 final HorizontalScrollView scroller = local 41 scroller.setVisibility(View.VISIBLE); 54 if (x < scroller.getScrollX() || 55 x > scroller.getScrollX() + scroller.getWidth()) { 56 scroller.scrollTo(imageViewHolder.getLeft(), 0);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
TextPathActivity.java | 34 ScrollView scroller = new ScrollView(this); local 35 scroller.addView(new CustomTextView(this)); 36 setContentView(scroller);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
BigCache.java | 61 final ScrollView scroller = new ScrollView(this); local 62 scroller.setLayoutParams(new ViewGroup.LayoutParams( 67 scroller.addView(testBed); 69 setContentView(scroller);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
ScrollKeyboardView.java | 24 import android.widget.Scroller; 55 private final Scroller mScroller; 66 mScroller = new Scroller(context); 77 final Scroller scroller = mScroller; 79 scroller.computeScrollOffset(); 80 scrollView.scrollTo(0, scroller.getCurrY()); 81 if (!scroller.isFinished()) {
|
/frameworks/base/docs/html/training/custom-views/ |
making-interactive.jd | 155 {@link android.widget.Scroller} class is the basis for handling flywheel-style <em>fling</em> 158 <p>To start a fling, call {@link android.widget.Scroller#fling fling()} with the starting velocity 178 <p>The call to {@link android.widget.Scroller#fling fling()} sets up the physics model for the fling 180 Afterwards, you need to update the {@link android.widget.Scroller Scroller} by calling {@link 181 android.widget.Scroller#computeScrollOffset Scroller.computeScrollOffset()} at regular 183 android.widget.Scroller#computeScrollOffset computeScrollOffset()} updates the {@link 184 android.widget.Scroller 185 Scroller} object's internal state by reading the current time and using the physics model to calculat [all...] |
/frameworks/base/docs/html/sdk/api_diff/3/changes/ |
android.widget.Scroller.html | 10 android.widget.Scroller 74 Class android.widget.<A HREF="../../../../reference/android/widget/Scroller.html" target="_top"><font size="+2"><code>Scroller</code></font></A> 86 <A NAME="android.widget.Scroller.getStartX_added()"></A> 87 <nobr><code>int</code> <A HREF="../../../../reference/android/widget/Scroller.html#getStartX()" target="_top"><code>getStartX</code></A>()</nobr> 93 <A NAME="android.widget.Scroller.getStartY_added()"></A> 94 <nobr><code>int</code> <A HREF="../../../../reference/android/widget/Scroller.html#getStartY()" target="_top"><code>getStartY</code></A>()</nobr>
|
/frameworks/base/docs/html/sdk/api_diff/11/changes/ |
android.widget.Scroller.html | 10 android.widget.Scroller 74 Class android.widget.<A HREF="../../../../reference/android/widget/Scroller.html" target="_top"><font size="+2"><code>Scroller</code></font></A> 85 <A NAME="android.widget.Scroller.ctor_added(android.content.Context, android.view.animation.Interpolator, boolean)"></A> 86 <nobr><A HREF="../../../../reference/android/widget/Scroller.html#Scroller(android.content.Context, android.view.animation.Interpolator, boolean)" target="_top"><code>Scroller</code></A>(<code>Context,</nobr> Interpolator<nobr>,</nobr> boolean<nobr><nobr></code>)</nobr> 101 <A NAME="android.widget.Scroller.setFriction_added(float)"></A> 102 <nobr><code>void</code> <A HREF="../../../../reference/android/widget/Scroller.html#setFriction(float)" target="_top"><code>setFriction</code></A>(<code>float</code>)</nobr>
|
/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...] |
/frameworks/base/docs/html/training/gestures/ |
scroll.jd | 48 managed by the framework. Implementing a custom scroller should only be 53 <p>You can use scrollers ({@link android.widget.Scroller} or {@link 65 android.widget.Scroller} for scrolling animations. 76 <p>A scroller is used to animate scrolling over time, using platform-standard 77 scrolling physics (friction, velocity, etc.). The scroller itself doesn't 106 a scroller object. This is the use 110 <p>It's common to use scroller objects 121 <p>This section describes how to use a scroller. 223 This is typically be done when a view child is animating a scroll using a scroller object, as in this example. </p> 225 <p>Most views pass the scroller object's x and y position directly to [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherScroller.java | 29 * This class differs from the framework {@link android.widget.Scroller} in that 131 * Create a Scroller with the default duration and interpolator. 138 * Create a Scroller with the specified interpolator. If the interpolator is 148 * Create a Scroller with the specified interpolator. If the interpolator is 183 * Returns whether the scroller has finished scrolling. 185 * @return True if the scroller has finished scrolling, false otherwise. 395 * @param minX Minimum X value. The scroller will not scroll past this 397 * @param maxX Maximum X value. The scroller will not scroll past this 399 * @param minY Minimum Y value. The scroller will not scroll past this 401 * @param maxY Maximum Y value. The scroller will not scroll past thi [all...] |
/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());
|
/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 { 158 * Create a Scroller with the default duration and interpolator. 160 public Scroller(Context context) { 165 * Create a Scroller with the specified interpolator. If the interpolator is 169 public Scroller(Context context, Interpolator interpolator) { 175 * Create a Scroller with the specified interpolator. If the interpolator i [all...] |
/frameworks/base/docs/html/sdk/api_diff/14/changes/ |
android.widget.Scroller.html | 10 android.widget.Scroller 74 Class android.widget.<A HREF="../../../../reference/android/widget/Scroller.html" target="_top"><font size="+2"><code>Scroller</code></font></A> 86 <A NAME="android.widget.Scroller.getCurrVelocity_added()"></A> 87 <nobr><code>float</code> <A HREF="../../../../reference/android/widget/Scroller.html#getCurrVelocity()" target="_top"><code>getCurrVelocity</code></A>()</nobr>
|
/external/chromium_org/ui/message_center/views/ |
message_view.h | 81 void set_scroller(views::ScrollView* scroller) { scroller_ = scroller; } 90 views::ScrollView* scroller() { return scroller_; } function in class:message_center::MessageView
|