Home
last modified time | relevance | path

Searched refs:translation (Results 1 – 25 of 64) sorted by relevance

123

/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/
DSwipeButtonHelper.java48 private float translation; field in SwipeButtonHelper
168 translationOnDown = translation; in onTouchEvent()
343 float translation = getTranslationFromRadius(newRadius); in getAnimatorToRadius()
344 SwipeButtonHelper.this.translation = right ? -translation : translation; in getAnimatorToRadius()
364 boolean velIsInWrongDirection = vel * translation < 0; in flingWithCurrentVelocity()
367 fling(vel, snapBack || forceSnapBack, translation < 0); in flingWithCurrentVelocity()
371 return Math.abs(translation) < Math.abs(translationOnDown) + getMinTranslationAmount(); in isBelowFalsingThreshold()
384 ValueAnimator animator = ValueAnimator.ofFloat(translation, target); in fling()
385 flingAnimationUtils.apply(animator, translation, target, vel); in fling()
390 translation = (float) animation.getAnimatedValue(); in fling()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageShow.java649 Point translation = MasterImage.getImage().getTranslation(); in onTouchEvent() local
650 translation.x = (int) (originalTranslation.x + translateX); in onTouchEvent()
651 translation.y = (int) (originalTranslation.y + translateY); in onTouchEvent()
652 MasterImage.getImage().setTranslation(translation); in onTouchEvent()
678 Point translation = MasterImage.getImage().getTranslation(); in onTouchEvent() local
679 constrainTranslation(translation, scaleFactor); in onTouchEvent()
680 MasterImage.getImage().setTranslation(translation); in onTouchEvent()
704 Point translation = MasterImage.getImage().getTranslation(); in startAnimTranslation()
705 translation.x = (Integer) animation.getAnimatedValue(); in startAnimTranslation()
706 MasterImage.getImage().setTranslation(translation); in startAnimTranslation()
[all …]
DMasterImage.java606 Point translation = getTranslation(); in computeImageToScreen() local
614 m.postTranslate(translation.x * getScaleFactor(), in computeImageToScreen()
615 translation.y * getScaleFactor()); in computeImageToScreen()
746 public void setTranslation(Point translation) { in setTranslation() argument
752 mTranslation.x = translation.x; in setTranslation()
753 mTranslation.y = translation.y; in setTranslation()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DDragListener.java35 float translation = event.getY() - mStatePanelTrack.getTouchPoint().y; in setState() local
36 float alpha = 1.0f - (Math.abs(translation) in setState()
39 translation = event.getX() - mStatePanelTrack.getTouchPoint().x; in setState()
40 alpha = 1.0f - (Math.abs(translation) in setState()
42 mStatePanelTrack.getCurrentView().setTranslationX(translation); in setState()
44 mStatePanelTrack.getCurrentView().setTranslationY(translation); in setState()
DStatePanelTrack.java239 float translation = event.getY() - mTouchPoint.y; in onTouchEvent() local
240 float alpha = 1.0f - (Math.abs(translation) / mCurrentView.getHeight()); in onTouchEvent()
242 translation = event.getX() - mTouchPoint.x; in onTouchEvent()
243 alpha = 1.0f - (Math.abs(translation) / mCurrentView.getWidth()); in onTouchEvent()
244 mCurrentView.setTranslationX(translation); in onTouchEvent()
246 mCurrentView.setTranslationY(translation); in onTouchEvent()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationMainView.java147 public void setContentTranslation(float translation) { in setContentTranslation() argument
148 mTextAndBackground.setTranslationX(translation); in setContentTranslation()
149 mIconView.setTranslationX(translation); in setContentTranslation()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DSwipeHelper.java412 float translation = Math.abs(mCurrAnimView.getTranslationX()); in onTouchEvent() local
416 && translation > 0.4 * currAnimViewSize; in onTouchEvent()
422 && translation > 0.05 * currAnimViewSize; in onTouchEvent()
425 + perpendicularVelocity + ", x: " + translation + "/" in onTouchEvent()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/anim/
DBenefitsAnimation.java184 int translation = 0; in setupLabelDimensions() local
191 textView.setTranslationX(translation); in setupLabelDimensions()
192 translation += step; in setupLabelDimensions()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DAffordanceHolderLayout.java54 boolean rightPage, float translation, float vel) { in AffordanceHolderLayout()
56 affordanceCallback.onAnimationToSideStarted(rightPage, translation, vel); in AffordanceHolderLayout()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripLayout.java526 float translation = mFilmstripContentLayout.getTranslationX() - mOffset; in draw() local
527 if (translation == width) { in draw()
/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/
DTemperatureBarOverlay.java409 float translation = (float) animation.getAnimatedValue();
410 mTemperatureBar.setTranslationY(translation);
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java538 float translation = (footerWidth - textWidth) / 2; in animateOpen() local
539 mFolderName.setTranslationX(mContent.mIsRtl ? -translation : translation); in animateOpen()
/packages/apps/Dialer/java/com/android/dialer/about/res/raw/
Dthird_party_licenses48 transformation or translation of a Source form, including but
230 transformation or translation of a Source form, including but
436 transformation or translation of a Source form, including but
642 transformation or translation of a Source form, including but
848 transformation or translation of a Source form, including but
1054 transformation or translation of a Source form, including but
1272 transformation or translation of a Source form, including but
1466 transformation or translation of a Source form, including but
1660 transformation or translation of a Source form, including but
1854 transformation or translation of a Source form, including but
[all …]
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DWindowTransformSwipeHandler.java591 float translation = Math.max(displacement, 0); in updateDisplacement() local
592 float shift = mTransitionDragLength == 0 ? 0 : translation / mTransitionDragLength; in updateDisplacement()
/packages/apps/TV/res/raw/
Dthird_party_licenses61 transformation or translation of a Source form, including but
266 transformation or translation of a Source form, including but
472 transformation or translation of a Source form, including but
678 transformation or translation of a Source form, including but
884 transformation or translation of a Source form, including but
1090 transformation or translation of a Source form, including but
1296 transformation or translation of a Source form, including but
1503 transformation or translation of a Source form, including but
1709 transformation or translation of a Source form, including but
1915 transformation or translation of a Source form, including but
[all …]
/packages/inputmethods/LatinIME/
DNOTICE44 transformation or translation of a Source form, including but
/packages/apps/Calendar/
DNOTICE44 transformation or translation of a Source form, including but
/packages/apps/Email/
DNOTICE44 transformation or translation of a Source form, including but
/packages/providers/DownloadProvider/
DNOTICE44 transformation or translation of a Source form, including but
/packages/apps/CellBroadcastReceiver/
DNOTICE44 transformation or translation of a Source form, including but
/packages/providers/CalendarProvider/
DNOTICE44 transformation or translation of a Source form, including but
/packages/providers/ContactsProvider/
DNOTICE44 transformation or translation of a Source form, including but
/packages/apps/Stk/
DNOTICE44 transformation or translation of a Source form, including but
/packages/apps/Dialer/
DLICENSE44 transformation or translation of a Source form, including but
/packages/apps/TimeZoneUpdater/
DNOTICE44 transformation or translation of a Source form, including but

123