/frameworks/base/services/core/java/com/android/server/display/utils/ |
D | AmbientFilterFactory.java | 63 final float intercept = getFloat(resources, in createBrightnessFilter() 84 final float intercept = getFloat(resources, in createColorTemperatureFilter() 94 private static float getFloat(Resources resources, int id) { in getFloat() method in AmbientFilterFactory 102 return value.getFloat(); in getFloat()
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableRggbChannelVector.java | 49 float red = buffer.getFloat(); in unmarshal() 50 float gEven = buffer.getFloat(); in unmarshal() 51 float gOdd = buffer.getFloat(); in unmarshal() 52 float blue = buffer.getFloat(); in unmarshal()
|
D | MarshalQueryableSizeF.java | 49 float width = buffer.getFloat(); in unmarshal() 50 float height = buffer.getFloat(); in unmarshal()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | WeightedLinearLayout.java | 48 mMajorWeightMin = a.getFloat(styleable.WeightedLinearLayout_majorWeightMin, 0.0f); in WeightedLinearLayout() 49 mMinorWeightMin = a.getFloat(styleable.WeightedLinearLayout_minorWeightMin, 0.0f); in WeightedLinearLayout() 50 mMajorWeightMax = a.getFloat(styleable.WeightedLinearLayout_majorWeightMax, 0.0f); in WeightedLinearLayout() 51 mMinorWeightMax = a.getFloat(styleable.WeightedLinearLayout_minorWeightMax, 0.0f); in WeightedLinearLayout()
|
/frameworks/base/core/java/android/service/controls/templates/ |
D | RangeTemplate.java | 95 mMinValue = b.getFloat(KEY_MIN_VALUE); in RangeTemplate() 96 mMaxValue = b.getFloat(KEY_MAX_VALUE); in RangeTemplate() 97 mCurrentValue = b.getFloat(KEY_CURRENT_VALUE); in RangeTemplate() 98 mStepValue = b.getFloat(KEY_STEP_VALUE); in RangeTemplate()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | LetterboxConfiguration.java | 270 mFixedOrientationLetterboxAspectRatio = mContext.getResources().getFloat( in LetterboxConfiguration() 277 mLetterboxBackgroundWallpaperDarkScrimAlpha = mContext.getResources().getFloat( in LetterboxConfiguration() 279 mLetterboxHorizontalPositionMultiplier = mContext.getResources().getFloat( in LetterboxConfiguration() 281 mLetterboxVerticalPositionMultiplier = mContext.getResources().getFloat( in LetterboxConfiguration() 283 mLetterboxBookModePositionMultiplier = mContext.getResources().getFloat( in LetterboxConfiguration() 285 mLetterboxTabletopModePositionMultiplier = mContext.getResources().getFloat( in LetterboxConfiguration() 299 setDefaultMinAspectRatioForUnresizableApps(mContext.getResources().getFloat( in LetterboxConfiguration() 374 mFixedOrientationLetterboxAspectRatio = mContext.getResources().getFloat( in resetFixedOrientationLetterboxAspectRatio() 389 setDefaultMinAspectRatioForUnresizableApps(mContext.getResources().getFloat( in resetDefaultMinAspectRatioForUnresizableApps() 552 mLetterboxBackgroundWallpaperDarkScrimAlpha = mContext.getResources().getFloat( in resetLetterboxBackgroundWallpaperDarkScrimAlpha() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageManagerPropertyTests.java | 48 assertEquals(0.0f, p.getFloat(), 0.0f); in testBooleanProperty() 73 assertEquals(3.14f, p.getFloat(), 0.0f); in testFloatProperty() 85 assertEquals(3.14f, b.getFloat("floatProperty"), 0.0f); in testFloatPropertyToBundle() 98 assertEquals(0.0f, p.getFloat(), 0.0f); in testIntegerProperty() 123 assertEquals(0.0f, p.getFloat(), 0.0f); in testResourceProperty() 148 assertEquals(0.0f, p.getFloat(), 0.0f); in testStringProperty()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | DistanceClassifier.java | 67 mVelocityToDistanceMultiplier = deviceConfigProxy.getFloat( in DistanceClassifier() 72 float horizontalFlingThresholdIn = deviceConfigProxy.getFloat( in DistanceClassifier() 77 float verticalFlingThresholdIn = deviceConfigProxy.getFloat( in DistanceClassifier() 82 float horizontalSwipeThresholdIn = deviceConfigProxy.getFloat( in DistanceClassifier() 87 float verticalSwipeThresholdIn = deviceConfigProxy.getFloat( in DistanceClassifier() 92 float screenFractionMaxDistance = deviceConfigProxy.getFloat( in DistanceClassifier()
|
D | ZigZagClassifier.java | 68 mMaxXPrimaryDeviance = deviceConfigProxy.getFloat( in ZigZagClassifier() 73 mMaxYPrimaryDeviance = deviceConfigProxy.getFloat( in ZigZagClassifier() 78 mMaxXSecondaryDeviance = deviceConfigProxy.getFloat( in ZigZagClassifier() 83 mMaxYSecondaryDeviance = deviceConfigProxy.getFloat( in ZigZagClassifier()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | MatrixCursorTest.java | 42 assertEquals(0.0f, cursor.getFloat(0)); in testNullValue() 154 assertEquals(4.2f, cursor.getFloat(4)); in testRowBuilderOffer() 163 assertEquals(0.0f, cursor.getFloat(4)); in testRowBuilderOffer() 172 assertEquals(0.0f, cursor.getFloat(4)); in testRowBuilderOffer() 205 assertEquals(4.0f, cursor.getFloat(4)); in checkValues()
|
/frameworks/base/services/core/java/com/android/server/display/whitebalance/ |
D | DisplayWhiteBalanceFactory.java | 76 final float lowLightAmbientColorTemperature = getFloat(resources, in create() 85 final float highLightAmbientColorTemperature = getFloat(resources, in create() 157 private static float getFloat(Resources resources, int id) { in getFloat() method in DisplayWhiteBalanceFactory 163 return value.getFloat(); in getFloat() 174 values[i] = array.getFloat(i, Float.NaN); in getFloatArray()
|
/frameworks/base/core/java/android/content/res/ |
D | GradientColor.java | 188 mStartX = a.getFloat( in updateRootElementState() 190 mStartY = a.getFloat( in updateRootElementState() 192 mEndX = a.getFloat( in updateRootElementState() 194 mEndY = a.getFloat( in updateRootElementState() 197 mCenterX = a.getFloat( in updateRootElementState() 199 mCenterY = a.getFloat( in updateRootElementState() 227 mGradientRadius = a.getFloat(R.styleable.GradientColor_gradientRadius, in updateRootElementState() 358 float offset = a.getFloat(R.styleable.GradientColorItem_offset, 0); in inflateChildElements() 417 mItemOffsets[i] = a.getFloat(R.styleable.GradientColorItem_offset, mItemOffsets[i]); in applyItemsAttrsTheme()
|
/frameworks/base/core/java/android/view/animation/ |
D | AlphaAnimation.java | 45 mFromAlpha = a.getFloat(com.android.internal.R.styleable.AlphaAnimation_fromAlpha, 1.0f); in AlphaAnimation() 46 mToAlpha = a.getFloat(com.android.internal.R.styleable.AlphaAnimation_toAlpha, 1.0f); in AlphaAnimation()
|
D | PathInterpolator.java | 128 float x1 = a.getFloat(R.styleable.PathInterpolator_controlX1, 0); in parseInterpolatorFromTypeArray() 129 float y1 = a.getFloat(R.styleable.PathInterpolator_controlY1, 0); in parseInterpolatorFromTypeArray() 142 float x2 = a.getFloat(R.styleable.PathInterpolator_controlX2, 0); in parseInterpolatorFromTypeArray() 143 float y2 = a.getFloat(R.styleable.PathInterpolator_controlY2, 0); in parseInterpolatorFromTypeArray()
|
D | ScaleAnimation.java | 76 mFromX = tv.getFloat(); in ScaleAnimation() 88 mToX = tv.getFloat(); in ScaleAnimation() 101 mFromY = tv.getFloat(); in ScaleAnimation() 113 mToY = tv.getFloat(); in ScaleAnimation()
|
D | AnticipateOvershootInterpolator.java | 80 mTension = a.getFloat(AnticipateOvershootInterpolator_tension, 2.0f) * in AnticipateOvershootInterpolator() 81 a.getFloat(AnticipateOvershootInterpolator_extraTension, 1.5f); in AnticipateOvershootInterpolator()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | ThumbnailBehavior.kt | 53 shadowOffsetX = outValue.getFloat() in initialize() 56 shadowOffsetY = outValue.getFloat() in initialize() 59 shadowRadius = outValue.getFloat() in initialize()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/fontscaling/ |
D | FontScalingDialogTest.kt | 60 val currentScale = systemSettings.getFloat(Settings.System.FONT_SCALE, /* def = */ 1.0f) in showTheDialog_seekbarIsShowingCorrectProgress() 80 val currentScale = systemSettings.getFloat(Settings.System.FONT_SCALE, /* def = */ 1.0f) in progressIsZero_clickIconEnd_seekBarProgressIncreaseOne_fontSizeScaled() 100 val currentScale = systemSettings.getFloat(Settings.System.FONT_SCALE, /* def = */ 1.0f) in progressIsMax_clickIconStart_seekBarProgressDecreaseOne_fontSizeScaled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/ |
D | WiredChargingRippleController.kt | 66 private var normalizedPortPosX: Float = context.resources.getFloat( 68 private var normalizedPortPosY: Float = context.resources.getFloat( 125 normalizedPortPosX = context.resources.getFloat( in registerCallbacks() 127 normalizedPortPosY = context.resources.getFloat( in registerCallbacks()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | VectorDrawable.java | 770 float viewportWidth = a.getFloat( in updateStateFromTypedArray() 772 float viewportHeight = a.getFloat( in updateStateFromTypedArray() 807 final float alphaInFloat = a.getFloat( in updateStateFromTypedArray() 1410 float rotate = a.getFloat(R.styleable.VectorDrawableGroup_rotation, in updateStateFromTypedArray() 1412 float pivotX = a.getFloat(R.styleable.VectorDrawableGroup_pivotX, in updateStateFromTypedArray() 1414 float pivotY = a.getFloat(R.styleable.VectorDrawableGroup_pivotY, in updateStateFromTypedArray() 1416 float scaleX = a.getFloat(R.styleable.VectorDrawableGroup_scaleX, in updateStateFromTypedArray() 1418 float scaleY = a.getFloat(R.styleable.VectorDrawableGroup_scaleY, in updateStateFromTypedArray() 1420 float translateX = a.getFloat(R.styleable.VectorDrawableGroup_translateX, in updateStateFromTypedArray() 1422 float translateY = a.getFloat(R.styleable.VectorDrawableGroup_translateY, in updateStateFromTypedArray() [all …]
|
D | RotateDrawable.java | 129 state.mPivotX = state.mPivotXRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); in updateStateFromTypedArray() 135 state.mPivotY = state.mPivotYRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); in updateStateFromTypedArray() 138 state.mFromDegrees = a.getFloat( in updateStateFromTypedArray() 140 state.mToDegrees = a.getFloat( in updateStateFromTypedArray()
|
/frameworks/base/core/java/android/transition/ |
D | ArcMotion.java | 66 float minimumVerticalAngle = a.getFloat(R.styleable.ArcMotion_minimumVerticalAngle, in ArcMotion() 69 float minimumHorizontalAngle = a.getFloat(R.styleable.ArcMotion_minimumHorizontalAngle, in ArcMotion() 72 float maximumAngle = a.getFloat(R.styleable.ArcMotion_maximumAngle, in ArcMotion()
|
/frameworks/base/core/java/android/provider/ |
D | DeviceConfigInterface.java | 103 float getFloat(@NonNull String namespace, @NonNull String name, float defaultValue); in getFloat() method 183 public float getFloat(@NonNull String namespace, @NonNull String name, 185 return DeviceConfig.getFloat(namespace, name, defaultValue);
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | GestureNavigationSettingsObserver.java | 128 final float scale = Settings.Secure.getFloat(mContext.getContentResolver(), in getLeftSensitivityForCallingUser() 149 final float scale = Settings.Secure.getFloat(mContext.getContentResolver(), in getRightSensitivityForCallingUser() 165 ? DeviceConfig.getFloat(DeviceConfig.NAMESPACE_SYSTEMUI, in getUnscaledInset()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/shadow/ |
D | DoubleShadowTextClock.kt | 61 attributes.getFloat(R.styleable.DoubleShadowTextClock_keyShadowAlpha, 0f) 85 attributes.getFloat(R.styleable.DoubleShadowTextClock_ambientShadowAlpha, 0f)
|