OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getFraction
(Results
1 - 25
of
55
) sorted by null
1
2
3
/cts/tests/tests/animation/src/android/animation/cts/
KeyframeTest.java
27
float fraction = keyFrame.
getFraction
();
34
float fraction = keyFrame.
getFraction
();
40
float fraction = keyFrame.
getFraction
();
58
float fraction = keyFrame.
getFraction
();
79
assertEquals(keyFrame.
getFraction
(), clone.
getFraction
());
/frameworks/base/core/java/android/animation/
Keyframe.java
188
public float
getFraction
() {
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
());
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
());
KeyframeSet.java
192
final float prevFraction = mFirstKeyframe.
getFraction
();
194
(nextKeyframe.
getFraction
() - prevFraction);
203
final float prevFraction = prevKeyframe.
getFraction
();
205
(mLastKeyframe.
getFraction
() - prevFraction);
212
if (fraction < nextKeyframe.
getFraction
()) {
217
final float prevFraction = prevKeyframe.
getFraction
();
219
(nextKeyframe.
getFraction
() - prevFraction);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeyVisualAttributes.java
98
mLetterRatio = ResourceUtils.
getFraction
(keyAttr,
102
mLabelRatio = ResourceUtils.
getFraction
(keyAttr,
106
mLargeLetterRatio = ResourceUtils.
getFraction
(keyAttr,
108
mLargeLabelRatio = ResourceUtils.
getFraction
(keyAttr,
110
mHintLetterRatio = ResourceUtils.
getFraction
(keyAttr,
112
mShiftedLetterHintRatio = ResourceUtils.
getFraction
(keyAttr,
114
mHintLabelRatio = ResourceUtils.
getFraction
(keyAttr,
116
mPreviewTextRatio = ResourceUtils.
getFraction
(keyAttr,
KeyboardRow.java
66
mDefaultKeyWidth = keyAttr.
getFraction
(R.styleable.Keyboard_Key_keyWidth,
83
mDefaultKeyWidth = keyAttr.
getFraction
(R.styleable.Keyboard_Key_keyWidth,
156
final float keyXPos = keyAttr.
getFraction
(R.styleable.Keyboard_Key_keyXPos,
183
return keyAttr.
getFraction
(R.styleable.Keyboard_Key_keyWidth,
GestureStroke.java
108
mDetectFastMoveSpeedThreshold = ResourceUtils.
getFraction
(mainKeyboardViewAttr,
120
mDynamicDistanceThresholdFrom = ResourceUtils.
getFraction
(mainKeyboardViewAttr,
123
mDynamicDistanceThresholdTo = ResourceUtils.
getFraction
(mainKeyboardViewAttr,
126
mSamplingMinimumDistance = ResourceUtils.
getFraction
(mainKeyboardViewAttr,
132
mRecognitionSpeedThreshold = ResourceUtils.
getFraction
(mainKeyboardViewAttr,
KeyboardBuilder.java
243
params.mTopPadding = (int)keyboardAttr.
getFraction
(
245
params.mBottomPadding = (int)keyboardAttr.
getFraction
(
247
params.mLeftPadding = (int)keyboardAttr.
getFraction
(
249
params.mRightPadding = (int)keyboardAttr.
getFraction
(
255
params.mDefaultKeyWidth = (int)keyAttr.
getFraction
(R.styleable.Keyboard_Key_keyWidth,
257
params.mHorizontalGap = (int)keyboardAttr.
getFraction
(
262
params.mVerticalGap = (int)keyboardAttr.
getFraction
(
[
all
...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
EmojiLayoutParams.java
43
mKeyVerticalGap = (int) res.
getFraction
(R.fraction.key_bottom_gap_holo,
45
mBottomPadding = (int) res.
getFraction
(R.fraction.keyboard_bottom_padding_holo,
47
mTopPadding = (int) res.
getFraction
(R.fraction.keyboard_top_padding_holo,
49
mKeyHorizontalGap = (int) (res.
getFraction
(R.fraction.key_horizontal_gap_holo,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
ResourceUtils.java
234
final float maxKeyboardHeight = res.
getFraction
(
236
float minKeyboardHeight = res.
getFraction
(
241
minKeyboardHeight = -res.
getFraction
(
263
public static float
getFraction
(final TypedArray a, final int index, final float defValue) {
268
return a.
getFraction
(index, 1, 1, defValue);
271
public static float
getFraction
(final TypedArray a, final int index) {
272
return
getFraction
(a, index, UNDEFINED_RATIO);
290
return a.
getFraction
(index, base, base, defValue);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
PhoneStatusBarTransitions.java
42
mIconAlphaWhenOpaque = res.
getFraction
(R.dimen.status_bar_icon_drawing_alpha, 1, 1);
PhoneStatusBarView.java
57
mSettingsPanelDragzoneFrac = res.
getFraction
(R.dimen.settings_panel_dragzone_fraction, 1, 1);
PanelView.java
341
mCollapseMinDisplayFraction = res.
getFraction
(R.dimen.collapse_min_display_fraction, 1, 1);
342
mExpandMinDisplayFraction = res.
getFraction
(R.dimen.expand_min_display_fraction, 1, 1);
/cts/tests/tests/content/src/android/content/res/cts/
FractionTest.java
79
float res = mValue.
getFraction
(base, pbase);
TypedArrayTest.java
111
mTypedArray.
getFraction
(R.styleable.style1_type10, 10, 10, DEFFLOAT));
ResourcesTest.java
367
assertEquals(1, (int)mResources.
getFraction
(R.dimen.frac100perc, 1, 1));
368
assertEquals(100, (int)mResources.
getFraction
(R.dimen.frac100perc, 100, 1));
/frameworks/base/graphics/java/android/graphics/drawable/
AnimatedRotateDrawable.java
235
final float pivotX = pivotXRel ? tv.
getFraction
(1.0f, 1.0f) : tv.getFloat();
239
final float pivotY = pivotYRel ? tv.
getFraction
(1.0f, 1.0f) : tv.getFloat();
RotateDrawable.java
224
pivotX = pivotXRel ? tv.
getFraction
(1.0f, 1.0f) : tv.getFloat();
235
pivotY = pivotYRel ? tv.
getFraction
(1.0f, 1.0f) : tv.getFloat();
/packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailTabCarousel.java
113
mTabWidthScreenWidthFraction = resources.
getFraction
(
115
mTabHeightScreenWidthFraction = resources.
getFraction
(
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
SuggestionStripLayoutHelper.java
128
mAlphaObsoleted = ResourceUtils.
getFraction
(a,
137
mCenterSuggestionWeight = ResourceUtils.
getFraction
(a,
143
mMinMoreSuggestionsWidth = ResourceUtils.
getFraction
(a,
/cts/tests/tests/util/src/android/util/cts/
TypedValueTest.java
76
assertEquals(EXPECTED, tv.
getFraction
(1.1f, 2.1f));
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowTypedValue.java
134
public float
getFraction
(float base, float pbase)
/frameworks/base/core/java/android/util/
TypedValue.java
395
public float
getFraction
(float base, float pbase)
/packages/apps/ContactsCommon/src/com/android/contacts/common/lettertiles/
LetterTileDrawable.java
86
sLetterToTileRatio = res.
getFraction
(R.dimen.letter_to_tile_ratio, 1, 1);
Completed in 215 milliseconds
1
2
3