/external/angle/src/libANGLE/renderer/ |
D | copyvertex.inc.h | 303 template <bool isSigned, bool normalized, bool toFloat, bool toHalf> 309 if (toFloat || toHalf) in CopyPackedRGB() 378 template <bool isSigned, bool normalized, bool toFloat, bool toHalf> 383 if (toFloat || toHalf) in CopyPackedAlpha() 482 template <bool isSigned, bool normalized, bool toFloat, bool toHalf> 488 const size_t outputComponentSize = toFloat && !toHalf ? 4 : 2; in CopyXYZ10W2ToXYZWFloatVertexData() 504 priv::CopyPackedRGB<isSigned, normalized, toFloat, toHalf>( in CopyXYZ10W2ToXYZWFloatVertexData() 506 priv::CopyPackedRGB<isSigned, normalized, toFloat, toHalf>( in CopyXYZ10W2ToXYZWFloatVertexData() 508 priv::CopyPackedRGB<isSigned, normalized, toFloat, toHalf>( in CopyXYZ10W2ToXYZWFloatVertexData() 510 priv::CopyPackedAlpha<isSigned, normalized, toFloat, toHalf>( in CopyXYZ10W2ToXYZWFloatVertexData()
|
D | copyvertex.h | 58 template <bool isSigned, bool normalized, bool toFloat, bool toHalf>
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | format_types.h | 555 static float toFloat() { return 0.0; } 575 static float toFloat() { return 0.0; } 595 static float toFloat() { return 0.0; } 615 static float toFloat() { return 0.0; } 635 static float toFloat() { return 0.0; } 655 static float toFloat() { return 0.0; } 675 static float toFloat() { return 0.0; } 695 static float toFloat() { return 1.0f / 31.0f; } 711 static float toFloat() { return 1.0f / 63.0f; } 727 static float toFloat() { return 1.0f / 255.0f; } [all …]
|
D | format_conversion.h | 68 vComp = SIMD_T::mul_ps(vComp, SIMD_T::set1_ps(FormatTraits<SrcFormat>::toFloat(comp))); in LoadSOA()
|
/external/oboe/samples/drumthumper/src/main/java/com/plausibleaudio/drumthumper/ |
D | TriggerPad.kt | 94 mDrawRect.set(padLeft.toFloat(), in onSizeChanged() 95 padTop.toFloat(), in onSizeChanged() 96 w - padRight.toFloat(), in onSizeChanged() 97 h - padBottom.toFloat()) in onSizeChanged()
|
D | DrumThumperActivity.kt | 116 return pos.toFloat() / GAIN_FACTOR in gainPosToGainVal() 125 return (pos.toFloat() - HALF_PAN_POSITION) / HALF_PAN_POSITION in panPosToPanVal()
|
/external/cbor-java/src/main/java/co/nstant/in/cbor/decoder/ |
D | HalfPrecisionFloatDecoder.java | 20 return new HalfPrecisionFloat(toFloat(bits)); in decode() 26 private static float toFloat(int bits) { in toFloat() method in HalfPrecisionFloatDecoder
|
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/ |
D | PlayerFragment.kt | 70 repeat(101) { i -> entries.add(Entry(i.toFloat(), 0f)) } in <lambda>() 223 … toggleView.isActivated = toggleView.getText().replace("x", "").toFloat() == animationView.speed in <lambda>() 234 .toFloat() in <lambda>() 255 animationView.progress = progress / seekBar.max.toFloat() in <lambda>() 498 val screenWidth = resources.displayMetrics.widthPixels.toFloat() in <lambda>() 499 val screenHeight = resources.displayMetrics.heightPixels.toFloat() in <lambda>() 502 screenWidth / (bounds?.width()?.toFloat() ?: screenWidth), in <lambda>() 503 screenHeight / (bounds?.height()?.toFloat() ?: screenHeight) in <lambda>()
|
D | TrimView.kt | 43 val startProgress = leftAnchor.left / width.toFloat() in onViewPositionChanged() 44 val endProgress = rightAnchor.right / width.toFloat() in onViewPositionChanged()
|
D | DynamicActivity.kt | 62 2 * speed.toFloat() * frameInfo.overallProgress in <lambda>()
|
D | TypeExtensions.kt | 59 fun Float.sqrt() = Math.sqrt(this.toDouble()).toFloat() in Float()
|
/external/deqp/modules/gles31/scripts/ |
D | gen-implicit-conversions.py | 241 "float": [Scalar(x).toFloat() for x in IN_ISCALAR], 242 "vec2": [Vec2(x[0], x[1]).toFloat() for x in IN_IVECTOR], 243 "vec3": [Vec3(x[0], x[1], x[2]).toFloat() for x in IN_IVECTOR], 244 "vec4": [Vec4(x[0], x[1], x[2], x[3]).toFloat() for x in IN_IVECTOR], 520 return a.toFloat() * Scalar(2.0) 606 return out[0].toFloat() 610 return Vec2(out[0], out[1]).toFloat() 614 return Vec3(out[0], out[1], out[2]).toFloat() 618 return Vec4(out[0], out[1], out[2], out[3]).toFloat()
|
D | genutil.py | 115 def toFloat(lst): return [Scalar(float(v.x)) for v in lst] function 119 def toVec4(lst): return [v.toFloat().toVec4() for v in lst] 120 def toVec3(lst): return [v.toFloat().toVec3() for v in lst] 121 def toVec2(lst): return [v.toFloat().toVec2() for v in lst] 255 def toFloat(self): return Scalar(float(self.x)) member in Scalar 416 def toFloat(self): return Vec2(float(self.x), float(self.y)) member in Vec2 527 def toFloat(self): return Vec3(float(self.x), float(self.y), float(self.z)) member in Vec3 647 def toFloat(self): return Vec4(float(self.x), float(self.y), float(self.z), float(self.w)) member in Vec4
|
/external/lottie/LottieSample/src/androidTest/java/com/airbnb/lottie/samples/ |
D | BitmapPool.kt | 49 … drawRect(0f, 0f, croppedBitmap.width.toFloat(), croppedBitmap.height.toFloat(), clearPaint) in acquire()
|
D | LottieTest.kt | 1032 …private val Number.dp get() = this.toFloat() / (Resources.getSystem().displayMetrics.densityDpi.to… in <lambda>()
|
/external/deqp/modules/gles2/scripts/ |
D | gen-conversions.py | 82 scalars = reduce(operator.add, [x[ndx].toFloat().getScalars() for x in comps]) 102 scalars = reduce(operator.add, [x[ndx].toFloat().getScalars() for x in comps]) 296 genConversionCases([inFloat, inInt, inBool], [toFloat, toInt, toBool]))) 304 … inVec3, inVec4, inIVec2, inIVec3, inIVec4, inBVec2, inBVec3, inBVec4], [toFloat, toInt, toBool])))
|
D | genutil.py | 115 def toFloat(lst): return [Scalar(float(v.x)) for v in lst] function 118 def toVec4(lst): return [v.toFloat().toVec4() for v in lst] 119 def toVec3(lst): return [v.toFloat().toVec3() for v in lst] 120 def toVec2(lst): return [v.toFloat().toVec2() for v in lst] 233 def toFloat(self): return Scalar(float(self.x)) member in Scalar 347 def toFloat(self): return Vec2(float(self.x), float(self.y)) member in Vec2 433 def toFloat(self): return Vec3(float(self.x), float(self.y), float(self.z)) member in Vec3 526 def toFloat(self): return Vec4(float(self.x), float(self.y), float(self.z), float(self.w)) member in Vec4
|
/external/deqp/modules/gles3/scripts/ |
D | gen-conversions.py | 82 scalars = reduce(operator.add, [x[ndx].toFloat().getScalars() for x in comps]) 105 scalars = reduce(operator.add, [x[ndx].toFloat().getScalars() for x in comps]) 322 genConversionCases([inFloat, inInt, inUint, inBool], [toFloat, toInt, toBool]) +\ 332 …nIVec3, inIVec4, inUVec2, inUVec3, inUVec4, inBVec2, inBVec3, inBVec4], [toFloat, toInt, toBool]) …
|
D | genutil.py | 115 def toFloat(lst): return [Scalar(float(v.x)) for v in lst] function 119 def toVec4(lst): return [v.toFloat().toVec4() for v in lst] 120 def toVec3(lst): return [v.toFloat().toVec3() for v in lst] 121 def toVec2(lst): return [v.toFloat().toVec2() for v in lst] 255 def toFloat(self): return Scalar(float(self.x)) member in Scalar 414 def toFloat(self): return Vec2(float(self.x), float(self.y)) member in Vec2 525 def toFloat(self): return Vec3(float(self.x), float(self.y), float(self.z)) member in Vec3 645 def toFloat(self): return Vec4(float(self.x), float(self.y), float(self.z), float(self.w)) member in Vec4
|
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/views/ |
D | BackgroundColorView.kt | 35 … resources.getDimensionPixelSize(R.dimen.background_color_view_stroke_width).toFloat() in draw()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/ |
D | formats.h | 250 float toFloat[4]; member
|
/external/kotlinx.coroutines/ui/kotlinx-coroutines-android/animation-app/app/src/main/java/org/jetbrains/kotlinx/animation/ |
D | Animation.kt | 90 private fun norm(x: Float, y: Float) = Math.hypot(x.toDouble(), y.toDouble()).toFloat() in norm()
|
/external/deqp/modules/glshared/ |
D | glsVertexArrayTests.cpp | 1252 float GLValue::toFloat (void) const in toFloat() function in deqp::gls::GLValue 2063 … !inputTypeIsFloatType(arraySpec.inputType) ? 1.0f : float(0.9 / double(arraySpec.max.toFloat()))); in iterate() 2076 … !inputTypeIsFloatType(arraySpec.inputType) ? 1.0f : float(1.0 / double(arraySpec.max.toFloat()))); in iterate() 2078 … !inputTypeIsFloatType(arraySpec.inputType) ? 1.0f : float(1.0 / double(arraySpec.max.toFloat()))); in iterate()
|
D | glsVertexArrayTests.hpp | 397 float toFloat (void) const;
|
D | glsDrawTest.cpp | 512 float toFloat (void) const; 547 float GLValue::toFloat (void) const in toFloat() function in deqp::gls::__anonde041cf70111::GLValue 3796 const float max = GLValue::getMaxValue(attribSpec.inputType).toFloat(); in getCoordScale() 3836 const float max = GLValue::getMaxValue(attribSpec.inputType).toFloat(); in getColorScale()
|