Home
last modified time | relevance | path

Searched refs:normal (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/types/
DTonalTest.java45 GradientColors normal = new GradientColors(); in extractInto_usesFallback() local
47 tonal.extractInto(null, normal, new GradientColors(), in extractInto_usesFallback()
50 normal.getMainColor() == Tonal.MAIN_COLOR_LIGHT); in extractInto_usesFallback()
55 GradientColors normal = new GradientColors(); in extractInto_usesFallbackWhenTooLightOrDark() local
58 normal, new GradientColors(), new GradientColors()); in extractInto_usesFallbackWhenTooLightOrDark()
60 normal.getMainColor() == Tonal.MAIN_COLOR_DARK); in extractInto_usesFallbackWhenTooLightOrDark()
64 normal, new GradientColors(), new GradientColors()); in extractInto_usesFallbackWhenTooLightOrDark()
66 normal.getMainColor() == Tonal.MAIN_COLOR_LIGHT); in extractInto_usesFallbackWhenTooLightOrDark()
113 final GradientColors normal = new GradientColors(); in tonal_blacklistTest() local
114 tonal.extractInto(colorsFromBitmap, normal, new GradientColors(), in tonal_blacklistTest()
[all …]
/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp96 std::unique_ptr<Typeface> normal(Typeface::createRelative(nullptr, SkTypeface::kNormal)); in TEST() local
97 EXPECT_EQ(4, normal->fStyle.getWeight()); in TEST()
98 EXPECT_FALSE(normal->fStyle.getItalic()); in TEST()
99 EXPECT_EQ(SkTypeface::kNormal, normal->fSkiaStyle); in TEST()
125 std::unique_ptr<Typeface> normal(Typeface::createRelative(base.get(), SkTypeface::kNormal)); in TEST() local
126 EXPECT_EQ(7, normal->fStyle.getWeight()); in TEST()
127 EXPECT_FALSE(normal->fStyle.getItalic()); in TEST()
128 EXPECT_EQ(SkTypeface::kNormal, normal->fSkiaStyle); in TEST()
154 std::unique_ptr<Typeface> normal(Typeface::createRelative(base.get(), SkTypeface::kNormal)); in TEST() local
155 EXPECT_EQ(3, normal->fStyle.getWeight()); in TEST()
[all …]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Dbugdroid.rs68 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) {
103 static short cogDisk(float3 center, float circleRadius, float3 normal,
110 normal, img) - rad));
122 float3 normal = { 0.0f, 0.0f, 1.0f };
[all …]
DQuaternion.java48 private static double[] normal(double[] a) { in normal() method in Quaternion
54 double[] vec1 = normal(v1); in set()
55 double[] vec2 = normal(v2); in set()
56 double[] axis = normal(cross(vec1, vec2)); in set()
62 double[] vec1 = normal(v1); in calcAngle()
63 double[] vec2 = normal(v2); in calcAngle()
68 double[] vec1 = normal(v1); in calcAxis()
69 double[] vec2 = normal(v2); in calcAxis()
70 return normal(cross(vec1, vec2)); in calcAxis()
Dvr.rs264 float3 normal = dv;
265 float3 r = 2 * normal * dot(mLight, normal) - mLight;
/frameworks/base/docs/html/sdk/support_api_diff/25.0.0/
Dstylesheet-jdiff.css8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
9 td.diffvalueold {color:orange;background-color:white;border:0px;font-size:80%;font-style:normal;tex…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
/frameworks/base/docs/html/sdk/support_api_diff/25.1.0/
Dstylesheet-jdiff.css8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
9 td.diffvalueold {color:orange;background-color:white;border:0px;font-size:80%;font-style:normal;tex…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
/frameworks/support/design/tests/src/android/support/design/widget/
DFloatingActionButtonTest.java110 final int normal = ContextCompat.getColor(activity, R.color.sand_default); in testSetStatefulTintAcrossStateChanges() local
120 .check(matches(withFabBackgroundFill(normal))) in testSetStatefulTintAcrossStateChanges()
124 .check(matches(withFabBackgroundFill(normal))); in testSetStatefulTintAcrossStateChanges()
131 final int normal = ContextCompat.getColor(activity, R.color.sand_default); in testDeclaredStatefulTintAcrossStateChanges() local
137 .check(matches(withFabBackgroundFill(normal))) in testDeclaredStatefulTintAcrossStateChanges()
/frameworks/native/opengl/libagl/
Darray.cpp111 c->arrays.normal.size = 4; in ogles_init_array()
112 c->arrays.normal.type = GL_FLOAT; in ogles_init_array()
440 case GL_NORMAL_ARRAY: a = &c->arrays.normal; break; in enableDisableClientState()
1155 am.normal.fetch = currentNormal; in validate_arrays()
1165 if (am.normal.enable) { in validate_arrays()
1166 am.normal.resolve(); in validate_arrays()
1167 if (am.normal.bo || am.normal.pointer) { in validate_arrays()
1168 am.normal.fetch = normal_fct[am.normal.size-3][am.normal.type & 0xF]; in validate_arrays()
1298 c->arrays.normal.init(3, type, stride, pointer, c->arrays.array_buffer, 0); in glNormalPointer()
1561 if (c->arrays.normal.bo) { in glDeleteBuffers()
[all …]
Dcontext.h203 array_t normal; member
Dlight.cpp356 c->arrays.normal.fetch(c, n.v, in lightVertex()
357 c->arrays.normal.element(v->index & vertex_cache_t::INDEX_MASK)); in lightVertex()
/frameworks/base/libs/hwui/
DPathTessellator.cpp245 const Vector2& normal, Vertex* buffer, int& currentIndex, bool begin) { in storeBeginEnd() argument
246 Vector2 strokeOffset = normal; in storeBeginEnd()
407 AlphaVertex* buffer, bool isFirst, Vector2 normal, int offset) { in storeCapAA() argument
413 if (isFirst) normal *= -1; in storeCapAA()
416 Vector2 AAOffset = paintInfo.deriveAAOffset(normal); in storeCapAA()
418 Vector2 strokeOffset = normal; in storeCapAA()
464 float theta = atan2(normal.y, normal.x); in storeCapAA()
DSpotShadow.cpp76 Vector2 normal; member
418 outlineData[currentNormalIndex].normal = ShadowTessellator::calculateNormal( in createSpotShadow()
468 const Vector2& previousNormal = outlineData[preNormalIndex].normal; in createSpotShadow()
469 const Vector2& currentNormal = outlineData[i].normal; in createSpotShadow()
/frameworks/base/services/core/java/com/android/server/fingerprint/
DFingerprintService.java1363 final PerformanceStats normal = mPerformanceMap.get(userId); in dumpProto() local
1364 if (normal != null) { in dumpProto()
1366 proto.write(FingerprintActionStatsProto.ACCEPT, normal.accept); in dumpProto()
1367 proto.write(FingerprintActionStatsProto.REJECT, normal.reject); in dumpProto()
1368 proto.write(FingerprintActionStatsProto.ACQUIRE, normal.acquire); in dumpProto()
1369 proto.write(FingerprintActionStatsProto.LOCKOUT, normal.lockout); in dumpProto()
1370 proto.write(FingerprintActionStatsProto.LOCKOUT_PERMANENT, normal.lockout); in dumpProto()
/frameworks/base/core/proto/android/service/
Dfingerprint.proto37 FingerprintActionStatsProto normal = 3; field
/frameworks/native/opengl/specs/
DEGL_ANDROID_recordable.txt124 config to render normal window contents would result in an RGB -> YUV color
132 this config for normal window rendering would not have any added cost.
/frameworks/opt/setupwizard/tools/gradle/
Ddist-unit-tests.gradle5 * - If a non-dist build is run with test, it will run the normal unit tests, failing the build if
/frameworks/base/core/java/android/text/format/
DTimeFormatter.java446 private static String getFormat(int modifier, String normal, String underscore, String dash, in getFormat() argument
456 return normal; in getFormat()
/frameworks/base/core/tests/coretests/
DREADME29 Next, install the resulting APK and run tests as you would normal JUnit tests:
/frameworks/native/vulkan/doc/implementors_guide/
Dimplementors_guide.adoc40 In the normal state the loader will only search in the application's normal library search path (as…
/frameworks/compile/mclinker/unittests/
Dtest3.txt135 sed -e '/^all\.normal: /s/\all-texinfo //' \
/frameworks/native/cmds/surfacereplayer/replayer/
DREADME.md69 - c - continues normal replaying
/frameworks/wilhelm/doc/
DDoxyfile237 # Doxygen will parse them like normal C++ but will assume all classes use public
929 # normal table of contents (NO) in the .chm file.
/frameworks/av/media/libaaudio/
DDoxyfile.orig311 # will parse them like normal C++ but will assume all classes use public instead
950 # - Run doxygen as normal
1233 # YES) or a normal table of contents ( NO) in the .chm file.
DDoxyfile311 # will parse them like normal C++ but will assume all classes use public instead
959 # - Run doxygen as normal
1242 # YES) or a normal table of contents ( NO) in the .chm file.

12