Home
last modified time | relevance | path

Searched refs:FloatArray (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/aosp_15_r20/external/google-cloud-java/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/
H A DFloatArray.java30 public final class FloatArray extends com.google.protobuf.GeneratedMessageV3 class
36 private FloatArray(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { in FloatArray() method in FloatArray
40 private FloatArray() { in FloatArray() method in FloatArray
47 return new FloatArray(); in newInstance()
66 com.google.cloud.contentwarehouse.v1.FloatArray.class, in internalGetFieldAccessorTable()
67 com.google.cloud.contentwarehouse.v1.FloatArray.Builder.class); in internalGetFieldAccessorTable()
172 if (!(obj instanceof com.google.cloud.contentwarehouse.v1.FloatArray)) { in equals()
175 com.google.cloud.contentwarehouse.v1.FloatArray other = in equals()
176 (com.google.cloud.contentwarehouse.v1.FloatArray) obj; in equals()
199 public static com.google.cloud.contentwarehouse.v1.FloatArray parseFrom(java.nio.ByteBuffer data) in parseFrom()
[all …]
H A DProperty.java267 public com.google.cloud.contentwarehouse.v1.FloatArray getFloatValues() { in getFloatValues()
269 return (com.google.cloud.contentwarehouse.v1.FloatArray) values_; in getFloatValues()
271 return com.google.cloud.contentwarehouse.v1.FloatArray.getDefaultInstance(); in getFloatValues()
285 return (com.google.cloud.contentwarehouse.v1.FloatArray) values_; in getFloatValuesOrBuilder()
287 return com.google.cloud.contentwarehouse.v1.FloatArray.getDefaultInstance(); in getFloatValuesOrBuilder()
624 output.writeMessage(3, (com.google.cloud.contentwarehouse.v1.FloatArray) values_); in writeTo()
664 3, (com.google.cloud.contentwarehouse.v1.FloatArray) values_); in getSerializedSize()
1558 com.google.cloud.contentwarehouse.v1.FloatArray,
1559 com.google.cloud.contentwarehouse.v1.FloatArray.Builder,
1589 public com.google.cloud.contentwarehouse.v1.FloatArray getFloatValues() { in getFloatValues()
[all …]
/aosp_15_r20/cts/tests/tests/text/src/android/text/cts/
H A DPaintRunFlagTest.kt98 val widthsStringNoFlag = FloatArray(end - start) in assertSame_getTextWidths_Result()
101 val widthsCharSequenceNoFlag = FloatArray(end - start) in assertSame_getTextWidths_Result()
104 val widthCharArrayNoFlag = FloatArray(end - start) in assertSame_getTextWidths_Result()
111 val widthsStringLeft = FloatArray(end - start) in assertSame_getTextWidths_Result()
114 val widthsCharSequenceLeft = FloatArray(end - start) in assertSame_getTextWidths_Result()
117 val widthCharArrayLeft = FloatArray(end - start) in assertSame_getTextWidths_Result()
124 val widthsStringRight = FloatArray(end - start) in assertSame_getTextWidths_Result()
127 val widthsCharSequenceRight = FloatArray(end - start) in assertSame_getTextWidths_Result()
130 val widthCharArrayRight = FloatArray(end - start) in assertSame_getTextWidths_Result()
137 val widthsStringWholeLine = FloatArray(end - start) in assertSame_getTextWidths_Result()
[all …]
/aosp_15_r20/external/renderscript-intrinsics-replacement-toolkit/test-app/src/main/java/com/google/android/renderscript_test/
H A DBufferUtils.kt195 val values: FloatArray,
207 operator fun get(x: Int, y: Int): FloatArray { in get()
217 return FloatArray(vectorSize) { values[start + it] } in get()
220 operator fun set(x: Int, y: Int, value: FloatArray) { in set()
230 fun createSameSized() = FloatVector2dArray(FloatArray(values.size), vectorSize, sizeX, sizeY) in indexOfVector()
314 ): FloatArray { in randomFloatArray()
316 return FloatArray(sizeX * sizeY * elementSize) { r.nextFloat() * factor } in randomFloatArray()
380 fun FloatArray.clampToUByte() = UByteArray(size) { this[it].clampToUByte() } in Float() method
406 fun UByteArray.toFloatArray() = FloatArray(size) { this[it].toFloat() } in clampToUByteRange()
424 operator fun FloatArray.times(other: FloatArray) = FloatArray(size) { this[it] * other[it] } in <lambda>()
[all …]
H A DReferenceColorMatrix.kt30 matrix: FloatArray, addVector: FloatArray, in <lambda>()
40 …val inFloatValue = FloatArray(4) { if (it >= inputVectorSize) 0f else byteToUnitFloat(inUByteValue… in <lambda>()
48 private fun multiplyAndAdd(matrix: FloatArray, inVector: FloatArray, addVector: FloatArray): FloatA… in multiplyAndAdd()
H A DReferenceResize.kt51 private fun cubicInterpolateF(p0: FloatArray, p1: FloatArray, p2: FloatArray, p3: FloatArray, in cubicInterpolateF()
52 x: Float): FloatArray { in cubicInterpolateF()
58 private fun bicubicU4(x: Int, y: Int, gIn: Vector2dArray, scaleX: Float, scaleY: Float): FloatArray in bicubicU4()
H A DReferenceBlur.kt41 val inputValues = FloatArray(inputArray.size) { byteToUnitFloat(inputArray[it].toUByte()) } in <lambda>()
56 gaussian: FloatArray, in horizontalBlur()
88 gaussian: FloatArray, in verticalBlur()
109 private fun buildGaussian(radius: Int): FloatArray { in buildGaussian()
117 val gaussian = FloatArray(radius * 2 + 1) in buildGaussian()
H A DIntrinsicColorMatrix.kt40 matrix: FloatArray, in intrinsicColorMatrix()
41 addVector: FloatArray, in intrinsicColorMatrix()
114 matrix: FloatArray, in intrinsicColorMatrix()
115 addVector: FloatArray, in intrinsicColorMatrix()
/aosp_15_r20/frameworks/rs/toolkit/test/
H A DBufferUtils.kt195 val values: FloatArray,
207 operator fun get(x: Int, y: Int): FloatArray { in get()
217 return FloatArray(vectorSize) { values[start + it] } in get()
220 operator fun set(x: Int, y: Int, value: FloatArray) { in set()
230 fun createSameSized() = FloatVector2dArray(FloatArray(values.size), vectorSize, sizeX, sizeY) in indexOfVector()
314 ): FloatArray { in randomFloatArray()
316 return FloatArray(sizeX * sizeY * elementSize) { r.nextFloat() * factor } in randomFloatArray()
380 fun FloatArray.clampToUByte() = UByteArray(size) { this[it].clampToUByte() } in Float() method
406 fun UByteArray.toFloatArray() = FloatArray(size) { this[it].toFloat() } in clampToUByteRange()
424 operator fun FloatArray.times(other: FloatArray) = FloatArray(size) { this[it] * other[it] } in <lambda>()
[all …]
H A DReferenceColorMatrix.kt30 matrix: FloatArray, addVector: FloatArray, in <lambda>()
40 …val inFloatValue = FloatArray(4) { if (it >= inputVectorSize) 0f else byteToUnitFloat(inUByteValue… in <lambda>()
48 private fun multiplyAndAdd(matrix: FloatArray, inVector: FloatArray, addVector: FloatArray): FloatA… in multiplyAndAdd()
H A DReferenceResize.kt51 private fun cubicInterpolateF(p0: FloatArray, p1: FloatArray, p2: FloatArray, p3: FloatArray, in cubicInterpolateF()
52 x: Float): FloatArray { in cubicInterpolateF()
58 private fun bicubicU4(x: Int, y: Int, gIn: Vector2dArray, scaleX: Float, scaleY: Float): FloatArray in bicubicU4()
H A DReferenceBlur.kt41 val inputValues = FloatArray(inputArray.size) { byteToUnitFloat(inputArray[it].toUByte()) } in <lambda>()
56 gaussian: FloatArray, in horizontalBlur()
88 gaussian: FloatArray, in verticalBlur()
109 private fun buildGaussian(radius: Int): FloatArray { in buildGaussian()
117 val gaussian = FloatArray(radius * 2 + 1) in buildGaussian()
H A DIntrinsicColorMatrix.kt40 matrix: FloatArray, in intrinsicColorMatrix()
41 addVector: FloatArray, in intrinsicColorMatrix()
114 matrix: FloatArray, in intrinsicColorMatrix()
115 addVector: FloatArray, in intrinsicColorMatrix()
H A DReferenceConvolve.kt30 coefficients: FloatArray, in <lambda>()
55 coefficients: FloatArray, in convolveOne()
58 var sum = FloatArray(paddedSize(inputAlloc.vectorSize)) in convolveOne()
/aosp_15_r20/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DFakeInvariantDeviceProfileTest.kt116 iconTextSize = FloatArray(4) { 14f } in newDP()
138 horizontalMargin = FloatArray(4) { 22f } in newDP()
150 allAppsIconTextSize = FloatArray(4) { 14f } in newDP()
159 hotseatBarBottomSpace = FloatArray(4) { 48f } in newDP()
160 hotseatQsbSpace = FloatArray(4) { 36f } in newDP()
166 transientTaskbarIconSize = FloatArray(4) { 44f } in newDP()
197 iconSize = FloatArray(4) { 60f } in initializeVarsForTablet()
198 iconTextSize = FloatArray(4) { 14f } in initializeVarsForTablet()
231 allAppsIconSize = FloatArray(4) { 60f } in initializeVarsForTablet()
232 allAppsIconTextSize = FloatArray(4) { 14f } in initializeVarsForTablet()
[all …]
/aosp_15_r20/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/utils/
DMatrixUtils.kt28 private val matrixValues = FloatArray(9)
47 fun invertAndTransposeMatrix(matrix: Matrix, outArray: FloatArray): FloatArray { in invertAndTransposeMatrix()
71 outArray: FloatArray, in calculateTransformDifference()
72 ): FloatArray { in calculateTransformDifference()
81 private fun transposeMatrixArray(inMatrixArray: FloatArray, outArray: FloatArray): FloatArray { in transposeMatrixArray()
/aosp_15_r20/frameworks/rs/toolkit/java/
H A DToolkit.kt248 val identityMatrix: FloatArray
262 val greyScaleColorMatrix: FloatArray
280 val rgbToYuvMatrix: FloatArray
298 val yuvToRgbMatrix: FloatArray
343 matrix: FloatArray, in colorMatrix()
344 addVector: FloatArray = floatArrayOf(0f, 0f, 0f, 0f), in colorMatrix()
401 matrix: FloatArray, in colorMatrix()
402 addVector: FloatArray = floatArrayOf(0f, 0f, 0f, 0f), in colorMatrix()
465 coefficients: FloatArray, in convolve()
522 coefficients: FloatArray, in convolve()
[all …]
/aosp_15_r20/external/renderscript-intrinsics-replacement-toolkit/renderscript-toolkit/src/main/java/com/google/android/renderscript/
H A DToolkit.kt248 val identityMatrix: FloatArray
262 val greyScaleColorMatrix: FloatArray
280 val rgbToYuvMatrix: FloatArray
298 val yuvToRgbMatrix: FloatArray
343 matrix: FloatArray, in colorMatrix()
344 addVector: FloatArray = floatArrayOf(0f, 0f, 0f, 0f), in colorMatrix()
401 matrix: FloatArray, in colorMatrix()
402 addVector: FloatArray = floatArrayOf(0f, 0f, 0f, 0f), in colorMatrix()
465 coefficients: FloatArray, in convolve()
522 coefficients: FloatArray, in convolve()
[all …]
/aosp_15_r20/external/dagger2/javatests/dagger/functional/kotlinsrc/basic/
H A DInjectedThing.kt66 floatArray: FloatArray,
74 floatArrayProvider: Provider<FloatArray>,
82 lazy: Lazy<FloatArray>,
125 @Inject internal lateinit var floatArray: FloatArray
133 @Inject internal lateinit var floatArrayProvider: Provider<FloatArray>
141 @Inject internal lateinit var lazy: Lazy<FloatArray>
179 @Inject internal fun floatArray(floatArray: FloatArray) {} in floatArray()
187 @Inject internal fun floatArrayProvider(floatArrayProvider: Provider<FloatArray>) {} in floatArrayProvider()
195 @Inject internal fun lazy(lazy: Lazy<FloatArray>) {} in lazy()
H A DBasicComponent.kt56 fun floatArrayFun(): FloatArray
65 fun floatArrayProviderFun(): Provider<FloatArray>
108 val floatArrayVal: FloatArray
117 val floatArrayProviderVal: Provider<FloatArray>
/aosp_15_r20/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
H A DTextInterpolator.kt74 val baseX: FloatArray, // same length as glyphIds in <lambda>()
75 val baseY: FloatArray, // same length as glyphIds in <lambda>()
76 val targetX: FloatArray, // same length as glyphIds in <lambda>()
77 val targetY: FloatArray, // same length as glyphIds in <lambda>()
92 private var tmpPositionArray = FloatArray(20) in <lambda>()
286 val baseX = FloatArray(glyphCount) { base.getGlyphX(it) } in <lambda>()
287 val baseY = FloatArray(glyphCount) { base.getGlyphY(it) } in <lambda>()
288 val targetX = FloatArray(glyphCount) { target.getGlyphX(it) } in <lambda>()
289 val targetY = FloatArray(glyphCount) { target.getGlyphY(it) } in <lambda>()
335 tmpPositionArray = FloatArray(maxRunLength * 2) in <lambda>()
/aosp_15_r20/external/kotlinx.serialization/core/commonMain/src/kotlinx/serialization/internal/
H A DPrimitiveArraysSerializers.kt221 internal object FloatArraySerializer : KSerializer<FloatArray>, in build()
222 PrimitiveArraySerializer<Float, FloatArray, FloatArrayBuilder>(Float.serializer()) { in build()
224 override fun FloatArray.collectionSize(): Int = size in build()
225 override fun FloatArray.toBuilder(): FloatArrayBuilder = FloatArrayBuilder(this) in build()
226 override fun empty(): FloatArray = FloatArray(0) in build()
232 override fun writeContent(encoder: CompositeEncoder, content: FloatArray, size: Int) { in build()
240 bufferWithData: FloatArray
241 ) : PrimitiveArrayBuilder<FloatArray>() {
243 private var buffer: FloatArray = bufferWithData
/aosp_15_r20/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/
DWeatherEffectBase.kt46 protected open val transformMatrixBitmap: FloatArray = FloatArray(9)
49 private val transformMatrixWeather: FloatArray = FloatArray(9)
/aosp_15_r20/external/jetpack-camera-app/core/camera/src/main/java/com/google/jetpackcamera/core/camera/effects/
H A DCopyingSurfaceProcessor.kt83 val textureTransform = FloatArray(16) in <lambda>()
192 val surfaceTransform = FloatArray(16) in <lambda>()
285 val drawFrame: (outputWidth: Int, outputHeight: Int, surfaceTransform: FloatArray) -> Unit
312 updateTransformMatrix: (updated: FloatArray, original: FloatArray) -> Unit in withSurfaceOutput()
/aosp_15_r20/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/view/
H A DKeyboardBacklightDialog.kt224 /* outerRadii= */ FloatArray(8) { rootProperties.cornerRadius }, in <lambda>()
314 private fun radiiForIndex(i: Int, last: Int): FloatArray { in <lambda>()
317 val radii = FloatArray(8) { smallRadius } in <lambda>()
328 private fun FloatArray.setLeftCorners(radius: Float) { in <lambda>() method
331 private fun FloatArray.setRightCorners(radius: Float) { in <lambda>() method

12345678910>>...12