Home
last modified time | relevance | path

Searched refs:getFraction (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/animation/
DFloatKeyframeSet.java82 float prevFraction = prevKeyframe.getFraction(); in getFloatValue()
83 float nextFraction = nextKeyframe.getFraction(); in getFloatValue()
98 float prevFraction = prevKeyframe.getFraction(); in getFloatValue()
99 float nextFraction = nextKeyframe.getFraction(); in getFloatValue()
113 if (fraction < nextKeyframe.getFraction()) { in getFloatValue()
118 float intervalFraction = (fraction - prevKeyframe.getFraction()) / in getFloatValue()
119 (nextKeyframe.getFraction() - prevKeyframe.getFraction()); in getFloatValue()
DIntKeyframeSet.java82 float prevFraction = prevKeyframe.getFraction(); in getIntValue()
83 float nextFraction = nextKeyframe.getFraction(); in getIntValue()
98 float prevFraction = prevKeyframe.getFraction(); in getIntValue()
99 float nextFraction = nextKeyframe.getFraction(); in getIntValue()
112 if (fraction < nextKeyframe.getFraction()) { in getIntValue()
117 float intervalFraction = (fraction - prevKeyframe.getFraction()) / in getIntValue()
118 (nextKeyframe.getFraction() - prevKeyframe.getFraction()); in getIntValue()
DKeyframe.java188 public float getFraction() { in getFraction() method in Keyframe
264 ObjectKeyframe kfClone = new ObjectKeyframe(getFraction(), mHasValue ? mValue : null); in clone()
310 new IntKeyframe(getFraction(), mValue) : in clone()
311 new IntKeyframe(getFraction()); in clone()
356 new FloatKeyframe(getFraction(), mValue) : in clone()
357 new FloatKeyframe(getFraction()); in clone()
DKeyframeSet.java179 final float prevFraction = mFirstKeyframe.getFraction(); in getValue()
181 (nextKeyframe.getFraction() - prevFraction); in getValue()
190 final float prevFraction = prevKeyframe.getFraction(); in getValue()
192 (mLastKeyframe.getFraction() - prevFraction); in getValue()
199 if (fraction < nextKeyframe.getFraction()) { in getValue()
204 final float prevFraction = prevKeyframe.getFraction(); in getValue()
206 (nextKeyframe.getFraction() - prevFraction); in getValue()
/frameworks/base/graphics/java/android/graphics/drawable/
DRotateDrawable.java219 pivotX = pivotXRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); in inflate()
230 pivotY = pivotYRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); in inflate()
DAnimatedRotateDrawable.java230 final float pivotX = pivotXRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); in inflate()
234 final float pivotY = pivotYRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); in inflate()
DGradientDrawable.java936 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/
DStatusBarIconView.java73 final float alpha = res.getFraction(R.dimen.status_bar_icon_drawing_alpha, 1, 1); in StatusBarIconView()
88 final float alpha = res.getFraction(R.dimen.status_bar_icon_drawing_alpha, 1, 1); in StatusBarIconView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DUniverseBackground.java126 mCollapseMinDisplayFraction = res.getFraction(R.dimen.collapse_min_display_fraction, 1, 1); in loadDimens()
127 mExpandMinDisplayFraction = res.getFraction(R.dimen.expand_min_display_fraction, 1, 1); in loadDimens()
/frameworks/base/core/java/android/util/
DTypedValue.java395 public float getFraction(float base, float pbase) in getFraction() method in TypedValue
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelView.java305 mCollapseMinDisplayFraction = res.getFraction(R.dimen.collapse_min_display_fraction, 1, 1);
306 mExpandMinDisplayFraction = res.getFraction(R.dimen.expand_min_display_fraction, 1, 1);
DPhoneStatusBarView.java53 … mSettingsPanelDragzoneFrac = res.getFraction(R.dimen.settings_panel_dragzone_fraction, 1, 1); in PhoneStatusBarView()
DPhoneStatusBar.java2381 mCollapseMinDisplayFraction = res.getFraction(R.dimen.collapse_min_display_fraction, 1, 1); in loadDimens()
2382 mExpandMinDisplayFraction = res.getFraction(R.dimen.expand_min_display_fraction, 1, 1); in loadDimens()
2407 …mNotificationPanelMinHeightFrac = res.getFraction(R.dimen.notification_panel_min_height_frac, 1, 1… in loadDimens()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java609 public float getFraction(int index, int base, int pbase, float defValue) { in getFraction() method in BridgeTypedArray
625 return mValue.getFraction(base, pbase); in getFraction()
/frameworks/base/services/java/com/android/server/wm/
DDimAnimator.java121 duration = (long)tv.getFraction(duration, duration); in updateParameters()
/frameworks/base/core/java/android/content/res/
DTypedArray.java538 public float getFraction(int index, int base, int pbase, float defValue) { in getFraction() method in TypedArray
DResources.java616 public float getFraction(int id, int base, int pbase) { in getFraction() method in Resources
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java890 return Math.round(a.getFraction(index, base, base, defValue)); in getDimensionOrFraction()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindow.java2142 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/
DDatabaseHelper.java2264 Float.toString(mContext.getResources().getFraction(resid, base, base))); in loadFractionSetting()
/frameworks/base/docs/html/sdk/api_diff/3/
DmissingSinces.txt209 NO DOC BLOCK: android.content.res.Resources Method getFraction(int, int, int)
/frameworks/base/api/
D14.txt2262 method public float getFraction();
6592 method public float getFraction(int, int, int);
6650 method public float getFraction(int, int, int, float);
21573 method public float getFraction(float, float);
D15.txt2264 method public float getFraction();
6615 method public float getFraction(int, int, int);
6674 method public float getFraction(int, int, int, float);
21715 method public float getFraction(float, float);
D16.txt2308 method public float getFraction();
6881 method public float getFraction(int, int, int);
6940 method public float getFraction(int, int, int, float);
22733 method public float getFraction(float, float);
D17.txt2362 method public float getFraction();
7032 method public float getFraction(int, int, int);
7091 method public float getFraction(int, int, int, float);
23531 method public float getFraction(float, float);

12