Home
last modified time | relevance | path

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

12345678

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DDistanceClassifier.java56 mVelocityToDistanceMultiplier = DeviceConfig.getFloat( in DistanceClassifier()
61 float horizontalFlingThresholdIn = DeviceConfig.getFloat( in DistanceClassifier()
66 float verticalFlingThresholdIn = DeviceConfig.getFloat( in DistanceClassifier()
71 float horizontalSwipeThresholdIn = DeviceConfig.getFloat( in DistanceClassifier()
76 float verticalSwipeThresholdIn = DeviceConfig.getFloat( in DistanceClassifier()
81 float screenFractionMaxDistance = DeviceConfig.getFloat( in DistanceClassifier()
DZigZagClassifier.java54 mMaxXPrimaryDeviance = DeviceConfig.getFloat( in ZigZagClassifier()
59 mMaxYPrimaryDeviance = DeviceConfig.getFloat( in ZigZagClassifier()
64 mMaxXSecondaryDeviance = DeviceConfig.getFloat( in ZigZagClassifier()
69 mMaxYSecondaryDeviance = DeviceConfig.getFloat( in ZigZagClassifier()
DDiagonalClassifier.java48 mHorizontalAngleRange = DeviceConfig.getFloat( in DiagonalClassifier()
52 mVerticalAngleRange = DeviceConfig.getFloat( in DiagonalClassifier()
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableRggbChannelVector.java49 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()
DMarshalQueryableSizeF.java49 float width = buffer.getFloat(); in unmarshal()
50 float height = buffer.getFloat(); in unmarshal()
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DDisplayWhiteBalanceFactory.java72 final float lowLightAmbientColorTemperature = getFloat(resources, in create()
81 final float highLightAmbientColorTemperature = getFloat(resources, in create()
121 final float intercept = getFloat(resources, in createBrightnessFilter()
150 final float intercept = getFloat(resources, in createColorTemperatureFilter()
176 private static float getFloat(Resources resources, int id) { in getFloat() method in DisplayWhiteBalanceFactory
182 return value.getFloat(); in getFloat()
193 values[i] = array.getFloat(i, Float.NaN); in getFloatArray()
/frameworks/base/core/java/com/android/internal/widget/
DWeightedLinearLayout.java48 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/tests/coretests/src/android/database/
DMatrixCursorTest.java42 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/core/java/android/content/res/
DGradientColor.java188 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/
DPathInterpolator.java126 float x1 = a.getFloat(R.styleable.PathInterpolator_controlX1, 0); in parseInterpolatorFromTypeArray()
127 float y1 = a.getFloat(R.styleable.PathInterpolator_controlY1, 0); in parseInterpolatorFromTypeArray()
140 float x2 = a.getFloat(R.styleable.PathInterpolator_controlX2, 0); in parseInterpolatorFromTypeArray()
141 float y2 = a.getFloat(R.styleable.PathInterpolator_controlY2, 0); in parseInterpolatorFromTypeArray()
DAlphaAnimation.java45 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()
DScaleAnimation.java76 mFromX = tv.getFloat(); in ScaleAnimation()
88 mToX = tv.getFloat(); in ScaleAnimation()
101 mFromY = tv.getFloat(); in ScaleAnimation()
113 mToY = tv.getFloat(); in ScaleAnimation()
DAnticipateOvershootInterpolator.java80 mTension = a.getFloat(AnticipateOvershootInterpolator_tension, 2.0f) * in AnticipateOvershootInterpolator()
81 a.getFloat(AnticipateOvershootInterpolator_extraTension, 1.5f); in AnticipateOvershootInterpolator()
DRotateAnimation.java54 mFromDegrees = a.getFloat( in RotateAnimation()
56 mToDegrees = a.getFloat(com.android.internal.R.styleable.RotateAnimation_toDegrees, 0.0f); in RotateAnimation()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java766 float viewportWidth = a.getFloat( in updateStateFromTypedArray()
768 float viewportHeight = a.getFloat( in updateStateFromTypedArray()
803 final float alphaInFloat = a.getFloat( in updateStateFromTypedArray()
1406 float rotate = a.getFloat(R.styleable.VectorDrawableGroup_rotation, in updateStateFromTypedArray()
1408 float pivotX = a.getFloat(R.styleable.VectorDrawableGroup_pivotX, in updateStateFromTypedArray()
1410 float pivotY = a.getFloat(R.styleable.VectorDrawableGroup_pivotY, in updateStateFromTypedArray()
1412 float scaleX = a.getFloat(R.styleable.VectorDrawableGroup_scaleX, in updateStateFromTypedArray()
1414 float scaleY = a.getFloat(R.styleable.VectorDrawableGroup_scaleY, in updateStateFromTypedArray()
1416 float translateX = a.getFloat(R.styleable.VectorDrawableGroup_translateX, in updateStateFromTypedArray()
1418 float translateY = a.getFloat(R.styleable.VectorDrawableGroup_translateY, in updateStateFromTypedArray()
[all …]
DRotateDrawable.java129 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/view/textclassifier/
DConfigParser.java124 public float getFloat(String key, float defaultValue) { in getFloat() method in ConfigParser
132 value = DeviceConfig.getFloat( in getFloat()
135 getLegacySettings().getFloat(key, defaultValue)); in getFloat()
137 value = getLegacySettings().getFloat(key, defaultValue); in getFloat()
/frameworks/base/core/java/android/transition/
DArcMotion.java66 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/tests/coretests/src/android/provider/
DDeviceConfigTest.java270 final float result = DeviceConfig.getFloat(sNamespace, sKey, default_value); in getFloat_empty()
280 final float result = DeviceConfig.getFloat(sNamespace, sKey, default_value); in getFloat_valid()
289 final float result = DeviceConfig.getFloat(sNamespace, sKey, default_value); in getFloat_invalid()
297 DeviceConfig.getFloat(null, sKey, 0); in getFloat_nullNamespace()
307 DeviceConfig.getFloat(sNamespace, null, 0); in getFloat_nullName()
/frameworks/base/core/java/android/database/
DAbstractWindowedCursor.java81 public float getFloat(int columnIndex) { in getFloat() method in AbstractWindowedCursor
83 return mWindow.getFloat(mPos, columnIndex); in getFloat()
DRedactingCursor.java92 public float getFloat(int columnIndex) { in getFloat() method in RedactingCursor
97 return super.getFloat(columnIndex); in getFloat()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DConfigParserTest.java105 float value = mConfigParser.getFloat("float", 0); in getFloat_deviceConfig()
111 float value = mConfigParser.getFloat("float", 0); in getFloat_settings()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DExifInterfaceTest.java136 latitude = typedArray.getFloat(4, 0f); in ExpectedValue()
137 longitude = typedArray.getFloat(5, 0f); in ExpectedValue()
138 altitude = typedArray.getFloat(6, 0f); in ExpectedValue()
143 fNumber = typedArray.getFloat(9, 0f); in ExpectedValue()
145 exposureTime = typedArray.getFloat(11, 0f); in ExpectedValue()
146 flash = typedArray.getFloat(12, 0f); in ExpectedValue()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerEntry.java216 location.setLatitude(cursor.getFloat(cursor in createEntry()
218 location.setLongitude(cursor.getFloat(cursor in createEntry()
249 retValue = cursor.getFloat(colIndex); in getNullableFloat()
/frameworks/base/core/java/android/text/style/
DTextAppearanceSpan.java167 mShadowRadius = a.getFloat(com.android.internal.R.styleable in TextAppearanceSpan()
169 mShadowDx = a.getFloat(com.android.internal.R.styleable in TextAppearanceSpan()
171 mShadowDy = a.getFloat(com.android.internal.R.styleable in TextAppearanceSpan()
183 mLetterSpacing = a.getFloat(com.android.internal.R.styleable in TextAppearanceSpan()

12345678