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

1 2 3 4 5 6 7 8 9

  /developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/
CardStreamAnimator.java 69 * @param deltaY delta distance by y-axis
72 public abstract ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY);
80 * @param deltaY delta distance by y-axis
83 public abstract ObjectAnimator getSwipeOutAnimator(View view, float deltaX, float deltaY);
106 public ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY) {
111 public ObjectAnimator getSwipeOutAnimator(View view, float deltaX, float deltaY) {
CardStreamLinearLayout.java 92 float deltaY = y - mDownY;
94 if (!mSwiping && isSwiping(deltaX, deltaY)) {
98 swipeView(v, deltaX, deltaY);
109 float deltaY = y - mDownX;
115 handleViewSwipingOut(v, deltaX, deltaY);
117 handleViewSwipingIn(v, deltaX, deltaY);
268 * @param deltaY
271 protected boolean isSwiping(float deltaX, float deltaY) {
292 * @param deltaY y moving distance by y-axis.
295 protected void swipeView(View child, float deltaX, float deltaY) {
    [all...]
  /development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
CardStreamAnimator.java 72 * @param deltaY delta distance by y-axis
75 public abstract ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY);
83 * @param deltaY delta distance by y-axis
86 public abstract ObjectAnimator getSwipeOutAnimator(View view, float deltaX, float deltaY);
109 public ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY) {
114 public ObjectAnimator getSwipeOutAnimator(View view, float deltaX, float deltaY) {
CardStreamLinearLayout.java 95 float deltaY = y - mDownY;
97 if (!mSwiping && isSwiping(deltaX, deltaY)) {
101 swipeView(v, deltaX, deltaY);
112 float deltaY = y - mDownX;
118 handleViewSwipingOut(v, deltaX, deltaY);
120 handleViewSwipingIn(v, deltaX, deltaY);
271 * @param deltaY
274 protected boolean isSwiping(float deltaX, float deltaY) {
295 * @param deltaY y moving distance by y-axis.
298 protected void swipeView(View child, float deltaX, float deltaY) {
    [all...]
  /external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
DesktopViewInterface.java 15 void injectMouseWheelDeltaEvent(int deltaX, int deltaY);
TapGestureDetector.java 167 float deltaY = currentY - downPoint.y;
168 if (deltaX * deltaX + deltaY * deltaY > mTouchSlopSquare) {
  /external/chromium_org/third_party/WebKit/Source/platform/scroll/
ScrollAnimator.cpp 82 float deltaY = canScrollY ? e.deltaY() : 0;
96 || (deltaY < 0 && maxForwardScrollDelta.height() > 0)
97 || (deltaY > 0 && maxBackwardScrollDelta.height() > 0)) {
100 if (deltaY) {
102 bool negative = deltaY < 0;
103 deltaY = m_scrollableArea->pageStep(VerticalScrollbar);
105 deltaY = -deltaY;
108 scroll(VerticalScrollbar, granularity, m_scrollableArea->pixelStep(VerticalScrollbar), -deltaY);
    [all...]
  /frameworks/native/libs/input/
VelocityControl.cpp 52 void VelocityControl::move(nsecs_t eventTime, float* deltaX, float* deltaY) {
53 if ((deltaX && *deltaX) || (deltaY && *deltaY)) {
66 if (deltaY) {
67 mRawPosition.y += *deltaY;
104 if (deltaY) {
105 *deltaY *= scale;
  /packages/apps/Launcher3/src/com/android/launcher3/
FolderAutoScrollHelper.java 45 public void scrollTargetBy(int deltaX, int deltaY) {
46 mTarget.scrollBy(deltaX, deltaY);
  /external/chromium_org/third_party/WebKit/Source/platform/mac/
ScrollElasticityController.mm 164 float deltaY = m_overflowScrollDelta.height();
181 eventCoalescedDeltaY = -wheelEvent.deltaY();
185 deltaY += eventCoalescedDeltaY;
187 // Slightly prefer scrolling vertically by applying the = case to deltaY
188 if (fabsf(deltaY) >= fabsf(deltaX))
191 deltaY = 0;
220 if (deltaY != 0 && (fabsf(deltaX / deltaY) < rubberbandDirectionLockStretchRatio))
230 if (m_client->pinnedInDirection(FloatSize(0, deltaY))) {
231 if (deltaX != 0 && (fabsf(deltaY / deltaX) < rubberbandDirectionLockStretchRatio)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/events/
GestureEvent.cpp 37 float deltaY = 0;
49 deltaY = event.deltaY();
68 return adoptRefWillBeNoop(new GestureEvent(eventType, view, event.globalPosition().x(), event.globalPosition().y(), event.position().x(), event.position().y(), event.ctrlKey(), event.altKey(), event.shiftKey(), event.metaKey(), deltaX, deltaY));
90 GestureEvent::GestureEvent(const AtomicString& type, PassRefPtrWillBeRawPtr<AbstractView> view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, float deltaX, float deltaY)
93 , m_deltaY(deltaY)
GestureEvent.h 46 float deltaY() const { return m_deltaY; }
52 GestureEvent(const AtomicString& type, PassRefPtrWillBeRawPtr<AbstractView>, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, float deltaX, float deltaY);
WheelEvent.cpp 34 , deltaY(0)
54 , m_wheelDelta(initializer.wheelDeltaX ? initializer.wheelDeltaX : -initializer.deltaX, initializer.wheelDeltaY ? initializer.wheelDeltaY : -initializer.deltaY)
56 , m_deltaY(initializer.deltaY ? initializer.deltaY : -initializer.wheelDeltaY)
145 if (!(event.deltaX() || event.deltaY()))
148 setEvent(WheelEvent::create(FloatPoint(event.wheelTicksX(), event.wheelTicksY()), FloatPoint(event.deltaX(), event.deltaY()),
  /external/chromium_org/third_party/WebKit/Source/platform/
PlatformGestureEvent.h 46 PlatformGestureEvent(Type type, const IntPoint& position, const IntPoint& globalPosition, const IntSize& area, double timestamp, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey, float deltaX, float deltaY, float velocityX, float velocityY)
58 m_data.m_scrollUpdate.m_deltaY = deltaY;
75 float deltaY() const
PlatformWheelEvent.h 82 PlatformWheelEvent(IntPoint position, IntPoint globalPosition, float deltaX, float deltaY, float wheelTicksX, float wheelTicksY, PlatformWheelEventGranularity granularity, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey)
87 , m_deltaY(deltaY)
109 float deltaY() const { return m_deltaY; }
  /development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/
CurvedMotion.java 72 int deltaY = top - oldTop;
76 path.moveTo(-deltaX, -deltaY);
77 path.curveTo(-(deltaX/2), -deltaY, 0, -deltaY/2, 0, 0);
  /frameworks/support/v4/java/android/support/v4/widget/
ListViewAutoScrollHelper.java 36 public void scrollTargetBy(int deltaX, int deltaY) {
48 final int newTop = firstView.getTop() - deltaY;
  /frameworks/base/core/java/android/transition/
ArcMotion.java 212 float deltaY = startY - endY; // Y is inverted compared to diagram above.
214 float h2 = deltaX * deltaX + deltaY * deltaY;
225 if (Math.abs(deltaX) < Math.abs(deltaY)) {
230 // fb = deltaY
231 float eDistY = h2 / (2 * deltaY);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
ObservableScrollView.java 119 protected boolean overScrollBy(int deltaX, int deltaY, int scrollX, int scrollY,
122 mLastOverscrollAmount = Math.max(0, scrollY + deltaY - getMaxScrollY());
123 return super.overScrollBy(deltaX, deltaY, scrollX, scrollY, scrollRangeX, scrollRangeY,
  /frameworks/native/include/input/
VelocityControl.h 91 void move(nsecs_t eventTime, float* deltaX, float* deltaY);
  /frameworks/native/services/inputflinger/
PointerControllerInterface.h 47 virtual void move(float deltaX, float deltaY) = 0;
  /external/chromium_org/android_webview/java/src/org/chromium/android_webview/
AwScrollOffsetManager.java 36 void overScrollContainerViewBy(int deltaX, int deltaY, int scrollX, int scrollY,
156 final int deltaY = y - scrollY;
162 mDelegate.overScrollContainerViewBy(deltaX, deltaY, scrollX, scrollY,
173 public void overScrollBy(int deltaX, int deltaY) {
179 scrollBy(deltaX, deltaY);
182 private void scrollBy(int deltaX, int deltaY) {
183 if (deltaX == 0 && deltaY == 0) return;
192 mDelegate.overScrollContainerViewBy(deltaX, deltaY, scrollX, scrollY,
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ResizeGesture.java 152 int deltaY = p.y - start.y;
154 if (deltaX == 0 && deltaY == 0) {
162 int newH = Math.abs(b.h + (direction.isTop() ? -deltaY : deltaY));
165 deltaY = (int) (deltaX / aspectRatio);
167 deltaX = (int) (deltaY * aspectRatio);
199 int ny1 = b.y + deltaY;
210 int ny2 = b.y + b.h + deltaY;
  /external/replicaisland/src/com/replica/replicaisland/
SphereCollisionVolume.java 107 final float deltaY = other.getMaxYPosition(otherFlip)
110 final float centerY = deltaY / 2.0f;
115 otherRadius = Math.max(deltaX, deltaY);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DelegateViewHelper.java 99 float deltaY = sourceY - delegateY;
100 event.offsetLocation(deltaX, deltaY);
102 event.offsetLocation(-deltaX, -deltaY);

Completed in 688 milliseconds

1 2 3 4 5 6 7 8 9