Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DScroller.java441 if (Math.signum(velocityX) == Math.signum(oldVelocityX) && in fling()
442 Math.signum(velocityY) == Math.signum(oldVelocityY)) { in fling()
463 mDistance = (int) (totalDistance * Math.signum(velocity)); in fling()
564 return !mFinished && Math.signum(xvel) == Math.signum(mFinalX - mStartX) && in isScrollingInDirection()
565 Math.signum(yvel) == Math.signum(mFinalY - mStartY); in isScrollingInDirection()
DOverScroller.java445 if (Math.signum(velocityX) == Math.signum(oldVelocityX) && in fling()
446 Math.signum(velocityY) == Math.signum(oldVelocityY)) { in fling()
543 return !isFinished() && Math.signum(xvel) == Math.signum(dx) && in isScrollingInDirection()
544 Math.signum(yvel) == Math.signum(dy); in isScrollingInDirection()
775 mSplineDistance = (int) (totalDistance * Math.signum(velocity)); in fling()
866 final float sign = Math.signum(mVelocity); in onEdgeReached()
957 final float sign = Math.signum(mVelocity); in update()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/inputmethod/
DComparableUtils.java95 Integer.signum(compareTo.applyAsInt(x, y)),
96 -Integer.signum(compareTo.applyAsInt(y, x)));
108 Integer.signum(compareTo.applyAsInt(x, z)),
109 Integer.signum(compareTo.applyAsInt(y, z)));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarEdgePanel.java605 if (Math.signum(delta) == Math.signum(mTotalTouchDelta)) { in handleMoveEvent()
654 ARROW_MAX_ANGLE_SPEED_OFFSET_DEGREES) * Math.signum(xVelocity); in handleMoveEvent()
681 * maxYOffset * Math.signum(yOffset); in handleMoveEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DRunningTasks.java37 (o1, o2) -> Long.signum(o2.lastActiveTime - o1.lastActiveTime);
/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp964 static void BlockSignal(int signum, fail_fn_t fail_fn) { in BlockSignal() argument
967 sigaddset(&sigs, signum); in BlockSignal()
970 fail_fn(CREATE_ERROR("Failed to block signal %s: %s", strsignal(signum), strerror(errno))); in BlockSignal()
983 static void UnblockSignal(int signum, fail_fn_t fail_fn) { in UnblockSignal() argument
986 sigaddset(&sigs, signum); in UnblockSignal()
989 fail_fn(CREATE_ERROR("Failed to un-block signal %s: %s", strsignal(signum), strerror(errno))); in UnblockSignal()
/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/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/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DSecureBox.java424 || x.signum() == -1 in validateEcPoint()
425 || y.signum() == -1) { in validateEcPoint()
/frameworks/base/cmds/incidentd/src/
DSection.cpp256 void sigpipe_handler(int signum) { in sigpipe_handler() argument
257 if (signum == SIGPIPE) { in sigpipe_handler()
260 ALOGE("Received unexpected signal: %d\n", signum); in sigpipe_handler()
/frameworks/base/core/java/android/security/keymaster/
DKeymasterArguments.java210 if ((value.signum() == -1) || (value.compareTo(UINT64_MAX_VALUE) > 0)) { in addLongTag()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp130 static void signalCatcher(int signum) in signalCatcher() argument
133 switch (signum) { in signalCatcher()
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
DCameraTooActivity.java115 return Long.signum((long) lhs.getWidth() * lhs.getHeight() - in compare()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DSecurityLogMonitor.java285 newLogs.sort((e1, e2) -> Long.signum(e1.getTimeNanos() - e2.getTimeNanos())); in getNextBatch()
/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/
DSwipeHelper.java622 (int) (startPosition * Math.signum(delta)); in onTouchEvent()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java305 curScrollP = clampedScrollP + Math.signum(overscrollP) * in handleTouchEvent()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java3061 return (int) Math.signum(rhs.getScore() - lhs.getScore());
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java2803 maybeFlingScroller((int) Math.signum(mScroller.getCurrVelocity()),
/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/non-updatable-api/
Dcurrent.txt19365 method public int signum();
61443 method public static int signum(int);
61519 method public static int signum(long);
61598 method public static double signum(double);
61599 method public static float signum(float);
61971 method public static double signum(double);
61972 method public static float signum(float);
62987 method public int signum();
63054 method public int signum();
/frameworks/base/api/
Dcurrent.txt19365 method public int signum();
61587 method public static int signum(int);
61663 method public static int signum(long);
61742 method public static double signum(double);
61743 method public static float signum(float);
62115 method public static double signum(double);
62116 method public static float signum(float);
63131 method public int signum();
63198 method public int signum();
/frameworks/base/config/
Dboot-image-profile.txt8214 HSPLandroid/icu/impl/number/DecimalQuantity_AbstractBCD;->signum()I
26518 HSPLjava/lang/Integer;->signum(I)I
26557 HSPLjava/lang/Long;->signum(J)I
26587 HSPLjava/lang/Math;->signum(F)F
27023 HSPLjava/math/BigDecimal;->signum()I
27053 HSPLjava/math/BigInteger;->signum()I
Dhiddenapi-greylist-max-o.txt104914 Ljava/math/BigInteger;->signum:I