Home
last modified time | relevance | path

Searched refs:putFloat (Results 1 – 25 of 103) sorted by relevance

12345

/aosp12/frameworks/base/tests/GamePerformance/src/android/gameperformance/
H A DRenderPatch.java87 mVertexBuffer.putFloat((float) (dimension * Math.sin(angle))); in RenderPatch()
88 mVertexBuffer.putFloat((float) (dimension * Math.cos(angle))); in RenderPatch()
89 mVertexBuffer.putFloat(0.0f); in RenderPatch()
91 mTextureBuffer.putFloat((float) (0.5 + 0.5 * Math.sin(angle))); in RenderPatch()
92 mTextureBuffer.putFloat((float) (0.5 - 0.5 * Math.cos(angle))); in RenderPatch()
97 mVertexBuffer.putFloat(0.0f); in RenderPatch()
98 mVertexBuffer.putFloat(0.0f); in RenderPatch()
99 mVertexBuffer.putFloat(0.0f); in RenderPatch()
100 mTextureBuffer.putFloat(0.5f); in RenderPatch()
101 mTextureBuffer.putFloat(0.5f); in RenderPatch()
/aosp12/frameworks/base/core/java/android/service/controls/templates/
H A DRangeTemplate.java157 b.putFloat(KEY_MIN_VALUE, mMinValue); in getDataBundle()
158 b.putFloat(KEY_MAX_VALUE, mMaxValue); in getDataBundle()
159 b.putFloat(KEY_CURRENT_VALUE, mCurrentValue); in getDataBundle()
160 b.putFloat(KEY_STEP_VALUE, mStepValue); in getDataBundle()
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/
H A DSharedPreferenceLoggerTest.java143 editor.putFloat(TEST_KEY, 1); in putFloat_shouldNotLogInitialPut()
144 editor.putFloat(TEST_KEY, 1); in putFloat_shouldNotLogInitialPut()
145 editor.putFloat(TEST_KEY, 1); in putFloat_shouldNotLogInitialPut()
146 editor.putFloat(TEST_KEY, 1); in putFloat_shouldNotLogInitialPut()
147 editor.putFloat(TEST_KEY, 2); in putFloat_shouldNotLogInitialPut()
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accessibility/
H A DCaptionsTextSizeListPreferenceControllerTest.java61 Settings.Secure.putFloat(mContext.getContentResolver(), in tearDown()
75 Settings.Secure.putFloat(mContext.getContentResolver(), in testUpdateUi_selectsCurrentFontSize()
86 Settings.Secure.putFloat(mContext.getContentResolver(), in testUpdateUi_noKnownValueSelected_selectsDefaultFontSize()
/aosp12/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableSizeF.java43 buffer.putFloat(value.getWidth()); in marshal()
44 buffer.putFloat(value.getHeight()); in marshal()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
H A DFontSizePreferenceControllerTest.java62 Settings.System.putFloat(mContext.getContentResolver(), in getSummary_smallScale_shouldReturnSmall()
69 Settings.System.putFloat(mContext.getContentResolver(), in getSummary_largeScale_shouldReturnLarge()
H A DBrightnessLevelPreferenceControllerTest.java141 System.putFloat(mContentResolver, System.SCREEN_BRIGHTNESS_FOR_VR_FLOAT, 0.6f); in updateState_inVrMode_shouldSetSummaryToVrBrightness()
183 System.putFloat(mContentResolver, System.SCREEN_BRIGHTNESS_FOR_VR_FLOAT, 1.05f); in updateState_brightnessOutOfRange_shouldSetSummaryInRange()
187 System.putFloat(mContentResolver, System.SCREEN_BRIGHTNESS_FOR_VR_FLOAT, -20f); in updateState_brightnessOutOfRange_shouldSetSummaryInRange()
H A DPeakRefreshRatePreferenceControllerTest.java124 Settings.System.putFloat( in enableSmoothDisplayPreference()
133 Settings.System.putFloat( in disableSmoothDisplayPreference()
/aosp12/packages/apps/LegacyCamera/src/com/android/camera/
H A DComboPreferences.java195 public Editor putFloat(String key, float value) { in putFloat() method in ComboPreferences.MyEditor
197 mEditorGlobal.putFloat(key, value); in putFloat()
199 mEditorLocal.putFloat(key, value); in putFloat()
/aosp12/packages/apps/Settings/src/com/android/settings/development/
H A DForcePeakRefreshRatePreferenceController.java102 Settings.System.putFloat(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled()
111 Settings.System.putFloat(mContext.getContentResolver(), in forcePeakRefreshRate()
/aosp12/packages/services/Telephony/src/com/android/phone/vvm/
H A DVisualVoicemailPreferences.java64 public Editor putFloat(String key, float value) { in putFloat() method in VisualVoicemailPreferences.Editor
65 mEditor.putFloat(getKey(key), value); in putFloat()
/aosp12/packages/apps/Dialer/java/com/android/dialer/common/
H A DPerAccountSharedPreferences.java69 public Editor putFloat(String key, float value) { in putFloat() method in PerAccountSharedPreferences.Editor
70 editor.putFloat(getKey(key), value); in putFloat()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
H A DFontScalePreferenceFragment.java69 extras.putFloat( in onCreatePreferences()
116 Settings.System.putFloat(resolver, Settings.System.FONT_SCALE, mCurrentFontScaleValue); in commit()
/aosp12/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
H A DSettingsHelperRestoreTest.java67 Settings.Secure.putFloat(mContentResolver, settingName, configuredSettingValue); in testRestoreAccessibilityDisplayMagnificationScale_alreadyConfigured_doesNotRestoreValue()
118 Settings.Secure.putFloat( in setDefaultAccessibilityDisplayMagnificationScale()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
H A DFloatingMenuTransparencyPreferenceControllerTest.java100 Settings.Secure.putFloat(mContext.getContentResolver(), in getSliderPosition_putNormalOpacityValue_expectedValue()
109 Settings.Secure.putFloat(mContext.getContentResolver(), in getSliderPosition_putOutOfBoundOpacityValue_defaultValue()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DCoreSettingsObserverTest.java111 Settings.Global.putFloat(mContentResolver, TEST_SETTING_GLOBAL_FLOAT, TEST_FLOAT); in testPopulateSettings()
139 Settings.Global.putFloat(mContentResolver, TEST_SETTING_GLOBAL_FLOAT, TEST_FLOAT); in testPopulateSettings_settingDeleted()
/aosp12/frameworks/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java195 properties.putFloat(VFullPath_Delegate.STROKE_WIDTH_INDEX * 4, path.getStrokeWidth()); in nGetFullPathProperties()
197 properties.putFloat(VFullPath_Delegate.STROKE_ALPHA_INDEX * 4, path.getStrokeAlpha()); in nGetFullPathProperties()
199 properties.putFloat(VFullPath_Delegate.FILL_ALPHA_INDEX * 4, path.getStrokeAlpha()); in nGetFullPathProperties()
200 properties.putFloat(VFullPath_Delegate.TRIM_PATH_START_INDEX * 4, path.getTrimPathStart()); in nGetFullPathProperties()
201 properties.putFloat(VFullPath_Delegate.TRIM_PATH_END_INDEX * 4, path.getTrimPathEnd()); in nGetFullPathProperties()
202 properties.putFloat(VFullPath_Delegate.TRIM_PATH_OFFSET_INDEX * 4, in nGetFullPathProperties()
206 properties.putFloat(VFullPath_Delegate.STROKE_MITER_LIMIT_INDEX * 4, in nGetFullPathProperties()
/aosp12/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DTest.java25 mBundle.putFloat(key, value); in setUp()
/aosp12/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A DImageProcessingTest.java114 results.putFloat(testName + "_avg", times.getAvg() * 1000.0f); // ms in runTest()
115 results.putFloat(testName + "_stdevp", times.getStdevp() * 1000.0f); // ms in runTest()
116 results.putFloat(testName + "_stdcoef", times.getStdCoef() * 100.0f); // % in runTest()
/aosp12/packages/modules/ExtServices/java/src/android/ext/services/resolver/
H A DLRResolverRankerService.java195 editor.putFloat(BIAS_PREF_KEY, mBias); in commitUpdate()
198 editor.putFloat(mFeatureWeights.keyAt(i), mFeatureWeights.valueAt(i)); in commitUpdate()
/aosp12/frameworks/base/core/java/android/service/controls/actions/
H A DFloatAction.java89 b.putFloat(KEY_NEW_VALUE, mNewValue); in getDataBundle()
/aosp12/frameworks/base/core/java/android/app/
H A DActivityTransitionCoordinator.java806 sharedElementBundle.putFloat(KEY_SCREEN_LEFT, tempBounds.left); in captureSharedElementState()
807 sharedElementBundle.putFloat(KEY_SCREEN_RIGHT, tempBounds.right); in captureSharedElementState()
808 sharedElementBundle.putFloat(KEY_SCREEN_TOP, tempBounds.top); in captureSharedElementState()
809 sharedElementBundle.putFloat(KEY_SCREEN_BOTTOM, tempBounds.bottom); in captureSharedElementState()
810 sharedElementBundle.putFloat(KEY_TRANSLATION_Z, view.getTranslationZ()); in captureSharedElementState()
811 sharedElementBundle.putFloat(KEY_ELEVATION, view.getElevation()); in captureSharedElementState()
/aosp12/frameworks/base/core/java/android/preference/
H A DPreferenceDataStore.java113 default void putFloat(String key, float value) { in putFloat() method
/aosp12/packages/modules/StatsD/framework/java/android/util/
H A DStatsEvent.java435 mPos += mBuffer.putFloat(mPos, value); in writeFloat()
567 mPos += mBuffer.putFloat(mPos, value); in writeKeyValuePairs()
859 private int putFloat(final int index, final float value) { in putFloat() method in StatsEvent.Buffer
/aosp12/frameworks/base/core/java/android/content/
H A DSharedPreferences.java142 Editor putFloat(String key, float value); in putFloat() method

12345