/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | CaptureAnimation.java | 37 // Calculate the slide factor based on the give time fraction. 38 public static float calculateSlide(float fraction) { argument 39 return sSlideInterpolator.getInterpolation(fraction); 42 // Calculate the scale factor based on the given time fraction. 43 public static float calculateScale(float fraction) { argument 45 if (fraction <= 0.5f) { 48 sZoomOutInterpolator.getInterpolation(fraction * 2); 52 sZoomInInterpolator.getInterpolation((fraction - 0.5f) * 2f);
|
/packages/apps/Messaging/src/com/android/messaging/ui/animation/ |
H A D | RectEvaluatorCompat.java | 38 public Rect evaluate(float fraction, Rect startValue, Rect endValue) { argument 39 int left = startValue.left + (int) ((endValue.left - startValue.left) * fraction); 40 int top = startValue.top + (int) ((endValue.top - startValue.top) * fraction); 41 int right = startValue.right + (int) ((endValue.right - startValue.right) * fraction); 42 int bottom = startValue.bottom + (int) ((endValue.bottom - startValue.bottom) * fraction);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | AnimatorUtils.java | 95 public static void setAnimatedFraction(ValueAnimator animator, float fraction) { argument 97 animator.setCurrentFraction(fraction); 102 // try to set the animated fraction directly so that it isn't affected by the 111 sAnimateValue.invoke(animator, fraction); 122 animator.setCurrentPlayTime(Math.round(fraction * animator.getDuration())); 127 final float fraction = animator.getAnimatedFraction(); 128 if (fraction > 0.0f) { 130 setAnimatedFraction(animator, 1.0f - fraction);
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
H A D | AutoFocusHelper.java | 121 * @param fraction Fraction in [0,1]. Multiplied by min(cropRegion.width(), cropRegion.height()) 128 float fraction, final Rect cropRegion, int sensorOrientation) { 131 int halfSideLength = (int) (0.5f * fraction * minCropEdge); 127 regionsForNormalizedCoord(float nx, float ny, float fraction, final Rect cropRegion, int sensorOrientation) argument
|
/packages/apps/Dialer/src/com/android/dialer/widget/ |
H A D | SearchEditTextLayout.java | 291 final Float fraction = (Float) animation.getAnimatedValue(); 292 setMargins(fraction); 309 * Assigns margins to the search box as a fraction of its maximum margin size 311 * @param fraction How large the margins should be as a fraction of their full size 313 private void setMargins(float fraction) { argument 315 params.topMargin = (int) (mTopMargin * fraction); 316 params.bottomMargin = (int) (mBottomMargin * fraction); 317 params.leftMargin = (int) (mLeftMargin * fraction); 318 params.rightMargin = (int) (mRightMargin * fraction); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | ResourceUtils.java | 210 R.fraction.config_max_keyboard_height, dm.heightPixels, dm.heightPixels); 212 R.fraction.config_min_keyboard_height, dm.heightPixels, dm.heightPixels); 214 // Specified fraction was negative, so it should be calculated against display 217 R.fraction.config_min_keyboard_height, dm.widthPixels, dm.widthPixels); 224 public static boolean isValidFraction(final float fraction) { argument 225 return fraction >= 0.0f;
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
H A D | FilmstripLayout.java | 304 private void translateContentLayout(float fraction) { argument 305 mFilmstripContentTranslationProgress = fraction; 306 mFilmstripContentLayout.setTranslationX(fraction * getMeasuredWidth());
|
/packages/apps/TV/src/com/android/tv/ui/ |
H A D | TvViewUiManager.java | 495 public FrameLayout.LayoutParams evaluate(float fraction, 501 interpolateMarginsRelative(lp, startValue, endValue, fraction); 684 float fraction = animator.getAnimatedFraction(); 687 mOldTvViewFrame, mTvViewFrame, fraction); 803 private static int interpolate(int start, int end, float fraction) { argument 804 return (int) (start + (end - start) * fraction); 808 MarginLayoutParams startValue, MarginLayoutParams endValue, float fraction) { 809 out.topMargin = interpolate(startValue.topMargin, endValue.topMargin, fraction); 810 out.bottomMargin = interpolate(startValue.bottomMargin, endValue.bottomMargin, fraction); 812 fraction)); 807 interpolateMarginsRelative(MarginLayoutParams out, MarginLayoutParams startValue, MarginLayoutParams endValue, float fraction) argument [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | DotsPageIndicator.java | 635 // animate the joining fraction for the given dot 649 private void setJoiningFraction(int leftDot, float fraction) { argument 650 joiningFractions[leftDot] = fraction; 659 private void setDotRevealFraction(int dot, float fraction) { argument 660 dotRevealFractions[dot] = fraction;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | MasterImage.java | 390 public void setAnimFraction(float fraction) { argument 391 mAnimFraction = fraction;
|
/packages/apps/TV/usbtuner/libs/ |
H A D | exoplayer_1.5.6.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ... |