/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/types/ |
H A D | TonalTest.java | 45 GradientColors normal = new GradientColors(); 47 tonal.extractInto(null, normal, new GradientColors(), 50 normal.getMainColor() == Tonal.MAIN_COLOR_LIGHT); 55 GradientColors normal = new GradientColors(); 58 normal, new GradientColors(), new GradientColors()); 60 normal.getMainColor() == Tonal.MAIN_COLOR_DARK); 64 normal, new GradientColors(), new GradientColors()); 66 normal.getMainColor() == Tonal.MAIN_COLOR_LIGHT); 128 final GradientColors normal = new GradientColors(); 129 tonal.extractInto(colorsFromBitmap, normal, ne [all...] |
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | Quaternion.java | 48 private static double[] normal(double[] a) {
method in class:Quaternion 54 double[] vec1 = normal(v1);
55 double[] vec2 = normal(v2);
56 double[] axis = normal(cross(vec1, vec2));
62 double[] vec1 = normal(v1);
63 double[] vec2 = normal(v2);
68 double[] vec1 = normal(v1);
69 double[] vec2 = normal(v2);
70 return normal(cross(vec1, vec2));
|
H A D | bugdroid.rs | 68 static float distanceCircle(float3 center, float radius, float3 normal,
71 float tmp1 = dot(normal, pc);
77 static short circle(float3 center, float circleRadius, float3 normal, float rad,
80 * sigmoid(distanceCircle(center, circleRadius, normal, img) - rad));
83 static float distanceDisk(float3 center, float radius, float3 normal,
86 float tmp1 = dot(normal, pc);
89 if (length(pc - dot(normal, pc) * normal) > radius) {
96 static short disk(float3 center, float circleRadius, float3 normal, float rad,
99 * sigmoid(distanceDisk(center, circleRadius, normal, im [all...] |
H A D | vr.rs | 264 float3 normal = dv;
265 float3 r = 2 * normal * dot(mLight, normal) - mLight;
|
/frameworks/base/core/proto/android/server/ |
H A D | fingerprint.proto | 42 optional PerformanceStatsProto normal = 3;
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | TypefaceTests.cpp | 97 std::unique_ptr<Typeface> normal(Typeface::createRelative(nullptr, Typeface::kNormal)); 98 EXPECT_EQ(400, normal->fStyle.weight()); 99 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, normal->fStyle.slant()); 100 EXPECT_EQ(Typeface::kNormal, normal->fAPIStyle); 126 std::unique_ptr<Typeface> normal(Typeface::createRelative(base.get(), Typeface::kNormal)); 127 EXPECT_EQ(700, normal->fStyle.weight()); 128 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, normal->fStyle.slant()); 129 EXPECT_EQ(Typeface::kNormal, normal->fAPIStyle); 159 std::unique_ptr<Typeface> normal(Typeface::createRelative(base.get(), Typeface::kNormal)); 160 EXPECT_EQ(300, normal [all...] |
/frameworks/base/tools/aapt/ |
H A D | pseudolocalize.cpp | 235 * processed by ResTable::collectString in the normal way.
|
/frameworks/native/opengl/libagl/ |
H A D | array.cpp | 111 c->arrays.normal.size = 4; 112 c->arrays.normal.type = GL_FLOAT; 438 case GL_NORMAL_ARRAY: a = &c->arrays.normal; break; 1118 if (c->lighting.enable) { // needs normal transforms and eye coords 1153 am.normal.fetch = currentNormal; 1163 if (am.normal.enable) { 1164 am.normal.resolve(); 1165 if (am.normal.bo || am.normal.pointer) { 1166 am.normal [all...] |
H A D | context.h | 203 array_t normal; member in struct:android::gl::array_machine_t
|
H A D | light.cpp | 353 // transform each normal. However, we might still have to normalize 356 c->arrays.normal.fetch(c, n.v, 357 c->arrays.normal.element(v->index & vertex_cache_t::INDEX_MASK));
|
/frameworks/base/libs/hwui/ |
H A D | PathTessellator.cpp | 82 * Produces a pseudo-normal for a vertex, given the normals of the two incoming lines. If the offset 144 * NOTE: the input will not always be a normal, especially for sharp edges - it should be the 246 const Vector2& normal, Vertex* buffer, int& currentIndex, 248 Vector2 strokeOffset = normal; 351 // alpha 0 vertex, offset by a scaled normal. 362 // AA point offset from original point is that point's normal, such that each side is offset 403 AlphaVertex* buffer, bool isFirst, Vector2 normal, int offset) { 408 if (isFirst) normal *= -1; 410 // TODO: this normal should be scaled by radialScale if extra != 0, see totalOffsetFromNormals() 411 Vector2 AAOffset = paintInfo.deriveAAOffset(normal); 245 storeBeginEnd(const PaintInfo& paintInfo, const Vertex& center, const Vector2& normal, Vertex* buffer, int& currentIndex, bool begin) argument 402 storeCapAA(const PaintInfo& paintInfo, const std::vector<Vertex>& vertices, AlphaVertex* buffer, bool isFirst, Vector2 normal, int offset) argument [all...] |
H A D | SpotShadow.cpp | 71 * For each outline vertex, we need to store the position and normal. 76 Vector2 normal; member in struct:android::uirenderer::OutlineData 397 // Compute the last outline vertex to make sure we can get the normal and outline 401 // Take the outline's polygon, calculate the normal for each outline edge. 409 outlineData[currentNormalIndex].normal = ShadowTessellator::calculateNormal( 434 // Generate all the penumbra's vertices only using the (outline vertex + normal * radius) 458 const Vector2& previousNormal = outlineData[preNormalIndex].normal; 459 const Vector2& currentNormal = outlineData[i].normal;
|
/frameworks/base/core/java/android/text/format/ |
H A D | TimeFormatter.java | 446 private static String getFormat(int modifier, String normal, String underscore, String dash, argument 456 return normal;
|
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
H A D | FingerprintService.java | 1457 final PerformanceStats normal = mPerformanceMap.get(userId); 1458 if (normal != null) { 1460 proto.write(PerformanceStatsProto.ACCEPT, normal.accept); 1461 proto.write(PerformanceStatsProto.REJECT, normal.reject); 1462 proto.write(PerformanceStatsProto.ACQUIRE, normal.acquire); 1463 proto.write(PerformanceStatsProto.LOCKOUT, normal.lockout); 1464 proto.write(PerformanceStatsProto.PERMANENT_LOCKOUT, normal.permanentLockout);
|