/frameworks/base/core/java/android/animation/ |
H A D | PropertyValuesHolder.java | 1014 * @param fraction The elapsed, interpolated fraction of the animation. 1016 void calculateValue(float fraction) { argument 1017 Object value = mKeyframes.getValue(fraction); 1085 // PathData evaluator returns the same mutable PathData object when query fraction, 1091 // PathData evaluator returns the same mutable PathData object when query fraction, 1105 public Object getValueAtFraction(float fraction) { 1106 return mKeyframes.getValue(fraction); 1206 void calculateValue(float fraction) { argument 1207 mIntAnimatedValue = mIntKeyframes.getIntValue(fraction); 1353 calculateValue(float fraction) argument 1704 getValueAtFraction(float fraction) argument [all...] |
H A D | ObjectAnimator.java | 965 * This method is called with the elapsed fraction of the animation during every 966 * animation frame. This function turns the elapsed fraction into an interpolated fraction 974 * @param fraction The elapsed fraction of the animation. 978 void animateValue(float fraction) { argument 987 super.animateValue(fraction);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
H A D | PipMenuActivityController.java | 123 // The dismiss fraction update is sent frequently, so use a temporary bundle for the message 230 public void setDismissFraction(float fraction) { argument 233 + " fraction=" + fraction); 237 mTmpDismissFractionData.putFloat(EXTRA_DISMISS_FRACTION, fraction); 244 Log.e(TAG, "Could not notify menu to update dismiss fraction", e);
|
H A D | PipMenuActivity.java | 489 private void updateDismissFraction(float fraction) { argument 491 final float menuAlpha = 1 - fraction; 496 MENU_BACKGROUND_ALPHA * menuAlpha + DISMISS_BACKGROUND_ALPHA * fraction; 502 alpha = (int) (fraction * DISMISS_BACKGROUND_ALPHA * 255);
|
H A D | PipTouchHandler.java | 412 float fraction = 0f; 415 fraction = Math.min(distance / bounds.height(), 1f); 417 if (Float.compare(fraction, 0f) != 0 || mMenuState != MENU_STATE_NONE) { 418 // Update if the fraction > 0, or if fraction == 0 and the menu was already visible 419 mMenuController.setDismissFraction(fraction); 475 // Save the current snap fraction and if we do not drag or move the PiP, then 476 // we store back to this snap fraction. Otherwise, we'll reset the snap 477 // fraction and snap to the closest edge 484 // Try and restore the PiP to the closest edge, using the saved snap fraction [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | RowHeaderPresenter.java | 118 R.fraction.lb_browse_header_unselect_alpha, 1, 1);
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | PathParser_Delegate.java | 115 long toDataPtr, float fraction) { 137 to.mPathDataNodes[i], fraction); 429 * <code>nodeTo</code> according to the <code>fraction</code>. 433 * @param fraction The fraction to interpolate. 436 @NonNull PathDataNode nodeTo, float fraction) { 438 mParams[i] = nodeFrom.mParams[i] * (1 - fraction) 439 + nodeTo.mParams[i] * fraction; 114 nInterpolatePathData(long outDataPtr, long fromDataPtr, long toDataPtr, float fraction) argument 435 interpolatePathDataNode(@onNull PathDataNode nodeFrom, @NonNull PathDataNode nodeTo, float fraction) argument
|
/frameworks/base/media/java/android/media/ |
H A D | TtmlRenderer.java | 137 String fraction = matcher.group(4); 138 durationSeconds += (fraction != null) ? Double.parseDouble(fraction) : 0;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
H A D | BatteryMeterDrawableBase.java | 59 private static final float BOLT_LEVEL_THRESHOLD = 0.3f; // opaque bolt below this fraction 114 R.fraction.battery_button_height_fraction, 1, 1); 116 R.fraction.battery_subpixel_smoothing_left, 1, 1); 118 R.fraction.battery_subpixel_smoothing_right, 1, 1);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | KeyguardAffordanceView.java | 201 float fraction = 0.5f + 0.5f * Math.max(0.0f, Math.min(1.0f, 206 fraction *= finishingFraction; 208 int color = Color.argb((int) (Color.alpha(mCircleColor) * fraction),
|
/frameworks/support/compat/java/android/support/v4/graphics/ |
H A D | PathParser.java | 347 * <code>fraction</code>. 351 * @param fraction The fraction to interpolate. 354 PathDataNode nodeTo, float fraction) { 356 mParams[i] = nodeFrom.mParams[i] * (1 - fraction) 357 + nodeTo.mParams[i] * fraction; 353 interpolatePathDataNode(PathDataNode nodeFrom, PathDataNode nodeTo, float fraction) argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | BoundsAnimationControllerTests.java | 76 public MockValueAnimator getWithValue(float fraction) { argument 77 mFraction = fraction;
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | ExtendedBitmapDrawable.java | 143 public void setParallaxFraction(float fraction) { argument 144 mParallaxFraction = fraction; 713 * determines the general section for decode. The parallax fraction then determines the
|
/frameworks/base/core/java/android/transition/ |
H A D | ChangeImageTransform.java | 55 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) {
|
/frameworks/support/transition/src/android/support/transition/ |
H A D | ChangeImageTransform.java | 55 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | NotificationChildrenContainer.java | 941 float fraction = getGroupExpandFraction(); 943 fraction); 946 fraction); 1008 float fraction = getGroupExpandFraction(); 1028 childHeight, fraction), false);
|
/frameworks/base/core/java/android/view/ |
H A D | ViewPropertyAnimator.java | 232 * values are used to calculate the animated value for a given animation fraction 1139 * set. This animator holds the animation fraction which we will use to calculate 1161 float fraction = animation.getAnimatedFraction(); 1171 float value = values.mFromValue + fraction * values.mDeltaValue;
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | NightDisplayService.java | 617 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { argument 619 mResultMatrix[i] = MathUtils.lerp(startValue[i], endValue[i], fraction);
|
H A D | DisplayPowerController.java | 355 com.android.internal.R.fraction.config_autoBrightnessAdjustmentMaxGamma, 375 com.android.internal.R.fraction.config_screenAutoBrightnessDozeScaleFactor,
|
/frameworks/base/services/core/java/com/android/server/job/ |
H A D | JobPackageTracker.java | 271 float fraction = duration / (float) period; 272 int percent = (int) ((fraction * 100) + .5f);
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
H A D | SurfaceCompositionMeasuringActivity.java | 406 double fraction = (mTargetFPS - fail.mFPS) / (ok.mFPS - fail.mFPS); 407 return ok.mSurfaceCnt + fraction;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimatedVectorDrawable.java | 1490 // e.g. translateX and translateY can animate along a Path, at any fraction in [0, 1] 1500 float fraction = i / lastFrame; 1501 values[i] = (Float) dataSource.getValueAtFraction(fraction); 1512 float fraction = i / lastFrame; 1513 values[i] = (Integer) dataSource.getValueAtFraction(fraction);
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | DividerSnapAlgorithm.java | 119 com.android.internal.R.fraction.docked_stack_divider_fixed_ratio, 1, 1);
|
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.h | 328 static SkColor interpolateColor(float fraction, SkColor start, SkColor end);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DimLayerController.java | 310 com.android.internal.R.fraction.config_dimBehindFadeDuration, tv, true);
|