Home
last modified time | relevance | path

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

12

/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.cpp100 std::unique_ptr<Typeface> normal(Typeface::createRelative(nullptr, Typeface::kNormal)); in TEST() local
101 EXPECT_EQ(400, normal->fStyle.weight()); in TEST()
102 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, normal->fStyle.slant()); in TEST()
103 EXPECT_EQ(Typeface::kNormal, normal->fAPIStyle); in TEST()
129 std::unique_ptr<Typeface> normal(Typeface::createRelative(base.get(), Typeface::kNormal)); in TEST() local
130 EXPECT_EQ(700, normal->fStyle.weight()); in TEST()
131 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, normal->fStyle.slant()); in TEST()
132 EXPECT_EQ(Typeface::kNormal, normal->fAPIStyle); in TEST()
162 std::unique_ptr<Typeface> normal(Typeface::createRelative(base.get(), Typeface::kNormal)); in TEST() local
163 EXPECT_EQ(300, normal->fStyle.weight()); in TEST()
[all …]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
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()
Dbugdroid.rscript68 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, img) - rad));
103 static short cogDisk(float3 center, float circleRadius, float3 normal,
[all …]
Dvr.rscript264 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/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataConfigManagerTest.java58 DataConfigManager.EventFrequency normal = in testParseSlidingWindowCounterThreshold() local
63 assertThat(normal.timeWindow).isEqualTo(expected.timeWindow); in testParseSlidingWindowCounterThreshold()
64 assertThat(normal.eventNumOccurrence).isEqualTo(expected.eventNumOccurrence); in testParseSlidingWindowCounterThreshold()
DDataUtilsTest.java127 String normal = " MMS "; in testGetNetworkCapabilitiesFromString() local
128 assertThat(DataUtils.getNetworkCapabilitiesFromString(normal)).containsExactly( in testGetNetworkCapabilitiesFromString()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath_fp16.rscript354 // Number of normal fp16 values:
360 // Number of positive, non-zero and normal fp16 values = 30 * 1024 = 30720
361 // Number of negative, non-zero and normal fp16 values = 30 * 1024 = 30720
364 // towards the smallest normal and vice versa (for +ve and -ve) and verify
403 // allow nextafter to return a valid normal number that satisfies the
/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/res/
DAndroid.bp174 name: "permission-list-normal",
175 out: ["permission-list-normal.txt"],
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobConcurrencyManager.java337 private WorkTypeConfig mWorkTypeConfig = CONFIG_LIMITS_SCREEN_OFF.normal;
604 mWorkTypeConfig = workConfigs.normal; in updateCounterConfigLocked()
1504 CONFIG_LIMITS_SCREEN_ON.normal.update(properties); in updateConfigLocked()
1509 CONFIG_LIMITS_SCREEN_OFF.normal.update(properties); in updateConfigLocked()
1534 CONFIG_LIMITS_SCREEN_ON.normal.dump(pw); in dumpLocked()
1542 CONFIG_LIMITS_SCREEN_OFF.normal.dump(pw); in dumpLocked()
1893 public final WorkTypeConfig normal; field in JobConcurrencyManager.WorkConfigLimitsPerMemoryTrimLevel
1898 WorkConfigLimitsPerMemoryTrimLevel(WorkTypeConfig normal, WorkTypeConfig moderate, in WorkConfigLimitsPerMemoryTrimLevel() argument
1900 this.normal = normal; in WorkConfigLimitsPerMemoryTrimLevel()
/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.java701 final FontStyle normal = new FontStyle(FontStyle.FONT_WEIGHT_NORMAL, in buildTypeface() local
704 int bestScore = normal.getMatchScore(bestFont.getStyle()); in buildTypeface()
707 final int score = normal.getMatchScore(candidate.getStyle()); in buildTypeface()
/frameworks/base/core/java/android/text/format/
DTimeFormatter.java523 private static String getFormat(int modifier, String normal, String underscore, String dash, in getFormat() argument
533 return normal; in getFormat()
/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/proto_logging/stats/enums/service/
Dprocstats_enum.proto31 MEMORY_STATE_NORMAL = 1; // normal.
/frameworks/native/services/inputflinger/docs/
Danr.md16 When the event is being dispatched to an application, the normal flow is: `mPendingEvent` → `connec…
37 …tion's `waitQueue`, and it is also removed from the `AnrTracker`. During normal operation, the ent…
/frameworks/av/drm/libmediadrm/protos/
Dmetrics.proto54 // distributed (or approximately normal) value.
/frameworks/base/tools/aapt2/
DConfiguration.proto154 // Whether the device screen is classified as small, normal, large, xlarge.
/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

12