Searched defs:translationX (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DHeadsUpStatusBarView.java178 * @param translationX how to translate the horizontal position
180 public void setPanelTranslation(float translationX) { argument
182 setTranslationX(translationX + mCutOutInset);
184 setTranslationX(translationX - mCutOutInset);
H A DExpandableNotificationRow.java1715 public void setTranslation(float translationX) { argument
1721 setTranslationX(translationX);
1726 mTranslateableViews.get(i).setTranslationX(translationX);
1734 getEntry().expandedIcon.setScrollX((int) -translationX);
1737 mMenuRow.onTranslationUpdate(translationX);
/frameworks/layoutlib/bridge/src/android/view/
H A DRenderNode_Delegate.java96 /*package*/ static boolean nSetTranslationX(long renderNode, float translationX) { argument
98 if (delegate != null && delegate.mTranslationX != translationX) {
99 delegate.mTranslationX = translationX;
176 float translationX = renderNode.getTranslationX();
183 outMatrix.setTranslate(translationX, translationY);
/frameworks/support/compat/src/main/java/androidx/core/view/
H A DViewPropertyAnimatorCompat.java159 * This method will cause the View's <code>translationX</code> property to be animated to the
165 public ViewPropertyAnimatorCompat translationX(float value) { method in class:ViewPropertyAnimatorCompat
168 view.animate().translationX(value);
529 * This method will cause the View's <code>translationX</code> property to be animated by the
/frameworks/base/core/java/android/transition/
H A DChangeTransform.java413 private static void setTransforms(View view, float translationX, float translationY, argument
416 view.setTranslationX(translationX);
427 public final float translationX; field in class:ChangeTransform.Transforms
437 translationX = view.getTranslationX();
448 setTransforms(view, translationX, translationY, translationZ, scaleX, scaleY,
458 return thatTransform.translationX == translationX &&
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageView.java203 public void setTranslationX(float translationX) { argument
207 super.setTranslationX(translationX);
/frameworks/support/transition/src/main/java/androidx/transition/
H A DChangeTransform.java439 private static void setTransforms(View view, float translationX, float translationY, argument
442 view.setTranslationX(translationX);
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DPagingIndicator.java520 public void setTranslationX(float translationX) { argument
521 this.mTranslationX = translationX * mDirection * mLayoutDirection;
/frameworks/base/core/java/android/view/
H A DViewPropertyAnimator.java599 * This method will cause the View's <code>translationX</code> property to be animated to the
606 public ViewPropertyAnimator translationX(float value) { method in class:ViewPropertyAnimator
612 * This method will cause the View's <code>translationX</code> property to be animated by the
H A DRenderNode.java481 * @param translationX The X axis translation value of the display list, in pixels
486 public boolean setTranslationX(float translationX) { argument
487 return nSetTranslationX(mNativeRenderNode, translationX);
960 private static native boolean nSetTranslationX(long renderNode, float translationX); argument
H A DView.java662 * {@link #setTranslationX(float) translationX}. This behavior is contrasted to that of the pre-3.0
15437 * {@link #setTranslationX(float) translationX} property plus the current
15449 * {@link #setTranslationX(float) translationX} property to be the difference between
15547 * @param translationX The horizontal position of this view relative to its left position,
15552 public void setTranslationX(float translationX) { argument
15553 if (translationX != getTranslationX()) {
15555 mRenderNode.setTranslationX(translationX);
16532 * alpha, translationX/Y, scrollX/Y, scaleX/Y, and rotation/X/Y. This method only
16547 * alpha, translationX/Y, scrollX/Y, scaleX/Y, and rotation/X/Y. This method will propagate
25500 * A Property wrapper around the <code>translationX</cod
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationIconContainer.java345 private int findFirstViewIndexAfter(float translationX) { argument
348 if (view.getTranslationX() > translationX) {
371 float translationX = getActualPaddingStart();
384 iconState.xTranslation = translationX;
400 (translationX > (noOverflowAfter ? layoutEnd - mIconSize
406 mVisualOverflowStart = Math.min(translationX, mVisualOverflowStart);
409 translationX += iconState.iconAppearAmount * view.getWidth() * drawingScale;
413 translationX = mVisualOverflowStart;
418 iconState.xTranslation = translationX;
426 translationX
[all...]
/frameworks/base/libs/hwui/
H A DRenderProperties.h241 bool setTranslationX(float translationX) { argument
242 return RP_SET_AND_DIRTY(mPrimitiveFields.mTranslationX, translationX);
/frameworks/base/services/core/java/com/android/server/wm/
H A DAppTransition.java776 * @param translationX the total translation the surface moves in x direction
782 private long calculateClipRevealTransitionDuration(boolean cutOff, float translationX, argument
787 final float fraction = Math.max(Math.abs(translationX) / displayFrame.width(),
809 int translationX = 0;
829 translationX = (centerX - halfWidth) - appFrame.left;
834 translationX = (centerX + halfWidth) - appFrame.right;
838 final long duration = calculateClipRevealTransitionDuration(cutOff, translationX,
847 TranslateAnimation translate = new TranslateAnimation(translationX, 0, translationY, 0);
880 ? Math.max(Math.abs(translationY), Math.abs(translationX)) : 0;

Completed in 355 milliseconds