/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
DismissViewButton.java | 56 float translationX = ((ViewGroup) mParent).getTranslationX(); 58 outRect.left += translationX; 59 outRect.right += translationX;
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
ConversationListSwipeHelper.java | 193 final float translationX = mListItemView.getSwipeTranslationX(); 196 if (translationX != 0) { 198 translationX > 0 ? SWIPE_DIRECTION_RIGHT : SWIPE_DIRECTION_LEFT; 367 final float translationX = itemView.getSwipeTranslationX(); 370 && velocityX > 0 != translationX > 0) { // Right direction. 371 duration = calculateTranslationDuration(translationX, velocityX); 387 * Create and start an animator that animates the given view's translationX 406 final float translationX = mListItemView.getSwipeTranslationX(); 410 && (velocityX > 0) == (translationX > 0) // Right direction. 411 && Math.abs(translationX) > [all...] |
ConversationListItemView.java | 517 public void setSwipeTranslationX(final float translationX) { 518 mSwipeableContainer.setTranslationX(translationX); 519 if (translationX == 0) { 527 if (translationX > 0) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/ |
FloatingActionButtonController.java | 132 int translationX = getTranslationXForAlignment(align); 137 .translationX(translationX + offsetX) 143 mFloatingActionButtonContainer.setTranslationX(translationX + offsetX); 201 * @return The translationX for the given alignment.
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
RenderNode_Delegate.java | 89 /*package*/ static boolean nSetTranslationX(long renderNode, float translationX) { 91 if (delegate != null && delegate.mTranslationX != translationX) { 92 delegate.mTranslationX = translationX; 169 float translationX = renderNode.getTranslationX(); 176 outMatrix.setTranslate(translationX, translationY);
|
/development/samples/devbytes/animation/MultiPropertyAnimations/src/com/example/android/multipropertyanimations/ |
MultiPropertyAnimations.java | 71 view.animate().translationX(TX_END).translationY(TY_END);
|
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/ |
SubActivity.java | 48 child.animate().translationX(0).setDuration(MainActivity.DURATION);
|
/frameworks/support/compat/ics/android/support/v4/view/ |
ViewPropertyAnimatorCompatICS.java | 33 public static void translationX(View view, float value) { 34 view.animate().translationX(value);
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
AlarmActivity.java | 417 final float translationX = Math.max(mSnoozeButton.getLeft() - alarmRight, 0) 419 getAlarmBounceAnimator(translationX, translationX < 0.0f ? 426 final float translationX = Math.max(mDismissButton.getLeft() - alarmRight, 0) 428 getAlarmBounceAnimator(translationX, translationX < 0.0f ? 536 private ValueAnimator getAlarmBounceAnimator(float translationX, final int hintResId) { 538 View.TRANSLATION_X, mAlarmButton.getTranslationX(), translationX, 0.0f);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
ButtonSwitcher.java | 165 return button.animate().translationX(0); 168 return button.animate().translationX(outerX - innerX);
|
/cts/tests/tests/transition/src/android/transition/cts/ |
ExplodeTest.java | 141 float translationX = view.getTranslationX(); 145 assertTrue(translationX < 0); 147 assertTrue(translationX > 0);
|
/frameworks/base/core/java/android/transition/ |
ChangeTransform.java | 411 private static void setTransforms(View view, float translationX, float translationY, 414 view.setTranslationX(translationX); 425 public final float translationX; 435 translationX = view.getTranslationX(); 446 setTransforms(view, translationX, translationY, translationZ, scaleX, scaleY, 456 return thatTransform.translationX == translationX &&
|
/frameworks/base/core/java/android/view/ |
RenderNode.java | 438 * @param translationX The X axis translation value of the display list, in pixels 443 public boolean setTranslationX(float translationX) { 444 return nSetTranslationX(mNativeRenderNode, translationX); 859 private static native boolean nSetTranslationX(long renderNode, float translationX); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/animations/ |
HomeRecentsEnterExitAnimationHolder.java | 53 .translationX(0)
|
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/ |
PictureDetailsActivity.java | 150 translationX(0).translationY(0). 219 translationX(mLeftDelta).translationY(mTopDelta).
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
AssistOrbView.java | 228 float translationX = (mCircleRect.left + mCircleRect.right) / 2.0f - mLogo.getWidth() / 2.0f; 236 mLogo.setTranslationX(translationX);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherViewPropertyAnimator.java | 200 mViewPropertyAnimator.translationX(mTranslationX); 231 public LauncherViewPropertyAnimator translationX(float value) {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherViewPropertyAnimator.java | 201 mViewPropertyAnimator.translationX(mTranslationX); 235 public LauncherViewPropertyAnimator translationX(float value) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
TwoPaneLayout.java | 356 * @param deltaX The ending translationX to translate all of the panes except for drawer. 357 * @param drawerDeltaX the ending translationX to translate the drawer. This is necessary 373 * Animate the panes' translationX to their corresponding deltas. Refer to 377 mConversationFrame.animate().translationX(deltaX); 380 .translationX(deltaX) 383 mFoldersView.animate().translationX(drawerDeltaX); 500 final float translationX = percentDragged * 502 translatePanes(translationX, 0 /* drawerDeltaX */, false /* animate */); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
RotatingButton.java | 42 seekBar = (SeekBar) findViewById(R.id.translationX);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
SettingsButton.java | 102 .translationX(((View) getParent().getParent()).getWidth() - getX())
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
TiledImageView.java | 203 public void setTranslationX(float translationX) { 207 super.setTranslationX(translationX);
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
TiledImageView.java | 203 public void setTranslationX(float translationX) { 207 super.setTranslationX(translationX);
|
/frameworks/support/compat/java/android/support/v4/view/ |
ViewPropertyAnimatorCompat.java | 65 public void translationX(ViewPropertyAnimatorCompat vpa, View view, float value); 96 public void translationX(ViewPropertyAnimatorCompat vpa, View view, float value) { 378 public void translationX(ViewPropertyAnimatorCompat vpa, View view, float value) { 379 ViewPropertyAnimatorCompatICS.translationX(view, value); 729 * This method will cause the View's <code>translationX</code> property to be animated to the 737 public ViewPropertyAnimatorCompat translationX(float value) { 740 IMPL.translationX(this, view, value); [all...] |
/frameworks/base/libs/hwui/ |
RenderProperties.h | 266 bool setTranslationX(float translationX) { 267 return RP_SET_AND_DIRTY(mPrimitiveFields.mTranslationX, translationX);
|