Searched refs:translationY (Results 1 - 25 of 43) sorted by relevance

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
H A DAppearAnimationCreator.java27 float translationY, boolean appearing, Interpolator interpolator,
26 createAnimation(T animatedObject, long delay, long duration, float translationY, boolean appearing, Interpolator interpolator, Runnable finishListener) argument
H A DAppearAnimationUtils.java184 public void createAnimation(final View view, long delay, long duration, float translationY, argument
188 view.setTranslationY(appearing ? translationY : 0);
220 startTranslationYAnimation(view, delay, duration, appearing ? 0 : translationY,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDismissViewButton.java57 float translationY = ((ViewGroup) mParent).getTranslationY();
60 outRect.top += translationY;
61 outRect.bottom += translationY;
H A DNotificationMenuRow.java424 float translationY;
426 translationY = (parentHeight / 2) - (mHorizSpaceForIcon / 2);
428 translationY = (mVertSpaceForIcons - mHorizSpaceForIcon) / 2;
430 mMenuContainer.setTranslationY(translationY);
/frameworks/base/tests/Assist/src/com/android/test/assist/
H A DAssistInteractionSession.java131 .translationY(0)
158 .translationY(0)
163 .translationY(0)
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DNotificationShadeActivity.java144 int translationY = expectedHeight - mFullHeight;
145 lastChild.setTranslationY(translationY);
146 float p = - ((float) translationY) / lastChildHeight();
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DRenderNode_Delegate.java115 /*package*/ static boolean nSetTranslationY(long renderNode, float translationY) { argument
117 if (delegate != null && delegate.mTranslationY != translationY) {
118 delegate.mTranslationY = translationY;
177 float translationY = renderNode.getTranslationY();
183 outMatrix.setTranslate(translationX, translationY);
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
H A DAssistOrbView.java229 float translationY = (mCircleRect.top + mCircleRect.bottom) / 2.0f
232 translationY += t * mStaticOffset * 0.1f;
237 mLogo.setTranslationY(translationY);
/frameworks/support/transition/tests/src/android/support/transition/
H A DExplodeTest.java146 float translationY = view.getTranslationY();
155 assertTrue(translationY < 0);
157 assertTrue(translationY > 0);
/frameworks/base/core/java/android/transition/
H A DChangeTransform.java413 private static void setTransforms(View view, float translationX, float translationY, argument
417 view.setTranslationY(translationY);
428 public final float translationY; field in class:ChangeTransform.Transforms
438 translationY = view.getTranslationY();
448 setTransforms(view, translationX, translationY, translationZ, scaleX, scaleY,
459 thatTransform.translationY == translationY &&
/frameworks/base/core/java/com/android/internal/widget/
H A DWatchListDecorLayout.java322 /** Only set scrolling for the panel if there is a change in its translationY. */
323 private void setScrolling(View panel, float translationY) { argument
324 if (panel.getTranslationY() != translationY) {
325 panel.setTranslationY(translationY);
H A DActionBarOverlayLayout.java124 mCurrentActionBarTopAnimator = mActionBarTop.animate().translationY(0)
127 mCurrentActionBarBottomAnimator = mActionBarBottom.animate().translationY(0)
137 .translationY(-mActionBarTop.getHeight())
141 .translationY(mActionBarBottom.getHeight())
H A DLockPatternView.java218 float translationY; field in class:LockPatternView.CellState
456 cellState.translationY = startTranslationY;
467 cellState.translationY = (1 - t) * startTranslationY + t * endTranslationY;
489 cellState.translationY = endTranslationY;
1111 float translationY = cellState.translationY;
1121 drawCircle(canvas, (int) centerX, (int) centerY + translationY,
H A DDefaultItemAnimator.java286 view.animate().translationY(0);
358 oldViewAnim.translationY(changeInfo.toY - changeInfo.fromY);
380 newViewAnimation.translationX(0).translationY(0).setDuration(getChangeDuration())
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardPatternView.java473 long duration, float translationY, final boolean appearing,
478 appearing ? translationY : 0f, appearing ? 0f : translationY, /* translation */
483 mAppearAnimationUtils.createAnimation(mEcaView, delay, duration, translationY,
472 createAnimation(final LockPatternView.CellState animatedCell, long delay, long duration, float translationY, final boolean appearing, Interpolator interpolator, final Runnable finishListener) argument
H A DKeyguardPasswordView.java321 .translationY(mDisappearYTranslation)
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/
H A DMainActivity.java60 lv.getChildAt(i).animate().translationY(0).setDuration(DURATION);
87 Log.d("RTTest", "View has translationY: " + v.getTranslationY());
/frameworks/base/core/java/android/view/
H A DRenderNode.java482 * @param translationY The Y axis translation value of the display list, in pixels
487 public boolean setTranslationY(float translationY) { argument
488 return nSetTranslationY(mNativeRenderNode, translationY);
927 private static native boolean nSetTranslationY(long renderNode, float translationY); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DSystemBarScrimViews.java96 .translationY(toY)
H A DRecentsView.java589 animator.translationY(getHeight());
598 animator.translationY(0f);
672 .translationY(0f);
710 .translationY(-mStackActionButton.getMeasuredHeight() * 0.25f);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeDialogMotion.java131 .translationY(0)
221 .translationY(-mDialogView.getHeight())
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DDefaultItemAnimator.java285 view.animate().translationY(0);
357 oldViewAnim.translationY(changeInfo.toY - changeInfo.fromY);
379 newViewAnimation.translationX(0).translationY(0).setDuration(getChangeDuration())
/frameworks/base/libs/hwui/
H A DRenderProperties.h276 bool setTranslationY(float translationY) { argument
277 return RP_SET_AND_DIRTY(mPrimitiveFields.mTranslationY, translationY);
/frameworks/base/services/core/java/com/android/server/wm/
H A DAppTransition.java769 * @param translationY the total translation the surfaces moves in y direction
775 float translationY, Rect displayFrame) {
780 Math.abs(translationY) / displayFrame.height());
800 int translationY = mClipRevealTranslationY + (int)(displayFrame.height() / 7f * t);
802 int translationYCorrection = translationY;
815 translationY = (centerY - halfHeight) - appFrame.top;
831 translationY, displayFrame);
839 TranslateAnimation translate = new TranslateAnimation(translationX, 0, translationY, 0);
872 ? Math.max(Math.abs(translationY), Math.abs(translationX)) : 0;
774 calculateClipRevealTransitionDuration(boolean cutOff, float translationX, float translationY, Rect displayFrame) argument
/frameworks/support/compat/java/android/support/v4/view/
H A DViewPropertyAnimatorCompat.java174 * This method will cause the View's <code>translationY</code> property to be animated to the
180 public ViewPropertyAnimatorCompat translationY(float value) { method in class:ViewPropertyAnimatorCompat
183 view.animate().translationY(value);
544 * This method will cause the View's <code>translationY</code> property to be animated by the

Completed in 2087 milliseconds

12