/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/ |
D | nbody.rscript | 38 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/ |
D | path_test.cpp | 26 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/core/tests/coretests/src/android/text/format/ |
D | TimeTest.java | 43 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/ |
D | rs_vector_math.rsh | 209 * 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/ |
D | rs_vector_math.spec | 168 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/ |
D | mat3.h | 257 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()
|
D | TQuatHelpers.h | 190 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/ |
D | Instance.java | 50 private void normalize() { in normalize() method in Instance 78 instance.normalize(); in createInstance()
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
D | TimeTest.java | 426 assertEquals(1146531723000L, t.normalize()); 567 t.normalize(); 576 assertEquals(1194159600000L, time.normalize()); 582 assertEquals(1173600000000L, time.normalize()); 612 assertEquals(1194159600000L, time.normalize()); 619 assertEquals(1173600000000L, time.normalize()); 718 int julianDay = Time.getJulianDay(time.normalize(), time.getGmtOffset()); 724 int day = Time.getJulianDay(time.normalize(), time.getGmtOffset()); 744 long millis = time.normalize();
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
D | PageRangeUtils.java | 84 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/ |
D | Vector.h | 77 void normalize() { in normalize() function 85 v.normalize(); in copyNormalized()
|
/frameworks/compile/mclinker/lib/Core/ |
D | Linker.cpp | 67 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/ |
D | ShaderProgram.java | 157 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/ |
D | CornerPathRenderer.java | 120 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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | ImageShader.java | 96 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/ |
D | C2BufferTest.cpp | 166 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/compile/mclinker/include/mcld/ |
D | Linker.h | 39 bool normalize(Module& pModule, IRBuilder& pBuilder);
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | shader_program.h | 264 bool normalize); 279 bool normalize);
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | VectorUtil.java | 52 public static void normalize(double[] a) { in normalize() method in VectorUtil
|
D | Matrix.java | 36 VectorUtil.normalize(v); in makeRotation() 43 VectorUtil.normalize(v); in makeRotation() 50 VectorUtil.normalize(v); in makeRotation()
|
/frameworks/native/libs/math/tests/ |
D | quat_test.cpp | 229 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/packages/SettingsLib/src/com/android/settingslib/net/ |
D | DataUsageUtils.java | 71 return NetworkTemplate.normalize(mobileTemplate, mergedSubscriberIds); in getNormalizedMobileTemplate()
|
/frameworks/base/core/java/android/text/format/ |
D | Time.java | 229 public long normalize(boolean ignoreDst) { in normalize() method in Time 665 normalize(false); in parse3339Internal() 909 temp.normalize(true /* ignore isDst */); in getWeekNumber() 1027 millis = normalize(true); in setJulianDay()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | layer_info.rsh | 18 // A scale factor =1.0f/(1+dilation_radius), which is used to normalize a
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
D | Point.java | 88 public Point normalize() { in normalize() method in Point
|