/cts/tests/tests/database/src/android/database/cts/ |
D | MatrixCursorTest.java | 191 assertEquals(-32768f, mMatrixCursor.getFloat(COLUMN0_INDEX), 0.0f); in testGetters() 192 assertEquals(0f, mMatrixCursor.getFloat(COLUMN1_INDEX), 0.0f); in testGetters() 193 assertEquals(32767f, mMatrixCursor.getFloat(COLUMN2_INDEX), 0.0f); in testGetters() 222 assertEquals(0.0f, mMatrixCursor.getFloat(COLUMN0_INDEX), 0.0f); in testGetters() 223 assertEquals(0f, mMatrixCursor.getFloat(COLUMN1_INDEX), 0.0f); in testGetters() 224 assertEquals(Float.POSITIVE_INFINITY, mMatrixCursor.getFloat(COLUMN2_INDEX), 0.0f); in testGetters() 252 assertEquals(-1f, mMatrixCursor.getFloat(COLUMN0_INDEX), 0.0f); in testGetters() 253 assertEquals(0f, mMatrixCursor.getFloat(COLUMN1_INDEX), 0.0f); in testGetters() 254 assertEquals(1f, mMatrixCursor.getFloat(COLUMN2_INDEX), 0.0f); in testGetters() 273 assertEquals(100f, mMatrixCursor.getFloat(COLUMN0_INDEX), 0.0f); in testGetters()
|
D | DatabaseUtils_InsertHelperTest.java | 133 assertEquals(1.0f, cursor.getFloat(floatValueIndex)); in testInsert() 165 assertEquals(21.1f, cursor.getFloat(floatValueIndex)); in testInsert() 229 assertEquals(1.0f, cursor.getFloat(floatValueIndex)); in testReplace() 275 assertEquals(21.1f, cursor.getFloat(floatValueIndex)); in testReplace()
|
D | CursorWindowTest.java | 228 cursorWindow.getFloat(0, 0)).substring(0, 6)); in testAccessDataValues() 240 assertEquals(0.0f, cursorWindow.getFloat(0, 0), 0.0); in testAccessDataValues() 252 assertEquals(0.0f, cursorWindow.getFloat(0, 1), 0.0); in testAccessDataValues() 264 assertEquals(NUMBER_FLOAT_SCIENCE, cursorWindow.getFloat(0, 2), 0.0); in testAccessDataValues() 284 assertEquals(NUMBER_FLOAT_SCIENCE, cursorWindow.getFloat(0, 3), 0.0); in testAccessDataValues()
|
D | AbstractCursor_SelfContentObserverTest.java | 74 public float getFloat(int column) { in getFloat() method in AbstractCursor_SelfContentObserverTest.MockAbstractCursor
|
D | AbstractWindowedCursorTest.java | 144 assertEquals(f1oatNumber, mCursor.getFloat(COLUMN_INDEX0)); in testGetFloat()
|
D | MergeCursorTest.java | 172 assertEquals(NUMBER_FLOAT - i, mergeCursor.getFloat(columnDouble), 0.000000000001f); in testGetValues()
|
D | CursorWrapperTest.java | 338 assertEquals(NUMBER_FLOAT, cursorWrapper.getFloat(columnDouble), 0.000000000001f); in testGettingValues()
|
D | AbstractCursorTest.java | 547 public float getFloat(int columnIndex) { in getFloat() method in AbstractCursorTest.TestAbstractCursor
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ShadowTests.java | 71 float expectedSpot = value.getFloat(); in testShadowResources() 75 float expectedAmbient = value.getFloat(); in testShadowResources() 85 assertEquals(expectedSpot, typedArray.getFloat(0, 0.0f), 0); in testShadowResources() 86 assertEquals(expectedAmbient, typedArray.getFloat(1, 0.0f), 0); in testShadowResources()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | AnimationActivity.java | 67 mBallHeight = extras.getFloat(BALL_HEIGHT); in onCreate() 68 mBallWidth = extras.getFloat(BALL_WIDTH); in onCreate() 69 mStartX = extras.getFloat(STARTX); in onCreate() 70 mStartY = extras.getFloat(STARTY); in onCreate() 71 mDeltaX = extras.getFloat(DELTAX); in onCreate() 72 mDeltaY = extras.getFloat(DELTAY); in onCreate()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | Settings_SecureTest.java | 65 assertEquals(30.0f, Secure.getFloat(cr, "float", 30), 0.001); in testGetDefaultValues() 100 Secure.getFloat(cr, NO_SUCH_SETTING); in testGetPutFloat() 106 Secure.getFloat(cr, STRING_VALUE_SETTING); in testGetPutFloat()
|
D | Settings_SystemTest.java | 129 assertEquals(30.0f, System.getFloat(cr, FLOAT_FIELD), 0.001); in testSystemSettings() 160 assertEquals(30.0f, System.getFloat(cr, "float", 30.0f), 0.001); in testGetDefaultValues()
|
/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/ |
D | DragSourceCursor.java | 67 public float getFloat(int column) { in getFloat() method in DragSourceCursor
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
D | PreferenceDataStoreTest.java | 391 verify(mDataStore, atLeast(0)).getFloat(eq(KEY), anyFloat()); in putFloatTestCommon() 396 assertEquals(-1, mSharedPref.getFloat(KEY, -1f), 0.1f /* epsilon */); in putFloatTestCommon() 403 mPreference.getFloat(1f); in testGetFloatWithDataStoreOnPref() 404 verify(mDataStore, atLeastOnce()).getFloat(eq(KEY), eq(1f)); in testGetFloatWithDataStoreOnPref() 411 mPreference.getFloat(1f); in testGetFloatWithDataStoreOnMgr() 412 verify(mDataStore, atLeastOnce()).getFloat(eq(KEY), eq(1f)); in testGetFloatWithDataStoreOnMgr() 545 float getFloat(float defaultValue) { in getFloat() method in PreferenceDataStoreTest.PreferenceWrapper
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ExifInterfaceTest.java | 151 latitude = typedArray.getFloat(index++, 0f); in ExpectedValue() 152 longitude = typedArray.getFloat(index++, 0f); in ExpectedValue() 153 altitude = typedArray.getFloat(index++, 0f); in ExpectedValue() 158 aperture = typedArray.getFloat(index++, 0f); in ExpectedValue() 160 exposureTime = typedArray.getFloat(index++, 0f); in ExpectedValue() 161 flash = typedArray.getFloat(index++, 0f); in ExpectedValue()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BundleTest.java | 348 assertEquals(0.0f, mBundle.getFloat(KEY)); in testGetFloat1() 350 assertEquals(f, mBundle.getFloat(KEY)); in testGetFloat1() 352 assertEquals(f, mBundle.getFloat(KEY)); in testGetFloat1() 359 assertEquals(f1, mBundle.getFloat(KEY, f1)); in testGetFloat2() 361 assertEquals(f2, mBundle.getFloat(KEY, f1)); in testGetFloat2() 363 assertEquals(f2, mBundle.getFloat(KEY, f1)); in testGetFloat2()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorDirectReportTest.java | 1677 ev.x = mByteBuffer.getFloat(); 1678 ev.y = mByteBuffer.getFloat(); 1679 ev.z = mByteBuffer.getFloat(); 1693 ev.x = b.getFloat(); 1694 ev.y = b.getFloat(); 1695 ev.z = b.getFloat();
|
/cts/tests/framework/base/activitymanager/src/android/server/am/ |
D | ActivityManagerConfigChangeTests.java | 127 Settings.System::getFloat, in FontScaleSession() field in ActivityManagerConfigChangeTests.FontScaleSession.Settings.System
|
D | ActivityManagerPinnedStackTests.java | 872 Settings.Global::getFloat, in TransitionAnimationScaleSession() field in ActivityManagerPinnedStackTests.TransitionAnimationScaleSession.Settings.Global
|
/cts/tests/tests/util/src/android/util/cts/ |
D | TypedValueTest.java | 44 assertEquals(expected, tv.getFloat(), 0.0f); in testGetFloat()
|
/cts/hostsidetests/backup/KeyValueApp/src/android/cts/backup/keyvaluerestoreapp/ |
D | KeyValueBackupRestoreTest.java | 248 mFloatValue = prefs.getFloat(FLOAT_PREF, DEFAULT_FLOAT_VALUE); in readSharedPrefValues()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | SharedPreferencesTest.java | 91 assertEquals(0.5f, prefs.getFloat(key, 0.5f)); in testDefaults()
|
/cts/tests/signature/src/android/signature/cts/ |
D | ApiComplianceChecker.java | 296 Float.toString(deviceField.getFloat(null)), "f")); in checkFieldValueCompliance()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | TypedArrayTest.java | 146 t.getFloat(R.styleable.style1_type9, DEFFLOAT)); in testGetAttributes()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AdapterViewTest.java | 215 float fontScale = Settings.System.getFloat( in testAccessVisiblePosition()
|