Home
last modified time | relevance | path

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

/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/
DTemperatureTextAnimator.java20 import static com.android.systemui.statusbar.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.java72 static boolean isLeft(int gravity, int layoutDirection) { in isLeft() method in AnimatedTemperatureView
174 if (isLeft(mGravity, getLayoutDirection())) { in generateTextView()
DTemperatureBackgroundAnimator.java20 import static com.android.systemui.statusbar.hvac.AnimatedTemperatureView.isLeft;
92 if (isLeft(gravity, mAnimatedView.getLayoutDirection())) { in setupAnimations()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java213 Animator getHandleAnimator(View view, float start, float end, boolean isLeft, long durationMs, in getHandleAnimator() argument
222 int xDirection = isLeft ? -1 : 1; in getHandleAnimator()
238 private void fade(View view, boolean fadeIn, boolean isLeft) { in fade() argument
248 Animator first = getHandleAnimator(view, 0, 1.1f, isLeft, 750, in fade()
251 Animator second = getHandleAnimator(view, 1.1f, 0.97f, isLeft, 400, in fade()
253 Animator third = getHandleAnimator(view, 0.97f, 1.02f, isLeft, 400, in fade()
255 Animator fourth = getHandleAnimator(view, 1.02f, 1f, isLeft, 400, in fade()
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java616 boolean isLeft = mCurrentSlider == mLeftSlider; in onTouchEvent()
617 dispatchTriggerEvent(isLeft ? in onTouchEvent()
620 startAnimating(isLeft ? mHoldLeftOnTransition : mHoldRightOnTransition); in onTouchEvent()