Home
last modified time | relevance | path

Searched refs:isLeft (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DTemperatureTextAnimator.java20 import static com.android.systemui.car.hvac.AnimatedTemperatureView.isLeft;
117 boolean isLeft = isLeft(gravity, mTextSwitcher.getLayoutDirection()); in setupAnimations()
118 mTextInAnimationUp = createRotateFadeAnimation(true, isLeft, true); in setupAnimations()
119 mTextOutAnimationUp = createRotateFadeAnimation(false, isLeft, true); in setupAnimations()
120 mTextInAnimationDown = createRotateFadeAnimation(true, isLeft, false); in setupAnimations()
121 mTextOutAnimationDown = createRotateFadeAnimation(false, isLeft, false); in setupAnimations()
151 private Animation createRotateFadeAnimation(boolean in, boolean isLeft, boolean up) { in createRotateFadeAnimation() argument
156 float degrees = isLeft == up ? -ROTATION_DEGREES : ROTATION_DEGREES; in createRotateFadeAnimation()
157 int pivotX = isLeft ? -mPivotOffset : mParent.getWidth() + mPivotOffset; in createRotateFadeAnimation()
DAnimatedTemperatureView.java71 static boolean isLeft(int gravity, int layoutDirection) { in isLeft() method in AnimatedTemperatureView
165 if (isLeft(mGravity, getLayoutDirection())) { in generateTextView()
DTemperatureBackgroundAnimator.java20 import static com.android.systemui.car.hvac.AnimatedTemperatureView.isLeft;
92 if (isLeft(gravity, mAnimatedView.getLayoutDirection())) { in setupAnimations()