/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | Scroller.java | 381 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()
|
D | OverScroller.java | 438 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/modules/Uwb/service/java/com/android/server/uwb/correction/math/ |
D | AoaVector.java | 27 import static java.lang.Math.signum; 83 elevation = (F_PI - ae) * signum(elevation); in AoaVector() 98 float laz = backFacing ? (F_PI * signum(azimuth) - azimuth) : azimuth; in AoaVector() 109 azimuth = backFacing ? (F_PI * signum(azimuth) - laz / scaleFactor) : (azimuth in AoaVector() 195 azimuth = F_PI * signum(azimuth) - azimuth; in fromCartesian() 215 * signum(vec.azimuth); in fromSphericalVector()
|
D | SphericalVector.java | 28 import static java.lang.Math.signum; 71 elevation = (F_PI - ae) * signum(elevation); in SphericalVector() 164 double az = acos(min(max(azz, -1), 1)) * signum(vec.azimuth); in fromAoAVector()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/pose/ |
D | IntegPoseSource.java | 22 import static java.lang.Math.signum; 138 mAccelCal.x + min(abs(accel.x), CALIBRATION_COEFFICIENT) * signum(accel.x), in onSensorChanged() 139 mAccelCal.y + min(abs(accel.y), CALIBRATION_COEFFICIENT) * signum(accel.y), in onSensorChanged() 140 mAccelCal.z + min(abs(accel.z), CALIBRATION_COEFFICIENT) * signum(accel.z) in onSensorChanged()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | ComparatorTester.java | 159 .that(Integer.signum(compare(reference, other))) in doTestEquivalanceGroupOrdering() 161 Integer.signum(Ints.compare(referenceIndex, otherIndex))); in doTestEquivalanceGroupOrdering()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/primers/ |
D | BackAzimuthPrimerTest.java | 25 import static java.lang.Math.signum; 92 signum(azimuth) * (F_PI - abs(azimuth)), in simulateRotation()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/ |
D | EdgeBackGesturePanel.java | 530 if (Math.signum(delta) == Math.signum(mTotalTouchDelta)) { in handleMoveEvent() 579 ARROW_MAX_ANGLE_SPEED_OFFSET_DEGREES) * Math.signum(xVelocity); in handleMoveEvent() 605 * maxYOffset * Math.signum(yOffset); in handleMoveEvent()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | AlbumDataAdapter.java | 139 return (int) Math.signum(typeA - typeB); in compare() 156 return (int) Math.signum(b.updated - a.updated); in compare()
|
D | PhotoCarousel.java | 116 flip(Math.signum(vX)); in PhotoCarousel()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/primers/ |
D | BackAzimuthPrimer.java | 27 import static java.lang.Math.signum; 371 signum(vector.azimuth) * (F_PI - abs(vector.azimuth)), in mirrorAzimuth()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ViewAutoScroller.java | 98 final int direction = (int) Math.signum(pixelsPastView); in computeScrollDistance()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | RectFSpringAnim.java | 326 Math.abs(xVelocityPxPerS), mMaxVelocityPxPerS) * Math.signum(xVelocityPxPerS); in start() 328 Math.abs(yVelocityPxPerS), mMaxVelocityPxPerS) * Math.signum(yVelocityPxPerS); in start() 477 float sign = Math.signum(velocity); in adjustVelocity()
|
D | StaggeredWorkspaceAnim.java | 266 float springVelocity = Math.abs(mVelocity) * Math.signum(endTransY - mSpringTransY); in addStaggeredAnimationForView()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | AbstractStateChangeTouchController.java | 305 Float.compare(Math.signum(velocity), Math.signum(mProgressMultiplier)) == 0 in onDragEnd()
|
/packages/apps/Launcher3/src/com/android/launcher3/celllayout/ |
D | ReorderAlgorithm.java | 513 result[0] = (int) Math.signum(deltaX); in computeDirectionVector() 516 result[1] = (int) Math.signum(deltaY); in computeDirectionVector()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | PortraitStatesTouchController.java | 157 totalShift = Math.signum(mFromState.ordinal - mToState.ordinal) in initCurrentAnimation()
|
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/ |
D | gd_base_test.py | 48 def handle_timeout(self, signum, frame): argument
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | AbstractSlideInView.java | 431 + Math.signum(mToTranslationShift - mFromTranslationShift) in onDrag()
|
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/ |
D | ProfileHelper.java | 430 (u1, u2) -> Long.signum(u1.creationTime - u2.creationTime)); in getAllLivingProfiles()
|
D | ProfileGridRecyclerView.java | 231 .sorted((u1, u2) -> Long.signum(u1.creationTime - u2.creationTime)) in getProfilesForProfileGrid()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userswitcher/ |
D | UserGridRecyclerView.java | 148 .sorted((u1, u2) -> Long.signum(u1.creationTime - u2.creationTime)) in getUsersForUserGrid()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/qc/ |
D | ProfileSwitcher.java | 189 .sorted((u1, u2) -> Long.signum(u1.creationTime - u2.creationTime)) in getProfileList()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PagedView.java | 1413 Math.signum(velocity) != Math.signum(delta) && isFling) { in onTouchEvent()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | RecentsView.java | 5763 - Math.round(Math.signum(unclampedOffset) * mClampedScrollOffsetBound); in getScrollOffset()
|