Home
last modified time | relevance | path

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

123

/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/types/
DTonalTest.java47 GradientColors normal = new GradientColors(); in extractInto_usesFallback() local
49 tonal.extractInto(null, normal, new GradientColors(), in extractInto_usesFallback()
52 normal.getMainColor() == Tonal.MAIN_COLOR_LIGHT); in extractInto_usesFallback()
57 GradientColors normal = new GradientColors(); in extractInto_usesFallbackWhenTooLightOrDark() local
60 normal, new GradientColors(), new GradientColors()); in extractInto_usesFallbackWhenTooLightOrDark()
62 normal.getMainColor() == Tonal.MAIN_COLOR_DARK); in extractInto_usesFallbackWhenTooLightOrDark()
66 normal, new GradientColors(), new GradientColors()); in extractInto_usesFallbackWhenTooLightOrDark()
68 normal.getMainColor() == Tonal.MAIN_COLOR_LIGHT); in extractInto_usesFallbackWhenTooLightOrDark()
74 GradientColors normal = new GradientColors(); in extractInto_fromBitmap() local
81 tonal.extractInto(wallColors, normal, dark, extraDark); in extractInto_fromBitmap()
[all …]
/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp98 std::unique_ptr<Typeface> normal(Typeface::createRelative(nullptr, Typeface::kNormal)); in TEST() local
99 EXPECT_EQ(400, normal->fStyle.weight()); in TEST()
100 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, normal->fStyle.slant()); in TEST()
101 EXPECT_EQ(Typeface::kNormal, normal->fAPIStyle); in TEST()
127 std::unique_ptr<Typeface> normal(Typeface::createRelative(base.get(), Typeface::kNormal)); in TEST() local
128 EXPECT_EQ(700, normal->fStyle.weight()); in TEST()
129 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, normal->fStyle.slant()); in TEST()
130 EXPECT_EQ(Typeface::kNormal, normal->fAPIStyle); in TEST()
160 std::unique_ptr<Typeface> normal(Typeface::createRelative(base.get(), Typeface::kNormal)); in TEST() local
161 EXPECT_EQ(300, normal->fStyle.weight()); 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/packages/SystemUI/src/com/android/systemui/assist/ui/
DCornerPathRenderer.java82 PointF normal = normalAt(input, i); in shiftBy() local
84 new PointF(point.x + (normal.x * delta), point.y + (normal.y * delta)); in shiftBy()
137 float normal = 1 / magnitude; in normalize() local
138 return new PointF((point.x * normal), (point.y * normal)); in normalize()
/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/opt/gamesdk/third_party/cube/app/src/main/cpp/
Dcube.frag35 vec3 normal = normalize(cross(dX,dY));
36 float light = max(0.0, dot(lightDir, normal));
/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()
438 case GL_NORMAL_ARRAY: a = &c->arrays.normal; break; in enableDisableClientState()
1153 am.normal.fetch = currentNormal; in validate_arrays()
1163 if (am.normal.enable) { in validate_arrays()
1164 am.normal.resolve(); in validate_arrays()
1165 if (am.normal.bo || am.normal.pointer) { in validate_arrays()
1166 am.normal.fetch = normal_fct[am.normal.size-3][am.normal.type & 0xF]; in validate_arrays()
1296 c->arrays.normal.init(3, type, stride, pointer, c->arrays.array_buffer, 0); in glNormalPointer()
1559 if (c->arrays.normal.bo) { in glDeleteBuffers()
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/fingerprint/
DFingerprintService.java1054 final PerformanceStats normal = mPerformanceMap.get(userId); in dumpProto() local
1055 if (normal != null) { in dumpProto()
1057 proto.write(PerformanceStatsProto.ACCEPT, normal.accept); in dumpProto()
1058 proto.write(PerformanceStatsProto.REJECT, normal.reject); in dumpProto()
1059 proto.write(PerformanceStatsProto.ACQUIRE, normal.acquire); in dumpProto()
1060 proto.write(PerformanceStatsProto.LOCKOUT, normal.lockout); in dumpProto()
1061 proto.write(PerformanceStatsProto.PERMANENT_LOCKOUT, normal.permanentLockout); in dumpProto()
/frameworks/base/services/core/java/com/android/server/biometrics/face/
DFaceService.java1161 final PerformanceStats normal = mPerformanceMap.get(userId); in dumpProto() local
1162 if (normal != null) { in dumpProto()
1164 proto.write(FaceActionStatsProto.ACCEPT, normal.accept); in dumpProto()
1165 proto.write(FaceActionStatsProto.REJECT, normal.reject); in dumpProto()
1166 proto.write(FaceActionStatsProto.ACQUIRE, normal.acquire); in dumpProto()
1167 proto.write(FaceActionStatsProto.LOCKOUT, normal.lockout); in dumpProto()
1168 proto.write(FaceActionStatsProto.LOCKOUT_PERMANENT, normal.lockout); in dumpProto()
/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/base/core/proto/android/server/
Dface.proto42 optional FaceActionStatsProto normal = 3; field
Dfingerprint.proto42 optional PerformanceStatsProto normal = 3; field
/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/proto/android/service/
Dprocstats_enum.proto31 MEMORY_STATE_NORMAL = 1; // normal.
/frameworks/base/core/tests/coretests/
DREADME29 Next, install the resulting APK and run tests as you would normal JUnit tests:
/frameworks/base/core/java/android/provider/
DFontsContract.java670 final FontStyle normal = new FontStyle(FontStyle.FONT_WEIGHT_NORMAL, in buildTypeface() local
673 int bestScore = normal.getMatchScore(bestFont.getStyle()); in buildTypeface()
676 final int score = normal.getMatchScore(candidate.getStyle()); in buildTypeface()
/frameworks/base/packages/SystemUI/docs/
Dphysics-animation-testing.md7 …imation to finish before we can assert anything about its end state. For normal animations, we can…
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/DevTools/
Dfull_mac_build.sh26 Issue a clean before the normal build.
/frameworks/base/graphics/java/android/graphics/
DTypeface.java274 final FontStyle normal = new FontStyle(FontStyle.FONT_WEIGHT_NORMAL, in createFromResources() local
277 int bestScore = normal.getMatchScore(bestFont.getStyle()); in createFromResources()
280 final int score = normal.getMatchScore(candidate.getStyle()); in createFromResources()
/frameworks/av/drm/libmediadrm/protos/
Dmetrics.proto54 // distributed (or approximately normal) value.
/frameworks/base/tools/aapt2/
DConfiguration.proto155 // Whether the device screen is classified as small, normal, large, xlarge.
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java407 public final MaxJobCounts normal; field in JobSchedulerService.MaxJobCountsPerMemoryTrimLevel
413 MaxJobCounts normal, in MaxJobCountsPerMemoryTrimLevel() argument
416 this.normal = normal; in MaxJobCountsPerMemoryTrimLevel()
424 normal.dumpProto(proto, MaxJobCountsPerMemoryTrimLevelProto.NORMAL); in dumpProto()
665 MAX_JOB_COUNTS_SCREEN_ON.normal.parse(mParser); in updateConstantsLocked()
670 MAX_JOB_COUNTS_SCREEN_OFF.normal.parse(mParser); in updateConstantsLocked()
713 MAX_JOB_COUNTS_SCREEN_ON.normal.dump(pw, ""); in dump()
718 MAX_JOB_COUNTS_SCREEN_OFF.normal.dump(pw, ""); in dump()

123