Home
last modified time | relevance | path

Searched refs:normal (Results 1 – 25 of 55) 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/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/libs/hwui/tests/unit/
DTypefaceTests.cpp105 std::unique_ptr<Typeface> normal(Typeface::createRelative(nullptr, Typeface::kNormal)); in TEST() local
106 EXPECT_EQ(400, normal->fStyle.weight()); in TEST()
107 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, normal->fStyle.slant()); in TEST()
108 EXPECT_EQ(Typeface::kNormal, normal->fAPIStyle); in TEST()
134 std::unique_ptr<Typeface> normal(Typeface::createRelative(base.get(), Typeface::kNormal)); in TEST() local
135 EXPECT_EQ(700, normal->fStyle.weight()); in TEST()
136 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, normal->fStyle.slant()); in TEST()
137 EXPECT_EQ(Typeface::kNormal, normal->fAPIStyle); in TEST()
167 std::unique_ptr<Typeface> normal(Typeface::createRelative(base.get(), Typeface::kNormal)); in TEST() local
168 EXPECT_EQ(300, normal->fStyle.weight()); in TEST()
[all …]
/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/base/services/core/java/com/android/server/display/config/
DDisplayBrightnessMappingConfig.java44 + AutoBrightnessSettingName.normal.getRawName();
126 ? AutoBrightnessSettingName.normal.getRawName() in DisplayBrightnessMappingConfig()
176 + AutoBrightnessSettingName.normal.getRawName()); in getLuxArray()
202 + AutoBrightnessSettingName.normal.getRawName()); in getBrightnessArray()
264 AutoBrightnessSettingName.normal.getRawName(); in autoBrightnessPresetToString()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataConfigManagerTest.java70 DataConfigManager.EventFrequency normal = in testParseSlidingWindowCounterThreshold() local
75 assertThat(normal.timeWindow).isEqualTo(expected.timeWindow); in testParseSlidingWindowCounterThreshold()
76 assertThat(normal.eventNumOccurrence).isEqualTo(expected.eventNumOccurrence); in testParseSlidingWindowCounterThreshold()
DDataUtilsTest.java159 String normal = " MMS "; in testGetNetworkCapabilitiesFromString() local
160 assertThat(DataUtils.getNetworkCapabilitiesFromString(normal)).containsExactly( in testGetNetworkCapabilitiesFromString()
/frameworks/base/tools/aapt2/integration-tests/DumpTest/
Dbuilt_with_aapt_expected.txt8 supports-screens: 'small' 'normal' 'large' 'xlarge'
Dmultiple_uses_sdk_expected.txt20 supports-screens: 'small' 'normal' 'large' 'xlarge'
Dcomponents_expected.txt49 supports-screens: 'normal' 'large' 'xlarge'
/frameworks/opt/telephony/flags/
Dmessaging.aconfig8 description: "This flag controls AP domain selection support for normal/emergency SMS."
/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/proto_logging/stats/atoms/cpu/
Dcpu_atoms.proto41 // The normal maximum frequency.
/frameworks/libs/systemui/weathereffects/graphics/assets/shaders/
Dutils.agsl80 * This is the normal blend mode in which the foreground is painted on top of the background based
98 * This is the normal blend mode in which the foreground is painted on top of the background based
/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.bp179 name: "permission-list-normal",
180 out: ["permission-list-normal.txt"],
/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()

123