Home
last modified time | relevance | path

Searched refs:normalize (Results 1 – 25 of 132) sorted by relevance

123456

/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
Dnbody.rs38 point = normalize(point);
43 v = normalize(v);
78 normv.xyz = normalize(v.xyz) * TSIZE * 2.f;
80 right = normalize(cross(normv, up));
81 up = normalize(cross(normv, right));
/frameworks/base/core/tests/coretests/src/android/text/format/
DTimeTest.java42 t.normalize(false /* use isDst */); in testNormalize0()
196 local.normalize(false /* use isDst */); in testNormalize1()
198 local.normalize(true /* ignore isDst */); in testNormalize1()
213 local.normalize(false /* use isDst */); in testNormalize1()
236 local.normalize(false /* use isDst */); in testNormalize1()
239 local.normalize(false /* use isDst */); in testNormalize1()
257 local.normalize(false /* use isDst */); in testNormalize1()
546 long millis = time.normalize(true); in disableTestGetJulianDay()
559 millis = time.normalize(true); in disableTestGetJulianDay()
587 long millis = time.normalize(true); in disableTestSetJulianDay()
/frameworks/rs/script_api/include/
Drs_vector_math.rsh209 * See also normalize(), native_normalize().
365 * native_normalize: Approximately normalize a vector
369 * See also normalize(), fast_normalize().
412 * normalize: Normalize a vector
422 normalize(float v);
425 normalize(float2 v);
428 normalize(float3 v);
431 normalize(float4 v);
435 normalize(half v);
440 normalize(half2 v);
[all …]
/frameworks/rs/script_api/
Drs_vector_math.spec168 See also @normalize(), @native_normalize().
256 summary: Approximately normalize a vector
260 See also @normalize(), @fast_normalize().
274 function: normalize
292 function: normalize
/frameworks/native/libs/math/include/math/
Dmat3.h257 ret[0] = normalize(m[0]); in orthogonalize()
258 ret[2] = normalize(cross(ret[0], m[1])); in orthogonalize()
259 ret[1] = normalize(cross(ret[2], ret[0])); in orthogonalize()
412 ret[0] = normalize(m[0]); in orthogonalize()
413 ret[2] = normalize(cross(ret[0], m[1])); in orthogonalize()
414 ret[1] = normalize(cross(ret[2], ret[0])); in orthogonalize()
DTQuatHelpers.h190 constexpr QUATERNION<T> PURE normalize(const QUATERNION<T>& q) { in normalize() function
241 return std::pow(nq, a) * QUATERNION<T>(normalize(q.xyz) * std::sin(theta), std::cos(theta)); in pow()
256 return normalize(s0 * p + ((d < 0) ? (-s1) : (s1)) * q); in slerp()
266 return normalize(lerp(p, q, t)); in nlerp()
/frameworks/base/core/java/android/gesture/
DInstance.java50 private void normalize() { in normalize() method in Instance
78 instance.normalize(); in createInstance()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
DPageRangeUtils.java84 ourRanges = normalize(ourRanges); in contains()
85 otherRanges = normalize(otherRanges); in contains()
117 public static PageRange[] normalize(PageRange[] pageRanges) { in normalize() method in PageRangeUtils
317 return PageRangeUtils.normalize(ranges.toArray(new PageRange[ranges.size()])); in parsePageRanges()
/frameworks/base/libs/hwui/
DVector.h77 void normalize() { in normalize() function
85 v.normalize(); in copyNormalized()
DAmbientShadow.cpp85 secondSpike.normalize(); in getEdgeExtraAndUpdateSpike()
177 currentSpike.normalize(); in createAmbientShadow()
227 averageNormal.normalize(); in createAmbientShadow()
DPathTessellator.cpp219 lastNormal.normalize(); in getStrokeVerticesFromPerimeter()
223 nextNormal.normalize(); in getStrokeVerticesFromPerimeter()
310 lastNormal.normalize(); in getStrokeVerticesFromUnclosedVertices()
317 nextNormal.normalize(); in getStrokeVerticesFromUnclosedVertices()
356 lastNormal.normalize(); in getFillVerticesFromPerimeterAA()
360 nextNormal.normalize(); in getFillVerticesFromPerimeterAA()
579 lastNormal.normalize(); in getStrokeVerticesFromUnclosedVerticesAA()
587 nextNormal.normalize(); in getStrokeVerticesFromUnclosedVerticesAA()
635 lastNormal.normalize(); in getStrokeVerticesFromPerimeterAA()
639 nextNormal.normalize(); in getStrokeVerticesFromPerimeterAA()
/frameworks/compile/mclinker/lib/Core/
DLinker.cpp67 if (!normalize(pModule, pBuilder)) in link()
77 bool Linker::normalize(Module& pModule, IRBuilder& pBuilder) { in normalize() function in mcld::Linker
104 m_pObjLinker->normalize(); in normalize()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DShaderProgram.java157 boolean normalize) { in setAttributeValues() argument
164 normalize)) { in setAttributeValues()
299 boolean normalize); in setShaderAttributeVertexFrame() argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DImageShader.java96 public void set(boolean normalize, int stride, int components, int type, float[] values) { in set() argument
98 mShouldNormalize = normalize; in set()
110 public void set(boolean normalize, int offset, int stride, int components, int type, in set() argument
113 mShouldNormalize = normalize; in set()
406 int stride, int offset, boolean normalize) { in setAttributeValues() argument
408 attr.set(normalize, offset, stride, components, type, vbo); in setAttributeValues()
/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.h264 bool normalize);
279 bool normalize);
/frameworks/compile/mclinker/include/mcld/
DLinker.h39 bool normalize(Module& pModule, IRBuilder& pBuilder);
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DMatrix.java36 VectorUtil.normalize(v); in makeRotation()
43 VectorUtil.normalize(v); in makeRotation()
50 VectorUtil.normalize(v); in makeRotation()
DVectorUtil.java52 public static void normalize(double[] a) { in normalize() method in VectorUtil
/frameworks/native/libs/math/tests/
Dquat_test.cpp229 quatd qn(normalize(q)); in TEST_F()
282 double3 axis_a = normalize(double3(rand_gen(), rand_gen(), rand_gen())); in TEST_F()
286 double3 axis_b = normalize(double3(rand_gen(), rand_gen(), rand_gen())); in TEST_F()
/frameworks/base/core/java/android/text/format/
DTime.java229 public long normalize(boolean ignoreDst) { in normalize() method in Time
665 normalize(false); in parse3339Internal()
909 temp.normalize(true /* ignore isDst */); in getWeekNumber()
1016 millis = normalize(true); in setJulianDay()
/frameworks/compile/mclinker/include/mcld/Object/
DObjectLinker.h50 void normalize();
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dlayer_info.rsh18 // A scale factor =1.0f/(1+dilation_radius), which is used to normalize a
Dlayer_info_fast.rsh18 // A scale factor =1.0f/(1+dilation_radius), which is used to normalize a
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
DPoint.java84 public Point normalize() { in normalize() method in Point
/frameworks/base/media/mca/filterfw/jni/
Djni_shader_program.cpp296 jboolean normalize) { in Java_android_filterfw_core_ShaderProgram_setShaderAttributeVertexFrame() argument
314 ToCppBool(normalize)); in Java_android_filterfw_core_ShaderProgram_setShaderAttributeVertexFrame()

123456