/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
Vector3Serializer.java | 16 vec3.x = data.getFloat(); 17 vec3.y = data.getFloat(); 18 vec3.z = data.getFloat();
|
FloatSerializer.java | 48 return data.getFloat();
|
/frameworks/base/core/java/com/android/internal/widget/ |
WeightedLinearLayout.java | 48 mMajorWeightMin = a.getFloat(styleable.WeightedLinearLayout_majorWeightMin, 0.0f); 49 mMinorWeightMin = a.getFloat(styleable.WeightedLinearLayout_minorWeightMin, 0.0f); 50 mMajorWeightMax = a.getFloat(styleable.WeightedLinearLayout_majorWeightMax, 0.0f); 51 mMinorWeightMax = a.getFloat(styleable.WeightedLinearLayout_minorWeightMax, 0.0f);
|
/frameworks/base/core/java/android/view/animation/ |
CycleInterpolator.java | 37 mCycles = a.getFloat(com.android.internal.R.styleable.CycleInterpolator_cycles, 1.0f);
|
AlphaAnimation.java | 45 mFromAlpha = a.getFloat(com.android.internal.R.styleable.AlphaAnimation_fromAlpha, 1.0f); 46 mToAlpha = a.getFloat(com.android.internal.R.styleable.AlphaAnimation_toAlpha, 1.0f);
|
AnticipateOvershootInterpolator.java | 61 mTension = a.getFloat(AnticipateOvershootInterpolator_tension, 2.0f) * 62 a.getFloat(AnticipateOvershootInterpolator_extraTension, 1.5f);
|
AccelerateInterpolator.java | 54 mFactor = a.getFloat(com.android.internal.R.styleable.AccelerateInterpolator_factor, 1.0f);
|
AnticipateInterpolator.java | 47 a.getFloat(com.android.internal.R.styleable.AnticipateInterpolator_tension, 2.0f);
|
DecelerateInterpolator.java | 47 mFactor = a.getFloat(com.android.internal.R.styleable.DecelerateInterpolator_factor, 1.0f);
|
OvershootInterpolator.java | 48 a.getFloat(com.android.internal.R.styleable.OvershootInterpolator_tension, 2.0f);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ReorderingCursorWrapper.java | 72 public float getFloat(int column) { 73 return mCursor.getFloat(column);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
Settings_SecureTest.java | 33 * NumberFormatExceptions for getInt, getFloat, and getLong. 64 assertEquals(30.0f, Secure.getFloat(cr, "float", 30), 0.001); 99 Secure.getFloat(cr, NO_SUCH_SETTING); 105 Secure.getFloat(cr, STRING_VALUE_SETTING);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTypedArray.java | 23 public float getFloat(int index, float defValue) {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/android/content/ |
TestSharedPreferencesTest.java | 46 assertThat(anotherSharedPreferences.getFloat("float", 666f), equalTo(1.1f)); 74 assertThat(anotherSharedPreferences.getFloat("float", 666f), equalTo(1.1f)); 95 assertThat(anotherSharedPreferences.getFloat("float", 666f), equalTo(1.1f)); 117 assertThat(anotherSharedPreferences.getFloat("float", 666f), equalTo(666f));
|
/frameworks/av/include/media/ |
AudioParameter.h | 62 status_t getFloat(const String8& key, float& value);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/ |
EmptyCursor.java | 67 public float getFloat(int column) {
|
/frameworks/base/core/java/android/database/ |
AbstractWindowedCursor.java | 79 public float getFloat(int columnIndex) { 81 return mWindow.getFloat(mPos, columnIndex);
|
CursorWrapper.java | 97 public float getFloat(int columnIndex) { 98 return mCursor.getFloat(columnIndex);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
RootCursorWrapper.java | 98 public float getFloat(int column) { 99 return mCursor.getFloat(column);
|
/cts/tests/tests/database/src/android/database/cts/ |
MatrixCursorTest.java | 191 assertEquals(-32768f, mMatrixCursor.getFloat(COLUMN0_INDEX), 0.0f); 192 assertEquals(0f, mMatrixCursor.getFloat(COLUMN1_INDEX), 0.0f); 193 assertEquals(32767f, mMatrixCursor.getFloat(COLUMN2_INDEX), 0.0f); 222 assertEquals(0.0f, mMatrixCursor.getFloat(COLUMN0_INDEX), 0.0f); 223 assertEquals(0f, mMatrixCursor.getFloat(COLUMN1_INDEX), 0.0f); 224 assertEquals(Float.POSITIVE_INFINITY, mMatrixCursor.getFloat(COLUMN2_INDEX), 0.0f); 252 assertEquals(-1f, mMatrixCursor.getFloat(COLUMN0_INDEX), 0.0f); 253 assertEquals(0f, mMatrixCursor.getFloat(COLUMN1_INDEX), 0.0f); 254 assertEquals(1f, mMatrixCursor.getFloat(COLUMN2_INDEX), 0.0f); 273 assertEquals(100f, mMatrixCursor.getFloat(COLUMN0_INDEX), 0.0f) [all...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ArrayTest.java | 93 try { Array.getFloat(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} 94 assertEquals((float) bytes[0], Array.getFloat(bytes, 0)); 95 assertEquals((float) chars[0], Array.getFloat(chars, 0)); 96 assertEquals(floats[0], Array.getFloat(floats, 0)); 97 try { Array.getFloat(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} 98 assertEquals((float) ints[0], Array.getFloat(ints, 0)); 99 assertEquals((float) longs[0], Array.getFloat(longs, 0)); 100 assertEquals((float) shorts[0], Array.getFloat(shorts, 0)); 101 try { Array.getFloat(null, 0); fail(); } catch (NullPointerException expected) {}
|
/frameworks/base/core/tests/coretests/src/android/database/ |
MatrixCursorTest.java | 42 assertEquals(0.0f, cursor.getFloat(0)); 154 assertEquals(4.2f, cursor.getFloat(4)); 163 assertEquals(0.0f, cursor.getFloat(4)); 172 assertEquals(0.0f, cursor.getFloat(4)); 205 assertEquals(4.0f, cursor.getFloat(4));
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
SettingsTest.java | 85 assertThat(Settings.System.getFloat(contentResolver, "property", 23.23f), equalTo(23.23f)); 87 assertThat(Settings.System.getFloat(contentResolver, "property", 10L), equalTo(42.42f)); 102 Settings.System.getFloat(contentResolver, "property");
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
MockSuggestionProviderCursor.java | 61 public float getFloat(int column) { 62 return mRows.get(getPosition()).getFloat(column); 118 public float getFloat(int column) {
|
/cts/tests/tests/animation/src/android/animation/cts/ |
AnimationActivity.java | 68 mBallHeight = extras.getFloat(BALL_HEIGHT); 69 mBallWidth = extras.getFloat(BALL_WIDTH); 70 mStartX = extras.getFloat(STARTX); 71 mStartY = extras.getFloat(STARTY); 72 mDeltaX = extras.getFloat(DELTAX); 73 mDeltaY = extras.getFloat(DELTAY);
|