/frameworks/support/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/presenter/ |
H A D | HeaderItemPresenter.java | 40 .getFraction(R.fraction.lb_browse_header_unselect_alpha, 1, 1);
|
/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/presenter/ |
H A D | HeaderItemPresenter.java | 40 .getFraction(R.fraction.lb_browse_header_unselect_alpha, 1, 1);
|
/frameworks/support/transition/api14/android/support/transition/ |
H A D | PathProperty.java | 57 public void set(T target, Float fraction) { argument 58 mCurrentFraction = fraction; 59 mPathMeasure.getPosTan(mPathLength * fraction, mPosition, null);
|
/frameworks/support/transition/src/android/support/transition/ |
H A D | ChangeImageTransform.java | 55 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) {
|
H A D | FloatArrayEvaluator.java | 44 * Interpolates the value at each index by the fraction. If 49 * @param fraction The fraction from the starting to the ending values 56 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { argument 65 array[i] = start + (fraction * (end - start));
|
H A D | RectEvaluator.java | 60 * end Rect values, with <code>fraction</code> representing the proportion 69 * @param fraction The fraction from the starting to the ending values 73 * <code>fraction</code> parameter. 76 public Rect evaluate(float fraction, Rect startValue, Rect endValue) { argument 77 int left = startValue.left + (int) ((endValue.left - startValue.left) * fraction); 78 int top = startValue.top + (int) ((endValue.top - startValue.top) * fraction); 79 int right = startValue.right + (int) ((endValue.right - startValue.right) * fraction); 80 int bottom = startValue.bottom + (int) ((endValue.bottom - startValue.bottom) * fraction);
|
H A D | TransitionUtils.java | 120 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { argument 125 mTempEndValues[i] = mTempStartValues[i] + (fraction * diff);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | BrowseFragment.java | 1137 mScaleFactor = getResources().getFraction(R.fraction.lb_browse_rows_scale, 1, 1);
|
H A D | BrowseSupportFragment.java | 1140 mScaleFactor = getResources().getFraction(R.fraction.lb_browse_rows_scale, 1, 1);
|
H A D | DetailsBackgroundVideoHelper.java | 95 public void update(float fraction) { 96 if (fraction == maxFrameTop) {
|
H A D | PlaybackFragment.java | 535 final float fraction = (Float) arg0.getAnimatedValue(); 536 if (DEBUG) Log.v(TAG, "fraction " + fraction); 537 view.setAlpha(fraction); 538 view.setTranslationY((float) mAnimationTranslateY * (1f - fraction)); 561 final float fraction = (Float) arg0.getAnimatedValue(); 566 view.setAlpha(fraction); 567 view.setTranslationY((float) mAnimationTranslateY * (1f - fraction));
|
H A D | PlaybackOverlayFragment.java | 477 final float fraction = (Float) arg0.getAnimatedValue(); 478 if (DEBUG) Log.v(TAG, "fraction " + fraction); 479 view.setAlpha(fraction); 480 view.setTranslationY((float) mAnimationTranslateY * (1f - fraction)); 520 final float fraction = (Float) arg0.getAnimatedValue(); 523 view.setAlpha(fraction); 524 view.setTranslationY((float) mAnimationTranslateY * (1f - fraction));
|
H A D | PlaybackOverlaySupportFragment.java | 480 final float fraction = (Float) arg0.getAnimatedValue(); 481 if (DEBUG) Log.v(TAG, "fraction " + fraction); 482 view.setAlpha(fraction); 483 view.setTranslationY((float) mAnimationTranslateY * (1f - fraction)); 523 final float fraction = (Float) arg0.getAnimatedValue(); 526 view.setAlpha(fraction); 527 view.setTranslationY((float) mAnimationTranslateY * (1f - fraction));
|
H A D | PlaybackSupportFragment.java | 538 final float fraction = (Float) arg0.getAnimatedValue(); 539 if (DEBUG) Log.v(TAG, "fraction " + fraction); 540 view.setAlpha(fraction); 541 view.setTranslationY((float) mAnimationTranslateY * (1f - fraction)); 564 final float fraction = (Float) arg0.getAnimatedValue(); 569 view.setAlpha(fraction); 570 view.setTranslationY((float) mAnimationTranslateY * (1f - fraction));
|
H A D | RowsFragment.java | 104 float fraction; 106 fraction = 1; 109 fraction = (float) (totalTime / (double) mSelectAnimatorDurationInUse); 112 fraction = mSelectAnimatorInterpolatorInUse.getInterpolation(fraction); 114 float level = mSelectLevelAnimStart + fraction * mSelectLevelAnimDelta;
|
H A D | RowsSupportFragment.java | 107 float fraction; 109 fraction = 1; 112 fraction = (float) (totalTime / (double) mSelectAnimatorDurationInUse); 115 fraction = mSelectAnimatorInterpolatorInUse.getInterpolation(fraction); 117 float level = mSelectLevelAnimStart + fraction * mSelectLevelAnimDelta;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/ |
H A D | BoundsRule.java | 35 * Creates ValueRule using a fraction of parent size. 37 * @param fraction Percentage of parent. 40 public static ValueRule inheritFromParent(float fraction) { argument 41 return new ValueRule(0, fraction); 55 * Creates ValueRule of fraction and offset. 57 * @param fraction Percentage of parent. 61 public static ValueRule inheritFromParentWithOffset(float fraction, int value) { argument 62 return new ValueRule(value, fraction); 65 ValueRule(int absoluteValue, float fraction) { argument 67 this.mFraction = fraction; 80 setFraction(float fraction) argument [all...] |
H A D | ColorFilterDimmer.java | 51 context.getResources().getFraction(R.fraction.lb_view_active_level, 1, 0)); 53 context.getResources().getFraction(R.fraction.lb_view_dimmed_level, 1, 1));
|
H A D | ColorOverlayDimmer.java | 47 context.getResources().getFraction(R.fraction.lb_view_active_level, 1, 0)); 49 context.getResources().getFraction(R.fraction.lb_view_dimmed_level, 1, 1));
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | DetailsParallax.java | 50 .fraction(1.0f);
|
H A D | FocusHighlightHelper.java | 45 return R.fraction.lb_focus_zoom_factor_small; 47 return R.fraction.lb_focus_zoom_factor_xsmall; 49 return R.fraction.lb_focus_zoom_factor_medium; 51 return R.fraction.lb_focus_zoom_factor_large; 130 float fraction; 132 fraction = 1; 135 fraction = (float) (totalTime / (double) mDuration); 138 fraction = mInterpolator.getInterpolation(fraction); 140 setFocusLevel(mFocusLevelStart + fraction * mFocusLevelDelt [all...] |
H A D | ParallaxEffect.java | 35 * {@link ParallaxEffect#performMapping(Parallax)} which computes a fraction between 0 and 1 37 * on, the fraction increases from 0 at beginning to 1 at the end. Then the fraction is passed on 209 float fraction = 0; 221 fraction = calculateFraction(source); 223 target.update(fraction); 229 * This method is expected to compute a fraction between 0 and 1 based on the current values of 230 * variables in {@link Parallax}. As the parallax effect goes on, the fraction increases 247 * fraction inside a range to fraction o 252 getFractionWithWeightAdjusted(float fraction, int markerValueIndex) argument [all...] |
H A D | ParallaxTarget.java | 34 * Implementation class is supposed to update target with the provided fraction 35 * (between 0 and 1). The fraction represents percentage of completed change (e.g. scroll) on 38 * @param fraction Fraction between 0 to 1. 41 public void update(float fraction) { argument 46 * {@link #directUpdate(Number)} will be used to update value, otherwise update(fraction) will 89 public void update(float fraction) { argument 90 mFraction = fraction; 91 mAnimator.setCurrentPlayTime((long) (PSEUDO_DURATION * fraction));
|
H A D | RecyclerViewParallax.java | 56 * tracking_pos = view.top + fraction * view.height() + offset 58 * This way we can track top using fraction 0 and bottom using fraction 1. 104 * Sets fraction of size to be added to view's start position. e.g. to track the 105 * center position of the view, use fraction 0.5; to track the end position of the view 106 * use fraction 1. 108 * @param fraction Fraction of size of the view. 111 public ChildPositionProperty fraction(float fraction) { argument 112 mFraction = fraction; [all...] |
H A D | RowHeaderPresenter.java | 118 R.fraction.lb_browse_header_unselect_alpha, 1, 1);
|