Searched defs:translation (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
H A DNotificationSwipeActionHelper.java55 public boolean swipedFarEnough(float translation, float viewSize); argument
57 public boolean swipedFastEnough(float translation, float velocity); argument
H A DNotificationMenuRowPlugin.java99 public void onTranslationUpdate(float translation); argument
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
H A Dnumeric.h156 inline mat3 TranslationMatrix(const vec2& translation) { argument
157 return mat3(Eigen::Translation2f(translation));
160 inline mat4 TranslationMatrix(const vec3& translation) { argument
161 return mat4(Eigen::Translation3f(translation));
165 return m.linear() * p + m.translation();
/frameworks/base/core/java/android/transition/
H A DChangeTransform.java80 * This property sets the translation animation matrix properties.
525 public void setTranslation(PointF translation) { argument
526 mTranslationX = translation.x;
527 mTranslationY = translation.y;
/frameworks/support/transition/src/main/java/androidx/transition/
H A DChangeTransform.java82 * This property sets the translation animation matrix properties.
566 void setTranslation(PointF translation) { argument
567 mTranslationX = translation.x;
568 mTranslationY = translation.y;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationMenuRow.java462 public void onTranslationUpdate(float translation) { argument
463 mTranslation = translation;
469 final float absTrans = Math.abs(translation);
H A DExpandableView.java334 * Sets the translation of the view.
336 public void setTranslation(float translation) { argument
337 setTranslationX(translation);
341 * Gets the translation of the view.
356 * position 0 and usually the translation is neglected. Since we are manually clipping this
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java190 private float getSwipeProgressForOffset(View view, float translation) { argument
192 float result = Math.abs(translation / viewSize);
210 float translation) {
211 float swipeProgress = getSwipeProgressForOffset(animView, translation);
662 float translation = getTranslation(mCurrView);
664 && Math.abs(translation) > SWIPED_FAR_ENOUGH_SIZE_FRACTION * getSize(mCurrView);
685 float translation = getTranslation(mCurrView);
687 && (velocity > 0) == (translation > 0);
692 float translation) {
209 updateSwipeProgressFromOffset(View animView, boolean dismissable, float translation) argument
691 handleUpEvent(MotionEvent ev, View animView, float velocity, float translation) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardAffordanceHelper.java303 float translation = getTranslationFromRadius(newRadius);
304 mTranslation = right ? -translation : translation;
320 // We snap back if the current translation is not far enough
376 private void setTranslation(float translation, boolean isReset, boolean animateReset) { argument
377 translation = rightSwipePossible() ? translation : Math.max(0, translation);
378 translation = leftSwipePossible() ? translation
430 getRadiusFromTranslation(float translation) argument
562 onAnimationToSideStarted(boolean rightPage, float translation, float vel) argument
[all...]
H A DNotificationPanelView.java1719 float translation = MathUtils.lerp(-mQsMinExpansionHeight, 0,
1722 return Math.min(0, translation);
1992 public void onAnimationToSideStarted(boolean rightPage, float translation, float vel) { argument
1997 int lengthDp = Math.abs((int) (translation / displayDensity));
2491 protected void setVerticalPanelTranslation(float translation) { argument
2492 mNotificationStackScroller.setTranslationX(translation);
2493 mQsFrame.setTranslationX(translation);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationStackScrollLayout.java969 * @return The translation at the beginning when expanding.
4692 public void onMoveUpdate(View view, MotionEvent ev, float translation, float delta) { argument
4701 float translation) {
4779 public boolean swipedFarEnough(float translation, float viewSize) { argument
4784 public boolean swipedFastEnough(float translation, float velocity) { argument
4700 handleUpEvent(MotionEvent ev, View animView, float velocity, float translation) argument

Completed in 1256 milliseconds