Home
last modified time | relevance | path

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

12345

/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/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/view/animation/
DPathInterpolator.java122 float x1 = a.getFloat(R.styleable.PathInterpolator_controlX1, 0); in parseInterpolatorFromTypeArray()
123 float y1 = a.getFloat(R.styleable.PathInterpolator_controlY1, 0); in parseInterpolatorFromTypeArray()
136 float x2 = a.getFloat(R.styleable.PathInterpolator_controlX2, 0); in parseInterpolatorFromTypeArray()
137 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/support/graphics/drawable/static/src/android/support/graphics/drawable/
DVectorDrawableCompat.java495 pathRenderer.mViewportWidth = a.getFloat( in updateStateFromTypedArray()
497 pathRenderer.mViewportHeight = a.getFloat( in updateStateFromTypedArray()
521 final float alphaInFloat = a.getFloat(R.styleable.VectorDrawable_alpha, in updateStateFromTypedArray()
1034 mRotate = a.getFloat(R.styleable.VectorDrawableGroup_rotation, mRotate); in updateStateFromTypedArray()
1035 mPivotX = a.getFloat(R.styleable.VectorDrawableGroup_pivotX, mPivotX); in updateStateFromTypedArray()
1036 mPivotY = a.getFloat(R.styleable.VectorDrawableGroup_pivotY, mPivotY); in updateStateFromTypedArray()
1037 mScaleX = a.getFloat(R.styleable.VectorDrawableGroup_scaleX, mScaleX); in updateStateFromTypedArray()
1038 mScaleY = a.getFloat(R.styleable.VectorDrawableGroup_scaleY, mScaleY); in updateStateFromTypedArray()
1039 mTranslateX = a.getFloat(R.styleable.VectorDrawableGroup_translateX, mTranslateX); in updateStateFromTypedArray()
1040 mTranslateY = a.getFloat(R.styleable.VectorDrawableGroup_translateY, mTranslateY); in updateStateFromTypedArray()
[all …]
/frameworks/base/core/java/android/transition/
DArcMotion.java67 float minimumVerticalAngle = a.getFloat(R.styleable.ArcMotion_minimumVerticalAngle, in ArcMotion()
70 float minimumHorizontalAngle = a.getFloat(R.styleable.ArcMotion_minimumHorizontalAngle, in ArcMotion()
73 float maximumAngle = a.getFloat(R.styleable.ArcMotion_maximumAngle, in ArcMotion()
/frameworks/base/services/core/java/com/android/server/am/
DCoreSettingsObserver.java131 value = Settings.Secure.getFloat(context.getContentResolver(), setting, 0); in populateSettings()
133 value = Settings.System.getFloat(context.getContentResolver(), setting, 0); in populateSettings()
135 value = Settings.Global.getFloat(context.getContentResolver(), setting, 0); in populateSettings()
/frameworks/base/graphics/java/android/graphics/drawable/
DRotateDrawable.java98 state.mPivotX = state.mPivotXRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); in updateStateFromTypedArray()
104 state.mPivotY = state.mPivotYRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); in updateStateFromTypedArray()
107 state.mFromDegrees = a.getFloat( in updateStateFromTypedArray()
109 state.mToDegrees = a.getFloat( in updateStateFromTypedArray()
DVectorDrawable.java600 pathRenderer.mViewportWidth = a.getFloat( in updateStateFromTypedArray()
602 pathRenderer.mViewportHeight = a.getFloat( in updateStateFromTypedArray()
636 final float alphaInFloat = a.getFloat(R.styleable.VectorDrawable_alpha, in updateStateFromTypedArray()
1274 mRotate = a.getFloat(R.styleable.VectorDrawableGroup_rotation, mRotate); in updateStateFromTypedArray()
1275 mPivotX = a.getFloat(R.styleable.VectorDrawableGroup_pivotX, mPivotX); in updateStateFromTypedArray()
1276 mPivotY = a.getFloat(R.styleable.VectorDrawableGroup_pivotY, mPivotY); in updateStateFromTypedArray()
1277 mScaleX = a.getFloat(R.styleable.VectorDrawableGroup_scaleX, mScaleX); in updateStateFromTypedArray()
1278 mScaleY = a.getFloat(R.styleable.VectorDrawableGroup_scaleY, mScaleY); in updateStateFromTypedArray()
1279 mTranslateX = a.getFloat(R.styleable.VectorDrawableGroup_translateX, mTranslateX); in updateStateFromTypedArray()
1280 mTranslateY = a.getFloat(R.styleable.VectorDrawableGroup_translateY, mTranslateY); in updateStateFromTypedArray()
[all …]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DColladaParser.java329 float value = getFloat(typeElem); in extractParams()
456 fov = getFloat(camera, "yfov"); in convertCamera()
458 float aspect = getFloat(camera, "aspect_ratio"); in convertCamera()
459 fov = getFloat(camera, "xfov") / aspect; in convertCamera()
462 float near = getFloat(camera, "znear"); in convertCamera()
463 float far = getFloat(camera, "zfar"); in convertCamera()
519 private float getFloat(Element elem, String name) { in getFloat() method in ColladaParser
523 private float getFloat(Element elem) { in getFloat() method in ColladaParser
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRootCursorWrapper.java98 public float getFloat(int column) { in getFloat() method in RootCursorWrapper
99 return mCursor.getFloat(column); in getFloat()
DFilteringCursorWrapper.java103 public float getFloat(int column) { in getFloat() method in FilteringCursorWrapper
104 return mCursor.getFloat(column); in getFloat()
/frameworks/base/core/java/android/database/
DAbstractWindowedCursor.java79 public float getFloat(int columnIndex) { in getFloat() method in AbstractWindowedCursor
81 return mWindow.getFloat(mPos, columnIndex); in getFloat()
DCursorWrapper.java116 public float getFloat(int columnIndex) { in getFloat() method in CursorWrapper
117 return mCursor.getFloat(columnIndex); in getFloat()
DMergeCursor.java120 public float getFloat(int column) in getFloat() method in MergeCursor
122 return mCursor.getFloat(column); in getFloat()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsConfiguration.java213 taskStackWidthPaddingPct = res.getFloat(R.dimen.recents_stack_width_padding_percentage); in update()
214 taskStackOverscrollPct = res.getFloat(R.dimen.recents_stack_overscroll_percentage); in update()
247 taskViewThumbnailAlpha = res.getFloat(R.dimen.recents_task_view_thumbnail_alpha); in update()
255 taskBarViewAffiliationColorMinAlpha = res.getFloat( in update()
/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/widget/
DRatingBar.java93 final float rating = a.getFloat(R.styleable.RatingBar_rating, -1); in RatingBar()
94 final float stepSize = a.getFloat(R.styleable.RatingBar_stepSize, -1); in RatingBar()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DTintTypedArray.java114 public float getFloat(int index, float defValue) { in getFloat() method in TintTypedArray
115 return mWrapped.getFloat(index, defValue); in getFloat()
/frameworks/base/core/java/com/android/internal/util/
DTypedProperties.java534 public float getFloat(String property, float def) { in getFloat() method in TypedProperties
659 public float getFloat(String property) { in getFloat() method in TypedProperties
660 return getFloat(property, 0.0f); in getFloat()

12345