/frameworks/base/core/java/android/animation/ |
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());
|
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());
|
Keyframe.java | 188 public float getFraction() { 264 ObjectKeyframe kfClone = new ObjectKeyframe(getFraction(), mValue); 309 IntKeyframe kfClone = new IntKeyframe(getFraction(), mValue); 353 FloatKeyframe kfClone = new FloatKeyframe(getFraction(), mValue);
|
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);
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
ContactDetailTabCarousel.java | 92 mTabWidthScreenWidthFraction = resources.getFraction( 94 mTabHeightScreenWidthFraction = resources.getFraction(
|
/cts/tests/tests/content/src/android/content/res/cts/ |
FractionTest.java | 79 float res = mValue.getFraction(base, pbase);
|
TypedArrayTest.java | 123 method = "getFraction", 253 mTypedArray.getFraction(R.styleable.style1_type10, 10, 10, DEFFLOAT));
|
ResourcesTest.java | 511 method = "getFraction", 515 assertEquals(1, (int)mResources.getFraction(R.dimen.frac100perc, 1, 1)); 516 assertEquals(100, (int)mResources.getFraction(R.dimen.frac100perc, 100, 1));
|
/frameworks/base/services/java/com/android/server/wm/ |
DimAnimator.java | 105 duration = (long)tv.getFraction((float)duration, (float)duration);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
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();
|
RotateDrawable.java | 219 pivotX = pivotXRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); 230 pivotY = pivotYRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat();
|
GradientDrawable.java | 752 tv.getFraction(1.0f, 1.0f) : tv.getFloat(); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
StatusBarIconView.java | 72 final float alpha = res.getFraction(R.dimen.status_bar_icon_drawing_alpha, 1, 1); 87 final float alpha = res.getFraction(R.dimen.status_bar_icon_drawing_alpha, 1, 1);
|
/frameworks/base/core/java/android/util/ |
TypedValue.java | 395 public float getFraction(float base, float pbase)
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
BridgeTypedArray.java | 601 public float getFraction(int index, int base, int pbase, float defValue) { 617 return mValue.getFraction(base, pbase);
|
/cts/tests/tests/util/src/android/util/cts/ |
TypedValueTest.java | 110 notes = "Test getFraction().", 111 method = "getFraction", 119 assertEquals(EXPECTED, tv.getFraction(1.1f, 2.1f));
|
/frameworks/base/core/java/android/content/res/ |
TypedArray.java | 538 public float getFraction(int index, int base, int pbase, float defValue) {
|
Resources.java | 633 public float getFraction(int id, int base, int pbase) { [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
Keyboard.java | [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
KeyboardView.java | 378 return a.getFraction(index, 1000, 1000, 1) / 1000.0f; [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeyboardBuilder.java | [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
SuggestionsView.java | 258 return a.getFraction(index, 1000, 1000, 1) / 1000.0f; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
PhoneStatusBar.java | [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
DatabaseHelper.java | [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
PhoneWindow.java | [all...] |