Home
last modified time | relevance | path

Searched refs:getDistance (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/
DHorizontalScrollViewFunctionalTest.java77 PollingCheck.waitFor(() -> edgeEffect.getDistance() == 0f); in testScrollAfterFlingLeft()
91 PollingCheck.waitFor(() -> mHorizontalScrollView.mEdgeGlowRight.getDistance() == 0f); in testScrollAfterFlingRight()
DScrollViewFunctionalTest.java77 PollingCheck.waitFor(() -> edgeEffect.getDistance() == 0f); in testScrollAfterFlingTop()
91 PollingCheck.waitFor(() -> edgeEffect.getDistance() == 0f); in testScrollAfterFlingBottom()
/frameworks/base/core/java/com/android/internal/graphics/palette/
DWSMeansQuantizer.java188 (a, b) -> Float.compare(a.getDistance(), b.getDistance())); in calculateClusterDistances()
265 float getDistance() { in getDistance() method in WSMeansQuantizer.Distance
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DVec2.kt35 return getDistance() in str()
/frameworks/native/services/inputflinger/reader/mapper/accumulator/
DMultiTouchMotionAccumulator.h47 inline int32_t getDistance() const { return mAbsMtDistance; } in getDistance() function
/frameworks/base/core/java/android/hardware/face/
DFaceDataFrame.java123 public float getDistance() { in getDistance() method in FaceDataFrame
DFaceCallback.java312 data.getDistance()); in sendEnrollmentFrame()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java757 if (deltaX < 0 && mEdgeGlowRight.getDistance() != 0f) { in onTouchEvent()
761 } else if (deltaX > 0 && mEdgeGlowLeft.getDistance() != 0f) { in onTouchEvent()
1513 if (unconsumed > 0 && mEdgeGlowLeft != null && mEdgeGlowLeft.getDistance() != 0f) { in consumeFlingInStretch()
1523 if (unconsumed < 0 && mEdgeGlowRight != null && mEdgeGlowRight.getDistance() != 0f) { in consumeFlingInStretch()
1857 float distance = edgeEffect.getDistance() * getWidth(); in shouldAbsorb()
DScrollView.java862 if (deltaY < 0 && mEdgeGlowBottom.getDistance() != 0f) { in onTouchEvent()
866 } else if (deltaY > 0 && mEdgeGlowTop.getDistance() != 0f) { in onTouchEvent()
1609 if (unconsumed > 0 && mEdgeGlowTop != null && mEdgeGlowTop.getDistance() != 0f) { in consumeFlingInStretch()
1620 if (unconsumed < 0 && mEdgeGlowBottom != null && mEdgeGlowBottom.getDistance() != 0f) { in consumeFlingInStretch()
1950 float distance = edgeEffect.getDistance() * getHeight(); in shouldAbsorb()
DAbsListView.java3881 if (mEdgeGlowTop.getDistance() != 0) { in releaseGlow()
3889 } else if (mEdgeGlowBottom.getDistance() != 0) { in releaseGlow()
3907 return (mEdgeGlowBottom.getDistance() != 0 && !canScrollDown()) in doesTouchStopStretch()
3908 || (mEdgeGlowTop.getDistance() != 0 && !canScrollUp()); in doesTouchStopStretch()
4130 if (mEdgeGlowTop.getDistance() != 0) { in stopEdgeGlowRecede()
4133 if (mEdgeGlowBottom.getDistance() != 0) { in stopEdgeGlowRecede()
4407 float distance = edgeEffect.getDistance() * getHeight(); in shouldAbsorb()
4425 if (unconsumed < 0 && mEdgeGlowTop != null && mEdgeGlowTop.getDistance() != 0f) { in consumeFlingInStretch()
4435 if (unconsumed > 0 && mEdgeGlowBottom != null && mEdgeGlowBottom.getDistance() != 0f) { in consumeFlingInStretch()
6108 static int getDistance(Rect source, Rect dest, int direction) { in getDistance() method
DEdgeEffect.java455 public float getDistance() { in getDistance() method in EdgeEffect
DGridView.java1980 int distance = getDistance(previouslyFocusedRect, otherRect, direction); in onFocusChanged()
DListView.java3808 int distance = getDistance(previouslyFocusedRect, otherRect, direction);
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java1921 } else if (mLeftEdge.getDistance() != 0
1922 || mRightEdge.getDistance() != 0) {
1926 if (mLeftEdge.getDistance() != 0) {
1929 if (mRightEdge.getDistance() != 0) {
2109 if (mLeftEdge.getDistance() != 0) {
2111 } else if (mRightEdge.getDistance() != 0) {
2274 && mLeftEdge.getDistance() == 0 // don't fling while stretched
2275 && mRightEdge.getDistance() == 0) {
DRecyclerView.java2753 if (mLeftGlow != null && mLeftGlow.getDistance() != 0) { in stopGlowAnimations()
2757 if (mRightGlow != null && mRightGlow.getDistance() != 0) { in stopGlowAnimations()
2761 if (mTopGlow != null && mTopGlow.getDistance() != 0) { in stopGlowAnimations()
2765 if (mBottomGlow != null && mBottomGlow.getDistance() != 0) { in stopGlowAnimations()
2945 if (mLeftGlow != null && mLeftGlow.getDistance() != 0) { in releaseHorizontalGlow()
2947 if (mLeftGlow.getDistance() == 0) { in releaseHorizontalGlow()
2950 } else if (mRightGlow != null && mRightGlow.getDistance() != 0) { in releaseHorizontalGlow()
2952 if (mRightGlow.getDistance() == 0) { in releaseHorizontalGlow()
2978 if (mTopGlow != null && mTopGlow.getDistance() != 0) { in releaseVerticalGlow()
2980 if (mTopGlow.getDistance() == 0) { in releaseVerticalGlow()
[all …]
/frameworks/native/services/inputflinger/reader/mapper/
DMultiTouchInputMapper.cpp107 outPointer.distance = inSlot.getDistance(); in syncTouch()
/frameworks/base/boot/
Dboot-image-profile.txt9648 HSPLandroid/icu/text/DateTimePatternGenerator$DateTimeMatcher;->getDistance(Landroid/icu/text/DateT…
19583 HSPLandroid/widget/EdgeEffect;->getDistance()F
/frameworks/base/config/
Dboot-image-profile.txt9651 HSPLandroid/icu/text/DateTimePatternGenerator$DateTimeMatcher;->getDistance(Landroid/icu/text/DateT…
19647 HSPLandroid/widget/EdgeEffect;->getDistance()F
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt59145 method public float getDistance();
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt65107 Landroid/widget/AbsListView;->getDistance(Landroid/graphics/Rect;Landroid/graphics/Rect;I)I