Home
last modified time | relevance | path

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

12345

/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/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/src/android/ext/services/resolver/
DLRResolverRankerService.java119 mBias = mParamSharedPref.getFloat(BIAS_PREF_KEY, 0.0f); in initModel()
120 mFeatureWeights.put(LAUNCH_SCORE, mParamSharedPref.getFloat(LAUNCH_SCORE, 0.0f)); in initModel()
122 TIME_SPENT_SCORE, mParamSharedPref.getFloat(TIME_SPENT_SCORE, 0.0f)); in initModel()
123 mFeatureWeights.put(RECENCY_SCORE, mParamSharedPref.getFloat(RECENCY_SCORE, 0.0f)); in initModel()
124 mFeatureWeights.put(CHOOSER_SCORE, mParamSharedPref.getFloat(CHOOSER_SCORE, 0.0f)); in initModel()
/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/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/apps/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java543 minWidthDps = a.getFloat(R.styleable.ProfileDisplayOption_minWidthDps, 0); in DisplayOption()
544 minHeightDps = a.getFloat(R.styleable.ProfileDisplayOption_minHeightDps, 0); in DisplayOption()
548 iconSize = a.getFloat(R.styleable.ProfileDisplayOption_iconImageSize, 0); in DisplayOption()
549 landscapeIconSize = a.getFloat(R.styleable.ProfileDisplayOption_landscapeIconSize, in DisplayOption()
551 iconTextSize = a.getFloat(R.styleable.ProfileDisplayOption_iconTextSize, 0); in DisplayOption()
/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/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/Car/libs/car-apps-common/src/com/android/car/apps/common/
DBackgroundImageView.java58 mBitmapBlurPercent = getResources().getFloat(R.dimen.background_bitmap_blur_percent); in BackgroundImageView()
64 setImageAdditionalScale(a.getFloat(R.styleable.BackgroundImageView_imageAdditionalScale, in BackgroundImageView()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationItemTouchListener.java162 mErrorFactorMultiplier = res.getFloat(R.dimen.error_factor_multiplier); in CarNotificationItemTouchListener()
165 res.getFloat(R.dimen.fling_percentage_of_width_to_dismiss); in CarNotificationItemTouchListener()
167 mPercentageOfWidthToDismiss = res.getFloat(R.dimen.percentage_of_width_to_dismiss); in CarNotificationItemTouchListener()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DRootCursorWrapper.java109 public float getFloat(int column) { in getFloat() method in RootCursorWrapper
110 return mCursor.getFloat(column); in getFloat()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DFilteringCursorWrapper.java106 public float getFloat(int column) { in getFloat() method in FilteringCursorWrapper
107 return mCursor.getFloat(column); in getFloat()
/packages/apps/UnifiedEmail/src/com/android/mail/content/
DThreadSafeCursorWrapper.java77 public float getFloat(int column) { in getFloat() method in ThreadSafeCursorWrapper
80 return super.getFloat(column); 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()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUsersListFragment.java83 mOpacityDisabled = getContext().getResources().getFloat(R.dimen.opacity_disabled); in onAttach()
84 mOpacityEnabled = getContext().getResources().getFloat(R.dimen.opacity_enabled); in onAttach()
DUserGridRecyclerView.java231 mOpacityDisabled = mRes.getFloat(R.dimen.opacity_disabled); in UserAdapter()
232 mOpacityEnabled = mRes.getFloat(R.dimen.opacity_enabled); in UserAdapter()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettings.java289 final float volume = prefs.getFloat( in readKeypressSoundVolume()
335 final float fraction = prefs.getFloat(prefKey, UNDEFINED_PREFERENCE_VALUE_FLOAT); in readKeyPreviewAnimationScale()
347 final float percentage = prefs.getFloat( in readKeyboardHeight()
/packages/services/Telecomm/src/com/android/server/telecom/
DSystemStateHelper.java119 final double xyGravityThreshold = context.getResources().getFloat( in isDeviceAtEar()
121 final double yGravityNegativeThreshold = context.getResources().getFloat( in isDeviceAtEar()
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
DQuickSettingFragment.java114 mOpacityDisabled = activity.getResources().getFloat(R.dimen.opacity_disabled); in onActivityCreated()
115 mOpacityEnabled = activity.getResources().getFloat(R.dimen.opacity_enabled); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollPreviewFragment.java325 mTextureView.setScaleX(scaleX * scale.getFloat()); in configureTransform()
326 mTextureView.setScaleY(scaleY * scale.getFloat()); in configureTransform()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/
DFaceEnrollPreviewFragment.java325 mTextureView.setScaleX(scaleX * scale.getFloat()); in configureTransform()
326 mTextureView.setScaleY(scaleY * scale.getFloat()); in configureTransform()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortingCursorWrapper.java131 public float getFloat(int column) { in getFloat() method in SortingCursorWrapper
132 return mCursor.getFloat(column); in getFloat()
/packages/apps/Car/Cluster/src/android/car/cluster/
DClusterViewModel.java171 mSpeedFactor = tv.getFloat(); in ClusterViewModel()
174 mDistanceFactor = tv.getFloat(); in ClusterViewModel()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsConfigurationXmlParser.java196 float minSpeed = a.getFloat(R.styleable.UxRestrictions_DrivingState_minSpeed, in mapDrivingStateToRestrictions()
198 float maxSpeed = a.getFloat(R.styleable.UxRestrictions_DrivingState_maxSpeed, in mapDrivingStateToRestrictions()
/packages/apps/Messaging/src/com/android/messaging/util/
DBugleGservices.java71 public abstract float getFloat(final String key, final float defaultValue); in getFloat() method in BugleGservices

12345