/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/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/services/BuiltInPrintService/jni/plugins/ |
H A D | wprint_scaler.h | 35 uint32 fraction; member in struct:float64_s
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | AnimatorUtils.java | 125 public static void setAnimatedFraction(ValueAnimator animator, float fraction) { argument 127 animator.setCurrentFraction(fraction); 132 // try to set the animated fraction directly so that it isn't affected by the 141 sAnimateValue.invoke(animator, fraction); 152 animator.setCurrentPlayTime(Math.round(fraction * animator.getDuration())); 157 final float fraction = animator.getAnimatedFraction(); 158 if (fraction > 0.0f) { 160 setAnimatedFraction(animator, 1.0f - fraction);
|
/packages/apps/Dialer/java/com/android/dialer/app/widget/ |
H A D | SearchEditTextLayout.java | 297 final Float fraction = (Float) animation.getAnimatedValue(); 298 setMargins(fraction); 315 * Assigns margins to the search box as a fraction of its maximum margin size 317 * @param fraction How large the margins should be as a fraction of their full size 319 private void setMargins(float fraction) { argument 321 params.topMargin = (int) (mTopMargin * fraction); 322 params.bottomMargin = (int) (mBottomMargin * fraction); 323 params.leftMargin = (int) (mLeftMargin * fraction); 324 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 | 378 public FrameLayout.LayoutParams evaluate(float fraction, 384 interpolateMargins(lp, startValue, endValue, fraction); 453 float fraction = animator.getAnimatedFraction(); 456 mOldTvViewFrame, mTvViewFrame, fraction); 563 private static int interpolate(int start, int end, float fraction) { argument 564 return (int) (start + (end - start) * fraction); 568 MarginLayoutParams startValue, MarginLayoutParams endValue, float fraction) { 569 out.topMargin = interpolate(startValue.topMargin, endValue.topMargin, fraction); 570 out.bottomMargin = interpolate(startValue.bottomMargin, endValue.bottomMargin, fraction); 572 fraction)); 567 interpolateMargins(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/libs/ |
H A D | exoplayer.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ... |
H A D | exoplayer_v2.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer2/ ... |