Home
last modified time | relevance | path

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

/packages/apps/ExactCalculator/src/com/android/calculator2/
DBoundedRational.java120 if (mDen.signum() > 0) { in positiveDen()
157 return mNum.multiply(r.mDen).compareTo(r.mNum.multiply(mDen)) * mDen.signum() in compareTo()
158 * r.mDen.signum(); in compareTo()
161 public int signum() { in signum() method in BoundedRational
162 return mNum.signum() * mDen.signum(); in signum()
181 if (quotAndRem[1].signum() == 0) { in asBigInteger()
231 if (r.mNum.signum() == 0) { in inverse()
247 if (r.mNum.signum() < 0) { in sqrt()
279 if (r.mNum.signum() == 0) { in map0to0()
289 if (r.mNum.signum() == 0) { in map0to1()
[all …]
DEvaluator.java555 if (ratVal != null && ratVal.signum() == 0) return Integer.MIN_VALUE; in getLsdOffset()
734 if (mRatVal != null && mRatVal.signum() == 0) { in getMsdIndex()
DCalculatorExpr.java901 return appr.and(MASK).signum() == 0; in isApprInt()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherScroller.java418 if (Math.signum(velocityX) == Math.signum(oldVelocityX) && in fling()
419 Math.signum(velocityY) == Math.signum(oldVelocityY)) { in fling()
440 mDistance = (int) (totalDistance * Math.signum(velocity)); in fling()
555 return !mFinished && Math.signum(xvel) == Math.signum(mFinalX - mStartX) && in isScrollingInDirection()
556 Math.signum(yvel) == Math.signum(mFinalY - mStartY); in isScrollingInDirection()
DCellLayout.java1974 result[0] = (int) Math.signum(deltaX); in computeDirectionVector()
1977 result[1] = (int) Math.signum(deltaY); in computeDirectionVector()
2154 finalDeltaX = - dir * Math.signum(dX) * mReorderPreviewAnimationMagnitude; in ReorderPreviewAnimation()
2156 finalDeltaY = - dir * Math.signum(dY) * mReorderPreviewAnimationMagnitude; in ReorderPreviewAnimation()
2159 finalDeltaX = (int) (- dir * Math.signum(dX) * in ReorderPreviewAnimation()
2161 finalDeltaY = (int) (- dir * Math.signum(dY) * in ReorderPreviewAnimation()
DPagedView.java1778 Math.signum(velocityX) != Math.signum(deltaX) && isFling) { in onTouchEvent()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java381 if (Math.signum(velocityX) == Math.signum(oldVelocityX) && in fling()
382 Math.signum(velocityY) == Math.signum(oldVelocityY)) { in fling()
503 return !mFinished && Math.signum(xvel) == Math.signum(mFinalX - mStartX) && in isScrollingInDirection()
504 Math.signum(yvel) == Math.signum(mFinalY - mStartY); in isScrollingInDirection()
DOverScroller.java438 if (Math.signum(velocityX) == Math.signum(oldVelocityX) && in fling()
439 Math.signum(velocityY) == Math.signum(oldVelocityY)) { in fling()
535 return !isFinished() && Math.signum(xvel) == Math.signum(dx) && in isScrollingInDirection()
536 Math.signum(yvel) == Math.signum(dy); in isScrollingInDirection()
769 mSplineDistance = (int) (totalDistance * Math.signum(velocity)); in fling()
856 final float sign = Math.signum(mVelocity); in onEdgeReached()
943 final float sign = Math.signum(mVelocity); in update()
/packages/apps/ExactCalculator/tests/src/com/android/calculator2/
DBRTest.java117 if (x.signum() > 0) { in checkBR()
139 check(BR_0.signum() == 0, "signum(0)"); in testBR()
140 check(BR_M1.signum() == -1, "signum(-1)"); in testBR()
141 check(BR_2.signum() == 1, "signum(2)"); in testBR()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DAlbumDataAdapter.java139 return (int) Math.signum(typeA - typeB); in compare()
156 return (int) Math.signum(b.updated - a.updated); in compare()
DPhotoCarousel.java116 flip(Math.signum(vX)); in PhotoCarousel()
/packages/apps/Launcher2/src/com/android/launcher2/
DCellLayout.java2140 result[0] = (int) Math.signum(deltaX); in computeDirectionVector()
2143 result[1] = (int) Math.signum(deltaY); in computeDirectionVector()
2306 finalDeltaX = - Math.signum(dX) * mReorderHintAnimationMagnitude; in ReorderHintAnimation()
2308 finalDeltaY = - Math.signum(dY) * mReorderHintAnimationMagnitude; in ReorderHintAnimation()
2311 finalDeltaX = (int) (- Math.signum(dX) * in ReorderHintAnimation()
2313 finalDeltaY = (int) (- Math.signum(dY) * in ReorderHintAnimation()
DPagedView.java1305 Math.signum(velocityX) != Math.signum(deltaX) && isFling) { in onTouchEvent()
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...