Home
last modified time | relevance | path

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

12345678

/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.java66 final float lowLightAmbientBrightnessThreshold = getFloat(resources, in create()
69 final float lowLightAmbientColorTemperature = getFloat(resources, in create()
107 final float intercept = getFloat(resources, in createBrightnessFilter()
137 final float intercept = getFloat(resources, in createColorTemperatureFilter()
163 private static float getFloat(Resources resources, int id) { in getFloat() method in DisplayWhiteBalanceFactory
169 return value.getFloat(); in getFloat()
180 values[i] = array.getFloat(i, Float.NaN); in getFloatArray()
/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/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/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DFloatArrayListTest.java125 assertEquals(1F, TERTIARY_LIST.getFloat(0)); in testGetFloat()
126 assertEquals(2F, TERTIARY_LIST.getFloat(1)); in testGetFloat()
127 assertEquals(3F, TERTIARY_LIST.getFloat(2)); in testGetFloat()
167 assertEquals(3F, list.getFloat(0)); in testSet()
170 assertEquals(0F, list.getFloat(1)); in testSet()
192 assertEquals(0F, list.getFloat(0)); in testSetFloat()
195 assertEquals(0F, list.getFloat(1)); in testSetFloat()
261 assertEquals(1F, list.getFloat(0)); in testAddAll()
/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/
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()
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()
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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBDictionaryTests+Int32.m1882 XCTAssertFalse([dict getFloat:NULL forKey:11]);
1895 XCTAssertTrue([dict getFloat:NULL forKey:11]);
1896 XCTAssertTrue([dict getFloat:&value forKey:11]);
1898 XCTAssertFalse([dict getFloat:NULL forKey:12]);
1916 XCTAssertTrue([dict getFloat:NULL forKey:11]);
1917 XCTAssertTrue([dict getFloat:&value forKey:11]);
1919 XCTAssertTrue([dict getFloat:NULL forKey:12]);
1920 XCTAssertTrue([dict getFloat:&value forKey:12]);
1922 XCTAssertTrue([dict getFloat:NULL forKey:13]);
1923 XCTAssertTrue([dict getFloat:&value forKey:13]);
[all …]
DGPBDictionaryTests+String.m1882 XCTAssertFalse([dict getFloat:NULL forKey:@"foo"]);
1895 XCTAssertTrue([dict getFloat:NULL forKey:@"foo"]);
1896 XCTAssertTrue([dict getFloat:&value forKey:@"foo"]);
1898 XCTAssertFalse([dict getFloat:NULL forKey:@"bar"]);
1916 XCTAssertTrue([dict getFloat:NULL forKey:@"foo"]);
1917 XCTAssertTrue([dict getFloat:&value forKey:@"foo"]);
1919 XCTAssertTrue([dict getFloat:NULL forKey:@"bar"]);
1920 XCTAssertTrue([dict getFloat:&value forKey:@"bar"]);
1922 XCTAssertTrue([dict getFloat:NULL forKey:@"baz"]);
1923 XCTAssertTrue([dict getFloat:&value forKey:@"baz"]);
[all …]
DGPBDictionaryTests+UInt32.m1882 XCTAssertFalse([dict getFloat:NULL forKey:1U]);
1895 XCTAssertTrue([dict getFloat:NULL forKey:1U]);
1896 XCTAssertTrue([dict getFloat:&value forKey:1U]);
1898 XCTAssertFalse([dict getFloat:NULL forKey:2U]);
1916 XCTAssertTrue([dict getFloat:NULL forKey:1U]);
1917 XCTAssertTrue([dict getFloat:&value forKey:1U]);
1919 XCTAssertTrue([dict getFloat:NULL forKey:2U]);
1920 XCTAssertTrue([dict getFloat:&value forKey:2U]);
1922 XCTAssertTrue([dict getFloat:NULL forKey:3U]);
1923 XCTAssertTrue([dict getFloat:&value forKey:3U]);
[all …]
DGPBDictionaryTests+UInt64.m1882 XCTAssertFalse([dict getFloat:NULL forKey:31ULL]);
1895 XCTAssertTrue([dict getFloat:NULL forKey:31ULL]);
1896 XCTAssertTrue([dict getFloat:&value forKey:31ULL]);
1898 XCTAssertFalse([dict getFloat:NULL forKey:32ULL]);
1916 XCTAssertTrue([dict getFloat:NULL forKey:31ULL]);
1917 XCTAssertTrue([dict getFloat:&value forKey:31ULL]);
1919 XCTAssertTrue([dict getFloat:NULL forKey:32ULL]);
1920 XCTAssertTrue([dict getFloat:&value forKey:32ULL]);
1922 XCTAssertTrue([dict getFloat:NULL forKey:33ULL]);
1923 XCTAssertTrue([dict getFloat:&value forKey:33ULL]);
[all …]
/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/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/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/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/core/java/android/database/
DAbstractWindowedCursor.java81 public float getFloat(int columnIndex) { in getFloat() method in AbstractWindowedCursor
83 return mWindow.getFloat(mPos, columnIndex); in getFloat()
/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()

12345678