Home
last modified time | relevance | path

Searched refs:translation (Results 1 – 25 of 62) 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.java651 Point translation = PrimaryImage.getImage().getTranslation(); in onTouchEvent() local
652 translation.x = (int) (originalTranslation.x + translateX); in onTouchEvent()
653 translation.y = (int) (originalTranslation.y + translateY); in onTouchEvent()
654 PrimaryImage.getImage().setTranslation(translation); in onTouchEvent()
680 Point translation = PrimaryImage.getImage().getTranslation(); in onTouchEvent() local
681 constrainTranslation(translation, scaleFactor); in onTouchEvent()
682 PrimaryImage.getImage().setTranslation(translation); in onTouchEvent()
706 Point translation = PrimaryImage.getImage().getTranslation(); in startAnimTranslation()
707 translation.x = (Integer) animation.getAnimatedValue(); in startAnimTranslation()
708 PrimaryImage.getImage().setTranslation(translation); in startAnimTranslation()
[all …]
DPrimaryImage.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.java240 float translation = event.getY() - mTouchPoint.y; in onTouchEvent() local
241 float alpha = 1.0f - (Math.abs(translation) / mCurrentView.getHeight()); in onTouchEvent()
243 translation = event.getX() - mTouchPoint.x; in onTouchEvent()
244 alpha = 1.0f - (Math.abs(translation) / mCurrentView.getWidth()); in onTouchEvent()
245 mCurrentView.setTranslationX(translation); in onTouchEvent()
247 mCurrentView.setTranslationY(translation); in onTouchEvent()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationMainView.java148 public void setContentTranslation(float translation) { in setContentTranslation() argument
149 mTextAndBackground.setTranslationX(translation); in setContentTranslation()
150 mIconView.setTranslationX(translation); in setContentTranslation()
/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/quickstep/recents_ui_overrides/src/com/android/quickstep/
DBaseSwipeUpHandler.java171 float translation = Math.max(displacement, 0); in updateDisplacement() local
172 shift = mTransitionDragLength == 0 ? 0 : translation / mTransitionDragLength; in updateDisplacement()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java583 float translation = (footerWidth - textWidth) / 2; in animateOpen() local
584 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/CertInstaller/
DNOTICE44 transformation or translation of a Source form, including but
/packages/apps/TimeZoneUpdater/
DNOTICE44 transformation or translation of a Source form, including but
/packages/apps/SpareParts/
DNOTICE44 transformation or translation of a Source form, including but
/packages/wallpapers/LivePicker/
DNOTICE44 transformation or translation of a Source form, including but
/packages/providers/MediaProvider/
DNOTICE44 transformation or translation of a Source form, including but
/packages/apps/HTMLViewer/
DNOTICE44 transformation or translation of a Source form, including but
/packages/services/Car/tests/CarDeveloperOptions/
DNOTICE44 transformation or translation of a Source form, including but
/packages/apps/QuickSearchBox/
DNOTICE44 transformation or translation of a Source form, including but
/packages/apps/BasicSmsReceiver/
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/Music/
DNOTICE44 transformation or translation of a Source form, including but
/packages/services/Telephony/
DNOTICE44 transformation or translation of a Source form, including but

123