/frameworks/base/core/java/android/animation/ |
PointFEvaluator.java | 56 * end PointF values, with <code>fraction</code> representing the proportion 65 * @param fraction The fraction from the starting to the ending values 69 * <code>fraction</code> parameter. 72 public PointF evaluate(float fraction, PointF startValue, PointF endValue) { 73 float x = startValue.x + (fraction * (endValue.x - startValue.x)); 74 float y = startValue.y + (fraction * (endValue.y - startValue.y));
|
TimeInterpolator.java | 26 * Maps a value representing the elapsed fraction of an animation to a value that represents 27 * the interpolated fraction. This interpolated value is then multiplied by the change in
|
/packages/apps/Dialer/src/com/android/dialer/widget/ |
SearchEditTextLayout.java | 248 final Float fraction = (Float) animation.getAnimatedValue(); 249 setMargins(fraction); 266 * Assigns margins to the search box as a fraction of its maximum margin size 268 * @param fraction How large the margins should be as a fraction of their full size 270 private void setMargins(float fraction) { 272 params.topMargin = (int) (mTopMargin * fraction); 273 params.bottomMargin = (int) (mBottomMargin * fraction); 274 params.leftMargin = (int) (mLeftMargin * fraction); 275 params.rightMargin = (int) (mRightMargin * fraction); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
AnimatableLengthPoint3D.cpp | 36 PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableLengthPoint3D::interpolateTo(const AnimatableValue* value, double fraction) const 40 AnimatableValue::interpolate(this->x(), lengthPoint->x(), fraction), 41 AnimatableValue::interpolate(this->y(), lengthPoint->y(), fraction), 42 AnimatableValue::interpolate(this->z(), lengthPoint->z(), fraction));
|
AnimatableSVGPaint.cpp | 43 PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableSVGPaint::interpolateTo(const AnimatableValue* value, double fraction) const 46 return defaultInterpolateTo(this, value, fraction); 49 RefPtrWillBeRawPtr<AnimatableColor> color = toAnimatableColor(AnimatableValue::interpolate(m_color.get(), svgPaint->m_color.get(), fraction).get()); 50 if (fraction < 0.5)
|
AnimatableVisibility.cpp | 43 PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableVisibility::interpolateTo(const AnimatableValue* value, double fraction) const 48 return defaultInterpolateTo(this, value, fraction); 49 if (fraction <= 0) 51 if (fraction >= 1)
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
FocusHighlightHelper.java | 98 float fraction; local 100 fraction = 1; 103 fraction = (float) (totalTime / (double) mDuration); 106 fraction = mInterpolator.getInterpolation(fraction); 108 setFocusLevel(mFocusLevelStart + fraction * mFocusLevelDelta); 130 resources.getFraction(R.fraction.lb_focus_zoom_factor_small, 1, 1); 132 resources.getFraction(R.fraction.lb_focus_zoom_factor_medium, 1, 1); 134 resources.getFraction(R.fraction.lb_focus_zoom_factor_large, 1, 1);
|
/frameworks/support/v7/appcompat/res/values-large/ |
dimens.xml | 26 (the screen is in landscape). This may be either a fraction or a dimension.--> 29 (the screen is in portrait). This may be either a fraction or a dimension.--> 32 (the screen is in portrait). This may be either a fraction or a dimension.--> 35 (the screen is in landscape). This may be either a fraction or a dimension.-->
|
/frameworks/support/v7/appcompat/res/values-xlarge/ |
dimens.xml | 28 (the screen is in landscape). This may be either a fraction or a dimension.--> 31 (the screen is in portrait). This may be either a fraction or a dimension.--> 34 (the screen is in portrait). This may be either a fraction or a dimension.--> 37 (the screen is in landscape). This may be either a fraction or a dimension.-->
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
EmojiLayoutParams.java | 43 mKeyVerticalGap = (int) res.getFraction(R.fraction.config_key_vertical_gap_holo, 45 mBottomPadding = (int) res.getFraction(R.fraction.config_keyboard_bottom_padding_holo, 47 mTopPadding = (int) res.getFraction(R.fraction.config_keyboard_top_padding_holo, 49 mKeyHorizontalGap = (int) (res.getFraction(R.fraction.config_key_horizontal_gap_holo,
|
/prebuilts/sdk/current/support/v7/appcompat/res/values-large/ |
dimens.xml | 26 (the screen is in landscape). This may be either a fraction or a dimension.--> 29 (the screen is in portrait). This may be either a fraction or a dimension.--> 32 (the screen is in portrait). This may be either a fraction or a dimension.--> 35 (the screen is in landscape). This may be either a fraction or a dimension.-->
|
/prebuilts/sdk/current/support/v7/appcompat/res/values-xlarge/ |
dimens.xml | 28 (the screen is in landscape). This may be either a fraction or a dimension.--> 31 (the screen is in portrait). This may be either a fraction or a dimension.--> 34 (the screen is in portrait). This may be either a fraction or a dimension.--> 37 (the screen is in landscape). This may be either a fraction or a dimension.-->
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
completion1-expected-completion6.txt | 12 @android:fraction/
|
/external/chromium_org/third_party/webrtc/examples/android/media_demo/src/org/webrtc/webrtcdemo/ |
RtcpStatistics.java | 14 // Definition of fraction lost can be found in RFC3550. 16 // fraction by 256.
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/gtk/ |
progress.c | 12 double fraction = total ? 1.0 * curr / total : 0.0; local 34 gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(progress), fraction); local
|
/external/llvm/test/CodeGen/R600/ |
llvm.AMDGPU.fract.ll | 7 declare float @llvm.AMDIL.fraction.f32(float) nounwind readnone 24 %fract = call float @llvm.AMDIL.fraction.f32(float %val) nounwind readnone
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
log2.h | 50 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1)*/ 57 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
Constants.java | 23 public static float ALPHA_FADE_START = 0.8f; // fraction of thumbnail width where fade starts 24 static final float ALPHA_FADE_END = 0.5f; // fraction of thumbnail width beyond which alpha->0
|
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/ |
BitmapView.java | 59 float fraction = (float) getBottom() / (mListView.getHeight() + getHeight()); local 60 drawable.setParallaxFraction(fraction);
|
/packages/inputmethods/LatinIME/java/res/xml/ |
kbd_emoji_category1.xml | 23 latin:keyWidth="@fraction/config_emoji_keyboard_key_width" 25 latin:rowHeight="@fraction/config_emoji_keyboard_row_height"
|
kbd_emoji_category2.xml | 23 latin:keyWidth="@fraction/config_emoji_keyboard_key_width" 25 latin:rowHeight="@fraction/config_emoji_keyboard_row_height"
|
kbd_emoji_category3.xml | 23 latin:keyWidth="@fraction/config_emoji_keyboard_key_width" 25 latin:rowHeight="@fraction/config_emoji_keyboard_row_height"
|
kbd_emoji_category4.xml | 23 latin:keyWidth="@fraction/config_emoji_keyboard_key_width" 25 latin:rowHeight="@fraction/config_emoji_keyboard_row_height"
|
kbd_emoji_category5.xml | 23 latin:keyWidth="@fraction/config_emoji_keyboard_key_width" 25 latin:rowHeight="@fraction/config_emoji_keyboard_row_height"
|
kbd_emoji_category6.xml | 23 latin:keyWidth="@fraction/config_emoji_keyboard_key_width" 26 latin:rowHeight="@fraction/config_emoji_keyboard_row_height"
|