Home
last modified time | relevance | path

Searched refs:signum (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/widget/
DScroller.java434 if (Math.signum(velocityX) == Math.signum(oldVelocityX) && in fling()
435 Math.signum(velocityY) == Math.signum(oldVelocityY)) { in fling()
456 mDistance = (int) (totalDistance * Math.signum(velocity)); in fling()
557 return !mFinished && Math.signum(xvel) == Math.signum(mFinalX - mStartX) && in isScrollingInDirection()
558 Math.signum(yvel) == Math.signum(mFinalY - mStartY); in isScrollingInDirection()
DOverScroller.java439 if (Math.signum(velocityX) == Math.signum(oldVelocityX) && in fling()
440 Math.signum(velocityY) == Math.signum(oldVelocityY)) { in fling()
536 return !isFinished() && Math.signum(xvel) == Math.signum(dx) && in isScrollingInDirection()
537 Math.signum(yvel) == Math.signum(dy); in isScrollingInDirection()
767 mSplineDistance = (int) (totalDistance * Math.signum(velocity)); in fling()
858 final float sign = Math.signum(mVelocity); in onEdgeReached()
949 final float sign = Math.signum(mVelocity); in update()
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DMainActivity.java130 mXOffset = Math.signum(mXOffset); in onCreate()
133 mYOffset = Math.signum(mYOffset); in onCreate()
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DMainActivity.java130 mXOffset = Math.signum(mXOffset); in onCreate()
133 mYOffset = Math.signum(mYOffset); in onCreate()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/touch/
DSwipeToDismissActivity.java136 final float dir = Math.signum(dX); in onChildDraw()
/frameworks/base/core/java/android/security/keymaster/
DKeymasterArguments.java204 if ((value.signum() == -1) || (value.compareTo(UINT64_MAX_VALUE) > 0)) { in addLongTag()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp97 static void signalCatcher(int signum) in signalCatcher() argument
100 switch (signum) { in signalCatcher()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DSecurityLogMonitor.java249 newLogs.sort((e1, e2) -> Long.signum(e1.getTimeNanos() - e2.getTimeNanos())); in getNextBatch()
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
DCameraTooActivity.java115 return Long.signum((long) lhs.getWidth() * lhs.getHeight() - in compare()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
DItemTouchHelper.java579 targetTranslateX = Math.signum(mDx) * mRecyclerView.getWidth(); in select()
584 targetTranslateY = Math.signum(mDy) * mRecyclerView.getHeight(); in select()
2120 final int direction = (int) Math.signum(viewSizeOutOfBounds); in interpolateOutOfBoundsScroll()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java581 targetTranslateX = Math.signum(mDx) * mRecyclerView.getWidth(); in select()
586 targetTranslateY = Math.signum(mDy) * mRecyclerView.getHeight(); in select()
2114 final int direction = (int) Math.signum(viewSizeOutOfBounds); in interpolateOutOfBoundsScroll()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java299 curScrollP = clampedScrollP + Math.signum(overscrollP) * in handleTouchEvent()
/frameworks/support/design/src/android/support/design/widget/
DAppBarLayout.java1195 return Integer.signum(offset) * (child.getTop() + interpolatedDiff); in interpolateOffset()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java1175 return (int) Math.signum(rhs.getScore() - lhs.getScore()); in compare()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt41408 method public static int signum(int);
41467 method public static int signum(long);
41526 method public static double signum(double);
41527 method public static float signum(float);
41848 method public static double signum(double);
41849 method public static float signum(float);
42614 method public int signum();
42681 method public int signum();
/frameworks/base/api/
Dcurrent.txt17394 method public int signum();
54087 method public static int signum(int);
54163 method public static int signum(long);
54242 method public static double signum(double);
54243 method public static float signum(float);
54617 method public static double signum(double);
54618 method public static float signum(float);
55596 method public int signum();
55663 method public int signum();
Dsystem-current.txt18902 method public int signum();
57995 method public static int signum(int);
58071 method public static int signum(long);
58150 method public static double signum(double);
58151 method public static float signum(float);
58525 method public static double signum(double);
58526 method public static float signum(float);
59504 method public int signum();
59571 method public int signum();
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...