/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
D | TransitionUtils.java | 44 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/ |
D | ActionAdapter.java | 129 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/ |
D | LRResolverRankerService.java | 119 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/ |
D | CarUiSmoothScroller.java | 58 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/ |
D | FaceEnrollPreviewFragment.java | 330 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/ |
D | MockSuggestionProviderCursor.java | 61 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/ |
D | ScaledLayout.java | 104 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/ |
D | ComboPreferences.java | 108 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/ |
D | InvariantDeviceProfile.java | 604 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/ |
D | ReorderingCursorWrapper.java | 72 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/ |
D | ContactDetailsViewHolder.java | 108 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/ |
D | NotificationUtils.java | 49 .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/ |
D | CarUiUtils.java | 47 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/ |
D | CarNotificationItemTouchListener.java | 162 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/ |
D | RootCursorWrapper.java | 109 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/ |
D | BackgroundImageView.java | 62 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/ |
D | FilteringCursorWrapper.java | 106 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/ |
D | MetadataUtils.java | 86 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/ |
D | Settings.java | 289 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/ |
D | SystemStateHelper.java | 140 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/ |
D | InCallFragment.java | 137 mBackgroundImage.setAlpha(getResources().getFloat( in bindUserProfileView() 145 mBackgroundImage.setAlpha(getResources().getFloat( in bindUserProfileView()
|
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/ |
D | QuickSettingFragment.java | 91 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/ |
D | FaceEnrollPreviewFragment.java | 325 mTextureView.setScaleX(scaleX * scale.getFloat()); in configureTransform() 326 mTextureView.setScaleY(scaleY * scale.getFloat()); in configureTransform()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
D | SortingCursorWrapper.java | 131 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/ |
D | ClusterViewModel.java | 171 mSpeedFactor = tv.getFloat(); in ClusterViewModel() 174 mDistanceFactor = tv.getFloat(); in ClusterViewModel()
|