Home
last modified time | relevance | path

Searched refs:dot (Results 1 – 25 of 108) sorted by relevance

12345

/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/
DPatternBouncerViewModel.kt122 val hitDot = dots.value.firstOrNull { dot -> dot.x == dotColumn && dot.y == dotRow } in <lambda>() method
127 var dot = previousDot in <lambda>() variable
128 while (dot != hitDot) { in <lambda>()
132 if (dot.isOnLineSegment(previousDot, hitDot)) { in <lambda>()
133 add(dot) in <lambda>()
135 dot = in <lambda>()
138 if (hitDot.x > dot.x) { in <lambda>()
139 dot.x + 1 in <lambda>()
140 } else if (hitDot.x < dot.x) dot.x - 1 else dot.x, in <lambda>()
142 if (hitDot.y > dot.y) { in <lambda>()
[all …]
/frameworks/base/graphics/java/android/graphics/
DMatrix44.java212 private static float dot(Matrix44 a, Matrix44 b, int row, int col) { in dot() method in Matrix44
220 private static float dot(float r0, float r1, float r2, float r3, in dot() method in Matrix44
267 float val00 = dot(this, b, 0, 0); in concat()
268 float val01 = dot(this, b, 0, 1); in concat()
269 float val02 = dot(this, b, 0, 2); in concat()
270 float val03 = dot(this, b, 0, 3); in concat()
271 float val10 = dot(this, b, 1, 0); in concat()
272 float val11 = dot(this, b, 1, 1); in concat()
273 float val12 = dot(this, b, 1, 2); in concat()
274 float val13 = dot(this, b, 1, 3); in concat()
[all …]
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DPatternBouncer.kt120 dots.associateWith { dot -> with(density) { (80 + (20 * dot.y)).dp.toPx() } } in <lambda>() method
148 dotScalingAnimatables.entries.forEach { (dot, animatable) -> in <lambda>() method
149 val isSelected = dot == currentDot in <lambda>()
176 selectedDots.forEach { dot -> in <lambda>() method
177 lineFadeOutAnimatables[dot]?.let { line -> in <lambda>()
183 if (dot == currentDot) { in <lambda>()
310 selectedDots.forEachIndexed { index, dot -> in <lambda>() method
318 val to = pixelOffset(dot, spacing, horizontalOffset, verticalOffset) in <lambda>()
338 currentDot?.let { dot -> in <lambda>() method
339 val from = pixelOffset(dot, spacing, horizontalOffset, verticalOffset) in <lambda>()
[all …]
/frameworks/compile/mclinker/lib/Script/
DTernaryOp.cpp42 uint64_t dot = m_pOperand[0]->value(); in eval() local
47 alignAddress(dot, maxPageSize); in eval()
49 form1 = dot + (dot & (maxPageSize - 1)); in eval()
50 form2 = dot + (dot & (maxPageSize - commonPageSize)); in eval()
/frameworks/compile/slang/
Dslang_rs_reflect_utils.cpp36 const char *dot = fileName + strlen(fileName); in GetFileNameStem() local
37 const char *slash = dot - 1; in GetFileNameStem()
42 if ((*slash == '.') && (*dot == 0)) { in GetFileNameStem()
43 dot = slash; in GetFileNameStem()
48 return string(slash, dot - slash); in GetFileNameStem()
70 const char *dot = rsFileName + strlen(rsFileName); in InternalFileNameConvert() local
71 const char *slash = dot - 1; in InternalFileNameConvert()
76 if ((*slash == '.') && (*dot == 0)) { in InternalFileNameConvert()
77 dot = slash; in InternalFileNameConvert()
84 for (; (i < 255) && (slash < dot); ++slash) { in InternalFileNameConvert()
/frameworks/libs/systemui/weathereffects/graphics/assets/shaders/
Dsimplex2d.agsl21 p = vec2(dot(p,vec2(157.1, 235.7)), dot(p,vec2(573.5, 13.3)));
26 return fract(sin(dot(p, vec2(343.0, 49.0)))) * 2. -1.; // [-1, 1]
53 vec3 w = max(0.5 - vec3(dot(v0, v0), dot(v1, v1), dot(v2, v2)), 0.0);
56 vec3 n = w * vec3(dot(v0, g0), dot(v1, g1), dot(v2, g2));
58 return dot(n, vec3(32.0));
Dsimplex3d.agsl105 // Kernel summation: dot(max(0, r^2-d^2))^4, noise contribution)
109 w.x = dot(c0, c0);
110 w.y = dot(c1, c1);
111 w.z = dot(c2, c2);
112 w.w = dot(c3, c3);
122 nc.x = dot(hash(s), c0);
123 nc.y = dot(hash(s + offset1), c1);
124 nc.z = dot(hash(s + offset2), c2);
125 nc.w = dot(hash(s + offset3), c3);
131 return dot(vec4(32.), nc);
/frameworks/av/media/libmedia/docs/
DMakefile1 paused.png : paused.dot
2 dot -Tpng < $< > $@
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DPrivacyDotViewController.kt191 fun hideDotView(dot: View, animate: Boolean) { in <lambda>()
192 dot.clearAnimation() in <lambda>()
194 dot.animate() in <lambda>()
199 dot.visibility = View.INVISIBLE in <lambda>()
200 showingListener?.onPrivacyDotHidden(dot) in <lambda>()
204 dot.visibility = View.INVISIBLE in <lambda>()
205 showingListener?.onPrivacyDotHidden(dot) in <lambda>()
210 fun showDotView(dot: View, animate: Boolean) { in <lambda>()
211 dot.clearAnimation() in <lambda>()
213 dot.visibility = View.VISIBLE in <lambda>()
[all …]
/frameworks/compile/mclinker/lib/Object/
DSectionMap.cpp338 Output::dot_iterator dot = (*it)->find_first_explicit_dot(); in fixupDotSymbols() local
339 if (dot != (*it)->dot_end() && (*dot).symbol().isDot() && in fixupDotSymbols()
340 (*dot).getRpnExpr().hasDot()) { in fixupDotSymbols()
345 Output::dot_iterator ref = (*it)->dotAssignments().insert(dot, assign); in fixupDotSymbols()
346 for (RpnExpr::iterator tok = (*dot).getRpnExpr().begin(), in fixupDotSymbols()
347 tokEnd = (*dot).getRpnExpr().end(); in fixupDotSymbols()
359 Output::dot_iterator dot = (*it)->find_last_explicit_dot(); in fixupDotSymbols() local
360 if (dot == (*it)->dot_end()) { in fixupDotSymbols()
365 dot = (*it)->dotAssignments().insert(dot, assign); in fixupDotSymbols()
373 *tok = &((*dot).symbol()); in fixupDotSymbols()
/frameworks/base/tools/aapt2/
DResource.cpp142 auto dot = std::find(s.begin(), s.end(), '.'); in ParseResourceNamedType() local
144 if (dot != s.end() && dot != std::prev(s.end())) { in ParseResourceNamedType()
145 parsedType = ParseResourceType(android::StringPiece(s.begin(), dot - s.begin())); in ParseResourceNamedType()
/frameworks/native/libs/math/include/math/
DTQuatHelpers.h167 constexpr T PURE dot(const QUATERNION<T>& p, const QUATERNION<RT>& q) { in dot() function
176 return std::sqrt( dot(q, q) ); in norm()
186 return dot(q, q); in length2()
201 return conj(q) * (1 / dot(q, q)); in inverse()
247 const T d = dot(p, q); in slerp()
248 const T npq = sqrt(dot(p, p) * dot(q, q)); // ||p|| * ||q|| in slerp()
/frameworks/libs/systemui/toruslib/torus-math/src/main/java/com/google/android/torus/math/
DVector3.kt121 fun dot(vector: Vector3): Float { in dot() method in com.google.android.torus.math.Vector3
122 return dot(vector.x, vector.y, vector.z) in dot()
134 fun dot(x: Float, y: Float, z: Float): Float { in dot() method
173 return sqrt(dot(x, y, z)) in length()
DVector2.kt99 fun dot(vector: Vector2): Float { in dot() method
100 return dot(vector.x, vector.y) in dot()
111 fun dot(x: Float, y: Float): Float { in dot() method in com.google.android.torus.math.Vector2
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DQuaternion.java44 private static double dot(double[] a, double[] b) { in dot() method in Quaternion
49 double norm = Math.sqrt(dot(a, a)); in normal()
57 double angle = Math.acos(dot(vec1, vec2)); in set()
64 return Math.acos(Math.min(dot(vec1, vec2), 1)); in calcAngle()
Dbugdroid.rscript31 if (dot(p2 - p1, img - p1) > 0 && dot(p1 - p2, img - p2) > 0) {
49 float dot1 = dot(p2 - p1, img - p1);
50 float dot2 = dot(p1 - p2, img - p2);
71 float tmp1 = dot(normal, pc);
86 float tmp1 = dot(normal, pc);
89 if (length(pc - dot(normal, pc) * normal) > radius) {
/frameworks/rs/script_api/include/
Drs_vector_math.rsh102 * dot: Dot product of two vectors
104 * Computes the dot product of two vectors.
107 dot(float left_vector, float right_vector);
110 dot(float2 left_vector, float2 right_vector);
113 dot(float3 left_vector, float3 right_vector);
116 dot(float4 left_vector, float4 right_vector);
120 dot(half left_vector, half right_vector);
125 dot(half2 left_vector, half2 right_vector);
130 dot(half3 left_vector, half3 right_vector);
135 dot(half4 left_vector, half4 right_vector);
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dgreyscale.rscript25 float3 mono = dot(f4.rgb, gMonoMult);
31 return (uchar)dot(f4.rgb, gMonoMult);
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dgreyscale.rscript25 float3 mono = dot(f4.rgb, gMonoMult);
31 return (uchar)dot(f4.rgb, gMonoMult);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dgreyscale.rscript25 float3 mono = dot(f4.rgb, gMonoMult);
31 return (uchar)dot(f4.rgb, gMonoMult);
/frameworks/rs/driver/runtime/
Drs_matrix.c371 float distToCenter = dot(left->xyz, sphere->xyz) + left->w; in rsIsSphereInFrustum()
375 distToCenter = dot(right->xyz, sphere->xyz) + right->w; in rsIsSphereInFrustum()
379 distToCenter = dot(top->xyz, sphere->xyz) + top->w; in rsIsSphereInFrustum()
383 distToCenter = dot(bottom->xyz, sphere->xyz) + bottom->w; in rsIsSphereInFrustum()
387 distToCenter = dot(near->xyz, sphere->xyz) + near->w; in rsIsSphereInFrustum()
391 distToCenter = dot(far->xyz, sphere->xyz) + far->w; in rsIsSphereInFrustum()
/frameworks/compile/mclinker/include/mcld/ADT/
DStringHash.h259 unsigned int dot = 0;
265 ++dot;
289 result |= (dot << 28);
/frameworks/rs/toolkit/
DColorMatrix.cpp108 uint32_t dot :1; // [12] member
294 if (!key.u.addMask) key.u.dot = 1;
396 DEF_SYM(dot)
509 if (key.u.dot)
544 if (!key.u.dot) {
721 if (key.u.dot) {
723 ADD_CHUNK(dot);
762 key.u.dot = 0;
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicColorMatrix.cpp114 uint32_t dot :1; // [12] member
255 if (!key.u.addMask) key.u.dot = 1; in computeKey()
360 DEF_SYM(dot) in DEF_SYM()
468 if (key.u.dot) in selectKernel()
506 if (!key.u.dot) { in build()
683 if (key.u.dot) { in build()
685 ADD_CHUNK(dot); in build()
724 key.u.dot = 0; in build()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipPinchResizingAlgorithm.java71 dot(mTmpDownVector, mTmpLastVector)); in calculateBoundsAndAngle()
117 private float dot(PointF p1, PointF p2) { in dot() method in PipPinchResizingAlgorithm

12345