Home
last modified time | relevance | path

Searched refs:getFloat (Results 1 – 25 of 191) sorted by relevance

12345678

/packages/apps/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java1087 minWidthDps = a.getFloat(R.styleable.ProfileDisplayOption_minWidthDps, 0); in DisplayOption()
1088 minHeightDps = a.getFloat(R.styleable.ProfileDisplayOption_minHeightDps, 0); in DisplayOption()
1095 x = a.getFloat(R.styleable.ProfileDisplayOption_minCellWidth, 0); in DisplayOption()
1096 y = a.getFloat(R.styleable.ProfileDisplayOption_minCellHeight, 0); in DisplayOption()
1099 x = a.getFloat(R.styleable.ProfileDisplayOption_minCellWidthLandscape, in DisplayOption()
1101 y = a.getFloat(R.styleable.ProfileDisplayOption_minCellHeightLandscape, in DisplayOption()
1105 x = a.getFloat(R.styleable.ProfileDisplayOption_minCellWidthTwoPanelPortrait, in DisplayOption()
1107 y = a.getFloat(R.styleable.ProfileDisplayOption_minCellHeightTwoPanelPortrait, in DisplayOption()
1111 x = a.getFloat(R.styleable.ProfileDisplayOption_minCellWidthTwoPanelLandscape, in DisplayOption()
1113 y = a.getFloat(R.styleable.ProfileDisplayOption_minCellHeightTwoPanelLandscape, in DisplayOption()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DTransitionUtils.java44 animator.setFloatValues(startAlpha.getFloat(), endAlpha.getFloat()); in createActivityFadeInAnimator()
46 animator.setIntValues(Float.valueOf(startAlpha.getFloat() * 255).intValue(), in createActivityFadeInAnimator()
47 Float.valueOf(endAlpha.getFloat() * 255).intValue()); in createActivityFadeInAnimator()
64 animator.setFloatValues(startAlpha.getFloat(), endAlpha.getFloat()); in createActivityFadeOutAnimator()
66 animator.setIntValues(Float.valueOf(startAlpha.getFloat() * 255).intValue(), in createActivityFadeOutAnimator()
67 Float.valueOf(endAlpha.getFloat() * 255).intValue()); in createActivityFadeOutAnimator()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DRectFSpringAnim.java266 float fallOffFactor = rp.getFloat(R.dimen.swipe_up_max_velocity_fall_off_factor); in start()
276 float stiffnessX = rp.getFloat(R.dimen.swipe_up_rect_x_stiffness); in start()
277 float dampingX = rp.getFloat(R.dimen.swipe_up_rect_x_damping_ratio); in start()
288 float stiffnessY = rp.getFloat(R.dimen.swipe_up_rect_y_stiffness); in start()
289 float dampingY = rp.getFloat(R.dimen.swipe_up_rect_y_damping_ratio); in start()
301 float stiffnessZ = rp.getFloat(R.dimen.swipe_up_rect_scale_stiffness_v2); in start()
302 float dampingZ = rp.getFloat(R.dimen.swipe_up_rect_scale_damping_ratio_v2); in start()
344 float damping = rp.getFloat(R.dimen.swipe_up_rect_scale_damping_ratio); in start()
351 ? rp.getFloat(R.dimen.swipe_up_rect_scale_higher_stiffness) in start()
352 : rp.getFloat(R.dimen.swipe_up_rect_scale_stiffness); in start()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DActionAdapter.java129 mUnselectedAlpha = getFloat(R.dimen.list_item_unselected_text_alpha); in ActionAdapter()
131 mSelectedTitleAlpha = getFloat(R.dimen.list_item_selected_title_text_alpha); in ActionAdapter()
132 mDisabledTitleAlpha = getFloat(R.dimen.list_item_disabled_title_text_alpha); in ActionAdapter()
134 mSelectedDescriptionAlpha = getFloat(R.dimen.list_item_selected_description_text_alpha); in ActionAdapter()
135 mUnselectedDescriptionAlpha = getFloat(R.dimen.list_item_unselected_description_text_alpha); in ActionAdapter()
136 mDisabledDescriptionAlpha = getFloat(R.dimen.list_item_disabled_description_text_alpha); in ActionAdapter()
138 mSelectedChevronAlpha = getFloat(R.dimen.list_item_selected_chevron_background_alpha); in ActionAdapter()
139 mDisabledChevronAlpha = getFloat(R.dimen.list_item_disabled_chevron_background_alpha); in ActionAdapter()
519 private float getFloat(int resourceId) { in getFloat() method in ActionAdapter
522 return buffer.getFloat(); in getFloat()
/packages/modules/ExtServices/java/src/android/ext/services/resolver/
DLRResolverRankerService.java139 mBias = mParamSharedPref.getFloat(BIAS_PREF_KEY, 0.0f); in initModel()
140 mFeatureWeights.put(LAUNCH_SCORE, mParamSharedPref.getFloat(LAUNCH_SCORE, 0.0f)); in initModel()
142 TIME_SPENT_SCORE, mParamSharedPref.getFloat(TIME_SPENT_SCORE, 0.0f)); in initModel()
143 mFeatureWeights.put(RECENCY_SCORE, mParamSharedPref.getFloat(RECENCY_SCORE, 0.0f)); in initModel()
144 mFeatureWeights.put(CHOOSER_SCORE, mParamSharedPref.getFloat(CHOOSER_SCORE, 0.0f)); in initModel()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/hvac/
DCarUiPortraitTemperatureControlView.java82 mTemperatureIncrementCelsius = getResources().getFloat( in CarUiPortraitTemperatureControlView()
84 mTemperatureIncrementFahrenheit = getResources().getFloat( in CarUiPortraitTemperatureControlView()
87 mMinTempC = getResources().getFloat(R.dimen.hvac_min_value_celsius); in CarUiPortraitTemperatureControlView()
88 mMinTempF = getResources().getFloat(R.dimen.hvac_min_value_fahrenheit); in CarUiPortraitTemperatureControlView()
89 mMaxTempC = getResources().getFloat(R.dimen.hvac_max_value_celsius); in CarUiPortraitTemperatureControlView()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DTemperatureControlView.java80 mTemperatureIncrementCelsius = getResources().getFloat( in TemperatureControlView()
82 mTemperatureIncrementFahrenheit = getResources().getFloat( in TemperatureControlView()
85 mMinTempC = getResources().getFloat(R.dimen.hvac_min_value_celsius); in TemperatureControlView()
86 mMinTempF = getResources().getFloat(R.dimen.hvac_min_value_fahrenheit); in TemperatureControlView()
87 mMaxTempC = getResources().getFloat(R.dimen.hvac_max_value_celsius); in TemperatureControlView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DForcePeakRefreshRatePreferenceControllerTest.java118 assertThat(Settings.System.getFloat(mContext.getContentResolver(), in onPreferenceChange_preferenceChecked_shouldEnableForcePeak_featureFlagOff()
129 assertThat(Settings.System.getFloat(mContext.getContentResolver(), in onPreferenceChange_preferenceChecked_shouldEnableForcePeak_featureFlagOn()
139 assertThat(Settings.System.getFloat(mContext.getContentResolver(), in onPreferenceChange_preferenceUnchecked_shouldDisableForcePeak()
189 assertThat(Settings.System.getFloat(mContext.getContentResolver(), in onDeveloperOptionsDisabled_shouldDisablePreference()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DMockSuggestionProviderCursor.java61 public float getFloat(int column) { in getFloat() method in MockSuggestionProviderCursor
62 return mRows.get(getPosition()).getFloat(column); in getFloat()
118 public float getFloat(int column) { in getFloat() method in MockSuggestionProviderCursor.Row
/packages/modules/ExtServices/java/tests/src/android/ext/services/resolver/
DLRResolverRankerServiceTest.java299 when(mSharedPreferences.getFloat(BIAS_PREF_KEY, 0)).thenReturn(0.0f); in createSharedPreferences()
300 when(mSharedPreferences.getFloat(LAUNCH_SCORE, 0)).thenReturn(0.1f); in createSharedPreferences()
301 when(mSharedPreferences.getFloat(TIME_SPENT_SCORE, 0)).thenReturn(0.2f); in createSharedPreferences()
302 when(mSharedPreferences.getFloat(RECENCY_SCORE, 0)).thenReturn(0.3f); in createSharedPreferences()
303 when(mSharedPreferences.getFloat(CHOOSER_SCORE, 0)).thenReturn(0.4f); in createSharedPreferences()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DEvenDimmerPreferenceControllerTest.java83 assertThat(Settings.Secure.getFloat(mContext.getContentResolver(), in testGetCheckedStatus_setTrue()
118 assertThat(Settings.Secure.getFloat(mContext.getContentResolver(), in testSetChecked_enable()
128 assertThat(Settings.Secure.getFloat(mContext.getContentResolver(), in testSetChecked_disable()
DPeakRefreshRatePreferenceControllerTest.java136 assertThat(Settings.System.getFloat(mContext.getContentResolver(), in setChecked_enableSmoothDisplay_featureFlagOff()
147 assertThat(Settings.System.getFloat(mContext.getContentResolver(), in setChecked_enableSmoothDisplay_featureFlagOn()
157 assertThat(Settings.System.getFloat(mContext.getContentResolver(), in setChecked_disableSmoothDisplay_setDefaultRefreshRate()
/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/widgets/countdown/
DCountDownRenderer.java130 mContext.getResources().getFloat( in updateBounds()
133 mContext.getResources().getFloat( in updateBounds()
136 mContext.getResources().getFloat( in updateBounds()
DLoopingAnimationThread.java209 mContext.getResources().getFloat( in updateSize()
212 mContext.getResources().getFloat( in updateSize()
215 mContext.getResources().getFloat( in updateSize()
/packages/services/Car/experimental/service/src/com/android/experimentalcar/
DGazeDriverAwarenessSupplier.java181 resources.getFloat(R.fraction.driverAwarenessGazeModelInitialValue), in loadConfiguration()
182 resources.getFloat(R.fraction.driverAwarenessGazeModelDecayRate), in loadConfiguration()
183 resources.getFloat(R.fraction.driverAwarenessGazeModelGrowthRate)); in loadConfiguration()
/packages/services/Car/experimental/tests/experimentalcarservice_unit_test/src/com/android/experimentalcar/
DGazeDriverAwarenessSupplierTest.java65 .getFloat(R.fraction.driverAwarenessGazeModelInitialValue); in setUp()
67 mSpyContext.getResources().getFloat(R.fraction.driverAwarenessGazeModelGrowthRate); in setUp()
69 mSpyContext.getResources().getFloat(R.fraction.driverAwarenessGazeModelDecayRate); in setUp()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollPreviewFragment.java330 transform.setScale(scaleX * scale.getFloat(), scaleY * scale.getFloat()); in configureTransform()
331 transform.postTranslate(tx.getFloat(), ty.getFloat()); in configureTransform()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DReorderingCursorWrapper.java72 public float getFloat(int column) { in getFloat() method in ReorderingCursorWrapper
73 return mCursor.getFloat(column); in getFloat()
/packages/apps/TV/tuner/src/com/android/tv/tuner/layout/
DScaledLayout.java104 array.getFloat( in ScaledLayoutParams()
107 array.getFloat( in ScaledLayoutParams()
110 array.getFloat( in ScaledLayoutParams()
113 array.getFloat( in ScaledLayoutParams()
/packages/modules/StatsD/framework/java/android/app/
DStatsCursor.java129 public float getFloat(int column) { in getFloat() method in StatsCursor
130 return mMatrixCursor.getFloat(column); in getFloat()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DDynamicResource.java77 public float getFloat(@DimenRes int resId) { in getFloat() method in DynamicResource
78 return mContext.getResources().getFloat(resId); in getFloat()
/packages/apps/LegacyCamera/src/com/android/camera/
DComboPreferences.java108 public float getFloat(String key, float defValue) { in getFloat() method in ComboPreferences
110 return mPrefGlobal.getFloat(key, defValue); in getFloat()
112 return mPrefLocal.getFloat(key, defValue); in getFloat()
/packages/apps/Settings/src/com/android/settings/accessibility/
DFontSizeData.java48 Settings.System.getFloat(resolver, Settings.System.FONT_SCALE, getDefaultValue()); in FontSizeData()
83 return Flags.configurableFontScaleDefault() ? Settings.System.getFloat(resolver, in getFontScaleDefValue()
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DGraphicsUtils.java121 public static float getFloat(Context context, int attr, float defValue) { in getFloat() method in GraphicsUtils
123 float value = ta.getFloat(0, defValue); in getFloat()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DMetadataUtils.java86 data.getFloat(Shared.METADATA_VIDEO_LATITUDE), in getVideoCoords()
87 data.getFloat(Shared.METADATA_VIDEO_LONGITUTE) in getVideoCoords()

12345678