Home
last modified time | relevance | path

Searched refs:translationY (Results 1 – 25 of 73) sorted by relevance

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DDismissViewButton.java57 float translationY = ((ViewGroup) mParent).getTranslationY(); in getDrawingRect() local
60 outRect.top += translationY; in getDrawingRect()
61 outRect.bottom += translationY; in getDrawingRect()
DNotificationMenuRow.java435 float translationY;
437 translationY = (parentHeight / 2) - (mHorizSpaceForIcon / 2);
439 translationY = (mVertSpaceForIcons - mHorizSpaceForIcon) / 2;
441 mMenuContainer.setTranslationY(translationY);
DStatusBarIconView.java812 float translationY = getTranslationY(); in getDrawingRect() local
815 outRect.top += translationY; in getDrawingRect()
816 outRect.bottom += translationY; in getDrawingRect()
/frameworks/layoutlib/bridge/src/android/view/
DRenderNode_Delegate.java115 /*package*/ static boolean nSetTranslationY(long renderNode, float translationY) { in nSetTranslationY() argument
117 if (delegate != null && delegate.mTranslationY != translationY) { in nSetTranslationY()
118 delegate.mTranslationY = translationY; in nSetTranslationY()
177 float translationY = renderNode.getTranslationY(); in getMatrix() local
183 outMatrix.setTranslate(translationX, translationY); in getMatrix()
/frameworks/base/core/java/android/transition/
DChangeTransform.java413 private static void setTransforms(View view, float translationX, float translationY, in setTransforms() argument
417 view.setTranslationY(translationY); in setTransforms()
428 public final float translationY; field in ChangeTransform.Transforms
438 translationY = view.getTranslationY(); in Transforms()
448 setTransforms(view, translationX, translationY, translationZ, scaleX, scaleY, in restore()
459 thatTransform.translationY == translationY && in equals()
/frameworks/base/tests/Assist/src/com/android/test/assist/
DAssistInteractionSession.java131 .translationY(0) in playAssistAnimation()
158 .translationY(0) in playAssistAnimation()
163 .translationY(0) in playAssistAnimation()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DNotificationShadeActivity.java144 int translationY = expectedHeight - mFullHeight; in updateState() local
145 lastChild.setTranslationY(translationY); in updateState()
146 float p = - ((float) translationY) / lastChildHeight(); in updateState()
/frameworks/support/transition/tests/src/android/support/transition/
DExplodeTest.java146 float translationY = view.getTranslationY();
155 assertTrue(translationY < 0);
157 assertTrue(translationY > 0);
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistOrbView.java229 float translationY = (mCircleRect.top + mCircleRect.bottom) / 2.0f
232 translationY += t * mStaticOffset * 0.1f;
237 mLogo.setTranslationY(translationY);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
DAppearAnimationCreator.java27 float translationY, boolean appearing, Interpolator interpolator, in createAnimation() argument
DAppearAnimationUtils.java184 public void createAnimation(final View view, long delay, long duration, float translationY, in createAnimation() argument
188 view.setTranslationY(appearing ? translationY : 0); in createAnimation()
220 startTranslationYAnimation(view, delay, duration, appearing ? 0 : translationY, in createAnimation()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPatternView.java473 long duration, float translationY, final boolean appearing, in createAnimation() argument
478 appearing ? translationY : 0f, appearing ? 0f : translationY, /* translation */ in createAnimation()
483 mAppearAnimationUtils.createAnimation(mEcaView, delay, duration, translationY, in createAnimation()
/frameworks/base/core/java/com/android/internal/widget/
DWatchListDecorLayout.java323 private void setScrolling(View panel, float translationY) { in setScrolling() argument
324 if (panel.getTranslationY() != translationY) { in setScrolling()
325 panel.setTranslationY(translationY); in setScrolling()
DActionBarOverlayLayout.java124 mCurrentActionBarTopAnimator = mActionBarTop.animate().translationY(0)
127 mCurrentActionBarBottomAnimator = mActionBarBottom.animate().translationY(0)
137 .translationY(-mActionBarTop.getHeight())
141 .translationY(mActionBarBottom.getHeight())
DLockPatternView.java218 float translationY; field in LockPatternView.CellState
456 cellState.translationY = startTranslationY; in startCellStateAnimationSw()
467 cellState.translationY = (1 - t) * startTranslationY + t * endTranslationY; in startCellStateAnimationSw()
489 cellState.translationY = endTranslationY; in startCellStateAnimationHw()
1111 float translationY = cellState.translationY; in onDraw()
1121 drawCircle(canvas, (int) centerX, (int) centerY + translationY, in onDraw()
DDefaultItemAnimator.java286 view.animate().translationY(0); in animateMoveImpl()
358 oldViewAnim.translationY(changeInfo.toY - changeInfo.fromY); in animateChangeImpl()
380 newViewAnimation.translationX(0).translationY(0).setDuration(getChangeDuration()) in animateChangeImpl()
/frameworks/base/core/java/android/view/
DRenderNode.java487 public boolean setTranslationY(float translationY) { in setTranslationY() argument
488 return nSetTranslationY(mNativeRenderNode, translationY); in setTranslationY()
927 private static native boolean nSetTranslationY(long renderNode, float translationY); in nSetTranslationY() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogMotion.java132 .translationY(0) in startShowAnimation()
221 .translationY(-mDialogView.getHeight()) in startDismiss()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DRecentsView.java715 animator.translationY(getHeight());
724 animator.translationY(0f);
799 .translationY(0f);
836 mStackActionButton.animate().translationY(mStackActionButton.getMeasuredHeight()
867 .translationY(show ? 0 : start)
DSystemBarScrimViews.java96 .translationY(toY) in animateNavBarScrimVisibility()
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/
DMainActivity.java60 lv.getChildAt(i).animate().translationY(0).setDuration(DURATION); in onResume()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java778 float translationY, Rect displayFrame) { in calculateClipRevealTransitionDuration() argument
783 Math.abs(translationY) / displayFrame.height()); in calculateClipRevealTransitionDuration()
803 int translationY = mClipRevealTranslationY + (int)(displayFrame.height() / 7f * t); in createClipRevealAnimationLocked() local
805 int translationYCorrection = translationY; in createClipRevealAnimationLocked()
818 translationY = (centerY - halfHeight) - appFrame.top; in createClipRevealAnimationLocked()
834 translationY, displayFrame); in createClipRevealAnimationLocked()
842 TranslateAnimation translate = new TranslateAnimation(translationX, 0, translationY, 0); in createClipRevealAnimationLocked()
875 ? Math.max(Math.abs(translationY), Math.abs(translationX)) : 0; in createClipRevealAnimationLocked()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DDefaultItemAnimator.java285 view.animate().translationY(0); in animateMoveImpl()
357 oldViewAnim.translationY(changeInfo.toY - changeInfo.fromY); in animateChangeImpl()
379 newViewAnimation.translationX(0).translationY(0).setDuration(getChangeDuration()) in animateChangeImpl()
/frameworks/base/libs/hwui/
DRenderProperties.h276 bool setTranslationY(float translationY) { in setTranslationY() argument
277 return RP_SET_AND_DIRTY(mPrimitiveFields.mTranslationY, translationY); in setTranslationY()
/frameworks/support/compat/java/android/support/v4/view/
DViewPropertyAnimatorCompat.java180 public ViewPropertyAnimatorCompat translationY(float value) { in translationY() method in ViewPropertyAnimatorCompat
183 view.animate().translationY(value); in translationY()

123