Home
last modified time | relevance | path

Searched refs:getFloat (Results 1 – 25 of 110) 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/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DCarUiSmoothScroller.java58 mMillisecondsPerInch = CarUiUtils.getFloat(context.getResources(), in init()
60 mDecelerationTimeDivisor = CarUiUtils.getFloat(context.getResources(), in init()
64 CarUiUtils.getFloat(context.getResources(), in init()
/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/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/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/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java604 minWidthDps = a.getFloat(R.styleable.ProfileDisplayOption_minWidthDps, 0); in DisplayOption()
605 minHeightDps = a.getFloat(R.styleable.ProfileDisplayOption_minHeightDps, 0); in DisplayOption()
609 iconSize = a.getFloat(R.styleable.ProfileDisplayOption_iconImageSize, 0); in DisplayOption()
610 landscapeIconSize = a.getFloat(R.styleable.ProfileDisplayOption_landscapeIconSize, in DisplayOption()
612 iconTextSize = a.getFloat(R.styleable.ProfileDisplayOption_iconTextSize, 0); in DisplayOption()
/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/Dialer/src/com/android/car/dialer/ui/contact/
DContactDetailsViewHolder.java108 mBackgroundImageView.setAlpha(context.getResources().getFloat( in bind()
134 mBackgroundImageView.setAlpha(context.getResources().getFloat( in bind()
146 mBackgroundImageView.setAlpha(context.getResources().getFloat( in bind()
/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/
DNotificationUtils.java49 .getFloat(R.dimen.contact_avatar_corner_radius_percent); in getDisplayNameAndRoundedAvatar()
71 .getFloat(R.dimen.contact_avatar_corner_radius_percent); in loadContactAvatar()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/utils/
DCarUiUtils.java47 public static float getFloat(Resources res, @DimenRes int resId) { in getFloat() method in CarUiUtils
50 return outValue.getFloat(); in getFloat()
/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/Car/libs/car-apps-common/src/com/android/car/apps/common/
DBackgroundImageView.java62 mBitmapBlurPercent = getResources().getFloat(R.dimen.background_bitmap_blur_percent); in BackgroundImageView()
68 setImageAdditionalScale(a.getFloat(R.styleable.BackgroundImageView_imageAdditionalScale, in BackgroundImageView()
/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/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/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.java140 final double xyGravityThreshold = context.getResources().getFloat( in isDeviceAtEar()
142 final double yGravityNegativeThreshold = context.getResources().getFloat( in isDeviceAtEar()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/
DInCallFragment.java137 mBackgroundImage.setAlpha(getResources().getFloat( in bindUserProfileView()
145 mBackgroundImage.setAlpha(getResources().getFloat( in bindUserProfileView()
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
DQuickSettingFragment.java91 mOpacityDisabled = activity.getResources().getFloat(R.dimen.opacity_disabled); in onActivityCreated()
92 mOpacityEnabled = activity.getResources().getFloat(R.dimen.opacity_enabled); in onActivityCreated()
/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()

12345