/frameworks/base/core/java/android/animation/ |
H A D | Keyframe.java | 188 public float getFraction() { method in class:Keyframe 264 ObjectKeyframe kfClone = new ObjectKeyframe(getFraction(), mHasValue ? mValue : null); 310 new IntKeyframe(getFraction(), mValue) : 311 new IntKeyframe(getFraction()); 356 new FloatKeyframe(getFraction(), mValue) : 357 new FloatKeyframe(getFraction());
|
H A D | FloatKeyframeSet.java | 82 float prevFraction = prevKeyframe.getFraction(); 83 float nextFraction = nextKeyframe.getFraction(); 98 float prevFraction = prevKeyframe.getFraction(); 99 float nextFraction = nextKeyframe.getFraction(); 113 if (fraction < nextKeyframe.getFraction()) { 118 float intervalFraction = (fraction - prevKeyframe.getFraction()) / 119 (nextKeyframe.getFraction() - prevKeyframe.getFraction());
|
H A D | IntKeyframeSet.java | 82 float prevFraction = prevKeyframe.getFraction(); 83 float nextFraction = nextKeyframe.getFraction(); 98 float prevFraction = prevKeyframe.getFraction(); 99 float nextFraction = nextKeyframe.getFraction(); 112 if (fraction < nextKeyframe.getFraction()) { 117 float intervalFraction = (fraction - prevKeyframe.getFraction()) / 118 (nextKeyframe.getFraction() - prevKeyframe.getFraction());
|
H A D | KeyframeSet.java | 179 final float prevFraction = mFirstKeyframe.getFraction(); 181 (nextKeyframe.getFraction() - prevFraction); 190 final float prevFraction = prevKeyframe.getFraction(); 192 (mLastKeyframe.getFraction() - prevFraction); 199 if (fraction < nextKeyframe.getFraction()) { 204 final float prevFraction = prevKeyframe.getFraction(); 206 (nextKeyframe.getFraction() - prevFraction);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimatedRotateDrawable.java | 230 final float pivotX = pivotXRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); 234 final float pivotY = pivotYRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat();
|
H A D | RotateDrawable.java | 219 pivotX = pivotXRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); 230 pivotY = pivotYRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat();
|
H A D | GradientDrawable.java | 936 tv.getFraction(1.0f, 1.0f) : tv.getFloat(); 1041 v = vIsFraction ? tv.getFraction(1.0f, 1.0f) : tv.getFloat();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | StatusBarIconView.java | 73 final float alpha = res.getFraction(R.dimen.status_bar_icon_drawing_alpha, 1, 1); 88 final float alpha = res.getFraction(R.dimen.status_bar_icon_drawing_alpha, 1, 1);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | UniverseBackground.java | 126 mCollapseMinDisplayFraction = res.getFraction(R.dimen.collapse_min_display_fraction, 1, 1); 127 mExpandMinDisplayFraction = res.getFraction(R.dimen.expand_min_display_fraction, 1, 1);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PanelView.java | 215 mCollapseMinDisplayFraction = res.getFraction(R.dimen.collapse_min_display_fraction, 1, 1); 216 mExpandMinDisplayFraction = res.getFraction(R.dimen.expand_min_display_fraction, 1, 1);
|
H A D | PhoneStatusBarView.java | 53 mSettingsPanelDragzoneFrac = res.getFraction(R.dimen.settings_panel_dragzone_fraction, 1, 1);
|
H A D | PhoneStatusBar.java | 2372 mCollapseMinDisplayFraction = res.getFraction(R.dimen.collapse_min_display_fraction, 1, 1); 2373 mExpandMinDisplayFraction = res.getFraction(R.dimen.expand_min_display_fraction, 1, 1); 2398 mNotificationPanelMinHeightFrac = res.getFraction(R.dimen.notification_panel_min_height_frac, 1, 1);
|
/frameworks/base/core/java/android/util/ |
H A D | TypedValue.java | 395 public float getFraction(float base, float pbase) method in class:TypedValue
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | DimAnimator.java | 121 duration = (long)tv.getFraction(duration, duration);
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeTypedArray.java | 609 public float getFraction(int index, int base, int pbase, float defValue) { method in class:BridgeTypedArray 625 return mValue.getFraction(base, pbase);
|
/frameworks/base/core/java/android/content/res/ |
H A D | TypedArray.java | 538 public float getFraction(int index, int base, int pbase, float defValue) { method in class:TypedArray
|
H A D | Resources.java | 616 public float getFraction(int id, int base, int pbase) { method in class:Resources
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | Keyboard.java | 890 return Math.round(a.getFraction(index, base, base, defValue));
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PhoneWindow.java | 2142 w = (int) tvw.getFraction(metrics.widthPixels, metrics.widthPixels); 2163 h = (int) tvh.getFraction(metrics.heightPixels, metrics.heightPixels); 2190 min = (int)tv.getFraction(metrics.widthPixels, metrics.widthPixels);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | DatabaseHelper.java | 2232 Float.toString(mContext.getResources().getFraction(resid, base, base)));
|