Home
last modified time | relevance | path

Searched refs:translation (Results 1 – 25 of 75) 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.java161 public void setContentTranslation(float translation) { in setContentTranslation() argument
162 mTextAndBackground.setTranslationX(translation); in setContentTranslation()
163 mIconView.setTranslationX(translation); in setContentTranslation()
/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/Launcher3/quickstep/src/com/android/quickstep/views/
DRecentsView.java2848 float translation = i == midpoint in updatePageOffsets()
2858 float totalTranslation = translation + modalTranslation; in updatePageOffsets()
2957 protected void setTaskViewsResistanceTranslation(float translation) {
2958 mTaskViewsSecondaryTranslation = translation;
2961 task.getTaskResistanceTranslationProperty().set(task, translation / getScaleY());
2963 mLiveTileTaskViewSimulator.recentsViewSecondaryTranslation.value = translation;
2966 protected void setTaskViewsPrimarySplitTranslation(float translation) {
2967 mTaskViewsPrimarySplitTranslation = translation;
2970 task.getPrimarySplitTranslationProperty().set(task, translation);
2974 protected void setTaskViewsSecondarySplitTranslation(float translation) {
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DSwipeUpAnimationLogic.java114 float translation = Math.max(displacement, 0); in updateDisplacement() local
115 shift = mTransitionDragLength == 0 ? 0 : translation / mTransitionDragLength; in updateDisplacement()
/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.java697 float translation = (footerWidth - textWidth) / 2; in animateOpen() local
698 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/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/
DLICENSE31 transformation or translation of a Source form, including but
/packages/apps/BasicSmsReceiver/
DNOTICE44 transformation or translation of a Source form, including but
/packages/apps/LegacyCamera/jni/
DNOTICE44 transformation or translation of a Source form, including but
/packages/providers/ContactsProvider/
DNOTICE44 transformation or translation of a Source form, including but
/packages/providers/UserDictionaryProvider/
DNOTICE44 transformation or translation of a Source form, including but
/packages/providers/TelephonyProvider/
DNOTICE44 transformation or translation of a Source form, including but
/packages/providers/BlockedNumberProvider/
DNOTICE44 transformation or translation of a Source form, including but
/packages/apps/TvSettings/Settings/
DNOTICE44 transformation or translation of a Source form, including but
/packages/inputmethods/LatinIME/java/
DNOTICE44 transformation or translation of a Source form, including but
/packages/services/Telephony/
DNOTICE44 transformation or translation of a Source form, including but
/packages/apps/LegacyCamera/
DNOTICE44 transformation or translation of a Source form, including but
/packages/apps/Gallery/
DNOTICE44 transformation or translation of a Source form, including but

123