/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/inputmethod/ |
D | ComparableUtils.java | 95 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/core/java/android/widget/ |
D | Scroller.java | 441 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()
|
D | OverScroller.java | 430 if (Math.signum(velocityX) == Math.signum(oldVelocityX) && in fling() 431 Math.signum(velocityY) == Math.signum(oldVelocityY)) { in fling() 528 return !isFinished() && Math.signum(xvel) == Math.signum(dx) && in isScrollingInDirection() 529 Math.signum(yvel) == Math.signum(dy); in isScrollingInDirection() 768 mSplineDistance = (int) (totalDistance * Math.signum(velocity)); in fling() 859 final float sign = Math.signum(mVelocity); in onEdgeReached() 950 final float sign = Math.signum(mVelocity); in update()
|
D | DifferentialMotionFlingHelper.java | 180 float velocityDirection = Math.signum(scaledVelocity); in onMotionEvent() 184 || (velocityDirection != Math.signum(mLastFlingVelocity) in onMotionEvent()
|
D | EdgeEffect.java | 759 && Math.signum(mVelocity) == -Math.signum(mDistance) in updateSpring() 763 mVelocity = Math.signum(mVelocity) * LINEAR_VELOCITY_TAKE_OVER; in updateSpring() 766 if (Math.signum(targetDistance) != Math.signum(mDistance)) { in updateSpring()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/ |
D | MediaCarouselScrollHandler.kt | 260 settingsButton.rotation = rotation * -Math.signum(contentTranslation) in updateSettingsPresentation() 314 newTranslation = getMaxTranslation() * Math.signum(currentTranslation) in onTouch() 358 if (Math.signum(distanceX) != Math.signum(currentTranslation)) { in onScroll() 368 Math.signum(newTranslation) * in onScroll() 376 Math.signum(newTranslation) != Math.signum(currentTranslation) && in onScroll() 417 if (Math.signum(vX) != Math.signum(currentTranslation) || isFalseTouch()) { in onFling() 421 newTranslation = getMaxTranslation() * Math.signum(currentTranslation) in onFling()
|
/frameworks/base/core/java/com/android/internal/graphics/cam/ |
D | Cam.java | 171 float rA = Math.signum(rD) * 400.0f * rAF / (rAF + 27.13f); in fromIntInFrame() 172 float gA = Math.signum(gD) * 400.0f * gAF / (gAF + 27.13f); in fromIntInFrame() 173 float bA = Math.signum(bD) * 400.0f * bAF / (bAF + 27.13f); in fromIntInFrame() 310 float rC = Math.signum(rA) * (100.0f / frame.getFl()) * (float) Math.pow(rCBase, in viewed() 313 float gC = Math.signum(gA) * (100.0f / frame.getFl()) * (float) Math.pow(gCBase, in viewed() 316 float bC = Math.signum(bA) * (100.0f / frame.getFl()) * (float) Math.pow(bCBase, in viewed()
|
D | HctSolver.java | 353 return CamUtils.signum(component) * 400.0 * af / (af + 27.13); in chromaticAdaptation() 595 return CamUtils.signum(adapted) * Math.pow(base, 1.0 / 0.42); in inverseChromaticAdaptation()
|
D | CamUtils.java | 101 public static int signum(double num) { in signum() method in CamUtils
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/ |
D | SmallBigIntegerPerfTest.java | 63 if (x.signum() < 0 || x.compareTo(BIG_FOUR) > 0) { in testSmallBigInteger()
|
/frameworks/base/core/java/android/content/res/ |
D | FontScaleConverterImpl.java | 95 final float sign = Math.signum(sourceValue); in lookupAndInterpolate()
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | StrictMathPerfTest.java | 427 StrictMath.signum(mDouble); in timeSignumD() 435 StrictMath.signum(mFloat); in timeSignumF()
|
D | MathPerfTest.java | 458 result = Math.signum(mDouble); in timeSignumD() 467 result = Math.signum(mFloat); in timeSignumF()
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
D | MainActivity.java | 130 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/ |
D | MainActivity.java | 130 mXOffset = Math.signum(mXOffset); in onCreate() 133 mYOffset = Math.signum(mYOffset); in onCreate()
|
/frameworks/base/libs/securebox/src/com/android/security/ |
D | SecureBox.java | 433 || x.signum() == -1 in validateEcPoint() 434 || y.signum() == -1) { in validateEcPoint()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | PipPinchResizingAlgorithm.java | 85 return Math.signum(angle) * Math.max(0, (Math.abs(dampedRotate(angle)) - ANGLE_THRESHOLD)); in constrainRotationAngle()
|
/frameworks/base/cmds/incidentd/src/ |
D | Section.cpp | 257 void sigpipe_handler(int signum) { in sigpipe_handler() argument 258 if (signum == SIGPIPE) { in sigpipe_handler() 261 ALOGE("Received unexpected signal: %d\n", signum); in sigpipe_handler()
|
/frameworks/base/core/java/android/security/keymaster/ |
D | KeymasterArguments.java | 211 if ((value.signum() == -1) || (value.compareTo(UINT64_MAX_VALUE) > 0)) { in addLongTag()
|
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/ |
D | CameraTooActivity.java | 115 return Long.signum((long) lhs.getWidth() * lhs.getHeight() - in compare()
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_Zygote.cpp | 1016 static void BlockSignal(int signum, fail_fn_t fail_fn) { in BlockSignal() argument 1019 sigaddset(&sigs, signum); in BlockSignal() 1022 fail_fn(CREATE_ERROR("Failed to block signal %s: %s", strsignal(signum), strerror(errno))); in BlockSignal() 1035 static void UnblockSignal(int signum, fail_fn_t fail_fn) { in UnblockSignal() argument 1038 sigaddset(&sigs, signum); in UnblockSignal() 1041 fail_fn(CREATE_ERROR("Failed to un-block signal %s: %s", strsignal(signum), strerror(errno))); in UnblockSignal()
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/utilities/ |
D | AnimatedFloatExpression.java | 201 mStack[sp] = (float) Math.signum(mStack[sp]);
|
/frameworks/base/core/java/com/android/internal/widget/helper/ |
D | ItemTouchHelper.java | 581 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/av/cmds/screenrecord/ |
D | screenrecord.cpp | 140 static void signalCatcher(int signum) in signalCatcher() argument 143 switch (signum) { in signalCatcher()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuAnimationController.java | 343 Math.signum(tuckedPosition.x - position.x) * ESCAPE_VELOCITY, in moveToEdgeAndHide()
|