Home
last modified time | relevance | path

Searched refs:Float4 (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/rs/java/android/renderscript/
DFloat4.java23 public class Float4 { class
29 public Float4() { in Float4() method in Float4
32 public Float4(Float4 data) { in Float4() method in Float4
39 public Float4(float x, float y, float z, float w) { in Float4() method in Float4
53 public static Float4 add(Float4 a, Float4 b) { in add()
54 Float4 res = new Float4(); in add()
68 public void add(Float4 value) { in add()
94 public static Float4 add(Float4 a, float b) { in add()
95 Float4 res = new Float4(); in add()
109 public void sub(Float4 value) { in sub()
[all …]
DScriptIntrinsicColorMatrix.java42 private final Float4 mAdd = new Float4();
115 public void setAdd(Float4 f) { in setAdd()
DFieldPacker.java277 public void addF32(Float4 v) { in addF32()
442 public Float4 subFloat4() { in subFloat4()
443 Float4 v = new Float4(); in subFloat4()
736 if (obj instanceof Float4) { in add()
737 addF32((Float4)obj); in add()
DProgramFragmentFixedFunction.java320 Float4 f4 = new Float4(1.f, 1.f, 1.f, 1.f); in create()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DFloat4.java27 public class Float4 { class
28 public Float4() { in Float4() method in Float4
31 public Float4(float initX, float initY, float initZ, float initW) { in Float4() method in Float4
DScriptIntrinsicColorMatrix.java32 private final Float4 mAdd = new Float4();
102 public void setAdd(Float4 f) {
DFieldPacker.java278 public void addF32(Float4 v) { in addF32()
443 public Float4 subFloat4() { in subFloat4()
444 Float4 v = new Float4(); in subFloat4()
737 if (obj instanceof Float4) { in addToPack()
738 fp.addF32((Float4)obj); in addToPack()
863 if (obj instanceof Float4) { in getPackedSize()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSceneGraphRS.java162 mGroup1.setTransform(0, new Float4(0.0f, 0.0f, -15.0f, 0.0f), TransformType.TRANSLATE); in initTransformHierarchy()
163 mGroup1.setTransform(1, new Float4(0.0f, 1.0f, 0.0f, 15.0f), TransformType.ROTATE); in initTransformHierarchy()
165 mRobot1.setTransform(0, new Float4(-3.0f, -0.5f, 0.0f, 0.0f), TransformType.TRANSLATE); in initTransformHierarchy()
166 mRobot1.setTransform(1, new Float4(0.0f, 1.0f, 0.0f, 20.0f), TransformType.ROTATE); in initTransformHierarchy()
167 mRobot1.setTransform(2, new Float4(0.2f, 0.2f, 0.2f, 0.0f), TransformType.SCALE); in initTransformHierarchy()
169 mRobot2.setTransform(0, new Float4(3.0f, 0.0f, 0.0f, 0.0f), TransformType.TRANSLATE); in initTransformHierarchy()
170 mRobot2.setTransform(1, new Float4(0.0f, 1.0f, 0.0f, -20.0f), TransformType.ROTATE); in initTransformHierarchy()
171 mRobot2.setTransform(2, new Float4(0.3f, 0.3f, 0.3f, 0.0f), TransformType.SCALE); in initTransformHierarchy()
DSgTransform.java65 public void setTransform(int index, Float4 value, TransformType type) { in setTransform()
74 mTransformData.transforms[i] = new Float4(0, 0, 0, 0); in initData()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DLightBase.java23 import android.renderscript.Float4;
38 Float4 mColor;
41 mColor = new Float4(0.0f, 0.0f, 0.0f, 0.0f); in LightBase()
DRenderPass.java33 Float4 mClearColor;
48 mClearColor = new Float4(0.0f, 0.0f, 0.0f, 0.0f); in RenderPass()
65 public void setClearColor(Float4 clearColor) { in setClearColor()
DFloat4Param.java26 import android.renderscript.Float4;
77 public void setValue(Float4 v) { in setValue()
81 public Float4 getValue() { in getValue()
DColladaParser.java61 String toString(Float4 v) { in toString()
254 Float4 value = getFloat4(field); in getNode()
323 Float4 value = getFloat4(typeElem); in extractParams()
330 f4p.setValue(new Float4(value, value, value, value)); in extractParams()
535 private Float4 parseFloat4(String valueString) { in parseFloat4()
541 return new Float4(x, y, z, w); in parseFloat4()
549 private Float4 getFloat4(Element elem, String name) { in getFloat4()
559 private Float4 getFloat4(Element elem) { in getFloat4()
DTextureParam.java24 import android.renderscript.Float4;
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DSimpleAppRS.java197 mainPass.setClearColor(new Float4(1.0f, 1.0f, 1.0f, 1.0f)); in setupRenderPass()
DFullscreenBlur.java112 blurSourcePass.setClearColor(new Float4(1.0f, 1.0f, 1.0f, 1.0f)); in addBlurPasses()
DTestAppRS.java194 mainPass.setClearColor(new Float4(1.0f, 1.0f, 1.0f, 1.0f)); in initRenderPasses()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_vector.java49 Float4 F4 = s.get_f4(); in initializeGlobals()
DUT_math_agree.java45 private Float4 pack_f4(float[] val) { in pack_f4()
47 return new Float4(val[0], val[1], val[2], val[3]); in pack_f4()
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_vector.java49 Float4 F4 = s.get_f4(); in initializeGlobals()
DUT_math_agree.java45 private Float4 pack_f4(float[] val) { in pack_f4()
47 return new Float4(val[0], val[1], val[2], val[3]); in pack_f4()
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
DUT_vector.java49 Float4 F4 = s.get_f4(); in initializeGlobals()
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
DUT_vector.java49 Float4 F4 = s.get_f4(); in initializeGlobals()
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_vector.java49 Float4 F4 = s.get_f4(); in initializeGlobals()
DUT_math_agree.java45 private Float4 pack_f4(float[] val) { in pack_f4()
47 return new Float4(val[0], val[1], val[2], val[3]); in pack_f4()

12