Home
last modified time | relevance | path

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

12345

/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
Dnbody.rscript38 point = normalize(point);
43 v = normalize(v);
49 v = INITAL_VEL * v * rsqrt(r); // - normalize(out);
78 normv.xyz = normalize(v.xyz) * TSIZE * 2.f;
80 right = normalize(cross(normv, up));
81 up = normalize(cross(normv, right));
/frameworks/base/services/incremental/test/
Dpath_test.cpp26 EXPECT_STREQ("", normalize("").c_str()); in TEST()
28 normalize("/data/app/com.snapchat.android-evzhnJDgPOq8VcxwEkSY5g==/base.apk") in TEST()
30 EXPECT_STREQ("/a/b", normalize("/a/c/../b").c_str()); in TEST()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/util/
DParameterTest.kt80 assertThat(emptyArguments.normalize()).isNull() in normalizeTest()
88 val emptyParam = navArguments.normalize() in normalizeTest()
94 val setPartialParam = navArguments.normalize( in normalizeTest()
105 val setAllParam = navArguments.normalize( in normalizeTest()
/frameworks/base/core/tests/coretests/src/android/text/format/
DTimeTest.java43 t.normalize(false /* use isDst */); in testNormalize0()
197 local.normalize(false /* use isDst */); in testNormalize1()
199 local.normalize(true /* ignore isDst */); in testNormalize1()
214 local.normalize(false /* use isDst */); in testNormalize1()
237 local.normalize(false /* use isDst */); in testNormalize1()
240 local.normalize(false /* use isDst */); in testNormalize1()
258 local.normalize(false /* use isDst */); in testNormalize1()
547 long millis = time.normalize(true); in disableTestGetJulianDay()
560 millis = time.normalize(true); in disableTestGetJulianDay()
588 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/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/debug/
DDebugFormat.kt24 import com.android.settingslib.spa.framework.util.normalize
43 val normArguments = parameter.normalize(arguments, eraseRuntimeValues = true) in SettingsPage()
/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/tools/hoststubgen/scripts/
Ddump-jar85 normalize() { function
153 if normalize "$class" | grep -q -- "$regex" ; then
/frameworks/base/core/java/android/gesture/
DInstance.java50 private void normalize() { in normalize() method in Instance
78 instance.normalize(); in createInstance()
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DTimeTest.java427 assertEquals(1146531723000L, t.normalize());
568 t.normalize();
577 assertEquals(1194159600000L, time.normalize());
583 assertEquals(1173600000000L, time.normalize());
613 assertEquals(1194159600000L, time.normalize());
620 assertEquals(1173600000000L, time.normalize());
719 int julianDay = Time.getJulianDay(time.normalize(), time.getGmtOffset());
725 int day = Time.getJulianDay(time.normalize(), time.getGmtOffset());
745 long millis = time.normalize();
/frameworks/base/libs/hwui/
DVector.h77 void normalize() { in normalize() function
85 v.normalize(); in copyNormalized()
/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/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()
302 boolean normalize); in setShaderAttributeVertexFrame() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DCornerPathRenderer.java120 return rotate90Ccw(normalize(new PointF(d1.x + d2.x, d1.y + d2.y))); in normalAt()
131 private PointF normalize(PointF point) { in normalize() method in CornerPathRenderer
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/
DUniqueId.kt28 val normArguments = parameter.normalize(arguments, eraseRuntimeValues = true) in genPageId()
/frameworks/compile/mclinker/include/mcld/
DLinker.h39 bool normalize(Module& pModule, IRBuilder& pBuilder);
/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/av/media/codec2/tests/vndk/
DC2BufferTest.cpp166 static_assert(C2Segment(123u, 456u).normalize() == C2Segment(123u, 456u), ""); in StaticSegmentTest()
167 static_assert(C2Segment(123u, ~123u).normalize() == C2Segment(123u, ~123u), ""); in StaticSegmentTest()
168 static_assert(C2Segment(123u, 1 + ~123u).normalize() == C2Segment(123u, 0u), ""); in StaticSegmentTest()
171 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(150u, ~150u)).normalize() == C2Segment(150… in StaticSegmentTest()
172 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(150u, 1 + ~150u)).normalize() != C2Segment… in StaticSegmentTest()
173 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(150u, 1 + ~150u)).normalize() == C2Segment… in StaticSegmentTest()
181 …(C2Segment(123u, 456u).intersect(C2Segment(150u, 1 + ~150u).saturate()).normalize() == C2Segment(1… in StaticSegmentTest()
182 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(0u, 100u).saturate()).normalize() == C2Seg… in StaticSegmentTest()
183 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(1000u, 100u).saturate()).normalize() != C2… in StaticSegmentTest()
184 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(1000u, 100u).saturate()).normalize() == C2… in StaticSegmentTest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/udfps/
DSinglePointerTouchProcessor.kt46 val touchData = List(event.pointerCount) { event.normalize(it, overlayParams) } in processTouch()
136 private fun MotionEvent.normalize( in normalize() method
/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.h264 bool normalize);
279 bool normalize);
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DVectorUtil.java52 public static void normalize(double[] a) { in normalize() method in VectorUtil
DMatrix.java36 VectorUtil.normalize(v); in makeRotation()
43 VectorUtil.normalize(v); in makeRotation()
50 VectorUtil.normalize(v); in makeRotation()

12345