Home
last modified time | relevance | path

Searched refs:displacement (Results 1 – 7 of 7) sorted by relevance

/frameworks/support/compat/src/main/java/androidx/core/widget/
DEdgeEffectCompat.java128 public boolean onPull(float deltaDistance, float displacement) { in onPull() argument
129 onPull(mEdgeEffect, deltaDistance, displacement); in onPull()
151 float displacement) { in onPull() argument
153 edgeEffect.onPull(deltaDistance, displacement); in onPull()
/frameworks/support/dynamic-animation/src/main/java/androidx/dynamicanimation/animation/
DSpringForce.java280 double displacement; in updateValues() local
288 displacement = coeffA * Math.pow(Math.E, mGammaMinus * deltaT) in updateValues()
296 displacement = (coeffA + coeffB * deltaT) * Math.pow(Math.E, -mNaturalFreq * deltaT); in updateValues()
304 displacement = Math.pow(Math.E, -mDampingRatio * mNaturalFreq * deltaT) in updateValues()
307 currentVelocity = displacement * (-mNaturalFreq) * mDampingRatio in updateValues()
313 mMassState.mValue = (float) (displacement + mFinalPosition); in updateValues()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSScrollLayout.java150 public boolean onDrag(float displacement, float velocity) { in onDrag() argument
154 mIsInOverScroll = (!canScrollVertically(1) && displacement < 0) || in onDrag()
155 (!canScrollVertically(-1) && displacement > 0); in onDrag()
166 mFirstDisplacement = displacement; in onDrag()
168 float overscrollY = displacement - mFirstDisplacement; in onDrag()
/frameworks/base/core/java/android/widget/
DEdgeEffect.java201 public void onPull(float deltaDistance, float displacement) { in onPull() argument
203 mTargetDisplacement = displacement; in onPull()
330 final float displacement = Math.max(0, Math.min(mDisplacement, 1.f)) - 0.5f; in draw() local
331 float translateX = mBounds.width() * displacement / 2; in draw()
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DCustomEdgeEffectTest.java153 public void onPull(float deltaDistance, float displacement) { in onPull() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
DSwipeDetector.java174 boolean onDrag(float displacement, float velocity); in onDrag() argument
/frameworks/support/work/integration-tests/testapp/src/main/assets/
Dretn.txt5600 indentation, some abrasion, some trifling displacement which can be